alert_client

package
v1.2.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertServiceClient

type AlertServiceClient interface {
	GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error)
	BatchGetAlerts(ctx context.Context, in *BatchGetAlertsRequest, opts ...grpc.CallOption) (*BatchGetAlertsResponse, error)
	ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error)
	WatchAlert(ctx context.Context, in *WatchAlertRequest, opts ...grpc.CallOption) (WatchAlertClientStream, error)
	WatchAlerts(ctx context.Context, in *WatchAlertsRequest, opts ...grpc.CallOption) (WatchAlertsClientStream, error)
	CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error)
	UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*alert.Alert, error)
	DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AlertServiceClient is the client API for AlertService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AlertServiceDescriptor added in v0.4.28

type AlertServiceDescriptor struct{}

func GetAlertServiceDescriptor added in v0.4.28

func GetAlertServiceDescriptor() *AlertServiceDescriptor

func (*AlertServiceDescriptor) AllMethodDescriptors added in v0.4.28

func (d *AlertServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*AlertServiceDescriptor) GetApiName added in v0.4.28

func (d *AlertServiceDescriptor) GetApiName() string

func (*AlertServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *AlertServiceDescriptor) GetFullAPIName() string

func (*AlertServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *AlertServiceDescriptor) GetProtoPkgName() string

func (*AlertServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *AlertServiceDescriptor) GetServiceDomain() string

func (*AlertServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *AlertServiceDescriptor) GetServiceVersion() string

type BatchGetAlertsDescriptor added in v0.4.28

type BatchGetAlertsDescriptor struct{}

func GetBatchGetAlertsDescriptor added in v0.4.28

func GetBatchGetAlertsDescriptor() *BatchGetAlertsDescriptor

func (*BatchGetAlertsDescriptor) GetApiDescriptor added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*BatchGetAlertsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetApiName() string

func (*BatchGetAlertsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetAlertsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetFullMethodName() string

func (*BatchGetAlertsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetMethodName() string

func (*BatchGetAlertsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetProtoPkgName() string

func (*BatchGetAlertsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *BatchGetAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*BatchGetAlertsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetAlertsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetServiceDomain() string

func (*BatchGetAlertsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetServiceVersion() string

func (*BatchGetAlertsDescriptor) GetVerb added in v0.4.28

func (d *BatchGetAlertsDescriptor) GetVerb() string

func (*BatchGetAlertsDescriptor) HasResource added in v0.4.30

func (d *BatchGetAlertsDescriptor) HasResource() bool

func (*BatchGetAlertsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetAlertsDescriptor) IsClientStream() bool

func (*BatchGetAlertsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetAlertsDescriptor) IsCollection() bool

func (*BatchGetAlertsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetAlertsDescriptor) IsPlural() bool

func (*BatchGetAlertsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetAlertsDescriptor) IsServerStream() bool

func (*BatchGetAlertsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetAlertsDescriptor) IsUnary() bool

func (*BatchGetAlertsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *BatchGetAlertsDescriptor) NewEmptyClientMsg() proto.Message

func (*BatchGetAlertsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *BatchGetAlertsDescriptor) NewEmptyServerMsg() proto.Message

func (*BatchGetAlertsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetAlertsDescriptor) RequestHasResourceBody() bool

type BatchGetAlertsDescriptorClientMsgHandle added in v0.4.28

type BatchGetAlertsDescriptorClientMsgHandle struct{}

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetAlertsDescriptorServerMsgHandle added in v0.4.28

type BatchGetAlertsDescriptorServerMsgHandle struct{}

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetAlertsRequest

type BatchGetAlertsRequest struct {

	// Names of Alerts
	Names []*alert.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [BatchGetAlerts][ntt.monitoring.v3.BatchGetAlerts]

func (*BatchGetAlertsRequest) Descriptor

func (*BatchGetAlertsRequest) Descriptor() ([]byte, []int)

Deprecated, Use BatchGetAlertsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetAlertsRequest) GetFieldMask

func (m *BatchGetAlertsRequest) GetFieldMask() *alert.Alert_FieldMask

func (*BatchGetAlertsRequest) GetNames

func (m *BatchGetAlertsRequest) GetNames() []*alert.Name

func (*BatchGetAlertsRequest) GetView

func (m *BatchGetAlertsRequest) GetView() view.View

func (*BatchGetAlertsRequest) GotenMessage

func (*BatchGetAlertsRequest) GotenMessage()

func (*BatchGetAlertsRequest) GotenValidate

func (obj *BatchGetAlertsRequest) GotenValidate() error

func (*BatchGetAlertsRequest) Marshal

func (m *BatchGetAlertsRequest) Marshal() ([]byte, error)

func (*BatchGetAlertsRequest) MarshalJSON

func (m *BatchGetAlertsRequest) MarshalJSON() ([]byte, error)

func (*BatchGetAlertsRequest) ProtoMessage

func (*BatchGetAlertsRequest) ProtoMessage()

func (*BatchGetAlertsRequest) ProtoReflect

func (m *BatchGetAlertsRequest) ProtoReflect() preflect.Message

func (*BatchGetAlertsRequest) Reset

func (m *BatchGetAlertsRequest) Reset()

func (*BatchGetAlertsRequest) SetFieldMask

func (m *BatchGetAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)

func (*BatchGetAlertsRequest) SetNames

func (m *BatchGetAlertsRequest) SetNames(fv []*alert.Name)

func (*BatchGetAlertsRequest) SetView

func (m *BatchGetAlertsRequest) SetView(fv view.View)

func (*BatchGetAlertsRequest) String

func (m *BatchGetAlertsRequest) String() string

func (*BatchGetAlertsRequest) Unmarshal

func (m *BatchGetAlertsRequest) Unmarshal(b []byte) error

func (*BatchGetAlertsRequest) UnmarshalJSON

func (m *BatchGetAlertsRequest) UnmarshalJSON(data []byte) error

type BatchGetAlertsResponse

type BatchGetAlertsResponse struct {

	// found Alerts
	Alerts []*alert.Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty" firestore:"alerts"`
	// list of not found Alerts
	Missing []*alert.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

BatchGetAlertsResponse

func (*BatchGetAlertsResponse) Descriptor

func (*BatchGetAlertsResponse) Descriptor() ([]byte, []int)

Deprecated, Use BatchGetAlertsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetAlertsResponse) GetAlerts

func (m *BatchGetAlertsResponse) GetAlerts() []*alert.Alert

func (*BatchGetAlertsResponse) GetMissing

func (m *BatchGetAlertsResponse) GetMissing() []*alert.Name

func (*BatchGetAlertsResponse) GotenMessage

func (*BatchGetAlertsResponse) GotenMessage()

func (*BatchGetAlertsResponse) GotenValidate

func (obj *BatchGetAlertsResponse) GotenValidate() error

func (*BatchGetAlertsResponse) Marshal

func (m *BatchGetAlertsResponse) Marshal() ([]byte, error)

func (*BatchGetAlertsResponse) MarshalJSON

func (m *BatchGetAlertsResponse) MarshalJSON() ([]byte, error)

func (*BatchGetAlertsResponse) ProtoMessage

func (*BatchGetAlertsResponse) ProtoMessage()

func (*BatchGetAlertsResponse) ProtoReflect

func (m *BatchGetAlertsResponse) ProtoReflect() preflect.Message

func (*BatchGetAlertsResponse) Reset

func (m *BatchGetAlertsResponse) Reset()

func (*BatchGetAlertsResponse) SetAlerts

func (m *BatchGetAlertsResponse) SetAlerts(fv []*alert.Alert)

func (*BatchGetAlertsResponse) SetMissing

func (m *BatchGetAlertsResponse) SetMissing(fv []*alert.Name)

func (*BatchGetAlertsResponse) String

func (m *BatchGetAlertsResponse) String() string

func (*BatchGetAlertsResponse) Unmarshal

func (m *BatchGetAlertsResponse) Unmarshal(b []byte) error

func (*BatchGetAlertsResponse) UnmarshalJSON

func (m *BatchGetAlertsResponse) UnmarshalJSON(data []byte) error

type CreateAlertDescriptor added in v0.4.28

type CreateAlertDescriptor struct{}

func GetCreateAlertDescriptor added in v0.4.28

func GetCreateAlertDescriptor() *CreateAlertDescriptor

func (*CreateAlertDescriptor) GetApiDescriptor added in v0.4.28

func (d *CreateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*CreateAlertDescriptor) GetApiName added in v0.4.28

func (d *CreateAlertDescriptor) GetApiName() string

func (*CreateAlertDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *CreateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateAlertDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateAlertDescriptor) GetFullMethodName() string

func (*CreateAlertDescriptor) GetMethodName added in v0.4.28

func (d *CreateAlertDescriptor) GetMethodName() string

func (*CreateAlertDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateAlertDescriptor) GetProtoPkgName() string

func (*CreateAlertDescriptor) GetResourceDescriptor added in v0.4.30

func (d *CreateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*CreateAlertDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *CreateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateAlertDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateAlertDescriptor) GetServiceDomain() string

func (*CreateAlertDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateAlertDescriptor) GetServiceVersion() string

func (*CreateAlertDescriptor) GetVerb added in v0.4.28

func (d *CreateAlertDescriptor) GetVerb() string

func (*CreateAlertDescriptor) HasResource added in v0.4.30

func (d *CreateAlertDescriptor) HasResource() bool

func (*CreateAlertDescriptor) IsClientStream added in v0.4.28

func (d *CreateAlertDescriptor) IsClientStream() bool

func (*CreateAlertDescriptor) IsCollection added in v0.4.30

func (d *CreateAlertDescriptor) IsCollection() bool

func (*CreateAlertDescriptor) IsPlural added in v0.4.30

func (d *CreateAlertDescriptor) IsPlural() bool

func (*CreateAlertDescriptor) IsServerStream added in v0.4.28

func (d *CreateAlertDescriptor) IsServerStream() bool

func (*CreateAlertDescriptor) IsUnary added in v0.4.28

func (d *CreateAlertDescriptor) IsUnary() bool

func (*CreateAlertDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *CreateAlertDescriptor) NewEmptyClientMsg() proto.Message

func (*CreateAlertDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *CreateAlertDescriptor) NewEmptyServerMsg() proto.Message

func (*CreateAlertDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateAlertDescriptor) RequestHasResourceBody() bool

type CreateAlertDescriptorClientMsgHandle added in v0.4.28

type CreateAlertDescriptorClientMsgHandle struct{}

func (*CreateAlertDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateAlertDescriptorServerMsgHandle added in v0.4.28

type CreateAlertDescriptorServerMsgHandle struct{}

func (*CreateAlertDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateAlertRequest

type CreateAlertRequest struct {

	// Parent name of ntt.monitoring.v3.Alert
	Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Alert resource body
	Alert *alert.Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty" firestore:"alert"`
	// contains filtered or unexported fields
}

Request message for method [CreateAlert][ntt.monitoring.v3.CreateAlert]

func (*CreateAlertRequest) Descriptor

func (*CreateAlertRequest) Descriptor() ([]byte, []int)

Deprecated, Use CreateAlertRequest.ProtoReflect.Descriptor instead.

func (*CreateAlertRequest) GetAlert

func (m *CreateAlertRequest) GetAlert() *alert.Alert

func (*CreateAlertRequest) GetParent

func (m *CreateAlertRequest) GetParent() *alert.ParentName

func (*CreateAlertRequest) GotenMessage

func (*CreateAlertRequest) GotenMessage()

func (*CreateAlertRequest) GotenValidate

func (obj *CreateAlertRequest) GotenValidate() error

func (*CreateAlertRequest) Marshal

func (m *CreateAlertRequest) Marshal() ([]byte, error)

func (*CreateAlertRequest) MarshalJSON

func (m *CreateAlertRequest) MarshalJSON() ([]byte, error)

func (*CreateAlertRequest) ProtoMessage

func (*CreateAlertRequest) ProtoMessage()

func (*CreateAlertRequest) ProtoReflect

func (m *CreateAlertRequest) ProtoReflect() preflect.Message

func (*CreateAlertRequest) Reset

func (m *CreateAlertRequest) Reset()

func (*CreateAlertRequest) SetAlert

func (m *CreateAlertRequest) SetAlert(fv *alert.Alert)

func (*CreateAlertRequest) SetParent

func (m *CreateAlertRequest) SetParent(fv *alert.ParentName)

func (*CreateAlertRequest) String

func (m *CreateAlertRequest) String() string

func (*CreateAlertRequest) Unmarshal

func (m *CreateAlertRequest) Unmarshal(b []byte) error

func (*CreateAlertRequest) UnmarshalJSON

func (m *CreateAlertRequest) UnmarshalJSON(data []byte) error

type DeleteAlertDescriptor added in v0.4.28

type DeleteAlertDescriptor struct{}

func GetDeleteAlertDescriptor added in v0.4.28

func GetDeleteAlertDescriptor() *DeleteAlertDescriptor

func (*DeleteAlertDescriptor) GetApiDescriptor added in v0.4.28

func (d *DeleteAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*DeleteAlertDescriptor) GetApiName added in v0.4.28

func (d *DeleteAlertDescriptor) GetApiName() string

func (*DeleteAlertDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *DeleteAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteAlertDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteAlertDescriptor) GetFullMethodName() string

func (*DeleteAlertDescriptor) GetMethodName added in v0.4.28

func (d *DeleteAlertDescriptor) GetMethodName() string

func (*DeleteAlertDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteAlertDescriptor) GetProtoPkgName() string

func (*DeleteAlertDescriptor) GetResourceDescriptor added in v0.4.30

func (d *DeleteAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*DeleteAlertDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *DeleteAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteAlertDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteAlertDescriptor) GetServiceDomain() string

func (*DeleteAlertDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteAlertDescriptor) GetServiceVersion() string

func (*DeleteAlertDescriptor) GetVerb added in v0.4.28

func (d *DeleteAlertDescriptor) GetVerb() string

func (*DeleteAlertDescriptor) HasResource added in v0.4.30

func (d *DeleteAlertDescriptor) HasResource() bool

func (*DeleteAlertDescriptor) IsClientStream added in v0.4.28

func (d *DeleteAlertDescriptor) IsClientStream() bool

func (*DeleteAlertDescriptor) IsCollection added in v0.4.30

func (d *DeleteAlertDescriptor) IsCollection() bool

func (*DeleteAlertDescriptor) IsPlural added in v0.4.30

func (d *DeleteAlertDescriptor) IsPlural() bool

func (*DeleteAlertDescriptor) IsServerStream added in v0.4.28

func (d *DeleteAlertDescriptor) IsServerStream() bool

func (*DeleteAlertDescriptor) IsUnary added in v0.4.28

func (d *DeleteAlertDescriptor) IsUnary() bool

func (*DeleteAlertDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *DeleteAlertDescriptor) NewEmptyClientMsg() proto.Message

func (*DeleteAlertDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *DeleteAlertDescriptor) NewEmptyServerMsg() proto.Message

func (*DeleteAlertDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteAlertDescriptor) RequestHasResourceBody() bool

type DeleteAlertDescriptorClientMsgHandle added in v0.4.28

type DeleteAlertDescriptorClientMsgHandle struct{}

func (*DeleteAlertDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteAlertDescriptorServerMsgHandle added in v0.4.28

type DeleteAlertDescriptorServerMsgHandle struct{}

func (*DeleteAlertDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteAlertRequest

type DeleteAlertRequest struct {

	// Name of ntt.monitoring.v3.Alert
	Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

Request message for method [DeleteAlert][ntt.monitoring.v3.DeleteAlert]

func (*DeleteAlertRequest) Descriptor

func (*DeleteAlertRequest) Descriptor() ([]byte, []int)

Deprecated, Use DeleteAlertRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertRequest) GetName

func (m *DeleteAlertRequest) GetName() *alert.Name

func (*DeleteAlertRequest) GotenMessage

func (*DeleteAlertRequest) GotenMessage()

func (*DeleteAlertRequest) GotenValidate

func (obj *DeleteAlertRequest) GotenValidate() error

func (*DeleteAlertRequest) Marshal

func (m *DeleteAlertRequest) Marshal() ([]byte, error)

func (*DeleteAlertRequest) MarshalJSON

func (m *DeleteAlertRequest) MarshalJSON() ([]byte, error)

func (*DeleteAlertRequest) ProtoMessage

func (*DeleteAlertRequest) ProtoMessage()

func (*DeleteAlertRequest) ProtoReflect

func (m *DeleteAlertRequest) ProtoReflect() preflect.Message

func (*DeleteAlertRequest) Reset

func (m *DeleteAlertRequest) Reset()

func (*DeleteAlertRequest) SetName

func (m *DeleteAlertRequest) SetName(fv *alert.Name)

func (*DeleteAlertRequest) String

func (m *DeleteAlertRequest) String() string

func (*DeleteAlertRequest) Unmarshal

func (m *DeleteAlertRequest) Unmarshal(b []byte) error

func (*DeleteAlertRequest) UnmarshalJSON

func (m *DeleteAlertRequest) UnmarshalJSON(data []byte) error

type GetAlertDescriptor added in v0.4.28

type GetAlertDescriptor struct{}

func GetGetAlertDescriptor added in v0.4.28

func GetGetAlertDescriptor() *GetAlertDescriptor

func (*GetAlertDescriptor) GetApiDescriptor added in v0.4.28

func (d *GetAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetAlertDescriptor) GetApiName added in v0.4.28

func (d *GetAlertDescriptor) GetApiName() string

func (*GetAlertDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *GetAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetAlertDescriptor) GetFullMethodName added in v0.4.28

func (d *GetAlertDescriptor) GetFullMethodName() string

func (*GetAlertDescriptor) GetMethodName added in v0.4.28

func (d *GetAlertDescriptor) GetMethodName() string

func (*GetAlertDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetAlertDescriptor) GetProtoPkgName() string

func (*GetAlertDescriptor) GetResourceDescriptor added in v0.4.30

func (d *GetAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetAlertDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *GetAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetAlertDescriptor) GetServiceDomain added in v0.4.28

func (d *GetAlertDescriptor) GetServiceDomain() string

func (*GetAlertDescriptor) GetServiceVersion added in v0.4.28

func (d *GetAlertDescriptor) GetServiceVersion() string

func (*GetAlertDescriptor) GetVerb added in v0.4.28

func (d *GetAlertDescriptor) GetVerb() string

func (*GetAlertDescriptor) HasResource added in v0.4.30

func (d *GetAlertDescriptor) HasResource() bool

func (*GetAlertDescriptor) IsClientStream added in v0.4.28

func (d *GetAlertDescriptor) IsClientStream() bool

func (*GetAlertDescriptor) IsCollection added in v0.4.30

func (d *GetAlertDescriptor) IsCollection() bool

func (*GetAlertDescriptor) IsPlural added in v0.4.30

func (d *GetAlertDescriptor) IsPlural() bool

func (*GetAlertDescriptor) IsServerStream added in v0.4.28

func (d *GetAlertDescriptor) IsServerStream() bool

func (*GetAlertDescriptor) IsUnary added in v0.4.28

func (d *GetAlertDescriptor) IsUnary() bool

func (*GetAlertDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *GetAlertDescriptor) NewEmptyClientMsg() proto.Message

func (*GetAlertDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *GetAlertDescriptor) NewEmptyServerMsg() proto.Message

func (*GetAlertDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetAlertDescriptor) RequestHasResourceBody() bool

type GetAlertDescriptorClientMsgHandle added in v0.4.28

type GetAlertDescriptorClientMsgHandle struct{}

func (*GetAlertDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (h *GetAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetAlertDescriptorServerMsgHandle added in v0.4.28

type GetAlertDescriptorServerMsgHandle struct{}

func (*GetAlertDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (h *GetAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetAlertRequest

type GetAlertRequest struct {

	// Name of ntt.monitoring.v3.Alert
	Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [GetAlert][ntt.monitoring.v3.GetAlert]

func (*GetAlertRequest) Descriptor

func (*GetAlertRequest) Descriptor() ([]byte, []int)

Deprecated, Use GetAlertRequest.ProtoReflect.Descriptor instead.

func (*GetAlertRequest) GetFieldMask

func (m *GetAlertRequest) GetFieldMask() *alert.Alert_FieldMask

func (*GetAlertRequest) GetName

func (m *GetAlertRequest) GetName() *alert.Name

func (*GetAlertRequest) GetView

func (m *GetAlertRequest) GetView() view.View

func (*GetAlertRequest) GotenMessage

func (*GetAlertRequest) GotenMessage()

func (*GetAlertRequest) GotenValidate

func (obj *GetAlertRequest) GotenValidate() error

func (*GetAlertRequest) Marshal

func (m *GetAlertRequest) Marshal() ([]byte, error)

func (*GetAlertRequest) MarshalJSON

func (m *GetAlertRequest) MarshalJSON() ([]byte, error)

func (*GetAlertRequest) ProtoMessage

func (*GetAlertRequest) ProtoMessage()

func (*GetAlertRequest) ProtoReflect

func (m *GetAlertRequest) ProtoReflect() preflect.Message

func (*GetAlertRequest) Reset

func (m *GetAlertRequest) Reset()

func (*GetAlertRequest) SetFieldMask

func (m *GetAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)

func (*GetAlertRequest) SetName

func (m *GetAlertRequest) SetName(fv *alert.Name)

func (*GetAlertRequest) SetView

func (m *GetAlertRequest) SetView(fv view.View)

func (*GetAlertRequest) String

func (m *GetAlertRequest) String() string

func (*GetAlertRequest) Unmarshal

func (m *GetAlertRequest) Unmarshal(b []byte) error

func (*GetAlertRequest) UnmarshalJSON

func (m *GetAlertRequest) UnmarshalJSON(data []byte) error

type ListAlertsDescriptor added in v0.4.28

type ListAlertsDescriptor struct{}

func GetListAlertsDescriptor added in v0.4.28

func GetListAlertsDescriptor() *ListAlertsDescriptor

func (*ListAlertsDescriptor) GetApiDescriptor added in v0.4.28

func (d *ListAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListAlertsDescriptor) GetApiName added in v0.4.28

func (d *ListAlertsDescriptor) GetApiName() string

func (*ListAlertsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *ListAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListAlertsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListAlertsDescriptor) GetFullMethodName() string

func (*ListAlertsDescriptor) GetMethodName added in v0.4.28

func (d *ListAlertsDescriptor) GetMethodName() string

func (*ListAlertsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListAlertsDescriptor) GetProtoPkgName() string

func (*ListAlertsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *ListAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListAlertsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *ListAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListAlertsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListAlertsDescriptor) GetServiceDomain() string

func (*ListAlertsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListAlertsDescriptor) GetServiceVersion() string

func (*ListAlertsDescriptor) GetVerb added in v0.4.28

func (d *ListAlertsDescriptor) GetVerb() string

func (*ListAlertsDescriptor) HasResource added in v0.4.30

func (d *ListAlertsDescriptor) HasResource() bool

func (*ListAlertsDescriptor) IsClientStream added in v0.4.28

func (d *ListAlertsDescriptor) IsClientStream() bool

func (*ListAlertsDescriptor) IsCollection added in v0.4.30

func (d *ListAlertsDescriptor) IsCollection() bool

func (*ListAlertsDescriptor) IsPlural added in v0.4.30

func (d *ListAlertsDescriptor) IsPlural() bool

func (*ListAlertsDescriptor) IsServerStream added in v0.4.28

func (d *ListAlertsDescriptor) IsServerStream() bool

func (*ListAlertsDescriptor) IsUnary added in v0.4.28

func (d *ListAlertsDescriptor) IsUnary() bool

func (*ListAlertsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *ListAlertsDescriptor) NewEmptyClientMsg() proto.Message

func (*ListAlertsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *ListAlertsDescriptor) NewEmptyServerMsg() proto.Message

func (*ListAlertsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListAlertsDescriptor) RequestHasResourceBody() bool

type ListAlertsDescriptorClientMsgHandle added in v0.4.28

type ListAlertsDescriptorClientMsgHandle struct{}

func (*ListAlertsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (h *ListAlertsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListAlertsDescriptorServerMsgHandle added in v0.4.28

type ListAlertsDescriptorServerMsgHandle struct{}

func (*ListAlertsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (h *ListAlertsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListAlertsRequest

type ListAlertsRequest struct {

	// Parent name of ntt.monitoring.v3.Alert
	Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Alerts than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListAlertsResponse.next_page_token][ntt.monitoring.v3.ListAlertsResponse.next_page_token]
	PageToken *alert.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *alert.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *alert.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ListAlerts][ntt.monitoring.v3.ListAlerts]

func (*ListAlertsRequest) Descriptor

func (*ListAlertsRequest) Descriptor() ([]byte, []int)

Deprecated, Use ListAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertsRequest) GetFieldMask

func (m *ListAlertsRequest) GetFieldMask() *alert.Alert_FieldMask

func (*ListAlertsRequest) GetFilter

func (m *ListAlertsRequest) GetFilter() *alert.Filter

func (*ListAlertsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListAlertsRequest) GetIncludePagingInfo() bool

func (*ListAlertsRequest) GetOrderBy

func (m *ListAlertsRequest) GetOrderBy() *alert.OrderBy

func (*ListAlertsRequest) GetPageSize

func (m *ListAlertsRequest) GetPageSize() int32

func (*ListAlertsRequest) GetPageToken

func (m *ListAlertsRequest) GetPageToken() *alert.PagerCursor

func (*ListAlertsRequest) GetParent

func (m *ListAlertsRequest) GetParent() *alert.ParentName

func (*ListAlertsRequest) GetView

func (m *ListAlertsRequest) GetView() view.View

func (*ListAlertsRequest) GotenMessage

func (*ListAlertsRequest) GotenMessage()

func (*ListAlertsRequest) GotenValidate

func (obj *ListAlertsRequest) GotenValidate() error

func (*ListAlertsRequest) Marshal

func (m *ListAlertsRequest) Marshal() ([]byte, error)

func (*ListAlertsRequest) MarshalJSON

func (m *ListAlertsRequest) MarshalJSON() ([]byte, error)

func (*ListAlertsRequest) ProtoMessage

func (*ListAlertsRequest) ProtoMessage()

func (*ListAlertsRequest) ProtoReflect

func (m *ListAlertsRequest) ProtoReflect() preflect.Message

func (*ListAlertsRequest) Reset

func (m *ListAlertsRequest) Reset()

func (*ListAlertsRequest) SetFieldMask

func (m *ListAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)

func (*ListAlertsRequest) SetFilter

func (m *ListAlertsRequest) SetFilter(fv *alert.Filter)

func (*ListAlertsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListAlertsRequest) SetIncludePagingInfo(fv bool)

func (*ListAlertsRequest) SetOrderBy

func (m *ListAlertsRequest) SetOrderBy(fv *alert.OrderBy)

func (*ListAlertsRequest) SetPageSize

func (m *ListAlertsRequest) SetPageSize(fv int32)

func (*ListAlertsRequest) SetPageToken

func (m *ListAlertsRequest) SetPageToken(fv *alert.PagerCursor)

func (*ListAlertsRequest) SetParent

func (m *ListAlertsRequest) SetParent(fv *alert.ParentName)

func (*ListAlertsRequest) SetView

func (m *ListAlertsRequest) SetView(fv view.View)

func (*ListAlertsRequest) String

func (m *ListAlertsRequest) String() string

func (*ListAlertsRequest) Unmarshal

func (m *ListAlertsRequest) Unmarshal(b []byte) error

func (*ListAlertsRequest) UnmarshalJSON

func (m *ListAlertsRequest) UnmarshalJSON(data []byte) error

type ListAlertsResponse

type ListAlertsResponse struct {

	// The list of Alerts
	Alerts []*alert.Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty" firestore:"alerts"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListAlertsRequest.page_token][ntt.monitoring.v3.ListAlertsRequest.page_token]
	PrevPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListAlertsRequest.page_token][ntt.monitoring.v3.ListAlertsRequest.page_token]
	NextPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Alerts across all pages or 0, if there are no items, paging
	// info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ListAlerts][ntt.monitoring.v3.ListAlerts]

func (*ListAlertsResponse) Descriptor

func (*ListAlertsResponse) Descriptor() ([]byte, []int)

Deprecated, Use ListAlertsResponse.ProtoReflect.Descriptor instead.

func (*ListAlertsResponse) GetAlerts

func (m *ListAlertsResponse) GetAlerts() []*alert.Alert

func (*ListAlertsResponse) GetCurrentOffset added in v0.10.1

func (m *ListAlertsResponse) GetCurrentOffset() int32

func (*ListAlertsResponse) GetNextPageToken

func (m *ListAlertsResponse) GetNextPageToken() *alert.PagerCursor

func (*ListAlertsResponse) GetPrevPageToken

func (m *ListAlertsResponse) GetPrevPageToken() *alert.PagerCursor

func (*ListAlertsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListAlertsResponse) GetTotalResultsCount() int32

func (*ListAlertsResponse) GotenMessage

func (*ListAlertsResponse) GotenMessage()

func (*ListAlertsResponse) GotenValidate

func (obj *ListAlertsResponse) GotenValidate() error

func (*ListAlertsResponse) Marshal

func (m *ListAlertsResponse) Marshal() ([]byte, error)

func (*ListAlertsResponse) MarshalJSON

func (m *ListAlertsResponse) MarshalJSON() ([]byte, error)

func (*ListAlertsResponse) ProtoMessage

func (*ListAlertsResponse) ProtoMessage()

func (*ListAlertsResponse) ProtoReflect

func (m *ListAlertsResponse) ProtoReflect() preflect.Message

func (*ListAlertsResponse) Reset

func (m *ListAlertsResponse) Reset()

func (*ListAlertsResponse) SetAlerts

func (m *ListAlertsResponse) SetAlerts(fv []*alert.Alert)

func (*ListAlertsResponse) SetCurrentOffset added in v0.10.1

func (m *ListAlertsResponse) SetCurrentOffset(fv int32)

func (*ListAlertsResponse) SetNextPageToken

func (m *ListAlertsResponse) SetNextPageToken(fv *alert.PagerCursor)

func (*ListAlertsResponse) SetPrevPageToken

func (m *ListAlertsResponse) SetPrevPageToken(fv *alert.PagerCursor)

func (*ListAlertsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListAlertsResponse) SetTotalResultsCount(fv int32)

func (*ListAlertsResponse) String

func (m *ListAlertsResponse) String() string

func (*ListAlertsResponse) Unmarshal

func (m *ListAlertsResponse) Unmarshal(b []byte) error

func (*ListAlertsResponse) UnmarshalJSON

func (m *ListAlertsResponse) UnmarshalJSON(data []byte) error

type UpdateAlertDescriptor added in v0.4.28

type UpdateAlertDescriptor struct{}

func GetUpdateAlertDescriptor added in v0.4.28

func GetUpdateAlertDescriptor() *UpdateAlertDescriptor

func (*UpdateAlertDescriptor) GetApiDescriptor added in v0.4.28

func (d *UpdateAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*UpdateAlertDescriptor) GetApiName added in v0.4.28

func (d *UpdateAlertDescriptor) GetApiName() string

func (*UpdateAlertDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *UpdateAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateAlertDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateAlertDescriptor) GetFullMethodName() string

func (*UpdateAlertDescriptor) GetMethodName added in v0.4.28

func (d *UpdateAlertDescriptor) GetMethodName() string

func (*UpdateAlertDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateAlertDescriptor) GetProtoPkgName() string

func (*UpdateAlertDescriptor) GetResourceDescriptor added in v0.4.30

func (d *UpdateAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*UpdateAlertDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *UpdateAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateAlertDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateAlertDescriptor) GetServiceDomain() string

func (*UpdateAlertDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateAlertDescriptor) GetServiceVersion() string

func (*UpdateAlertDescriptor) GetVerb added in v0.4.28

func (d *UpdateAlertDescriptor) GetVerb() string

func (*UpdateAlertDescriptor) HasResource added in v0.4.30

func (d *UpdateAlertDescriptor) HasResource() bool

func (*UpdateAlertDescriptor) IsClientStream added in v0.4.28

func (d *UpdateAlertDescriptor) IsClientStream() bool

func (*UpdateAlertDescriptor) IsCollection added in v0.4.30

func (d *UpdateAlertDescriptor) IsCollection() bool

func (*UpdateAlertDescriptor) IsPlural added in v0.4.30

func (d *UpdateAlertDescriptor) IsPlural() bool

func (*UpdateAlertDescriptor) IsServerStream added in v0.4.28

func (d *UpdateAlertDescriptor) IsServerStream() bool

func (*UpdateAlertDescriptor) IsUnary added in v0.4.28

func (d *UpdateAlertDescriptor) IsUnary() bool

func (*UpdateAlertDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *UpdateAlertDescriptor) NewEmptyClientMsg() proto.Message

func (*UpdateAlertDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *UpdateAlertDescriptor) NewEmptyServerMsg() proto.Message

func (*UpdateAlertDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateAlertDescriptor) RequestHasResourceBody() bool

type UpdateAlertDescriptorClientMsgHandle added in v0.4.28

type UpdateAlertDescriptorClientMsgHandle struct{}

func (*UpdateAlertDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateAlertDescriptorServerMsgHandle added in v0.4.28

type UpdateAlertDescriptorServerMsgHandle struct{}

func (*UpdateAlertDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateAlertRequest

type UpdateAlertRequest struct {

	// Alert resource body
	Alert *alert.Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty" firestore:"alert"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *alert.Alert_FieldMask `` /* 141-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdateAlertRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

Request message for method [UpdateAlert][ntt.monitoring.v3.UpdateAlert]

func (*UpdateAlertRequest) Descriptor

func (*UpdateAlertRequest) Descriptor() ([]byte, []int)

Deprecated, Use UpdateAlertRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertRequest) GetAlert

func (m *UpdateAlertRequest) GetAlert() *alert.Alert

func (*UpdateAlertRequest) GetAllowMissing added in v0.12.33

func (m *UpdateAlertRequest) GetAllowMissing() bool

func (*UpdateAlertRequest) GetCas

func (*UpdateAlertRequest) GetUpdateMask

func (m *UpdateAlertRequest) GetUpdateMask() *alert.Alert_FieldMask

func (*UpdateAlertRequest) GotenMessage

func (*UpdateAlertRequest) GotenMessage()

func (*UpdateAlertRequest) GotenValidate

func (obj *UpdateAlertRequest) GotenValidate() error

func (*UpdateAlertRequest) Marshal

func (m *UpdateAlertRequest) Marshal() ([]byte, error)

func (*UpdateAlertRequest) MarshalJSON

func (m *UpdateAlertRequest) MarshalJSON() ([]byte, error)

func (*UpdateAlertRequest) ProtoMessage

func (*UpdateAlertRequest) ProtoMessage()

func (*UpdateAlertRequest) ProtoReflect

func (m *UpdateAlertRequest) ProtoReflect() preflect.Message

func (*UpdateAlertRequest) Reset

func (m *UpdateAlertRequest) Reset()

func (*UpdateAlertRequest) SetAlert

func (m *UpdateAlertRequest) SetAlert(fv *alert.Alert)

func (*UpdateAlertRequest) SetAllowMissing added in v0.12.33

func (m *UpdateAlertRequest) SetAllowMissing(fv bool)

func (*UpdateAlertRequest) SetCas

func (*UpdateAlertRequest) SetUpdateMask

func (m *UpdateAlertRequest) SetUpdateMask(fv *alert.Alert_FieldMask)

func (*UpdateAlertRequest) String

func (m *UpdateAlertRequest) String() string

func (*UpdateAlertRequest) Unmarshal

func (m *UpdateAlertRequest) Unmarshal(b []byte) error

func (*UpdateAlertRequest) UnmarshalJSON

func (m *UpdateAlertRequest) UnmarshalJSON(data []byte) error

type UpdateAlertRequest_CAS

type UpdateAlertRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *alert.Alert `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdateAlertRequest_CAS) Descriptor

func (*UpdateAlertRequest_CAS) Descriptor() ([]byte, []int)

Deprecated, Use UpdateAlertRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateAlertRequest_CAS) GetConditionalState

func (m *UpdateAlertRequest_CAS) GetConditionalState() *alert.Alert

func (*UpdateAlertRequest_CAS) GetFieldMask

func (m *UpdateAlertRequest_CAS) GetFieldMask() *alert.Alert_FieldMask

func (*UpdateAlertRequest_CAS) GotenMessage

func (*UpdateAlertRequest_CAS) GotenMessage()

func (*UpdateAlertRequest_CAS) GotenValidate

func (obj *UpdateAlertRequest_CAS) GotenValidate() error

func (*UpdateAlertRequest_CAS) Marshal

func (m *UpdateAlertRequest_CAS) Marshal() ([]byte, error)

func (*UpdateAlertRequest_CAS) MarshalJSON

func (m *UpdateAlertRequest_CAS) MarshalJSON() ([]byte, error)

func (*UpdateAlertRequest_CAS) ProtoMessage

func (*UpdateAlertRequest_CAS) ProtoMessage()

func (*UpdateAlertRequest_CAS) ProtoReflect

func (m *UpdateAlertRequest_CAS) ProtoReflect() preflect.Message

func (*UpdateAlertRequest_CAS) Reset

func (m *UpdateAlertRequest_CAS) Reset()

func (*UpdateAlertRequest_CAS) SetConditionalState

func (m *UpdateAlertRequest_CAS) SetConditionalState(fv *alert.Alert)

func (*UpdateAlertRequest_CAS) SetFieldMask

func (m *UpdateAlertRequest_CAS) SetFieldMask(fv *alert.Alert_FieldMask)

func (*UpdateAlertRequest_CAS) String

func (m *UpdateAlertRequest_CAS) String() string

func (*UpdateAlertRequest_CAS) Unmarshal

func (m *UpdateAlertRequest_CAS) Unmarshal(b []byte) error

func (*UpdateAlertRequest_CAS) UnmarshalJSON

func (m *UpdateAlertRequest_CAS) UnmarshalJSON(data []byte) error

type WatchAlertClientStream

type WatchAlertClientStream interface {
	Recv() (*WatchAlertResponse, error)
	grpc.ClientStream
}

type WatchAlertDescriptor added in v0.4.28

type WatchAlertDescriptor struct{}

func GetWatchAlertDescriptor added in v0.4.28

func GetWatchAlertDescriptor() *WatchAlertDescriptor

func (*WatchAlertDescriptor) GetApiDescriptor added in v0.4.28

func (d *WatchAlertDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchAlertDescriptor) GetApiName added in v0.4.28

func (d *WatchAlertDescriptor) GetApiName() string

func (*WatchAlertDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchAlertDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchAlertDescriptor) GetFullMethodName() string

func (*WatchAlertDescriptor) GetMethodName added in v0.4.28

func (d *WatchAlertDescriptor) GetMethodName() string

func (*WatchAlertDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchAlertDescriptor) GetProtoPkgName() string

func (*WatchAlertDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchAlertDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchAlertDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchAlertDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchAlertDescriptor) GetServiceDomain() string

func (*WatchAlertDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchAlertDescriptor) GetServiceVersion() string

func (*WatchAlertDescriptor) GetVerb added in v0.4.28

func (d *WatchAlertDescriptor) GetVerb() string

func (*WatchAlertDescriptor) HasResource added in v0.4.30

func (d *WatchAlertDescriptor) HasResource() bool

func (*WatchAlertDescriptor) IsClientStream added in v0.4.28

func (d *WatchAlertDescriptor) IsClientStream() bool

func (*WatchAlertDescriptor) IsCollection added in v0.4.30

func (d *WatchAlertDescriptor) IsCollection() bool

func (*WatchAlertDescriptor) IsPlural added in v0.4.30

func (d *WatchAlertDescriptor) IsPlural() bool

func (*WatchAlertDescriptor) IsServerStream added in v0.4.28

func (d *WatchAlertDescriptor) IsServerStream() bool

func (*WatchAlertDescriptor) IsUnary added in v0.4.28

func (d *WatchAlertDescriptor) IsUnary() bool

func (*WatchAlertDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchAlertDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchAlertDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchAlertDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchAlertDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchAlertDescriptor) RequestHasResourceBody() bool

type WatchAlertDescriptorClientMsgHandle added in v0.4.28

type WatchAlertDescriptorClientMsgHandle struct{}

func (*WatchAlertDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (h *WatchAlertDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchAlertDescriptorServerMsgHandle added in v0.4.28

type WatchAlertDescriptorServerMsgHandle struct{}

func (*WatchAlertDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (h *WatchAlertDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchAlertRequest

type WatchAlertRequest struct {

	// Name of ntt.monitoring.v3.Alert
	Name *alert.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [WatchAlert][ntt.monitoring.v3.WatchAlert]

func (*WatchAlertRequest) Descriptor

func (*WatchAlertRequest) Descriptor() ([]byte, []int)

Deprecated, Use WatchAlertRequest.ProtoReflect.Descriptor instead.

func (*WatchAlertRequest) GetFieldMask

func (m *WatchAlertRequest) GetFieldMask() *alert.Alert_FieldMask

func (*WatchAlertRequest) GetName

func (m *WatchAlertRequest) GetName() *alert.Name

func (*WatchAlertRequest) GetView

func (m *WatchAlertRequest) GetView() view.View

func (*WatchAlertRequest) GotenMessage

func (*WatchAlertRequest) GotenMessage()

func (*WatchAlertRequest) GotenValidate

func (obj *WatchAlertRequest) GotenValidate() error

func (*WatchAlertRequest) Marshal

func (m *WatchAlertRequest) Marshal() ([]byte, error)

func (*WatchAlertRequest) MarshalJSON

func (m *WatchAlertRequest) MarshalJSON() ([]byte, error)

func (*WatchAlertRequest) ProtoMessage

func (*WatchAlertRequest) ProtoMessage()

func (*WatchAlertRequest) ProtoReflect

func (m *WatchAlertRequest) ProtoReflect() preflect.Message

func (*WatchAlertRequest) Reset

func (m *WatchAlertRequest) Reset()

func (*WatchAlertRequest) SetFieldMask

func (m *WatchAlertRequest) SetFieldMask(fv *alert.Alert_FieldMask)

func (*WatchAlertRequest) SetName

func (m *WatchAlertRequest) SetName(fv *alert.Name)

func (*WatchAlertRequest) SetView

func (m *WatchAlertRequest) SetView(fv view.View)

func (*WatchAlertRequest) String

func (m *WatchAlertRequest) String() string

func (*WatchAlertRequest) Unmarshal

func (m *WatchAlertRequest) Unmarshal(b []byte) error

func (*WatchAlertRequest) UnmarshalJSON

func (m *WatchAlertRequest) UnmarshalJSON(data []byte) error

type WatchAlertResponse

type WatchAlertResponse struct {
	Change *alert.AlertChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

WatchAlertResponse

func (*WatchAlertResponse) Descriptor

func (*WatchAlertResponse) Descriptor() ([]byte, []int)

Deprecated, Use WatchAlertResponse.ProtoReflect.Descriptor instead.

func (*WatchAlertResponse) GetChange

func (m *WatchAlertResponse) GetChange() *alert.AlertChange

func (*WatchAlertResponse) GotenMessage

func (*WatchAlertResponse) GotenMessage()

func (*WatchAlertResponse) GotenValidate

func (obj *WatchAlertResponse) GotenValidate() error

func (*WatchAlertResponse) Marshal

func (m *WatchAlertResponse) Marshal() ([]byte, error)

func (*WatchAlertResponse) MarshalJSON

func (m *WatchAlertResponse) MarshalJSON() ([]byte, error)

func (*WatchAlertResponse) ProtoMessage

func (*WatchAlertResponse) ProtoMessage()

func (*WatchAlertResponse) ProtoReflect

func (m *WatchAlertResponse) ProtoReflect() preflect.Message

func (*WatchAlertResponse) Reset

func (m *WatchAlertResponse) Reset()

func (*WatchAlertResponse) SetChange

func (m *WatchAlertResponse) SetChange(fv *alert.AlertChange)

func (*WatchAlertResponse) String

func (m *WatchAlertResponse) String() string

func (*WatchAlertResponse) Unmarshal

func (m *WatchAlertResponse) Unmarshal(b []byte) error

func (*WatchAlertResponse) UnmarshalJSON

func (m *WatchAlertResponse) UnmarshalJSON(data []byte) error

type WatchAlertsClientStream

type WatchAlertsClientStream interface {
	Recv() (*WatchAlertsResponse, error)
	grpc.ClientStream
}

type WatchAlertsDescriptor added in v0.4.28

type WatchAlertsDescriptor struct{}

func GetWatchAlertsDescriptor added in v0.4.28

func GetWatchAlertsDescriptor() *WatchAlertsDescriptor

func (*WatchAlertsDescriptor) GetApiDescriptor added in v0.4.28

func (d *WatchAlertsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchAlertsDescriptor) GetApiName added in v0.4.28

func (d *WatchAlertsDescriptor) GetApiName() string

func (*WatchAlertsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchAlertsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchAlertsDescriptor) GetFullMethodName() string

func (*WatchAlertsDescriptor) GetMethodName added in v0.4.28

func (d *WatchAlertsDescriptor) GetMethodName() string

func (*WatchAlertsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchAlertsDescriptor) GetProtoPkgName() string

func (*WatchAlertsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchAlertsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchAlertsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchAlertsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchAlertsDescriptor) GetServiceDomain() string

func (*WatchAlertsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchAlertsDescriptor) GetServiceVersion() string

func (*WatchAlertsDescriptor) GetVerb added in v0.4.28

func (d *WatchAlertsDescriptor) GetVerb() string

func (*WatchAlertsDescriptor) HasResource added in v0.4.30

func (d *WatchAlertsDescriptor) HasResource() bool

func (*WatchAlertsDescriptor) IsClientStream added in v0.4.28

func (d *WatchAlertsDescriptor) IsClientStream() bool

func (*WatchAlertsDescriptor) IsCollection added in v0.4.30

func (d *WatchAlertsDescriptor) IsCollection() bool

func (*WatchAlertsDescriptor) IsPlural added in v0.4.30

func (d *WatchAlertsDescriptor) IsPlural() bool

func (*WatchAlertsDescriptor) IsServerStream added in v0.4.28

func (d *WatchAlertsDescriptor) IsServerStream() bool

func (*WatchAlertsDescriptor) IsUnary added in v0.4.28

func (d *WatchAlertsDescriptor) IsUnary() bool

func (*WatchAlertsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchAlertsDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchAlertsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchAlertsDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchAlertsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchAlertsDescriptor) RequestHasResourceBody() bool

type WatchAlertsDescriptorClientMsgHandle added in v0.4.28

type WatchAlertsDescriptorClientMsgHandle struct{}

func (*WatchAlertsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchAlertsDescriptorServerMsgHandle added in v0.4.28

type WatchAlertsDescriptorServerMsgHandle struct{}

func (*WatchAlertsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchAlertsRequest

type WatchAlertsRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Parent name of ntt.monitoring.v3.Alert
	Parent *alert.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Alerts than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *alert.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *alert.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *alert.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Alert that don't affect any
	// of masked fields won't be sent back.
	FieldMask *alert.Alert_FieldMask `` /* 137-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Alert that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [WatchAlerts][ntt.monitoring.v3.WatchAlerts]

func (*WatchAlertsRequest) Descriptor

func (*WatchAlertsRequest) Descriptor() ([]byte, []int)

Deprecated, Use WatchAlertsRequest.ProtoReflect.Descriptor instead.

func (*WatchAlertsRequest) GetFieldMask

func (m *WatchAlertsRequest) GetFieldMask() *alert.Alert_FieldMask

func (*WatchAlertsRequest) GetFilter

func (m *WatchAlertsRequest) GetFilter() *alert.Filter

func (*WatchAlertsRequest) GetMaxChunkSize

func (m *WatchAlertsRequest) GetMaxChunkSize() int32

func (*WatchAlertsRequest) GetOrderBy

func (m *WatchAlertsRequest) GetOrderBy() *alert.OrderBy

func (*WatchAlertsRequest) GetPageSize

func (m *WatchAlertsRequest) GetPageSize() int32

func (*WatchAlertsRequest) GetPageToken

func (m *WatchAlertsRequest) GetPageToken() *alert.PagerCursor

func (*WatchAlertsRequest) GetParent

func (m *WatchAlertsRequest) GetParent() *alert.ParentName

func (*WatchAlertsRequest) GetResumeToken

func (m *WatchAlertsRequest) GetResumeToken() string

func (*WatchAlertsRequest) GetStartingTime added in v0.9.0

func (m *WatchAlertsRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchAlertsRequest) GetType

func (*WatchAlertsRequest) GetView

func (m *WatchAlertsRequest) GetView() view.View

func (*WatchAlertsRequest) GotenMessage

func (*WatchAlertsRequest) GotenMessage()

func (*WatchAlertsRequest) GotenValidate

func (obj *WatchAlertsRequest) GotenValidate() error

func (*WatchAlertsRequest) Marshal

func (m *WatchAlertsRequest) Marshal() ([]byte, error)

func (*WatchAlertsRequest) MarshalJSON

func (m *WatchAlertsRequest) MarshalJSON() ([]byte, error)

func (*WatchAlertsRequest) ProtoMessage

func (*WatchAlertsRequest) ProtoMessage()

func (*WatchAlertsRequest) ProtoReflect

func (m *WatchAlertsRequest) ProtoReflect() preflect.Message

func (*WatchAlertsRequest) Reset

func (m *WatchAlertsRequest) Reset()

func (*WatchAlertsRequest) SetFieldMask

func (m *WatchAlertsRequest) SetFieldMask(fv *alert.Alert_FieldMask)

func (*WatchAlertsRequest) SetFilter

func (m *WatchAlertsRequest) SetFilter(fv *alert.Filter)

func (*WatchAlertsRequest) SetMaxChunkSize

func (m *WatchAlertsRequest) SetMaxChunkSize(fv int32)

func (*WatchAlertsRequest) SetOrderBy

func (m *WatchAlertsRequest) SetOrderBy(fv *alert.OrderBy)

func (*WatchAlertsRequest) SetPageSize

func (m *WatchAlertsRequest) SetPageSize(fv int32)

func (*WatchAlertsRequest) SetPageToken

func (m *WatchAlertsRequest) SetPageToken(fv *alert.PagerCursor)

func (*WatchAlertsRequest) SetParent

func (m *WatchAlertsRequest) SetParent(fv *alert.ParentName)

func (*WatchAlertsRequest) SetResumeToken

func (m *WatchAlertsRequest) SetResumeToken(fv string)

func (*WatchAlertsRequest) SetStartingTime added in v0.9.0

func (m *WatchAlertsRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchAlertsRequest) SetType

func (m *WatchAlertsRequest) SetType(fv watch_type.WatchType)

func (*WatchAlertsRequest) SetView

func (m *WatchAlertsRequest) SetView(fv view.View)

func (*WatchAlertsRequest) String

func (m *WatchAlertsRequest) String() string

func (*WatchAlertsRequest) Unmarshal

func (m *WatchAlertsRequest) Unmarshal(b []byte) error

func (*WatchAlertsRequest) UnmarshalJSON

func (m *WatchAlertsRequest) UnmarshalJSON(data []byte) error

type WatchAlertsResponse

type WatchAlertsResponse struct {

	// Changes of Alerts
	AlertChanges []*alert.AlertChange `protobuf:"bytes,2,rep,name=alert_changes,json=alertChanges,proto3" json:"alert_changes,omitempty" firestore:"alertChanges"`
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Alerts will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchAlertsResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Alerts will contains changes of
	// type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

WatchAlertsResponse

func (*WatchAlertsResponse) Descriptor

func (*WatchAlertsResponse) Descriptor() ([]byte, []int)

Deprecated, Use WatchAlertsResponse.ProtoReflect.Descriptor instead.

func (*WatchAlertsResponse) GetAlertChanges

func (m *WatchAlertsResponse) GetAlertChanges() []*alert.AlertChange

func (*WatchAlertsResponse) GetIsCurrent

func (m *WatchAlertsResponse) GetIsCurrent() bool

func (*WatchAlertsResponse) GetIsHardReset

func (m *WatchAlertsResponse) GetIsHardReset() bool

func (*WatchAlertsResponse) GetIsSoftReset

func (m *WatchAlertsResponse) GetIsSoftReset() bool

func (*WatchAlertsResponse) GetPageTokenChange

func (*WatchAlertsResponse) GetResumeToken

func (m *WatchAlertsResponse) GetResumeToken() string

func (*WatchAlertsResponse) GetSnapshotSize

func (m *WatchAlertsResponse) GetSnapshotSize() int64

func (*WatchAlertsResponse) GotenMessage

func (*WatchAlertsResponse) GotenMessage()

func (*WatchAlertsResponse) GotenValidate

func (obj *WatchAlertsResponse) GotenValidate() error

func (*WatchAlertsResponse) Marshal

func (m *WatchAlertsResponse) Marshal() ([]byte, error)

func (*WatchAlertsResponse) MarshalJSON

func (m *WatchAlertsResponse) MarshalJSON() ([]byte, error)

func (*WatchAlertsResponse) ProtoMessage

func (*WatchAlertsResponse) ProtoMessage()

func (*WatchAlertsResponse) ProtoReflect

func (m *WatchAlertsResponse) ProtoReflect() preflect.Message

func (*WatchAlertsResponse) Reset

func (m *WatchAlertsResponse) Reset()

func (*WatchAlertsResponse) SetAlertChanges

func (m *WatchAlertsResponse) SetAlertChanges(fv []*alert.AlertChange)

func (*WatchAlertsResponse) SetIsCurrent

func (m *WatchAlertsResponse) SetIsCurrent(fv bool)

func (*WatchAlertsResponse) SetIsHardReset

func (m *WatchAlertsResponse) SetIsHardReset(fv bool)

func (*WatchAlertsResponse) SetIsSoftReset

func (m *WatchAlertsResponse) SetIsSoftReset(fv bool)

func (*WatchAlertsResponse) SetPageTokenChange

func (m *WatchAlertsResponse) SetPageTokenChange(fv *WatchAlertsResponse_PageTokenChange)

func (*WatchAlertsResponse) SetResumeToken

func (m *WatchAlertsResponse) SetResumeToken(fv string)

func (*WatchAlertsResponse) SetSnapshotSize

func (m *WatchAlertsResponse) SetSnapshotSize(fv int64)

func (*WatchAlertsResponse) String

func (m *WatchAlertsResponse) String() string

func (*WatchAlertsResponse) Unmarshal

func (m *WatchAlertsResponse) Unmarshal(b []byte) error

func (*WatchAlertsResponse) UnmarshalJSON

func (m *WatchAlertsResponse) UnmarshalJSON(data []byte) error

type WatchAlertsResponse_PageTokenChange

type WatchAlertsResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *alert.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchAlertsResponse_PageTokenChange) Descriptor

func (*WatchAlertsResponse_PageTokenChange) Descriptor() ([]byte, []int)

Deprecated, Use WatchAlertsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchAlertsResponse_PageTokenChange) GetNextPageToken

func (m *WatchAlertsResponse_PageTokenChange) GetNextPageToken() *alert.PagerCursor

func (*WatchAlertsResponse_PageTokenChange) GetPrevPageToken

func (m *WatchAlertsResponse_PageTokenChange) GetPrevPageToken() *alert.PagerCursor

func (*WatchAlertsResponse_PageTokenChange) GotenMessage

func (*WatchAlertsResponse_PageTokenChange) GotenMessage()

func (*WatchAlertsResponse_PageTokenChange) GotenValidate

func (obj *WatchAlertsResponse_PageTokenChange) GotenValidate() error

func (*WatchAlertsResponse_PageTokenChange) Marshal

func (*WatchAlertsResponse_PageTokenChange) MarshalJSON

func (m *WatchAlertsResponse_PageTokenChange) MarshalJSON() ([]byte, error)

func (*WatchAlertsResponse_PageTokenChange) ProtoMessage

func (*WatchAlertsResponse_PageTokenChange) ProtoMessage()

func (*WatchAlertsResponse_PageTokenChange) ProtoReflect

func (*WatchAlertsResponse_PageTokenChange) Reset

func (*WatchAlertsResponse_PageTokenChange) SetNextPageToken

func (m *WatchAlertsResponse_PageTokenChange) SetNextPageToken(fv *alert.PagerCursor)

func (*WatchAlertsResponse_PageTokenChange) SetPrevPageToken

func (m *WatchAlertsResponse_PageTokenChange) SetPrevPageToken(fv *alert.PagerCursor)

func (*WatchAlertsResponse_PageTokenChange) String

func (*WatchAlertsResponse_PageTokenChange) Unmarshal

func (*WatchAlertsResponse_PageTokenChange) UnmarshalJSON

func (m *WatchAlertsResponse_PageTokenChange) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL