notification_client

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 BatchGetNotificationsDescriptor

type BatchGetNotificationsDescriptor struct{}

func GetBatchGetNotificationsDescriptor

func GetBatchGetNotificationsDescriptor() *BatchGetNotificationsDescriptor

func (*BatchGetNotificationsDescriptor) GetApiDescriptor

func (*BatchGetNotificationsDescriptor) GetApiName

func (d *BatchGetNotificationsDescriptor) GetApiName() string

func (*BatchGetNotificationsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetNotificationsDescriptor) GetFullMethodName

func (d *BatchGetNotificationsDescriptor) GetFullMethodName() string

func (*BatchGetNotificationsDescriptor) GetMethodName

func (d *BatchGetNotificationsDescriptor) GetMethodName() string

func (*BatchGetNotificationsDescriptor) GetProtoPkgName

func (d *BatchGetNotificationsDescriptor) GetProtoPkgName() string

func (*BatchGetNotificationsDescriptor) GetResourceDescriptor

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

func (*BatchGetNotificationsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetNotificationsDescriptor) GetServiceDomain

func (d *BatchGetNotificationsDescriptor) GetServiceDomain() string

func (*BatchGetNotificationsDescriptor) GetServiceVersion

func (d *BatchGetNotificationsDescriptor) GetServiceVersion() string

func (*BatchGetNotificationsDescriptor) GetVerb

func (*BatchGetNotificationsDescriptor) HasResource

func (d *BatchGetNotificationsDescriptor) HasResource() bool

func (*BatchGetNotificationsDescriptor) IsClientStream

func (d *BatchGetNotificationsDescriptor) IsClientStream() bool

func (*BatchGetNotificationsDescriptor) IsCollection

func (d *BatchGetNotificationsDescriptor) IsCollection() bool

func (*BatchGetNotificationsDescriptor) IsPlural

func (d *BatchGetNotificationsDescriptor) IsPlural() bool

func (*BatchGetNotificationsDescriptor) IsServerStream

func (d *BatchGetNotificationsDescriptor) IsServerStream() bool

func (*BatchGetNotificationsDescriptor) IsUnary

func (*BatchGetNotificationsDescriptor) NewEmptyClientMsg

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

func (*BatchGetNotificationsDescriptor) NewEmptyServerMsg

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

func (*BatchGetNotificationsDescriptor) RequestHasResourceBody

func (d *BatchGetNotificationsDescriptor) RequestHasResourceBody() bool

type BatchGetNotificationsDescriptorClientMsgHandle

type BatchGetNotificationsDescriptorClientMsgHandle struct{}

func (*BatchGetNotificationsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetNotificationsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetNotificationsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetNotificationsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetNotificationsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetNotificationsDescriptorServerMsgHandle

type BatchGetNotificationsDescriptorServerMsgHandle struct{}

func (*BatchGetNotificationsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetNotificationsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetNotificationsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetNotificationsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetNotificationsDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetNotificationsRequest

type BatchGetNotificationsRequest struct {

	// Names of Notifications
	Names []*notification.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 *notification.Notification_FieldMask `` /* 144-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 BatchGetNotifications method.

func (*BatchGetNotificationsRequest) Descriptor

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

Deprecated, Use BatchGetNotificationsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetNotificationsRequest) GetFieldMask

func (*BatchGetNotificationsRequest) GetNames

func (*BatchGetNotificationsRequest) GetView

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

func (*BatchGetNotificationsRequest) GotenMessage

func (*BatchGetNotificationsRequest) GotenMessage()

func (*BatchGetNotificationsRequest) GotenValidate

func (obj *BatchGetNotificationsRequest) GotenValidate() error

func (*BatchGetNotificationsRequest) Marshal

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

func (*BatchGetNotificationsRequest) MarshalJSON

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

func (*BatchGetNotificationsRequest) ProtoMessage

func (*BatchGetNotificationsRequest) ProtoMessage()

func (*BatchGetNotificationsRequest) ProtoReflect

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

func (*BatchGetNotificationsRequest) Reset

func (m *BatchGetNotificationsRequest) Reset()

func (*BatchGetNotificationsRequest) SetFieldMask

func (*BatchGetNotificationsRequest) SetNames

func (m *BatchGetNotificationsRequest) SetNames(fv []*notification.Name)

func (*BatchGetNotificationsRequest) SetView

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

func (*BatchGetNotificationsRequest) String

func (*BatchGetNotificationsRequest) Unmarshal

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

func (*BatchGetNotificationsRequest) UnmarshalJSON

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

type BatchGetNotificationsResponse

type BatchGetNotificationsResponse struct {

	// found Notifications
	Notifications []*notification.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty" firestore:"notifications"`
	// list of not found Notifications
	Missing []*notification.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 BatchGetNotifications method.

func (*BatchGetNotificationsResponse) Descriptor

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

Deprecated, Use BatchGetNotificationsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetNotificationsResponse) GetMissing

func (m *BatchGetNotificationsResponse) GetMissing() []*notification.Name

func (*BatchGetNotificationsResponse) GetNotifications

func (m *BatchGetNotificationsResponse) GetNotifications() []*notification.Notification

func (*BatchGetNotificationsResponse) GotenMessage

func (*BatchGetNotificationsResponse) GotenMessage()

func (*BatchGetNotificationsResponse) GotenValidate

func (obj *BatchGetNotificationsResponse) GotenValidate() error

func (*BatchGetNotificationsResponse) Marshal

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

func (*BatchGetNotificationsResponse) MarshalJSON

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

func (*BatchGetNotificationsResponse) ProtoMessage

func (*BatchGetNotificationsResponse) ProtoMessage()

func (*BatchGetNotificationsResponse) ProtoReflect

func (*BatchGetNotificationsResponse) Reset

func (m *BatchGetNotificationsResponse) Reset()

func (*BatchGetNotificationsResponse) SetMissing

func (m *BatchGetNotificationsResponse) SetMissing(fv []*notification.Name)

func (*BatchGetNotificationsResponse) SetNotifications

func (m *BatchGetNotificationsResponse) SetNotifications(fv []*notification.Notification)

func (*BatchGetNotificationsResponse) String

func (*BatchGetNotificationsResponse) Unmarshal

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

func (*BatchGetNotificationsResponse) UnmarshalJSON

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

type CreateNotificationDescriptor

type CreateNotificationDescriptor struct{}

func GetCreateNotificationDescriptor

func GetCreateNotificationDescriptor() *CreateNotificationDescriptor

func (*CreateNotificationDescriptor) GetApiDescriptor

func (*CreateNotificationDescriptor) GetApiName

func (d *CreateNotificationDescriptor) GetApiName() string

func (*CreateNotificationDescriptor) GetClientMsgReflectHandle

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

func (*CreateNotificationDescriptor) GetFullMethodName

func (d *CreateNotificationDescriptor) GetFullMethodName() string

func (*CreateNotificationDescriptor) GetMethodName

func (d *CreateNotificationDescriptor) GetMethodName() string

func (*CreateNotificationDescriptor) GetProtoPkgName

func (d *CreateNotificationDescriptor) GetProtoPkgName() string

func (*CreateNotificationDescriptor) GetResourceDescriptor

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

func (*CreateNotificationDescriptor) GetServerMsgReflectHandle

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

func (*CreateNotificationDescriptor) GetServiceDomain

func (d *CreateNotificationDescriptor) GetServiceDomain() string

func (*CreateNotificationDescriptor) GetServiceVersion

func (d *CreateNotificationDescriptor) GetServiceVersion() string

func (*CreateNotificationDescriptor) GetVerb

func (d *CreateNotificationDescriptor) GetVerb() string

func (*CreateNotificationDescriptor) HasResource

func (d *CreateNotificationDescriptor) HasResource() bool

func (*CreateNotificationDescriptor) IsClientStream

func (d *CreateNotificationDescriptor) IsClientStream() bool

func (*CreateNotificationDescriptor) IsCollection

func (d *CreateNotificationDescriptor) IsCollection() bool

func (*CreateNotificationDescriptor) IsPlural

func (d *CreateNotificationDescriptor) IsPlural() bool

func (*CreateNotificationDescriptor) IsServerStream

func (d *CreateNotificationDescriptor) IsServerStream() bool

func (*CreateNotificationDescriptor) IsUnary

func (d *CreateNotificationDescriptor) IsUnary() bool

func (*CreateNotificationDescriptor) NewEmptyClientMsg

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

func (*CreateNotificationDescriptor) NewEmptyServerMsg

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

func (*CreateNotificationDescriptor) RequestHasResourceBody

func (d *CreateNotificationDescriptor) RequestHasResourceBody() bool

type CreateNotificationDescriptorClientMsgHandle

type CreateNotificationDescriptorClientMsgHandle struct{}

func (*CreateNotificationDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateNotificationDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateNotificationDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateNotificationDescriptorClientMsgHandle) ExtractResourceName

func (*CreateNotificationDescriptorClientMsgHandle) ExtractResourceNames

type CreateNotificationDescriptorServerMsgHandle

type CreateNotificationDescriptorServerMsgHandle struct{}

func (*CreateNotificationDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateNotificationDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateNotificationDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateNotificationDescriptorServerMsgHandle) ExtractResourceName

func (*CreateNotificationDescriptorServerMsgHandle) ExtractResourceNames

type CreateNotificationRequest

type CreateNotificationRequest struct {

	// Parent name of ntt.monitoring.v4.Notification
	Parent *notification.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Notification resource body
	Notification *notification.Notification `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty" firestore:"notification"`
	// Optional masking applied to response object to reduce message response
	// size.
	ResponseMask *CreateNotificationRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the CreateNotification method.

func (*CreateNotificationRequest) Descriptor

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

Deprecated, Use CreateNotificationRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationRequest) GetNotification

func (m *CreateNotificationRequest) GetNotification() *notification.Notification

func (*CreateNotificationRequest) GetParent

func (*CreateNotificationRequest) GetResponseMask added in v1.8.3

func (*CreateNotificationRequest) GotenMessage

func (*CreateNotificationRequest) GotenMessage()

func (*CreateNotificationRequest) GotenValidate

func (obj *CreateNotificationRequest) GotenValidate() error

func (*CreateNotificationRequest) Marshal

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

func (*CreateNotificationRequest) MarshalJSON

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

func (*CreateNotificationRequest) ProtoMessage

func (*CreateNotificationRequest) ProtoMessage()

func (*CreateNotificationRequest) ProtoReflect

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

func (*CreateNotificationRequest) Reset

func (m *CreateNotificationRequest) Reset()

func (*CreateNotificationRequest) SetNotification

func (m *CreateNotificationRequest) SetNotification(fv *notification.Notification)

func (*CreateNotificationRequest) SetParent

func (*CreateNotificationRequest) SetResponseMask added in v1.8.3

func (*CreateNotificationRequest) String

func (m *CreateNotificationRequest) String() string

func (*CreateNotificationRequest) Unmarshal

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

func (*CreateNotificationRequest) UnmarshalJSON

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

type CreateNotificationRequest_ResponseMask added in v1.8.3

type CreateNotificationRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*CreateNotificationRequest_ResponseMask_SkipEntireResponseBody
	//	*CreateNotificationRequest_ResponseMask_BodyMask
	Masking isCreateNotificationRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*CreateNotificationRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use CreateNotificationRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*CreateNotificationRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) GetMasking added in v1.8.3

func (m *CreateNotificationRequest_ResponseMask) GetMasking() isCreateNotificationRequest_ResponseMask_Masking

func (*CreateNotificationRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *CreateNotificationRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*CreateNotificationRequest_ResponseMask) GotenMessage added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *CreateNotificationRequest_ResponseMask) GotenValidate() error

func (*CreateNotificationRequest_ResponseMask) Marshal added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*CreateNotificationRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) Reset added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) SetMasking added in v1.8.3

func (m *CreateNotificationRequest_ResponseMask) SetMasking(ofv isCreateNotificationRequest_ResponseMask_Masking)

func (*CreateNotificationRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *CreateNotificationRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*CreateNotificationRequest_ResponseMask) String added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) Unmarshal added in v1.8.3

func (*CreateNotificationRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type CreateNotificationRequest_ResponseMask_BodyMask added in v1.8.3

type CreateNotificationRequest_ResponseMask_BodyMask struct {
	// If this field is populated, then resource in response will contain only
	// specific fields.
	BodyMask *notification.Notification_FieldMask `protobuf:"bytes,2,opt,customtype=Notification_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"`
}

type CreateNotificationRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type CreateNotificationRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type DeleteNotificationDescriptor

type DeleteNotificationDescriptor struct{}

func GetDeleteNotificationDescriptor

func GetDeleteNotificationDescriptor() *DeleteNotificationDescriptor

func (*DeleteNotificationDescriptor) GetApiDescriptor

func (*DeleteNotificationDescriptor) GetApiName

func (d *DeleteNotificationDescriptor) GetApiName() string

func (*DeleteNotificationDescriptor) GetClientMsgReflectHandle

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

func (*DeleteNotificationDescriptor) GetFullMethodName

func (d *DeleteNotificationDescriptor) GetFullMethodName() string

func (*DeleteNotificationDescriptor) GetMethodName

func (d *DeleteNotificationDescriptor) GetMethodName() string

func (*DeleteNotificationDescriptor) GetProtoPkgName

func (d *DeleteNotificationDescriptor) GetProtoPkgName() string

func (*DeleteNotificationDescriptor) GetResourceDescriptor

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

func (*DeleteNotificationDescriptor) GetServerMsgReflectHandle

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

func (*DeleteNotificationDescriptor) GetServiceDomain

func (d *DeleteNotificationDescriptor) GetServiceDomain() string

func (*DeleteNotificationDescriptor) GetServiceVersion

func (d *DeleteNotificationDescriptor) GetServiceVersion() string

func (*DeleteNotificationDescriptor) GetVerb

func (d *DeleteNotificationDescriptor) GetVerb() string

func (*DeleteNotificationDescriptor) HasResource

func (d *DeleteNotificationDescriptor) HasResource() bool

func (*DeleteNotificationDescriptor) IsClientStream

func (d *DeleteNotificationDescriptor) IsClientStream() bool

func (*DeleteNotificationDescriptor) IsCollection

func (d *DeleteNotificationDescriptor) IsCollection() bool

func (*DeleteNotificationDescriptor) IsPlural

func (d *DeleteNotificationDescriptor) IsPlural() bool

func (*DeleteNotificationDescriptor) IsServerStream

func (d *DeleteNotificationDescriptor) IsServerStream() bool

func (*DeleteNotificationDescriptor) IsUnary

func (d *DeleteNotificationDescriptor) IsUnary() bool

func (*DeleteNotificationDescriptor) NewEmptyClientMsg

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

func (*DeleteNotificationDescriptor) NewEmptyServerMsg

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

func (*DeleteNotificationDescriptor) RequestHasResourceBody

func (d *DeleteNotificationDescriptor) RequestHasResourceBody() bool

type DeleteNotificationDescriptorClientMsgHandle

type DeleteNotificationDescriptorClientMsgHandle struct{}

func (*DeleteNotificationDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteNotificationDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteNotificationDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteNotificationDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteNotificationDescriptorClientMsgHandle) ExtractResourceNames

type DeleteNotificationDescriptorServerMsgHandle

type DeleteNotificationDescriptorServerMsgHandle struct{}

func (*DeleteNotificationDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteNotificationDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteNotificationDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteNotificationDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteNotificationDescriptorServerMsgHandle) ExtractResourceNames

type DeleteNotificationRequest

type DeleteNotificationRequest struct {

	// Name of ntt.monitoring.v4.Notification
	Name *notification.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 DeleteNotification method.

func (*DeleteNotificationRequest) Descriptor

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

Deprecated, Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationRequest) GetName

func (*DeleteNotificationRequest) GotenMessage

func (*DeleteNotificationRequest) GotenMessage()

func (*DeleteNotificationRequest) GotenValidate

func (obj *DeleteNotificationRequest) GotenValidate() error

func (*DeleteNotificationRequest) Marshal

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

func (*DeleteNotificationRequest) MarshalJSON

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

func (*DeleteNotificationRequest) ProtoMessage

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) ProtoReflect

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

func (*DeleteNotificationRequest) Reset

func (m *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) SetName

func (*DeleteNotificationRequest) String

func (m *DeleteNotificationRequest) String() string

func (*DeleteNotificationRequest) Unmarshal

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

func (*DeleteNotificationRequest) UnmarshalJSON

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

type GetNotificationDescriptor

type GetNotificationDescriptor struct{}

func GetGetNotificationDescriptor

func GetGetNotificationDescriptor() *GetNotificationDescriptor

func (*GetNotificationDescriptor) GetApiDescriptor

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

func (*GetNotificationDescriptor) GetApiName

func (d *GetNotificationDescriptor) GetApiName() string

func (*GetNotificationDescriptor) GetClientMsgReflectHandle

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

func (*GetNotificationDescriptor) GetFullMethodName

func (d *GetNotificationDescriptor) GetFullMethodName() string

func (*GetNotificationDescriptor) GetMethodName

func (d *GetNotificationDescriptor) GetMethodName() string

func (*GetNotificationDescriptor) GetProtoPkgName

func (d *GetNotificationDescriptor) GetProtoPkgName() string

func (*GetNotificationDescriptor) GetResourceDescriptor

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

func (*GetNotificationDescriptor) GetServerMsgReflectHandle

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

func (*GetNotificationDescriptor) GetServiceDomain

func (d *GetNotificationDescriptor) GetServiceDomain() string

func (*GetNotificationDescriptor) GetServiceVersion

func (d *GetNotificationDescriptor) GetServiceVersion() string

func (*GetNotificationDescriptor) GetVerb

func (d *GetNotificationDescriptor) GetVerb() string

func (*GetNotificationDescriptor) HasResource

func (d *GetNotificationDescriptor) HasResource() bool

func (*GetNotificationDescriptor) IsClientStream

func (d *GetNotificationDescriptor) IsClientStream() bool

func (*GetNotificationDescriptor) IsCollection

func (d *GetNotificationDescriptor) IsCollection() bool

func (*GetNotificationDescriptor) IsPlural

func (d *GetNotificationDescriptor) IsPlural() bool

func (*GetNotificationDescriptor) IsServerStream

func (d *GetNotificationDescriptor) IsServerStream() bool

func (*GetNotificationDescriptor) IsUnary

func (d *GetNotificationDescriptor) IsUnary() bool

func (*GetNotificationDescriptor) NewEmptyClientMsg

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

func (*GetNotificationDescriptor) NewEmptyServerMsg

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

func (*GetNotificationDescriptor) RequestHasResourceBody

func (d *GetNotificationDescriptor) RequestHasResourceBody() bool

type GetNotificationDescriptorClientMsgHandle

type GetNotificationDescriptorClientMsgHandle struct{}

func (*GetNotificationDescriptorClientMsgHandle) ExtractCollectionName

func (*GetNotificationDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetNotificationDescriptorClientMsgHandle) ExtractResourceBody

func (*GetNotificationDescriptorClientMsgHandle) ExtractResourceName

func (*GetNotificationDescriptorClientMsgHandle) ExtractResourceNames

type GetNotificationDescriptorServerMsgHandle

type GetNotificationDescriptorServerMsgHandle struct{}

func (*GetNotificationDescriptorServerMsgHandle) ExtractCollectionName

func (*GetNotificationDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetNotificationDescriptorServerMsgHandle) ExtractResourceBody

func (*GetNotificationDescriptorServerMsgHandle) ExtractResourceName

func (*GetNotificationDescriptorServerMsgHandle) ExtractResourceNames

type GetNotificationRequest

type GetNotificationRequest struct {

	// Name of ntt.monitoring.v4.Notification
	Name *notification.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 *notification.Notification_FieldMask `` /* 144-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 GetNotification method.

func (*GetNotificationRequest) Descriptor

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

Deprecated, Use GetNotificationRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationRequest) GetFieldMask

func (*GetNotificationRequest) GetName

func (*GetNotificationRequest) GetView

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

func (*GetNotificationRequest) GotenMessage

func (*GetNotificationRequest) GotenMessage()

func (*GetNotificationRequest) GotenValidate

func (obj *GetNotificationRequest) GotenValidate() error

func (*GetNotificationRequest) Marshal

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

func (*GetNotificationRequest) MarshalJSON

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

func (*GetNotificationRequest) ProtoMessage

func (*GetNotificationRequest) ProtoMessage()

func (*GetNotificationRequest) ProtoReflect

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

func (*GetNotificationRequest) Reset

func (m *GetNotificationRequest) Reset()

func (*GetNotificationRequest) SetFieldMask

func (*GetNotificationRequest) SetName

func (m *GetNotificationRequest) SetName(fv *notification.Name)

func (*GetNotificationRequest) SetView

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

func (*GetNotificationRequest) String

func (m *GetNotificationRequest) String() string

func (*GetNotificationRequest) Unmarshal

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

func (*GetNotificationRequest) UnmarshalJSON

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

type ListNotificationsDescriptor

type ListNotificationsDescriptor struct{}

func GetListNotificationsDescriptor

func GetListNotificationsDescriptor() *ListNotificationsDescriptor

func (*ListNotificationsDescriptor) GetApiDescriptor

func (*ListNotificationsDescriptor) GetApiName

func (d *ListNotificationsDescriptor) GetApiName() string

func (*ListNotificationsDescriptor) GetClientMsgReflectHandle

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

func (*ListNotificationsDescriptor) GetFullMethodName

func (d *ListNotificationsDescriptor) GetFullMethodName() string

func (*ListNotificationsDescriptor) GetMethodName

func (d *ListNotificationsDescriptor) GetMethodName() string

func (*ListNotificationsDescriptor) GetProtoPkgName

func (d *ListNotificationsDescriptor) GetProtoPkgName() string

func (*ListNotificationsDescriptor) GetResourceDescriptor

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

func (*ListNotificationsDescriptor) GetServerMsgReflectHandle

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

func (*ListNotificationsDescriptor) GetServiceDomain

func (d *ListNotificationsDescriptor) GetServiceDomain() string

func (*ListNotificationsDescriptor) GetServiceVersion

func (d *ListNotificationsDescriptor) GetServiceVersion() string

func (*ListNotificationsDescriptor) GetVerb

func (d *ListNotificationsDescriptor) GetVerb() string

func (*ListNotificationsDescriptor) HasResource

func (d *ListNotificationsDescriptor) HasResource() bool

func (*ListNotificationsDescriptor) IsClientStream

func (d *ListNotificationsDescriptor) IsClientStream() bool

func (*ListNotificationsDescriptor) IsCollection

func (d *ListNotificationsDescriptor) IsCollection() bool

func (*ListNotificationsDescriptor) IsPlural

func (d *ListNotificationsDescriptor) IsPlural() bool

func (*ListNotificationsDescriptor) IsServerStream

func (d *ListNotificationsDescriptor) IsServerStream() bool

func (*ListNotificationsDescriptor) IsUnary

func (d *ListNotificationsDescriptor) IsUnary() bool

func (*ListNotificationsDescriptor) NewEmptyClientMsg

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

func (*ListNotificationsDescriptor) NewEmptyServerMsg

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

func (*ListNotificationsDescriptor) RequestHasResourceBody

func (d *ListNotificationsDescriptor) RequestHasResourceBody() bool

type ListNotificationsDescriptorClientMsgHandle

type ListNotificationsDescriptorClientMsgHandle struct{}

func (*ListNotificationsDescriptorClientMsgHandle) ExtractCollectionName

func (*ListNotificationsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListNotificationsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListNotificationsDescriptorClientMsgHandle) ExtractResourceName

func (*ListNotificationsDescriptorClientMsgHandle) ExtractResourceNames

type ListNotificationsDescriptorServerMsgHandle

type ListNotificationsDescriptorServerMsgHandle struct{}

func (*ListNotificationsDescriptorServerMsgHandle) ExtractCollectionName

func (*ListNotificationsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListNotificationsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListNotificationsDescriptorServerMsgHandle) ExtractResourceName

func (*ListNotificationsDescriptorServerMsgHandle) ExtractResourceNames

type ListNotificationsRequest

type ListNotificationsRequest struct {

	// Parent name of ntt.monitoring.v4.Notification
	Parent *notification.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Notifications 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
	// ListNotificationsResponse.next_page_token.
	PageToken *notification.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 *notification.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 *notification.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 *notification.Notification_FieldMask `` /* 144-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 ListNotifications method.

func (*ListNotificationsRequest) Descriptor

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

Deprecated, Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) GetFieldMask

func (*ListNotificationsRequest) GetFilter

func (*ListNotificationsRequest) GetIncludePagingInfo

func (m *ListNotificationsRequest) GetIncludePagingInfo() bool

func (*ListNotificationsRequest) GetOrderBy

func (*ListNotificationsRequest) GetPageSize

func (m *ListNotificationsRequest) GetPageSize() int32

func (*ListNotificationsRequest) GetPageToken

func (*ListNotificationsRequest) GetParent

func (*ListNotificationsRequest) GetView

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

func (*ListNotificationsRequest) GotenMessage

func (*ListNotificationsRequest) GotenMessage()

func (*ListNotificationsRequest) GotenValidate

func (obj *ListNotificationsRequest) GotenValidate() error

func (*ListNotificationsRequest) Marshal

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

func (*ListNotificationsRequest) MarshalJSON

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

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect

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

func (*ListNotificationsRequest) Reset

func (m *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) SetFieldMask

func (*ListNotificationsRequest) SetFilter

func (m *ListNotificationsRequest) SetFilter(fv *notification.Filter)

func (*ListNotificationsRequest) SetIncludePagingInfo

func (m *ListNotificationsRequest) SetIncludePagingInfo(fv bool)

func (*ListNotificationsRequest) SetOrderBy

func (m *ListNotificationsRequest) SetOrderBy(fv *notification.OrderBy)

func (*ListNotificationsRequest) SetPageSize

func (m *ListNotificationsRequest) SetPageSize(fv int32)

func (*ListNotificationsRequest) SetPageToken

func (m *ListNotificationsRequest) SetPageToken(fv *notification.PagerCursor)

func (*ListNotificationsRequest) SetParent

func (*ListNotificationsRequest) SetView

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

func (*ListNotificationsRequest) String

func (m *ListNotificationsRequest) String() string

func (*ListNotificationsRequest) Unmarshal

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

func (*ListNotificationsRequest) UnmarshalJSON

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

type ListNotificationsResponse

type ListNotificationsResponse struct {

	// The list of Notifications
	Notifications []*notification.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty" firestore:"notifications"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListNotificationsRequest.page_token.
	PrevPageToken *notification.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListNotificationsRequest.page_token.
	NextPageToken *notification.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 Notifications 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 ListNotifications method.

func (*ListNotificationsResponse) Descriptor

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

Deprecated, Use ListNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationsResponse) GetCurrentOffset

func (m *ListNotificationsResponse) GetCurrentOffset() int32

func (*ListNotificationsResponse) GetNextPageToken

func (m *ListNotificationsResponse) GetNextPageToken() *notification.PagerCursor

func (*ListNotificationsResponse) GetNotifications

func (m *ListNotificationsResponse) GetNotifications() []*notification.Notification

func (*ListNotificationsResponse) GetPrevPageToken

func (m *ListNotificationsResponse) GetPrevPageToken() *notification.PagerCursor

func (*ListNotificationsResponse) GetTotalResultsCount

func (m *ListNotificationsResponse) GetTotalResultsCount() int32

func (*ListNotificationsResponse) GotenMessage

func (*ListNotificationsResponse) GotenMessage()

func (*ListNotificationsResponse) GotenValidate

func (obj *ListNotificationsResponse) GotenValidate() error

func (*ListNotificationsResponse) Marshal

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

func (*ListNotificationsResponse) MarshalJSON

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

func (*ListNotificationsResponse) ProtoMessage

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) ProtoReflect

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

func (*ListNotificationsResponse) Reset

func (m *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) SetCurrentOffset

func (m *ListNotificationsResponse) SetCurrentOffset(fv int32)

func (*ListNotificationsResponse) SetNextPageToken

func (m *ListNotificationsResponse) SetNextPageToken(fv *notification.PagerCursor)

func (*ListNotificationsResponse) SetNotifications

func (m *ListNotificationsResponse) SetNotifications(fv []*notification.Notification)

func (*ListNotificationsResponse) SetPrevPageToken

func (m *ListNotificationsResponse) SetPrevPageToken(fv *notification.PagerCursor)

func (*ListNotificationsResponse) SetTotalResultsCount

func (m *ListNotificationsResponse) SetTotalResultsCount(fv int32)

func (*ListNotificationsResponse) String

func (m *ListNotificationsResponse) String() string

func (*ListNotificationsResponse) Unmarshal

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

func (*ListNotificationsResponse) UnmarshalJSON

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

type NotificationServiceClient

NotificationServiceClient is the client API for NotificationService.

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

type NotificationServiceDescriptor

type NotificationServiceDescriptor struct{}

func GetNotificationServiceDescriptor

func GetNotificationServiceDescriptor() *NotificationServiceDescriptor

func (*NotificationServiceDescriptor) AllMethodDescriptors

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

func (*NotificationServiceDescriptor) GetApiName

func (d *NotificationServiceDescriptor) GetApiName() string

func (*NotificationServiceDescriptor) GetFullAPIName

func (d *NotificationServiceDescriptor) GetFullAPIName() string

func (*NotificationServiceDescriptor) GetProtoPkgName

func (d *NotificationServiceDescriptor) GetProtoPkgName() string

func (*NotificationServiceDescriptor) GetServiceDomain

func (d *NotificationServiceDescriptor) GetServiceDomain() string

func (*NotificationServiceDescriptor) GetServiceVersion

func (d *NotificationServiceDescriptor) GetServiceVersion() string

type UpdateNotificationDescriptor

type UpdateNotificationDescriptor struct{}

func GetUpdateNotificationDescriptor

func GetUpdateNotificationDescriptor() *UpdateNotificationDescriptor

func (*UpdateNotificationDescriptor) GetApiDescriptor

func (*UpdateNotificationDescriptor) GetApiName

func (d *UpdateNotificationDescriptor) GetApiName() string

func (*UpdateNotificationDescriptor) GetClientMsgReflectHandle

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

func (*UpdateNotificationDescriptor) GetFullMethodName

func (d *UpdateNotificationDescriptor) GetFullMethodName() string

func (*UpdateNotificationDescriptor) GetMethodName

func (d *UpdateNotificationDescriptor) GetMethodName() string

func (*UpdateNotificationDescriptor) GetProtoPkgName

func (d *UpdateNotificationDescriptor) GetProtoPkgName() string

func (*UpdateNotificationDescriptor) GetResourceDescriptor

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

func (*UpdateNotificationDescriptor) GetServerMsgReflectHandle

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

func (*UpdateNotificationDescriptor) GetServiceDomain

func (d *UpdateNotificationDescriptor) GetServiceDomain() string

func (*UpdateNotificationDescriptor) GetServiceVersion

func (d *UpdateNotificationDescriptor) GetServiceVersion() string

func (*UpdateNotificationDescriptor) GetVerb

func (d *UpdateNotificationDescriptor) GetVerb() string

func (*UpdateNotificationDescriptor) HasResource

func (d *UpdateNotificationDescriptor) HasResource() bool

func (*UpdateNotificationDescriptor) IsClientStream

func (d *UpdateNotificationDescriptor) IsClientStream() bool

func (*UpdateNotificationDescriptor) IsCollection

func (d *UpdateNotificationDescriptor) IsCollection() bool

func (*UpdateNotificationDescriptor) IsPlural

func (d *UpdateNotificationDescriptor) IsPlural() bool

func (*UpdateNotificationDescriptor) IsServerStream

func (d *UpdateNotificationDescriptor) IsServerStream() bool

func (*UpdateNotificationDescriptor) IsUnary

func (d *UpdateNotificationDescriptor) IsUnary() bool

func (*UpdateNotificationDescriptor) NewEmptyClientMsg

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

func (*UpdateNotificationDescriptor) NewEmptyServerMsg

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

func (*UpdateNotificationDescriptor) RequestHasResourceBody

func (d *UpdateNotificationDescriptor) RequestHasResourceBody() bool

type UpdateNotificationDescriptorClientMsgHandle

type UpdateNotificationDescriptorClientMsgHandle struct{}

func (*UpdateNotificationDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateNotificationDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateNotificationDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateNotificationDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateNotificationDescriptorClientMsgHandle) ExtractResourceNames

type UpdateNotificationDescriptorServerMsgHandle

type UpdateNotificationDescriptorServerMsgHandle struct{}

func (*UpdateNotificationDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateNotificationDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateNotificationDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateNotificationDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateNotificationDescriptorServerMsgHandle) ExtractResourceNames

type UpdateNotificationRequest

type UpdateNotificationRequest struct {

	// Notification resource body
	Notification *notification.Notification `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty" firestore:"notification"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *notification.Notification_FieldMask `` /* 148-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 *UpdateNotificationRequest_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"`
	// reduce message response size.
	ResponseMask *UpdateNotificationRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the UpdateNotification method.

func (*UpdateNotificationRequest) Descriptor

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

Deprecated, Use UpdateNotificationRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotificationRequest) GetAllowMissing

func (m *UpdateNotificationRequest) GetAllowMissing() bool

func (*UpdateNotificationRequest) GetCas

func (*UpdateNotificationRequest) GetNotification

func (m *UpdateNotificationRequest) GetNotification() *notification.Notification

func (*UpdateNotificationRequest) GetResponseMask added in v1.8.3

func (*UpdateNotificationRequest) GetUpdateMask

func (*UpdateNotificationRequest) GotenMessage

func (*UpdateNotificationRequest) GotenMessage()

func (*UpdateNotificationRequest) GotenValidate

func (obj *UpdateNotificationRequest) GotenValidate() error

func (*UpdateNotificationRequest) Marshal

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

func (*UpdateNotificationRequest) MarshalJSON

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

func (*UpdateNotificationRequest) ProtoMessage

func (*UpdateNotificationRequest) ProtoMessage()

func (*UpdateNotificationRequest) ProtoReflect

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

func (*UpdateNotificationRequest) Reset

func (m *UpdateNotificationRequest) Reset()

func (*UpdateNotificationRequest) SetAllowMissing

func (m *UpdateNotificationRequest) SetAllowMissing(fv bool)

func (*UpdateNotificationRequest) SetCas

func (*UpdateNotificationRequest) SetNotification

func (m *UpdateNotificationRequest) SetNotification(fv *notification.Notification)

func (*UpdateNotificationRequest) SetResponseMask added in v1.8.3

func (*UpdateNotificationRequest) SetUpdateMask

func (*UpdateNotificationRequest) String

func (m *UpdateNotificationRequest) String() string

func (*UpdateNotificationRequest) Unmarshal

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

func (*UpdateNotificationRequest) UnmarshalJSON

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

type UpdateNotificationRequest_CAS

type UpdateNotificationRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *notification.Notification `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *notification.Notification_FieldMask `` /* 144-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 (*UpdateNotificationRequest_CAS) Descriptor

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

Deprecated, Use UpdateNotificationRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateNotificationRequest_CAS) GetConditionalState

func (m *UpdateNotificationRequest_CAS) GetConditionalState() *notification.Notification

func (*UpdateNotificationRequest_CAS) GetFieldMask

func (*UpdateNotificationRequest_CAS) GotenMessage

func (*UpdateNotificationRequest_CAS) GotenMessage()

func (*UpdateNotificationRequest_CAS) GotenValidate

func (obj *UpdateNotificationRequest_CAS) GotenValidate() error

func (*UpdateNotificationRequest_CAS) Marshal

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

func (*UpdateNotificationRequest_CAS) MarshalJSON

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

func (*UpdateNotificationRequest_CAS) ProtoMessage

func (*UpdateNotificationRequest_CAS) ProtoMessage()

func (*UpdateNotificationRequest_CAS) ProtoReflect

func (*UpdateNotificationRequest_CAS) Reset

func (m *UpdateNotificationRequest_CAS) Reset()

func (*UpdateNotificationRequest_CAS) SetConditionalState

func (m *UpdateNotificationRequest_CAS) SetConditionalState(fv *notification.Notification)

func (*UpdateNotificationRequest_CAS) SetFieldMask

func (*UpdateNotificationRequest_CAS) String

func (*UpdateNotificationRequest_CAS) Unmarshal

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

func (*UpdateNotificationRequest_CAS) UnmarshalJSON

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

type UpdateNotificationRequest_ResponseMask added in v1.8.3

type UpdateNotificationRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*UpdateNotificationRequest_ResponseMask_SkipEntireResponseBody
	//	*UpdateNotificationRequest_ResponseMask_UpdatedFieldsOnly
	//	*UpdateNotificationRequest_ResponseMask_BodyMask
	Masking isUpdateNotificationRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*UpdateNotificationRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use UpdateNotificationRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*UpdateNotificationRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) GetMasking added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) GetMasking() isUpdateNotificationRequest_ResponseMask_Masking

func (*UpdateNotificationRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*UpdateNotificationRequest_ResponseMask) GetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) GetUpdatedFieldsOnly() bool

func (*UpdateNotificationRequest_ResponseMask) GotenMessage added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *UpdateNotificationRequest_ResponseMask) GotenValidate() error

func (*UpdateNotificationRequest_ResponseMask) Marshal added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*UpdateNotificationRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) Reset added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) SetMasking added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) SetMasking(ofv isUpdateNotificationRequest_ResponseMask_Masking)

func (*UpdateNotificationRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*UpdateNotificationRequest_ResponseMask) SetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateNotificationRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)

func (*UpdateNotificationRequest_ResponseMask) String added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) Unmarshal added in v1.8.3

func (*UpdateNotificationRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type UpdateNotificationRequest_ResponseMask_BodyMask added in v1.8.3

type UpdateNotificationRequest_ResponseMask_BodyMask struct {
	// If this field is populated, then resource in response will contain only
	// specific fields. If skip_entire_response_body is true, this field is
	// ignored.
	BodyMask *notification.Notification_FieldMask `protobuf:"bytes,3,opt,customtype=Notification_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"`
}

type UpdateNotificationRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type UpdateNotificationRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated. Field body_mask is ignored if
	// set.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type UpdateNotificationRequest_ResponseMask_UpdatedFieldsOnly added in v1.8.3

type UpdateNotificationRequest_ResponseMask_UpdatedFieldsOnly struct {
	// Include all fields that were actually updated during processing. Note
	// this may be larger than update mask if some fields were computed
	// additionally. Name is added as well.
	UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof" firestore:"updatedFieldsOnly"`
}

type WatchNotificationClientStream

type WatchNotificationClientStream interface {
	Recv() (*WatchNotificationResponse, error)
	grpc.ClientStream
}

type WatchNotificationDescriptor

type WatchNotificationDescriptor struct{}

func GetWatchNotificationDescriptor

func GetWatchNotificationDescriptor() *WatchNotificationDescriptor

func (*WatchNotificationDescriptor) GetApiDescriptor

func (*WatchNotificationDescriptor) GetApiName

func (d *WatchNotificationDescriptor) GetApiName() string

func (*WatchNotificationDescriptor) GetClientMsgReflectHandle

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

func (*WatchNotificationDescriptor) GetFullMethodName

func (d *WatchNotificationDescriptor) GetFullMethodName() string

func (*WatchNotificationDescriptor) GetMethodName

func (d *WatchNotificationDescriptor) GetMethodName() string

func (*WatchNotificationDescriptor) GetProtoPkgName

func (d *WatchNotificationDescriptor) GetProtoPkgName() string

func (*WatchNotificationDescriptor) GetResourceDescriptor

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

func (*WatchNotificationDescriptor) GetServerMsgReflectHandle

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

func (*WatchNotificationDescriptor) GetServiceDomain

func (d *WatchNotificationDescriptor) GetServiceDomain() string

func (*WatchNotificationDescriptor) GetServiceVersion

func (d *WatchNotificationDescriptor) GetServiceVersion() string

func (*WatchNotificationDescriptor) GetVerb

func (d *WatchNotificationDescriptor) GetVerb() string

func (*WatchNotificationDescriptor) HasResource

func (d *WatchNotificationDescriptor) HasResource() bool

func (*WatchNotificationDescriptor) IsClientStream

func (d *WatchNotificationDescriptor) IsClientStream() bool

func (*WatchNotificationDescriptor) IsCollection

func (d *WatchNotificationDescriptor) IsCollection() bool

func (*WatchNotificationDescriptor) IsPlural

func (d *WatchNotificationDescriptor) IsPlural() bool

func (*WatchNotificationDescriptor) IsServerStream

func (d *WatchNotificationDescriptor) IsServerStream() bool

func (*WatchNotificationDescriptor) IsUnary

func (d *WatchNotificationDescriptor) IsUnary() bool

func (*WatchNotificationDescriptor) NewEmptyClientMsg

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

func (*WatchNotificationDescriptor) NewEmptyServerMsg

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

func (*WatchNotificationDescriptor) RequestHasResourceBody

func (d *WatchNotificationDescriptor) RequestHasResourceBody() bool

type WatchNotificationDescriptorClientMsgHandle

type WatchNotificationDescriptorClientMsgHandle struct{}

func (*WatchNotificationDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchNotificationDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchNotificationDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchNotificationDescriptorClientMsgHandle) ExtractResourceName

func (*WatchNotificationDescriptorClientMsgHandle) ExtractResourceNames

type WatchNotificationDescriptorServerMsgHandle

type WatchNotificationDescriptorServerMsgHandle struct{}

func (*WatchNotificationDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchNotificationDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchNotificationDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchNotificationDescriptorServerMsgHandle) ExtractResourceName

func (*WatchNotificationDescriptorServerMsgHandle) ExtractResourceNames

type WatchNotificationRequest

type WatchNotificationRequest struct {

	// Name of ntt.monitoring.v4.Notification
	Name *notification.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 *notification.Notification_FieldMask `` /* 144-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 WatchNotification method.

func (*WatchNotificationRequest) Descriptor

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

Deprecated, Use WatchNotificationRequest.ProtoReflect.Descriptor instead.

func (*WatchNotificationRequest) GetFieldMask

func (*WatchNotificationRequest) GetName

func (*WatchNotificationRequest) GetView

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

func (*WatchNotificationRequest) GotenMessage

func (*WatchNotificationRequest) GotenMessage()

func (*WatchNotificationRequest) GotenValidate

func (obj *WatchNotificationRequest) GotenValidate() error

func (*WatchNotificationRequest) Marshal

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

func (*WatchNotificationRequest) MarshalJSON

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

func (*WatchNotificationRequest) ProtoMessage

func (*WatchNotificationRequest) ProtoMessage()

func (*WatchNotificationRequest) ProtoReflect

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

func (*WatchNotificationRequest) Reset

func (m *WatchNotificationRequest) Reset()

func (*WatchNotificationRequest) SetFieldMask

func (*WatchNotificationRequest) SetName

func (m *WatchNotificationRequest) SetName(fv *notification.Name)

func (*WatchNotificationRequest) SetView

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

func (*WatchNotificationRequest) String

func (m *WatchNotificationRequest) String() string

func (*WatchNotificationRequest) Unmarshal

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

func (*WatchNotificationRequest) UnmarshalJSON

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

type WatchNotificationResponse

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

A response message of the WatchNotification method.

func (*WatchNotificationResponse) Descriptor

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

Deprecated, Use WatchNotificationResponse.ProtoReflect.Descriptor instead.

func (*WatchNotificationResponse) GetChange

func (*WatchNotificationResponse) GotenMessage

func (*WatchNotificationResponse) GotenMessage()

func (*WatchNotificationResponse) GotenValidate

func (obj *WatchNotificationResponse) GotenValidate() error

func (*WatchNotificationResponse) Marshal

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

func (*WatchNotificationResponse) MarshalJSON

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

func (*WatchNotificationResponse) ProtoMessage

func (*WatchNotificationResponse) ProtoMessage()

func (*WatchNotificationResponse) ProtoReflect

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

func (*WatchNotificationResponse) Reset

func (m *WatchNotificationResponse) Reset()

func (*WatchNotificationResponse) SetChange

func (*WatchNotificationResponse) String

func (m *WatchNotificationResponse) String() string

func (*WatchNotificationResponse) Unmarshal

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

func (*WatchNotificationResponse) UnmarshalJSON

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

type WatchNotificationsClientStream

type WatchNotificationsClientStream interface {
	Recv() (*WatchNotificationsResponse, error)
	grpc.ClientStream
}

type WatchNotificationsDescriptor

type WatchNotificationsDescriptor struct{}

func GetWatchNotificationsDescriptor

func GetWatchNotificationsDescriptor() *WatchNotificationsDescriptor

func (*WatchNotificationsDescriptor) GetApiDescriptor

func (*WatchNotificationsDescriptor) GetApiName

func (d *WatchNotificationsDescriptor) GetApiName() string

func (*WatchNotificationsDescriptor) GetClientMsgReflectHandle

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

func (*WatchNotificationsDescriptor) GetFullMethodName

func (d *WatchNotificationsDescriptor) GetFullMethodName() string

func (*WatchNotificationsDescriptor) GetMethodName

func (d *WatchNotificationsDescriptor) GetMethodName() string

func (*WatchNotificationsDescriptor) GetProtoPkgName

func (d *WatchNotificationsDescriptor) GetProtoPkgName() string

func (*WatchNotificationsDescriptor) GetResourceDescriptor

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

func (*WatchNotificationsDescriptor) GetServerMsgReflectHandle

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

func (*WatchNotificationsDescriptor) GetServiceDomain

func (d *WatchNotificationsDescriptor) GetServiceDomain() string

func (*WatchNotificationsDescriptor) GetServiceVersion

func (d *WatchNotificationsDescriptor) GetServiceVersion() string

func (*WatchNotificationsDescriptor) GetVerb

func (d *WatchNotificationsDescriptor) GetVerb() string

func (*WatchNotificationsDescriptor) HasResource

func (d *WatchNotificationsDescriptor) HasResource() bool

func (*WatchNotificationsDescriptor) IsClientStream

func (d *WatchNotificationsDescriptor) IsClientStream() bool

func (*WatchNotificationsDescriptor) IsCollection

func (d *WatchNotificationsDescriptor) IsCollection() bool

func (*WatchNotificationsDescriptor) IsPlural

func (d *WatchNotificationsDescriptor) IsPlural() bool

func (*WatchNotificationsDescriptor) IsServerStream

func (d *WatchNotificationsDescriptor) IsServerStream() bool

func (*WatchNotificationsDescriptor) IsUnary

func (d *WatchNotificationsDescriptor) IsUnary() bool

func (*WatchNotificationsDescriptor) NewEmptyClientMsg

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

func (*WatchNotificationsDescriptor) NewEmptyServerMsg

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

func (*WatchNotificationsDescriptor) RequestHasResourceBody

func (d *WatchNotificationsDescriptor) RequestHasResourceBody() bool

type WatchNotificationsDescriptorClientMsgHandle

type WatchNotificationsDescriptorClientMsgHandle struct{}

func (*WatchNotificationsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchNotificationsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchNotificationsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchNotificationsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchNotificationsDescriptorClientMsgHandle) ExtractResourceNames

type WatchNotificationsDescriptorServerMsgHandle

type WatchNotificationsDescriptorServerMsgHandle struct{}

func (*WatchNotificationsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchNotificationsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchNotificationsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchNotificationsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchNotificationsDescriptorServerMsgHandle) ExtractResourceNames

type WatchNotificationsRequest

type WatchNotificationsRequest 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.Notification
	Parent *notification.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Notifications 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 *notification.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 *notification.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 *notification.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 Notification that don't
	// affect any of masked fields won't be sent back.
	FieldMask *notification.Notification_FieldMask `` /* 144-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
	// Notification 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 WatchNotifications method.

func (*WatchNotificationsRequest) Descriptor

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

Deprecated, Use WatchNotificationsRequest.ProtoReflect.Descriptor instead.

func (*WatchNotificationsRequest) GetFieldMask

func (*WatchNotificationsRequest) GetFilter

func (*WatchNotificationsRequest) GetMaxChunkSize

func (m *WatchNotificationsRequest) GetMaxChunkSize() int32

func (*WatchNotificationsRequest) GetOrderBy

func (*WatchNotificationsRequest) GetPageSize

func (m *WatchNotificationsRequest) GetPageSize() int32

func (*WatchNotificationsRequest) GetPageToken

func (*WatchNotificationsRequest) GetParent

func (*WatchNotificationsRequest) GetResumeToken

func (m *WatchNotificationsRequest) GetResumeToken() string

func (*WatchNotificationsRequest) GetStartingTime

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

func (*WatchNotificationsRequest) GetType

func (*WatchNotificationsRequest) GetView

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

func (*WatchNotificationsRequest) GotenMessage

func (*WatchNotificationsRequest) GotenMessage()

func (*WatchNotificationsRequest) GotenValidate

func (obj *WatchNotificationsRequest) GotenValidate() error

func (*WatchNotificationsRequest) Marshal

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

func (*WatchNotificationsRequest) MarshalJSON

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

func (*WatchNotificationsRequest) ProtoMessage

func (*WatchNotificationsRequest) ProtoMessage()

func (*WatchNotificationsRequest) ProtoReflect

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

func (*WatchNotificationsRequest) Reset

func (m *WatchNotificationsRequest) Reset()

func (*WatchNotificationsRequest) SetFieldMask

func (*WatchNotificationsRequest) SetFilter

func (m *WatchNotificationsRequest) SetFilter(fv *notification.Filter)

func (*WatchNotificationsRequest) SetMaxChunkSize

func (m *WatchNotificationsRequest) SetMaxChunkSize(fv int32)

func (*WatchNotificationsRequest) SetOrderBy

func (m *WatchNotificationsRequest) SetOrderBy(fv *notification.OrderBy)

func (*WatchNotificationsRequest) SetPageSize

func (m *WatchNotificationsRequest) SetPageSize(fv int32)

func (*WatchNotificationsRequest) SetPageToken

func (m *WatchNotificationsRequest) SetPageToken(fv *notification.PagerCursor)

func (*WatchNotificationsRequest) SetParent

func (*WatchNotificationsRequest) SetResumeToken

func (m *WatchNotificationsRequest) SetResumeToken(fv string)

func (*WatchNotificationsRequest) SetStartingTime

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

func (*WatchNotificationsRequest) SetType

func (*WatchNotificationsRequest) SetView

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

func (*WatchNotificationsRequest) String

func (m *WatchNotificationsRequest) String() string

func (*WatchNotificationsRequest) Unmarshal

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

func (*WatchNotificationsRequest) UnmarshalJSON

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

type WatchNotificationsResponse

type WatchNotificationsResponse struct {

	// Changes of Notifications
	NotificationChanges []*notification.NotificationChange `` /* 150-byte string literal not displayed */
	// 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 Notifications 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 *WatchNotificationsResponse_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 (Notifications 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 WatchNotifications method.

func (*WatchNotificationsResponse) Descriptor

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

Deprecated, Use WatchNotificationsResponse.ProtoReflect.Descriptor instead.

func (*WatchNotificationsResponse) GetIsCurrent

func (m *WatchNotificationsResponse) GetIsCurrent() bool

func (*WatchNotificationsResponse) GetIsHardReset

func (m *WatchNotificationsResponse) GetIsHardReset() bool

func (*WatchNotificationsResponse) GetIsSoftReset

func (m *WatchNotificationsResponse) GetIsSoftReset() bool

func (*WatchNotificationsResponse) GetNotificationChanges

func (m *WatchNotificationsResponse) GetNotificationChanges() []*notification.NotificationChange

func (*WatchNotificationsResponse) GetPageTokenChange

func (*WatchNotificationsResponse) GetResumeToken

func (m *WatchNotificationsResponse) GetResumeToken() string

func (*WatchNotificationsResponse) GetSnapshotSize

func (m *WatchNotificationsResponse) GetSnapshotSize() int64

func (*WatchNotificationsResponse) GotenMessage

func (*WatchNotificationsResponse) GotenMessage()

func (*WatchNotificationsResponse) GotenValidate

func (obj *WatchNotificationsResponse) GotenValidate() error

func (*WatchNotificationsResponse) Marshal

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

func (*WatchNotificationsResponse) MarshalJSON

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

func (*WatchNotificationsResponse) ProtoMessage

func (*WatchNotificationsResponse) ProtoMessage()

func (*WatchNotificationsResponse) ProtoReflect

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

func (*WatchNotificationsResponse) Reset

func (m *WatchNotificationsResponse) Reset()

func (*WatchNotificationsResponse) SetIsCurrent

func (m *WatchNotificationsResponse) SetIsCurrent(fv bool)

func (*WatchNotificationsResponse) SetIsHardReset

func (m *WatchNotificationsResponse) SetIsHardReset(fv bool)

func (*WatchNotificationsResponse) SetIsSoftReset

func (m *WatchNotificationsResponse) SetIsSoftReset(fv bool)

func (*WatchNotificationsResponse) SetNotificationChanges

func (m *WatchNotificationsResponse) SetNotificationChanges(fv []*notification.NotificationChange)

func (*WatchNotificationsResponse) SetPageTokenChange

func (*WatchNotificationsResponse) SetResumeToken

func (m *WatchNotificationsResponse) SetResumeToken(fv string)

func (*WatchNotificationsResponse) SetSnapshotSize

func (m *WatchNotificationsResponse) SetSnapshotSize(fv int64)

func (*WatchNotificationsResponse) String

func (m *WatchNotificationsResponse) String() string

func (*WatchNotificationsResponse) Unmarshal

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

func (*WatchNotificationsResponse) UnmarshalJSON

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

type WatchNotificationsResponse_PageTokenChange

type WatchNotificationsResponse_PageTokenChange struct {

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

func (*WatchNotificationsResponse_PageTokenChange) Descriptor

Deprecated, Use WatchNotificationsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchNotificationsResponse_PageTokenChange) GetNextPageToken

func (*WatchNotificationsResponse_PageTokenChange) GetPrevPageToken

func (*WatchNotificationsResponse_PageTokenChange) GotenMessage

func (*WatchNotificationsResponse_PageTokenChange) GotenValidate

func (*WatchNotificationsResponse_PageTokenChange) Marshal

func (*WatchNotificationsResponse_PageTokenChange) MarshalJSON

func (*WatchNotificationsResponse_PageTokenChange) ProtoMessage

func (*WatchNotificationsResponse_PageTokenChange) ProtoReflect

func (*WatchNotificationsResponse_PageTokenChange) Reset

func (*WatchNotificationsResponse_PageTokenChange) SetNextPageToken

func (*WatchNotificationsResponse_PageTokenChange) SetPrevPageToken

func (*WatchNotificationsResponse_PageTokenChange) String

func (*WatchNotificationsResponse_PageTokenChange) Unmarshal

func (*WatchNotificationsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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