alert_client

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 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

type AlertServiceDescriptor struct{}

func GetAlertServiceDescriptor

func GetAlertServiceDescriptor() *AlertServiceDescriptor

func (*AlertServiceDescriptor) AllMethodDescriptors

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

func (*AlertServiceDescriptor) GetApiName

func (d *AlertServiceDescriptor) GetApiName() string

func (*AlertServiceDescriptor) GetFullAPIName

func (d *AlertServiceDescriptor) GetFullAPIName() string

func (*AlertServiceDescriptor) GetProtoPkgName

func (d *AlertServiceDescriptor) GetProtoPkgName() string

func (*AlertServiceDescriptor) GetServiceDomain

func (d *AlertServiceDescriptor) GetServiceDomain() string

func (*AlertServiceDescriptor) GetServiceVersion

func (d *AlertServiceDescriptor) GetServiceVersion() string

type BatchGetAlertsDescriptor

type BatchGetAlertsDescriptor struct{}

func GetBatchGetAlertsDescriptor

func GetBatchGetAlertsDescriptor() *BatchGetAlertsDescriptor

func (*BatchGetAlertsDescriptor) GetApiDescriptor

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

func (*BatchGetAlertsDescriptor) GetApiName

func (d *BatchGetAlertsDescriptor) GetApiName() string

func (*BatchGetAlertsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetAlertsDescriptor) GetFullMethodName

func (d *BatchGetAlertsDescriptor) GetFullMethodName() string

func (*BatchGetAlertsDescriptor) GetMethodName

func (d *BatchGetAlertsDescriptor) GetMethodName() string

func (*BatchGetAlertsDescriptor) GetProtoPkgName

func (d *BatchGetAlertsDescriptor) GetProtoPkgName() string

func (*BatchGetAlertsDescriptor) GetResourceDescriptor

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

func (*BatchGetAlertsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetAlertsDescriptor) GetServiceDomain

func (d *BatchGetAlertsDescriptor) GetServiceDomain() string

func (*BatchGetAlertsDescriptor) GetServiceVersion

func (d *BatchGetAlertsDescriptor) GetServiceVersion() string

func (*BatchGetAlertsDescriptor) GetVerb

func (d *BatchGetAlertsDescriptor) GetVerb() string

func (*BatchGetAlertsDescriptor) HasResource

func (d *BatchGetAlertsDescriptor) HasResource() bool

func (*BatchGetAlertsDescriptor) IsClientStream

func (d *BatchGetAlertsDescriptor) IsClientStream() bool

func (*BatchGetAlertsDescriptor) IsCollection

func (d *BatchGetAlertsDescriptor) IsCollection() bool

func (*BatchGetAlertsDescriptor) IsPlural

func (d *BatchGetAlertsDescriptor) IsPlural() bool

func (*BatchGetAlertsDescriptor) IsServerStream

func (d *BatchGetAlertsDescriptor) IsServerStream() bool

func (*BatchGetAlertsDescriptor) IsUnary

func (d *BatchGetAlertsDescriptor) IsUnary() bool

func (*BatchGetAlertsDescriptor) NewEmptyClientMsg

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

func (*BatchGetAlertsDescriptor) NewEmptyServerMsg

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

func (*BatchGetAlertsDescriptor) RequestHasResourceBody

func (d *BatchGetAlertsDescriptor) RequestHasResourceBody() bool

type BatchGetAlertsDescriptorClientMsgHandle

type BatchGetAlertsDescriptorClientMsgHandle struct{}

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetAlertsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetAlertsDescriptorServerMsgHandle

type BatchGetAlertsDescriptorServerMsgHandle struct{}

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetAlertsDescriptorServerMsgHandle) ExtractResourceNames

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
}

A request message of the BatchGetAlerts method.

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
}

A response message of the BatchGetAlerts method.

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

type CreateAlertDescriptor struct{}

func GetCreateAlertDescriptor

func GetCreateAlertDescriptor() *CreateAlertDescriptor

func (*CreateAlertDescriptor) GetApiDescriptor

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

func (*CreateAlertDescriptor) GetApiName

func (d *CreateAlertDescriptor) GetApiName() string

func (*CreateAlertDescriptor) GetClientMsgReflectHandle

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

func (*CreateAlertDescriptor) GetFullMethodName

func (d *CreateAlertDescriptor) GetFullMethodName() string

func (*CreateAlertDescriptor) GetMethodName

func (d *CreateAlertDescriptor) GetMethodName() string

func (*CreateAlertDescriptor) GetProtoPkgName

func (d *CreateAlertDescriptor) GetProtoPkgName() string

func (*CreateAlertDescriptor) GetResourceDescriptor

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

func (*CreateAlertDescriptor) GetServerMsgReflectHandle

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

func (*CreateAlertDescriptor) GetServiceDomain

func (d *CreateAlertDescriptor) GetServiceDomain() string

func (*CreateAlertDescriptor) GetServiceVersion

func (d *CreateAlertDescriptor) GetServiceVersion() string

func (*CreateAlertDescriptor) GetVerb

func (d *CreateAlertDescriptor) GetVerb() string

func (*CreateAlertDescriptor) HasResource

func (d *CreateAlertDescriptor) HasResource() bool

func (*CreateAlertDescriptor) IsClientStream

func (d *CreateAlertDescriptor) IsClientStream() bool

func (*CreateAlertDescriptor) IsCollection

func (d *CreateAlertDescriptor) IsCollection() bool

func (*CreateAlertDescriptor) IsPlural

func (d *CreateAlertDescriptor) IsPlural() bool

func (*CreateAlertDescriptor) IsServerStream

func (d *CreateAlertDescriptor) IsServerStream() bool

func (*CreateAlertDescriptor) IsUnary

func (d *CreateAlertDescriptor) IsUnary() bool

func (*CreateAlertDescriptor) NewEmptyClientMsg

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

func (*CreateAlertDescriptor) NewEmptyServerMsg

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

func (*CreateAlertDescriptor) RequestHasResourceBody

func (d *CreateAlertDescriptor) RequestHasResourceBody() bool

type CreateAlertDescriptorClientMsgHandle

type CreateAlertDescriptorClientMsgHandle struct{}

func (*CreateAlertDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceName

func (*CreateAlertDescriptorClientMsgHandle) ExtractResourceNames

type CreateAlertDescriptorServerMsgHandle

type CreateAlertDescriptorServerMsgHandle struct{}

func (*CreateAlertDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceName

func (*CreateAlertDescriptorServerMsgHandle) ExtractResourceNames

type CreateAlertRequest

type CreateAlertRequest struct {

	// Parent name of ntt.monitoring.v4.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
}

A request message of the CreateAlert method.

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

type DeleteAlertDescriptor struct{}

func GetDeleteAlertDescriptor

func GetDeleteAlertDescriptor() *DeleteAlertDescriptor

func (*DeleteAlertDescriptor) GetApiDescriptor

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

func (*DeleteAlertDescriptor) GetApiName

func (d *DeleteAlertDescriptor) GetApiName() string

func (*DeleteAlertDescriptor) GetClientMsgReflectHandle

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

func (*DeleteAlertDescriptor) GetFullMethodName

func (d *DeleteAlertDescriptor) GetFullMethodName() string

func (*DeleteAlertDescriptor) GetMethodName

func (d *DeleteAlertDescriptor) GetMethodName() string

func (*DeleteAlertDescriptor) GetProtoPkgName

func (d *DeleteAlertDescriptor) GetProtoPkgName() string

func (*DeleteAlertDescriptor) GetResourceDescriptor

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

func (*DeleteAlertDescriptor) GetServerMsgReflectHandle

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

func (*DeleteAlertDescriptor) GetServiceDomain

func (d *DeleteAlertDescriptor) GetServiceDomain() string

func (*DeleteAlertDescriptor) GetServiceVersion

func (d *DeleteAlertDescriptor) GetServiceVersion() string

func (*DeleteAlertDescriptor) GetVerb

func (d *DeleteAlertDescriptor) GetVerb() string

func (*DeleteAlertDescriptor) HasResource

func (d *DeleteAlertDescriptor) HasResource() bool

func (*DeleteAlertDescriptor) IsClientStream

func (d *DeleteAlertDescriptor) IsClientStream() bool

func (*DeleteAlertDescriptor) IsCollection

func (d *DeleteAlertDescriptor) IsCollection() bool

func (*DeleteAlertDescriptor) IsPlural

func (d *DeleteAlertDescriptor) IsPlural() bool

func (*DeleteAlertDescriptor) IsServerStream

func (d *DeleteAlertDescriptor) IsServerStream() bool

func (*DeleteAlertDescriptor) IsUnary

func (d *DeleteAlertDescriptor) IsUnary() bool

func (*DeleteAlertDescriptor) NewEmptyClientMsg

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

func (*DeleteAlertDescriptor) NewEmptyServerMsg

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

func (*DeleteAlertDescriptor) RequestHasResourceBody

func (d *DeleteAlertDescriptor) RequestHasResourceBody() bool

type DeleteAlertDescriptorClientMsgHandle

type DeleteAlertDescriptorClientMsgHandle struct{}

func (*DeleteAlertDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteAlertDescriptorClientMsgHandle) ExtractResourceNames

type DeleteAlertDescriptorServerMsgHandle

type DeleteAlertDescriptorServerMsgHandle struct{}

func (*DeleteAlertDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteAlertDescriptorServerMsgHandle) ExtractResourceNames

type DeleteAlertRequest

type DeleteAlertRequest struct {

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

A request message of the DeleteAlert method.

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

type GetAlertDescriptor struct{}

func GetGetAlertDescriptor

func GetGetAlertDescriptor() *GetAlertDescriptor

func (*GetAlertDescriptor) GetApiDescriptor

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

func (*GetAlertDescriptor) GetApiName

func (d *GetAlertDescriptor) GetApiName() string

func (*GetAlertDescriptor) GetClientMsgReflectHandle

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

func (*GetAlertDescriptor) GetFullMethodName

func (d *GetAlertDescriptor) GetFullMethodName() string

func (*GetAlertDescriptor) GetMethodName

func (d *GetAlertDescriptor) GetMethodName() string

func (*GetAlertDescriptor) GetProtoPkgName

func (d *GetAlertDescriptor) GetProtoPkgName() string

func (*GetAlertDescriptor) GetResourceDescriptor

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

func (*GetAlertDescriptor) GetServerMsgReflectHandle

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

func (*GetAlertDescriptor) GetServiceDomain

func (d *GetAlertDescriptor) GetServiceDomain() string

func (*GetAlertDescriptor) GetServiceVersion

func (d *GetAlertDescriptor) GetServiceVersion() string

func (*GetAlertDescriptor) GetVerb

func (d *GetAlertDescriptor) GetVerb() string

func (*GetAlertDescriptor) HasResource

func (d *GetAlertDescriptor) HasResource() bool

func (*GetAlertDescriptor) IsClientStream

func (d *GetAlertDescriptor) IsClientStream() bool

func (*GetAlertDescriptor) IsCollection

func (d *GetAlertDescriptor) IsCollection() bool

func (*GetAlertDescriptor) IsPlural

func (d *GetAlertDescriptor) IsPlural() bool

func (*GetAlertDescriptor) IsServerStream

func (d *GetAlertDescriptor) IsServerStream() bool

func (*GetAlertDescriptor) IsUnary

func (d *GetAlertDescriptor) IsUnary() bool

func (*GetAlertDescriptor) NewEmptyClientMsg

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

func (*GetAlertDescriptor) NewEmptyServerMsg

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

func (*GetAlertDescriptor) RequestHasResourceBody

func (d *GetAlertDescriptor) RequestHasResourceBody() bool

type GetAlertDescriptorClientMsgHandle

type GetAlertDescriptorClientMsgHandle struct{}

func (*GetAlertDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceBody

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceName

func (*GetAlertDescriptorClientMsgHandle) ExtractResourceNames

type GetAlertDescriptorServerMsgHandle

type GetAlertDescriptorServerMsgHandle struct{}

func (*GetAlertDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceBody

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceName

func (*GetAlertDescriptorServerMsgHandle) ExtractResourceNames

type GetAlertRequest

type GetAlertRequest struct {

	// Name of ntt.monitoring.v4.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
}

A request message of the GetAlert method.

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

type ListAlertsDescriptor struct{}

func GetListAlertsDescriptor

func GetListAlertsDescriptor() *ListAlertsDescriptor

func (*ListAlertsDescriptor) GetApiDescriptor

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

func (*ListAlertsDescriptor) GetApiName

func (d *ListAlertsDescriptor) GetApiName() string

func (*ListAlertsDescriptor) GetClientMsgReflectHandle

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

func (*ListAlertsDescriptor) GetFullMethodName

func (d *ListAlertsDescriptor) GetFullMethodName() string

func (*ListAlertsDescriptor) GetMethodName

func (d *ListAlertsDescriptor) GetMethodName() string

func (*ListAlertsDescriptor) GetProtoPkgName

func (d *ListAlertsDescriptor) GetProtoPkgName() string

func (*ListAlertsDescriptor) GetResourceDescriptor

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

func (*ListAlertsDescriptor) GetServerMsgReflectHandle

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

func (*ListAlertsDescriptor) GetServiceDomain

func (d *ListAlertsDescriptor) GetServiceDomain() string

func (*ListAlertsDescriptor) GetServiceVersion

func (d *ListAlertsDescriptor) GetServiceVersion() string

func (*ListAlertsDescriptor) GetVerb

func (d *ListAlertsDescriptor) GetVerb() string

func (*ListAlertsDescriptor) HasResource

func (d *ListAlertsDescriptor) HasResource() bool

func (*ListAlertsDescriptor) IsClientStream

func (d *ListAlertsDescriptor) IsClientStream() bool

func (*ListAlertsDescriptor) IsCollection

func (d *ListAlertsDescriptor) IsCollection() bool

func (*ListAlertsDescriptor) IsPlural

func (d *ListAlertsDescriptor) IsPlural() bool

func (*ListAlertsDescriptor) IsServerStream

func (d *ListAlertsDescriptor) IsServerStream() bool

func (*ListAlertsDescriptor) IsUnary

func (d *ListAlertsDescriptor) IsUnary() bool

func (*ListAlertsDescriptor) NewEmptyClientMsg

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

func (*ListAlertsDescriptor) NewEmptyServerMsg

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

func (*ListAlertsDescriptor) RequestHasResourceBody

func (d *ListAlertsDescriptor) RequestHasResourceBody() bool

type ListAlertsDescriptorClientMsgHandle

type ListAlertsDescriptorClientMsgHandle struct{}

func (*ListAlertsDescriptorClientMsgHandle) ExtractCollectionName

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

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceName

func (*ListAlertsDescriptorClientMsgHandle) ExtractResourceNames

type ListAlertsDescriptorServerMsgHandle

type ListAlertsDescriptorServerMsgHandle struct{}

func (*ListAlertsDescriptorServerMsgHandle) ExtractCollectionName

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

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceName

func (*ListAlertsDescriptorServerMsgHandle) ExtractResourceNames

type ListAlertsRequest

type ListAlertsRequest struct {

	// Parent name of ntt.monitoring.v4.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.
	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
}

A request message of the ListAlerts method.

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

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

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.
	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.
	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
}

A response message of the ListAlerts method.

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

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

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

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

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

type UpdateAlertDescriptor struct{}

func GetUpdateAlertDescriptor

func GetUpdateAlertDescriptor() *UpdateAlertDescriptor

func (*UpdateAlertDescriptor) GetApiDescriptor

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

func (*UpdateAlertDescriptor) GetApiName

func (d *UpdateAlertDescriptor) GetApiName() string

func (*UpdateAlertDescriptor) GetClientMsgReflectHandle

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

func (*UpdateAlertDescriptor) GetFullMethodName

func (d *UpdateAlertDescriptor) GetFullMethodName() string

func (*UpdateAlertDescriptor) GetMethodName

func (d *UpdateAlertDescriptor) GetMethodName() string

func (*UpdateAlertDescriptor) GetProtoPkgName

func (d *UpdateAlertDescriptor) GetProtoPkgName() string

func (*UpdateAlertDescriptor) GetResourceDescriptor

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

func (*UpdateAlertDescriptor) GetServerMsgReflectHandle

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

func (*UpdateAlertDescriptor) GetServiceDomain

func (d *UpdateAlertDescriptor) GetServiceDomain() string

func (*UpdateAlertDescriptor) GetServiceVersion

func (d *UpdateAlertDescriptor) GetServiceVersion() string

func (*UpdateAlertDescriptor) GetVerb

func (d *UpdateAlertDescriptor) GetVerb() string

func (*UpdateAlertDescriptor) HasResource

func (d *UpdateAlertDescriptor) HasResource() bool

func (*UpdateAlertDescriptor) IsClientStream

func (d *UpdateAlertDescriptor) IsClientStream() bool

func (*UpdateAlertDescriptor) IsCollection

func (d *UpdateAlertDescriptor) IsCollection() bool

func (*UpdateAlertDescriptor) IsPlural

func (d *UpdateAlertDescriptor) IsPlural() bool

func (*UpdateAlertDescriptor) IsServerStream

func (d *UpdateAlertDescriptor) IsServerStream() bool

func (*UpdateAlertDescriptor) IsUnary

func (d *UpdateAlertDescriptor) IsUnary() bool

func (*UpdateAlertDescriptor) NewEmptyClientMsg

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

func (*UpdateAlertDescriptor) NewEmptyServerMsg

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

func (*UpdateAlertDescriptor) RequestHasResourceBody

func (d *UpdateAlertDescriptor) RequestHasResourceBody() bool

type UpdateAlertDescriptorClientMsgHandle

type UpdateAlertDescriptorClientMsgHandle struct{}

func (*UpdateAlertDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateAlertDescriptorClientMsgHandle) ExtractResourceNames

type UpdateAlertDescriptorServerMsgHandle

type UpdateAlertDescriptorServerMsgHandle struct{}

func (*UpdateAlertDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateAlertDescriptorServerMsgHandle) ExtractResourceNames

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
}

A request message of the UpdateAlert method.

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

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

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

type WatchAlertDescriptor struct{}

func GetWatchAlertDescriptor

func GetWatchAlertDescriptor() *WatchAlertDescriptor

func (*WatchAlertDescriptor) GetApiDescriptor

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

func (*WatchAlertDescriptor) GetApiName

func (d *WatchAlertDescriptor) GetApiName() string

func (*WatchAlertDescriptor) GetClientMsgReflectHandle

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

func (*WatchAlertDescriptor) GetFullMethodName

func (d *WatchAlertDescriptor) GetFullMethodName() string

func (*WatchAlertDescriptor) GetMethodName

func (d *WatchAlertDescriptor) GetMethodName() string

func (*WatchAlertDescriptor) GetProtoPkgName

func (d *WatchAlertDescriptor) GetProtoPkgName() string

func (*WatchAlertDescriptor) GetResourceDescriptor

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

func (*WatchAlertDescriptor) GetServerMsgReflectHandle

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

func (*WatchAlertDescriptor) GetServiceDomain

func (d *WatchAlertDescriptor) GetServiceDomain() string

func (*WatchAlertDescriptor) GetServiceVersion

func (d *WatchAlertDescriptor) GetServiceVersion() string

func (*WatchAlertDescriptor) GetVerb

func (d *WatchAlertDescriptor) GetVerb() string

func (*WatchAlertDescriptor) HasResource

func (d *WatchAlertDescriptor) HasResource() bool

func (*WatchAlertDescriptor) IsClientStream

func (d *WatchAlertDescriptor) IsClientStream() bool

func (*WatchAlertDescriptor) IsCollection

func (d *WatchAlertDescriptor) IsCollection() bool

func (*WatchAlertDescriptor) IsPlural

func (d *WatchAlertDescriptor) IsPlural() bool

func (*WatchAlertDescriptor) IsServerStream

func (d *WatchAlertDescriptor) IsServerStream() bool

func (*WatchAlertDescriptor) IsUnary

func (d *WatchAlertDescriptor) IsUnary() bool

func (*WatchAlertDescriptor) NewEmptyClientMsg

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

func (*WatchAlertDescriptor) NewEmptyServerMsg

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

func (*WatchAlertDescriptor) RequestHasResourceBody

func (d *WatchAlertDescriptor) RequestHasResourceBody() bool

type WatchAlertDescriptorClientMsgHandle

type WatchAlertDescriptorClientMsgHandle struct{}

func (*WatchAlertDescriptorClientMsgHandle) ExtractCollectionName

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

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceName

func (*WatchAlertDescriptorClientMsgHandle) ExtractResourceNames

type WatchAlertDescriptorServerMsgHandle

type WatchAlertDescriptorServerMsgHandle struct{}

func (*WatchAlertDescriptorServerMsgHandle) ExtractCollectionName

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

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceName

func (*WatchAlertDescriptorServerMsgHandle) ExtractResourceNames

type WatchAlertRequest

type WatchAlertRequest struct {

	// Name of ntt.monitoring.v4.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
}

A request message of the WatchAlert method.

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
}

A response message of the WatchAlert method.

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

type WatchAlertsDescriptor struct{}

func GetWatchAlertsDescriptor

func GetWatchAlertsDescriptor() *WatchAlertsDescriptor

func (*WatchAlertsDescriptor) GetApiDescriptor

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

func (*WatchAlertsDescriptor) GetApiName

func (d *WatchAlertsDescriptor) GetApiName() string

func (*WatchAlertsDescriptor) GetClientMsgReflectHandle

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

func (*WatchAlertsDescriptor) GetFullMethodName

func (d *WatchAlertsDescriptor) GetFullMethodName() string

func (*WatchAlertsDescriptor) GetMethodName

func (d *WatchAlertsDescriptor) GetMethodName() string

func (*WatchAlertsDescriptor) GetProtoPkgName

func (d *WatchAlertsDescriptor) GetProtoPkgName() string

func (*WatchAlertsDescriptor) GetResourceDescriptor

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

func (*WatchAlertsDescriptor) GetServerMsgReflectHandle

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

func (*WatchAlertsDescriptor) GetServiceDomain

func (d *WatchAlertsDescriptor) GetServiceDomain() string

func (*WatchAlertsDescriptor) GetServiceVersion

func (d *WatchAlertsDescriptor) GetServiceVersion() string

func (*WatchAlertsDescriptor) GetVerb

func (d *WatchAlertsDescriptor) GetVerb() string

func (*WatchAlertsDescriptor) HasResource

func (d *WatchAlertsDescriptor) HasResource() bool

func (*WatchAlertsDescriptor) IsClientStream

func (d *WatchAlertsDescriptor) IsClientStream() bool

func (*WatchAlertsDescriptor) IsCollection

func (d *WatchAlertsDescriptor) IsCollection() bool

func (*WatchAlertsDescriptor) IsPlural

func (d *WatchAlertsDescriptor) IsPlural() bool

func (*WatchAlertsDescriptor) IsServerStream

func (d *WatchAlertsDescriptor) IsServerStream() bool

func (*WatchAlertsDescriptor) IsUnary

func (d *WatchAlertsDescriptor) IsUnary() bool

func (*WatchAlertsDescriptor) NewEmptyClientMsg

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

func (*WatchAlertsDescriptor) NewEmptyServerMsg

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

func (*WatchAlertsDescriptor) RequestHasResourceBody

func (d *WatchAlertsDescriptor) RequestHasResourceBody() bool

type WatchAlertsDescriptorClientMsgHandle

type WatchAlertsDescriptorClientMsgHandle struct{}

func (*WatchAlertsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchAlertsDescriptorClientMsgHandle) ExtractResourceNames

type WatchAlertsDescriptorServerMsgHandle

type WatchAlertsDescriptorServerMsgHandle struct{}

func (*WatchAlertsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchAlertsDescriptorServerMsgHandle) ExtractResourceNames

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.v4.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
}

A request message of the WatchAlerts method.

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

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

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
}

A response message of the WatchAlerts method.

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