service_client

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetServicesDescriptor

type BatchGetServicesDescriptor struct{}

func GetBatchGetServicesDescriptor

func GetBatchGetServicesDescriptor() *BatchGetServicesDescriptor

func (*BatchGetServicesDescriptor) GetApiDescriptor

func (*BatchGetServicesDescriptor) GetApiName

func (d *BatchGetServicesDescriptor) GetApiName() string

func (*BatchGetServicesDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetServicesDescriptor) GetFullMethodName

func (d *BatchGetServicesDescriptor) GetFullMethodName() string

func (*BatchGetServicesDescriptor) GetMethodName

func (d *BatchGetServicesDescriptor) GetMethodName() string

func (*BatchGetServicesDescriptor) GetProtoPkgName

func (d *BatchGetServicesDescriptor) GetProtoPkgName() string

func (*BatchGetServicesDescriptor) GetResourceDescriptor

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

func (*BatchGetServicesDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetServicesDescriptor) GetServiceDomain

func (d *BatchGetServicesDescriptor) GetServiceDomain() string

func (*BatchGetServicesDescriptor) GetServiceVersion

func (d *BatchGetServicesDescriptor) GetServiceVersion() string

func (*BatchGetServicesDescriptor) GetVerb

func (d *BatchGetServicesDescriptor) GetVerb() string

func (*BatchGetServicesDescriptor) HasResource

func (d *BatchGetServicesDescriptor) HasResource() bool

func (*BatchGetServicesDescriptor) IsClientStream

func (d *BatchGetServicesDescriptor) IsClientStream() bool

func (*BatchGetServicesDescriptor) IsCollection

func (d *BatchGetServicesDescriptor) IsCollection() bool

func (*BatchGetServicesDescriptor) IsPlural

func (d *BatchGetServicesDescriptor) IsPlural() bool

func (*BatchGetServicesDescriptor) IsServerStream

func (d *BatchGetServicesDescriptor) IsServerStream() bool

func (*BatchGetServicesDescriptor) IsUnary

func (d *BatchGetServicesDescriptor) IsUnary() bool

func (*BatchGetServicesDescriptor) NewEmptyClientMsg

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

func (*BatchGetServicesDescriptor) NewEmptyServerMsg

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

func (*BatchGetServicesDescriptor) RequestHasResourceBody

func (d *BatchGetServicesDescriptor) RequestHasResourceBody() bool

type BatchGetServicesDescriptorClientMsgHandle

type BatchGetServicesDescriptorClientMsgHandle struct{}

func (*BatchGetServicesDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetServicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetServicesDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetServicesDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetServicesDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetServicesDescriptorServerMsgHandle

type BatchGetServicesDescriptorServerMsgHandle struct{}

func (*BatchGetServicesDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetServicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetServicesDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetServicesDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetServicesDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetServicesRequest

type BatchGetServicesRequest struct {

	// Names of Services
	Names []*service.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 *service.Service_FieldMask `` /* 139-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 BatchGetServices method.

func (*BatchGetServicesRequest) Descriptor

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

Deprecated, Use BatchGetServicesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetServicesRequest) GetFieldMask

func (*BatchGetServicesRequest) GetNames

func (m *BatchGetServicesRequest) GetNames() []*service.Name

func (*BatchGetServicesRequest) GetView

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

func (*BatchGetServicesRequest) GotenMessage

func (*BatchGetServicesRequest) GotenMessage()

func (*BatchGetServicesRequest) GotenValidate

func (obj *BatchGetServicesRequest) GotenValidate() error

func (*BatchGetServicesRequest) Marshal

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

func (*BatchGetServicesRequest) MarshalJSON

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

func (*BatchGetServicesRequest) ProtoMessage

func (*BatchGetServicesRequest) ProtoMessage()

func (*BatchGetServicesRequest) ProtoReflect

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

func (*BatchGetServicesRequest) Reset

func (m *BatchGetServicesRequest) Reset()

func (*BatchGetServicesRequest) SetFieldMask

func (m *BatchGetServicesRequest) SetFieldMask(fv *service.Service_FieldMask)

func (*BatchGetServicesRequest) SetNames

func (m *BatchGetServicesRequest) SetNames(fv []*service.Name)

func (*BatchGetServicesRequest) SetView

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

func (*BatchGetServicesRequest) String

func (m *BatchGetServicesRequest) String() string

func (*BatchGetServicesRequest) Unmarshal

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

func (*BatchGetServicesRequest) UnmarshalJSON

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

type BatchGetServicesResponse

type BatchGetServicesResponse struct {

	// found Services
	Services []*service.Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" firestore:"services"`
	// list of not found Services
	Missing []*service.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 BatchGetServices method.

func (*BatchGetServicesResponse) Descriptor

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

Deprecated, Use BatchGetServicesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetServicesResponse) GetMissing

func (m *BatchGetServicesResponse) GetMissing() []*service.Name

func (*BatchGetServicesResponse) GetServices

func (m *BatchGetServicesResponse) GetServices() []*service.Service

func (*BatchGetServicesResponse) GotenMessage

func (*BatchGetServicesResponse) GotenMessage()

func (*BatchGetServicesResponse) GotenValidate

func (obj *BatchGetServicesResponse) GotenValidate() error

func (*BatchGetServicesResponse) Marshal

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

func (*BatchGetServicesResponse) MarshalJSON

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

func (*BatchGetServicesResponse) ProtoMessage

func (*BatchGetServicesResponse) ProtoMessage()

func (*BatchGetServicesResponse) ProtoReflect

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

func (*BatchGetServicesResponse) Reset

func (m *BatchGetServicesResponse) Reset()

func (*BatchGetServicesResponse) SetMissing

func (m *BatchGetServicesResponse) SetMissing(fv []*service.Name)

func (*BatchGetServicesResponse) SetServices

func (m *BatchGetServicesResponse) SetServices(fv []*service.Service)

func (*BatchGetServicesResponse) String

func (m *BatchGetServicesResponse) String() string

func (*BatchGetServicesResponse) Unmarshal

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

func (*BatchGetServicesResponse) UnmarshalJSON

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

type CreateServiceDescriptor

type CreateServiceDescriptor struct{}

func GetCreateServiceDescriptor

func GetCreateServiceDescriptor() *CreateServiceDescriptor

func (*CreateServiceDescriptor) GetApiDescriptor

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

func (*CreateServiceDescriptor) GetApiName

func (d *CreateServiceDescriptor) GetApiName() string

func (*CreateServiceDescriptor) GetClientMsgReflectHandle

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

func (*CreateServiceDescriptor) GetFullMethodName

func (d *CreateServiceDescriptor) GetFullMethodName() string

func (*CreateServiceDescriptor) GetMethodName

func (d *CreateServiceDescriptor) GetMethodName() string

func (*CreateServiceDescriptor) GetProtoPkgName

func (d *CreateServiceDescriptor) GetProtoPkgName() string

func (*CreateServiceDescriptor) GetResourceDescriptor

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

func (*CreateServiceDescriptor) GetServerMsgReflectHandle

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

func (*CreateServiceDescriptor) GetServiceDomain

func (d *CreateServiceDescriptor) GetServiceDomain() string

func (*CreateServiceDescriptor) GetServiceVersion

func (d *CreateServiceDescriptor) GetServiceVersion() string

func (*CreateServiceDescriptor) GetVerb

func (d *CreateServiceDescriptor) GetVerb() string

func (*CreateServiceDescriptor) HasResource

func (d *CreateServiceDescriptor) HasResource() bool

func (*CreateServiceDescriptor) IsClientStream

func (d *CreateServiceDescriptor) IsClientStream() bool

func (*CreateServiceDescriptor) IsCollection

func (d *CreateServiceDescriptor) IsCollection() bool

func (*CreateServiceDescriptor) IsPlural

func (d *CreateServiceDescriptor) IsPlural() bool

func (*CreateServiceDescriptor) IsServerStream

func (d *CreateServiceDescriptor) IsServerStream() bool

func (*CreateServiceDescriptor) IsUnary

func (d *CreateServiceDescriptor) IsUnary() bool

func (*CreateServiceDescriptor) NewEmptyClientMsg

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

func (*CreateServiceDescriptor) NewEmptyServerMsg

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

func (*CreateServiceDescriptor) RequestHasResourceBody

func (d *CreateServiceDescriptor) RequestHasResourceBody() bool

type CreateServiceDescriptorClientMsgHandle

type CreateServiceDescriptorClientMsgHandle struct{}

func (*CreateServiceDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateServiceDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateServiceDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateServiceDescriptorClientMsgHandle) ExtractResourceName

func (*CreateServiceDescriptorClientMsgHandle) ExtractResourceNames

type CreateServiceDescriptorServerMsgHandle

type CreateServiceDescriptorServerMsgHandle struct{}

func (*CreateServiceDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateServiceDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateServiceDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateServiceDescriptorServerMsgHandle) ExtractResourceName

func (*CreateServiceDescriptorServerMsgHandle) ExtractResourceNames

type CreateServiceRequest

type CreateServiceRequest struct {

	// Service resource body
	Service *service.Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// Optional masking applied to response object to reduce message response
	// size.
	ResponseMask *CreateServiceRequest_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 CreateService method.

func (*CreateServiceRequest) Descriptor

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

Deprecated, Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetResponseMask added in v1.6.4

func (*CreateServiceRequest) GetService

func (m *CreateServiceRequest) GetService() *service.Service

func (*CreateServiceRequest) GotenMessage

func (*CreateServiceRequest) GotenMessage()

func (*CreateServiceRequest) GotenValidate

func (obj *CreateServiceRequest) GotenValidate() error

func (*CreateServiceRequest) Marshal

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

func (*CreateServiceRequest) MarshalJSON

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

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect

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

func (*CreateServiceRequest) Reset

func (m *CreateServiceRequest) Reset()

func (*CreateServiceRequest) SetResponseMask added in v1.6.4

func (*CreateServiceRequest) SetService

func (m *CreateServiceRequest) SetService(fv *service.Service)

func (*CreateServiceRequest) String

func (m *CreateServiceRequest) String() string

func (*CreateServiceRequest) Unmarshal

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

func (*CreateServiceRequest) UnmarshalJSON

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

type CreateServiceRequest_ResponseMask added in v1.6.4

type CreateServiceRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*CreateServiceRequest_ResponseMask_SkipEntireResponseBody
	//	*CreateServiceRequest_ResponseMask_BodyMask
	Masking isCreateServiceRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*CreateServiceRequest_ResponseMask) Descriptor added in v1.6.4

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

Deprecated, Use CreateServiceRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest_ResponseMask) GetBodyMask added in v1.6.4

func (*CreateServiceRequest_ResponseMask) GetMasking added in v1.6.4

func (m *CreateServiceRequest_ResponseMask) GetMasking() isCreateServiceRequest_ResponseMask_Masking

func (*CreateServiceRequest_ResponseMask) GetSkipEntireResponseBody added in v1.6.4

func (m *CreateServiceRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*CreateServiceRequest_ResponseMask) GotenMessage added in v1.6.4

func (*CreateServiceRequest_ResponseMask) GotenMessage()

func (*CreateServiceRequest_ResponseMask) GotenValidate added in v1.6.4

func (obj *CreateServiceRequest_ResponseMask) GotenValidate() error

func (*CreateServiceRequest_ResponseMask) Marshal added in v1.6.4

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

func (*CreateServiceRequest_ResponseMask) MarshalJSON added in v1.6.4

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

func (*CreateServiceRequest_ResponseMask) ProtoMessage added in v1.6.4

func (*CreateServiceRequest_ResponseMask) ProtoMessage()

func (*CreateServiceRequest_ResponseMask) ProtoReflect added in v1.6.4

func (*CreateServiceRequest_ResponseMask) Reset added in v1.6.4

func (*CreateServiceRequest_ResponseMask) SetBodyMask added in v1.6.4

func (*CreateServiceRequest_ResponseMask) SetMasking added in v1.6.4

func (m *CreateServiceRequest_ResponseMask) SetMasking(ofv isCreateServiceRequest_ResponseMask_Masking)

func (*CreateServiceRequest_ResponseMask) SetSkipEntireResponseBody added in v1.6.4

func (m *CreateServiceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*CreateServiceRequest_ResponseMask) String added in v1.6.4

func (*CreateServiceRequest_ResponseMask) Unmarshal added in v1.6.4

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

func (*CreateServiceRequest_ResponseMask) UnmarshalJSON added in v1.6.4

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

type CreateServiceRequest_ResponseMask_BodyMask added in v1.6.4

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

type CreateServiceRequest_ResponseMask_SkipEntireResponseBody added in v1.6.4

type CreateServiceRequest_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 DeleteServiceDescriptor

type DeleteServiceDescriptor struct{}

func GetDeleteServiceDescriptor

func GetDeleteServiceDescriptor() *DeleteServiceDescriptor

func (*DeleteServiceDescriptor) GetApiDescriptor

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

func (*DeleteServiceDescriptor) GetApiName

func (d *DeleteServiceDescriptor) GetApiName() string

func (*DeleteServiceDescriptor) GetClientMsgReflectHandle

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

func (*DeleteServiceDescriptor) GetFullMethodName

func (d *DeleteServiceDescriptor) GetFullMethodName() string

func (*DeleteServiceDescriptor) GetMethodName

func (d *DeleteServiceDescriptor) GetMethodName() string

func (*DeleteServiceDescriptor) GetProtoPkgName

func (d *DeleteServiceDescriptor) GetProtoPkgName() string

func (*DeleteServiceDescriptor) GetResourceDescriptor

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

func (*DeleteServiceDescriptor) GetServerMsgReflectHandle

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

func (*DeleteServiceDescriptor) GetServiceDomain

func (d *DeleteServiceDescriptor) GetServiceDomain() string

func (*DeleteServiceDescriptor) GetServiceVersion

func (d *DeleteServiceDescriptor) GetServiceVersion() string

func (*DeleteServiceDescriptor) GetVerb

func (d *DeleteServiceDescriptor) GetVerb() string

func (*DeleteServiceDescriptor) HasResource

func (d *DeleteServiceDescriptor) HasResource() bool

func (*DeleteServiceDescriptor) IsClientStream

func (d *DeleteServiceDescriptor) IsClientStream() bool

func (*DeleteServiceDescriptor) IsCollection

func (d *DeleteServiceDescriptor) IsCollection() bool

func (*DeleteServiceDescriptor) IsPlural

func (d *DeleteServiceDescriptor) IsPlural() bool

func (*DeleteServiceDescriptor) IsServerStream

func (d *DeleteServiceDescriptor) IsServerStream() bool

func (*DeleteServiceDescriptor) IsUnary

func (d *DeleteServiceDescriptor) IsUnary() bool

func (*DeleteServiceDescriptor) NewEmptyClientMsg

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

func (*DeleteServiceDescriptor) NewEmptyServerMsg

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

func (*DeleteServiceDescriptor) RequestHasResourceBody

func (d *DeleteServiceDescriptor) RequestHasResourceBody() bool

type DeleteServiceDescriptorClientMsgHandle

type DeleteServiceDescriptorClientMsgHandle struct{}

func (*DeleteServiceDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteServiceDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteServiceDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteServiceDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteServiceDescriptorClientMsgHandle) ExtractResourceNames

type DeleteServiceDescriptorServerMsgHandle

type DeleteServiceDescriptorServerMsgHandle struct{}

func (*DeleteServiceDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteServiceDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteServiceDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteServiceDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteServiceDescriptorServerMsgHandle) ExtractResourceNames

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// Name of goten.meta.v1.Service
	Name *service.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 DeleteService method.

func (*DeleteServiceRequest) Descriptor

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

Deprecated, Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName

func (m *DeleteServiceRequest) GetName() *service.Name

func (*DeleteServiceRequest) GotenMessage

func (*DeleteServiceRequest) GotenMessage()

func (*DeleteServiceRequest) GotenValidate

func (obj *DeleteServiceRequest) GotenValidate() error

func (*DeleteServiceRequest) Marshal

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

func (*DeleteServiceRequest) MarshalJSON

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

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

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

func (*DeleteServiceRequest) Reset

func (m *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) SetName

func (m *DeleteServiceRequest) SetName(fv *service.Name)

func (*DeleteServiceRequest) String

func (m *DeleteServiceRequest) String() string

func (*DeleteServiceRequest) Unmarshal

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

func (*DeleteServiceRequest) UnmarshalJSON

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

type GetServiceDescriptor

type GetServiceDescriptor struct{}

func GetGetServiceDescriptor

func GetGetServiceDescriptor() *GetServiceDescriptor

func (*GetServiceDescriptor) GetApiDescriptor

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

func (*GetServiceDescriptor) GetApiName

func (d *GetServiceDescriptor) GetApiName() string

func (*GetServiceDescriptor) GetClientMsgReflectHandle

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

func (*GetServiceDescriptor) GetFullMethodName

func (d *GetServiceDescriptor) GetFullMethodName() string

func (*GetServiceDescriptor) GetMethodName

func (d *GetServiceDescriptor) GetMethodName() string

func (*GetServiceDescriptor) GetProtoPkgName

func (d *GetServiceDescriptor) GetProtoPkgName() string

func (*GetServiceDescriptor) GetResourceDescriptor

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

func (*GetServiceDescriptor) GetServerMsgReflectHandle

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

func (*GetServiceDescriptor) GetServiceDomain

func (d *GetServiceDescriptor) GetServiceDomain() string

func (*GetServiceDescriptor) GetServiceVersion

func (d *GetServiceDescriptor) GetServiceVersion() string

func (*GetServiceDescriptor) GetVerb

func (d *GetServiceDescriptor) GetVerb() string

func (*GetServiceDescriptor) HasResource

func (d *GetServiceDescriptor) HasResource() bool

func (*GetServiceDescriptor) IsClientStream

func (d *GetServiceDescriptor) IsClientStream() bool

func (*GetServiceDescriptor) IsCollection

func (d *GetServiceDescriptor) IsCollection() bool

func (*GetServiceDescriptor) IsPlural

func (d *GetServiceDescriptor) IsPlural() bool

func (*GetServiceDescriptor) IsServerStream

func (d *GetServiceDescriptor) IsServerStream() bool

func (*GetServiceDescriptor) IsUnary

func (d *GetServiceDescriptor) IsUnary() bool

func (*GetServiceDescriptor) NewEmptyClientMsg

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

func (*GetServiceDescriptor) NewEmptyServerMsg

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

func (*GetServiceDescriptor) RequestHasResourceBody

func (d *GetServiceDescriptor) RequestHasResourceBody() bool

type GetServiceDescriptorClientMsgHandle

type GetServiceDescriptorClientMsgHandle struct{}

func (*GetServiceDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetServiceDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetServiceDescriptorClientMsgHandle) ExtractResourceBody

func (*GetServiceDescriptorClientMsgHandle) ExtractResourceName

func (*GetServiceDescriptorClientMsgHandle) ExtractResourceNames

type GetServiceDescriptorServerMsgHandle

type GetServiceDescriptorServerMsgHandle struct{}

func (*GetServiceDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetServiceDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetServiceDescriptorServerMsgHandle) ExtractResourceBody

func (*GetServiceDescriptorServerMsgHandle) ExtractResourceName

func (*GetServiceDescriptorServerMsgHandle) ExtractResourceNames

type GetServiceRequest

type GetServiceRequest struct {

	// Name of goten.meta.v1.Service
	Name *service.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 *service.Service_FieldMask `` /* 139-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 GetService method.

func (*GetServiceRequest) Descriptor

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

Deprecated, Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetFieldMask

func (m *GetServiceRequest) GetFieldMask() *service.Service_FieldMask

func (*GetServiceRequest) GetName

func (m *GetServiceRequest) GetName() *service.Name

func (*GetServiceRequest) GetView

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

func (*GetServiceRequest) GotenMessage

func (*GetServiceRequest) GotenMessage()

func (*GetServiceRequest) GotenValidate

func (obj *GetServiceRequest) GotenValidate() error

func (*GetServiceRequest) Marshal

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

func (*GetServiceRequest) MarshalJSON

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

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

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

func (*GetServiceRequest) Reset

func (m *GetServiceRequest) Reset()

func (*GetServiceRequest) SetFieldMask

func (m *GetServiceRequest) SetFieldMask(fv *service.Service_FieldMask)

func (*GetServiceRequest) SetName

func (m *GetServiceRequest) SetName(fv *service.Name)

func (*GetServiceRequest) SetView

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

func (*GetServiceRequest) String

func (m *GetServiceRequest) String() string

func (*GetServiceRequest) Unmarshal

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

func (*GetServiceRequest) UnmarshalJSON

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

type ListServicesDescriptor

type ListServicesDescriptor struct{}

func GetListServicesDescriptor

func GetListServicesDescriptor() *ListServicesDescriptor

func (*ListServicesDescriptor) GetApiDescriptor

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

func (*ListServicesDescriptor) GetApiName

func (d *ListServicesDescriptor) GetApiName() string

func (*ListServicesDescriptor) GetClientMsgReflectHandle

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

func (*ListServicesDescriptor) GetFullMethodName

func (d *ListServicesDescriptor) GetFullMethodName() string

func (*ListServicesDescriptor) GetMethodName

func (d *ListServicesDescriptor) GetMethodName() string

func (*ListServicesDescriptor) GetProtoPkgName

func (d *ListServicesDescriptor) GetProtoPkgName() string

func (*ListServicesDescriptor) GetResourceDescriptor

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

func (*ListServicesDescriptor) GetServerMsgReflectHandle

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

func (*ListServicesDescriptor) GetServiceDomain

func (d *ListServicesDescriptor) GetServiceDomain() string

func (*ListServicesDescriptor) GetServiceVersion

func (d *ListServicesDescriptor) GetServiceVersion() string

func (*ListServicesDescriptor) GetVerb

func (d *ListServicesDescriptor) GetVerb() string

func (*ListServicesDescriptor) HasResource

func (d *ListServicesDescriptor) HasResource() bool

func (*ListServicesDescriptor) IsClientStream

func (d *ListServicesDescriptor) IsClientStream() bool

func (*ListServicesDescriptor) IsCollection

func (d *ListServicesDescriptor) IsCollection() bool

func (*ListServicesDescriptor) IsPlural

func (d *ListServicesDescriptor) IsPlural() bool

func (*ListServicesDescriptor) IsServerStream

func (d *ListServicesDescriptor) IsServerStream() bool

func (*ListServicesDescriptor) IsUnary

func (d *ListServicesDescriptor) IsUnary() bool

func (*ListServicesDescriptor) NewEmptyClientMsg

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

func (*ListServicesDescriptor) NewEmptyServerMsg

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

func (*ListServicesDescriptor) RequestHasResourceBody

func (d *ListServicesDescriptor) RequestHasResourceBody() bool

type ListServicesDescriptorClientMsgHandle

type ListServicesDescriptorClientMsgHandle struct{}

func (*ListServicesDescriptorClientMsgHandle) ExtractCollectionName

func (*ListServicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListServicesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListServicesDescriptorClientMsgHandle) ExtractResourceName

func (*ListServicesDescriptorClientMsgHandle) ExtractResourceNames

type ListServicesDescriptorServerMsgHandle

type ListServicesDescriptorServerMsgHandle struct{}

func (*ListServicesDescriptorServerMsgHandle) ExtractCollectionName

func (*ListServicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListServicesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListServicesDescriptorServerMsgHandle) ExtractResourceName

func (*ListServicesDescriptorServerMsgHandle) ExtractResourceNames

type ListServicesRequest

type ListServicesRequest struct {

	// Requested page size. Server may return fewer Services 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
	// ListServicesResponse.next_page_token.
	PageToken *service.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 *service.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 *service.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 *service.Service_FieldMask `` /* 139-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 ListServices method.

func (*ListServicesRequest) Descriptor

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

Deprecated, Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetFieldMask

func (m *ListServicesRequest) GetFieldMask() *service.Service_FieldMask

func (*ListServicesRequest) GetFilter

func (m *ListServicesRequest) GetFilter() *service.Filter

func (*ListServicesRequest) GetIncludePagingInfo

func (m *ListServicesRequest) GetIncludePagingInfo() bool

func (*ListServicesRequest) GetOrderBy

func (m *ListServicesRequest) GetOrderBy() *service.OrderBy

func (*ListServicesRequest) GetPageSize

func (m *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (m *ListServicesRequest) GetPageToken() *service.PagerCursor

func (*ListServicesRequest) GetView

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

func (*ListServicesRequest) GotenMessage

func (*ListServicesRequest) GotenMessage()

func (*ListServicesRequest) GotenValidate

func (obj *ListServicesRequest) GotenValidate() error

func (*ListServicesRequest) Marshal

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

func (*ListServicesRequest) MarshalJSON

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

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

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

func (*ListServicesRequest) Reset

func (m *ListServicesRequest) Reset()

func (*ListServicesRequest) SetFieldMask

func (m *ListServicesRequest) SetFieldMask(fv *service.Service_FieldMask)

func (*ListServicesRequest) SetFilter

func (m *ListServicesRequest) SetFilter(fv *service.Filter)

func (*ListServicesRequest) SetIncludePagingInfo

func (m *ListServicesRequest) SetIncludePagingInfo(fv bool)

func (*ListServicesRequest) SetOrderBy

func (m *ListServicesRequest) SetOrderBy(fv *service.OrderBy)

func (*ListServicesRequest) SetPageSize

func (m *ListServicesRequest) SetPageSize(fv int32)

func (*ListServicesRequest) SetPageToken

func (m *ListServicesRequest) SetPageToken(fv *service.PagerCursor)

func (*ListServicesRequest) SetView

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

func (*ListServicesRequest) String

func (m *ListServicesRequest) String() string

func (*ListServicesRequest) Unmarshal

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

func (*ListServicesRequest) UnmarshalJSON

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

type ListServicesResponse

type ListServicesResponse struct {

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

func (*ListServicesResponse) Descriptor

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

Deprecated, Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetCurrentOffset

func (m *ListServicesResponse) GetCurrentOffset() int32

func (*ListServicesResponse) GetNextPageToken

func (m *ListServicesResponse) GetNextPageToken() *service.PagerCursor

func (*ListServicesResponse) GetPrevPageToken

func (m *ListServicesResponse) GetPrevPageToken() *service.PagerCursor

func (*ListServicesResponse) GetServices

func (m *ListServicesResponse) GetServices() []*service.Service

func (*ListServicesResponse) GetTotalResultsCount

func (m *ListServicesResponse) GetTotalResultsCount() int32

func (*ListServicesResponse) GotenMessage

func (*ListServicesResponse) GotenMessage()

func (*ListServicesResponse) GotenValidate

func (obj *ListServicesResponse) GotenValidate() error

func (*ListServicesResponse) Marshal

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

func (*ListServicesResponse) MarshalJSON

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

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

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

func (*ListServicesResponse) Reset

func (m *ListServicesResponse) Reset()

func (*ListServicesResponse) SetCurrentOffset

func (m *ListServicesResponse) SetCurrentOffset(fv int32)

func (*ListServicesResponse) SetNextPageToken

func (m *ListServicesResponse) SetNextPageToken(fv *service.PagerCursor)

func (*ListServicesResponse) SetPrevPageToken

func (m *ListServicesResponse) SetPrevPageToken(fv *service.PagerCursor)

func (*ListServicesResponse) SetServices

func (m *ListServicesResponse) SetServices(fv []*service.Service)

func (*ListServicesResponse) SetTotalResultsCount

func (m *ListServicesResponse) SetTotalResultsCount(fv int32)

func (*ListServicesResponse) String

func (m *ListServicesResponse) String() string

func (*ListServicesResponse) Unmarshal

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

func (*ListServicesResponse) UnmarshalJSON

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

type ServiceServiceClient

type ServiceServiceClient interface {
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*service.Service, error)
	BatchGetServices(ctx context.Context, in *BatchGetServicesRequest, opts ...grpc.CallOption) (*BatchGetServicesResponse, error)
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	WatchService(ctx context.Context, in *WatchServiceRequest, opts ...grpc.CallOption) (WatchServiceClientStream, error)
	WatchServices(ctx context.Context, in *WatchServicesRequest, opts ...grpc.CallOption) (WatchServicesClientStream, error)
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*service.Service, error)
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*service.Service, error)
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ServiceServiceClient is the client API for ServiceService.

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

type ServiceServiceDescriptor

type ServiceServiceDescriptor struct{}

func GetServiceServiceDescriptor

func GetServiceServiceDescriptor() *ServiceServiceDescriptor

func (*ServiceServiceDescriptor) AllMethodDescriptors

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

func (*ServiceServiceDescriptor) GetApiName

func (d *ServiceServiceDescriptor) GetApiName() string

func (*ServiceServiceDescriptor) GetFullAPIName

func (d *ServiceServiceDescriptor) GetFullAPIName() string

func (*ServiceServiceDescriptor) GetProtoPkgName

func (d *ServiceServiceDescriptor) GetProtoPkgName() string

func (*ServiceServiceDescriptor) GetServiceDomain

func (d *ServiceServiceDescriptor) GetServiceDomain() string

func (*ServiceServiceDescriptor) GetServiceVersion

func (d *ServiceServiceDescriptor) GetServiceVersion() string

type UpdateServiceDescriptor

type UpdateServiceDescriptor struct{}

func GetUpdateServiceDescriptor

func GetUpdateServiceDescriptor() *UpdateServiceDescriptor

func (*UpdateServiceDescriptor) GetApiDescriptor

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

func (*UpdateServiceDescriptor) GetApiName

func (d *UpdateServiceDescriptor) GetApiName() string

func (*UpdateServiceDescriptor) GetClientMsgReflectHandle

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

func (*UpdateServiceDescriptor) GetFullMethodName

func (d *UpdateServiceDescriptor) GetFullMethodName() string

func (*UpdateServiceDescriptor) GetMethodName

func (d *UpdateServiceDescriptor) GetMethodName() string

func (*UpdateServiceDescriptor) GetProtoPkgName

func (d *UpdateServiceDescriptor) GetProtoPkgName() string

func (*UpdateServiceDescriptor) GetResourceDescriptor

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

func (*UpdateServiceDescriptor) GetServerMsgReflectHandle

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

func (*UpdateServiceDescriptor) GetServiceDomain

func (d *UpdateServiceDescriptor) GetServiceDomain() string

func (*UpdateServiceDescriptor) GetServiceVersion

func (d *UpdateServiceDescriptor) GetServiceVersion() string

func (*UpdateServiceDescriptor) GetVerb

func (d *UpdateServiceDescriptor) GetVerb() string

func (*UpdateServiceDescriptor) HasResource

func (d *UpdateServiceDescriptor) HasResource() bool

func (*UpdateServiceDescriptor) IsClientStream

func (d *UpdateServiceDescriptor) IsClientStream() bool

func (*UpdateServiceDescriptor) IsCollection

func (d *UpdateServiceDescriptor) IsCollection() bool

func (*UpdateServiceDescriptor) IsPlural

func (d *UpdateServiceDescriptor) IsPlural() bool

func (*UpdateServiceDescriptor) IsServerStream

func (d *UpdateServiceDescriptor) IsServerStream() bool

func (*UpdateServiceDescriptor) IsUnary

func (d *UpdateServiceDescriptor) IsUnary() bool

func (*UpdateServiceDescriptor) NewEmptyClientMsg

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

func (*UpdateServiceDescriptor) NewEmptyServerMsg

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

func (*UpdateServiceDescriptor) RequestHasResourceBody

func (d *UpdateServiceDescriptor) RequestHasResourceBody() bool

type UpdateServiceDescriptorClientMsgHandle

type UpdateServiceDescriptorClientMsgHandle struct{}

func (*UpdateServiceDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateServiceDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateServiceDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateServiceDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateServiceDescriptorClientMsgHandle) ExtractResourceNames

type UpdateServiceDescriptorServerMsgHandle

type UpdateServiceDescriptorServerMsgHandle struct{}

func (*UpdateServiceDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateServiceDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateServiceDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateServiceDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateServiceDescriptorServerMsgHandle) ExtractResourceNames

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// Service resource body
	Service *service.Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *service.Service_FieldMask `` /* 143-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 *UpdateServiceRequest_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 *UpdateServiceRequest_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 UpdateService method.

func (*UpdateServiceRequest) Descriptor

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

Deprecated, Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetAllowMissing

func (m *UpdateServiceRequest) GetAllowMissing() bool

func (*UpdateServiceRequest) GetCas

func (*UpdateServiceRequest) GetResponseMask added in v1.6.4

func (*UpdateServiceRequest) GetService

func (m *UpdateServiceRequest) GetService() *service.Service

func (*UpdateServiceRequest) GetUpdateMask

func (m *UpdateServiceRequest) GetUpdateMask() *service.Service_FieldMask

func (*UpdateServiceRequest) GotenMessage

func (*UpdateServiceRequest) GotenMessage()

func (*UpdateServiceRequest) GotenValidate

func (obj *UpdateServiceRequest) GotenValidate() error

func (*UpdateServiceRequest) Marshal

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

func (*UpdateServiceRequest) MarshalJSON

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

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect

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

func (*UpdateServiceRequest) Reset

func (m *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) SetAllowMissing

func (m *UpdateServiceRequest) SetAllowMissing(fv bool)

func (*UpdateServiceRequest) SetCas

func (*UpdateServiceRequest) SetResponseMask added in v1.6.4

func (*UpdateServiceRequest) SetService

func (m *UpdateServiceRequest) SetService(fv *service.Service)

func (*UpdateServiceRequest) SetUpdateMask

func (m *UpdateServiceRequest) SetUpdateMask(fv *service.Service_FieldMask)

func (*UpdateServiceRequest) String

func (m *UpdateServiceRequest) String() string

func (*UpdateServiceRequest) Unmarshal

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

func (*UpdateServiceRequest) UnmarshalJSON

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

type UpdateServiceRequest_CAS

type UpdateServiceRequest_CAS struct {

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

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

Deprecated, Use UpdateServiceRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest_CAS) GetConditionalState

func (m *UpdateServiceRequest_CAS) GetConditionalState() *service.Service

func (*UpdateServiceRequest_CAS) GetFieldMask

func (*UpdateServiceRequest_CAS) GotenMessage

func (*UpdateServiceRequest_CAS) GotenMessage()

func (*UpdateServiceRequest_CAS) GotenValidate

func (obj *UpdateServiceRequest_CAS) GotenValidate() error

func (*UpdateServiceRequest_CAS) Marshal

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

func (*UpdateServiceRequest_CAS) MarshalJSON

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

func (*UpdateServiceRequest_CAS) ProtoMessage

func (*UpdateServiceRequest_CAS) ProtoMessage()

func (*UpdateServiceRequest_CAS) ProtoReflect

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

func (*UpdateServiceRequest_CAS) Reset

func (m *UpdateServiceRequest_CAS) Reset()

func (*UpdateServiceRequest_CAS) SetConditionalState

func (m *UpdateServiceRequest_CAS) SetConditionalState(fv *service.Service)

func (*UpdateServiceRequest_CAS) SetFieldMask

func (m *UpdateServiceRequest_CAS) SetFieldMask(fv *service.Service_FieldMask)

func (*UpdateServiceRequest_CAS) String

func (m *UpdateServiceRequest_CAS) String() string

func (*UpdateServiceRequest_CAS) Unmarshal

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

func (*UpdateServiceRequest_CAS) UnmarshalJSON

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

type UpdateServiceRequest_ResponseMask added in v1.6.4

type UpdateServiceRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*UpdateServiceRequest_ResponseMask_SkipEntireResponseBody
	//	*UpdateServiceRequest_ResponseMask_UpdatedFieldsOnly
	//	*UpdateServiceRequest_ResponseMask_BodyMask
	Masking isUpdateServiceRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*UpdateServiceRequest_ResponseMask) Descriptor added in v1.6.4

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

Deprecated, Use UpdateServiceRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest_ResponseMask) GetBodyMask added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) GetMasking added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) GetMasking() isUpdateServiceRequest_ResponseMask_Masking

func (*UpdateServiceRequest_ResponseMask) GetSkipEntireResponseBody added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*UpdateServiceRequest_ResponseMask) GetUpdatedFieldsOnly added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) GetUpdatedFieldsOnly() bool

func (*UpdateServiceRequest_ResponseMask) GotenMessage added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) GotenMessage()

func (*UpdateServiceRequest_ResponseMask) GotenValidate added in v1.6.4

func (obj *UpdateServiceRequest_ResponseMask) GotenValidate() error

func (*UpdateServiceRequest_ResponseMask) Marshal added in v1.6.4

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

func (*UpdateServiceRequest_ResponseMask) MarshalJSON added in v1.6.4

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

func (*UpdateServiceRequest_ResponseMask) ProtoMessage added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) ProtoMessage()

func (*UpdateServiceRequest_ResponseMask) ProtoReflect added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) Reset added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) SetBodyMask added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) SetMasking added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) SetMasking(ofv isUpdateServiceRequest_ResponseMask_Masking)

func (*UpdateServiceRequest_ResponseMask) SetSkipEntireResponseBody added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*UpdateServiceRequest_ResponseMask) SetUpdatedFieldsOnly added in v1.6.4

func (m *UpdateServiceRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)

func (*UpdateServiceRequest_ResponseMask) String added in v1.6.4

func (*UpdateServiceRequest_ResponseMask) Unmarshal added in v1.6.4

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

func (*UpdateServiceRequest_ResponseMask) UnmarshalJSON added in v1.6.4

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

type UpdateServiceRequest_ResponseMask_BodyMask added in v1.6.4

type UpdateServiceRequest_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 *service.Service_FieldMask `protobuf:"bytes,3,opt,customtype=Service_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"`
}

type UpdateServiceRequest_ResponseMask_SkipEntireResponseBody added in v1.6.4

type UpdateServiceRequest_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 UpdateServiceRequest_ResponseMask_UpdatedFieldsOnly added in v1.6.4

type UpdateServiceRequest_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 WatchServiceClientStream

type WatchServiceClientStream interface {
	Recv() (*WatchServiceResponse, error)
	grpc.ClientStream
}

type WatchServiceDescriptor

type WatchServiceDescriptor struct{}

func GetWatchServiceDescriptor

func GetWatchServiceDescriptor() *WatchServiceDescriptor

func (*WatchServiceDescriptor) GetApiDescriptor

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

func (*WatchServiceDescriptor) GetApiName

func (d *WatchServiceDescriptor) GetApiName() string

func (*WatchServiceDescriptor) GetClientMsgReflectHandle

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

func (*WatchServiceDescriptor) GetFullMethodName

func (d *WatchServiceDescriptor) GetFullMethodName() string

func (*WatchServiceDescriptor) GetMethodName

func (d *WatchServiceDescriptor) GetMethodName() string

func (*WatchServiceDescriptor) GetProtoPkgName

func (d *WatchServiceDescriptor) GetProtoPkgName() string

func (*WatchServiceDescriptor) GetResourceDescriptor

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

func (*WatchServiceDescriptor) GetServerMsgReflectHandle

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

func (*WatchServiceDescriptor) GetServiceDomain

func (d *WatchServiceDescriptor) GetServiceDomain() string

func (*WatchServiceDescriptor) GetServiceVersion

func (d *WatchServiceDescriptor) GetServiceVersion() string

func (*WatchServiceDescriptor) GetVerb

func (d *WatchServiceDescriptor) GetVerb() string

func (*WatchServiceDescriptor) HasResource

func (d *WatchServiceDescriptor) HasResource() bool

func (*WatchServiceDescriptor) IsClientStream

func (d *WatchServiceDescriptor) IsClientStream() bool

func (*WatchServiceDescriptor) IsCollection

func (d *WatchServiceDescriptor) IsCollection() bool

func (*WatchServiceDescriptor) IsPlural

func (d *WatchServiceDescriptor) IsPlural() bool

func (*WatchServiceDescriptor) IsServerStream

func (d *WatchServiceDescriptor) IsServerStream() bool

func (*WatchServiceDescriptor) IsUnary

func (d *WatchServiceDescriptor) IsUnary() bool

func (*WatchServiceDescriptor) NewEmptyClientMsg

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

func (*WatchServiceDescriptor) NewEmptyServerMsg

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

func (*WatchServiceDescriptor) RequestHasResourceBody

func (d *WatchServiceDescriptor) RequestHasResourceBody() bool

type WatchServiceDescriptorClientMsgHandle

type WatchServiceDescriptorClientMsgHandle struct{}

func (*WatchServiceDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchServiceDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchServiceDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchServiceDescriptorClientMsgHandle) ExtractResourceName

func (*WatchServiceDescriptorClientMsgHandle) ExtractResourceNames

type WatchServiceDescriptorServerMsgHandle

type WatchServiceDescriptorServerMsgHandle struct{}

func (*WatchServiceDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchServiceDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchServiceDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchServiceDescriptorServerMsgHandle) ExtractResourceName

func (*WatchServiceDescriptorServerMsgHandle) ExtractResourceNames

type WatchServiceRequest

type WatchServiceRequest struct {

	// Name of goten.meta.v1.Service
	Name *service.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 *service.Service_FieldMask `` /* 139-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 WatchService method.

func (*WatchServiceRequest) Descriptor

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

Deprecated, Use WatchServiceRequest.ProtoReflect.Descriptor instead.

func (*WatchServiceRequest) GetFieldMask

func (m *WatchServiceRequest) GetFieldMask() *service.Service_FieldMask

func (*WatchServiceRequest) GetName

func (m *WatchServiceRequest) GetName() *service.Name

func (*WatchServiceRequest) GetView

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

func (*WatchServiceRequest) GotenMessage

func (*WatchServiceRequest) GotenMessage()

func (*WatchServiceRequest) GotenValidate

func (obj *WatchServiceRequest) GotenValidate() error

func (*WatchServiceRequest) Marshal

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

func (*WatchServiceRequest) MarshalJSON

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

func (*WatchServiceRequest) ProtoMessage

func (*WatchServiceRequest) ProtoMessage()

func (*WatchServiceRequest) ProtoReflect

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

func (*WatchServiceRequest) Reset

func (m *WatchServiceRequest) Reset()

func (*WatchServiceRequest) SetFieldMask

func (m *WatchServiceRequest) SetFieldMask(fv *service.Service_FieldMask)

func (*WatchServiceRequest) SetName

func (m *WatchServiceRequest) SetName(fv *service.Name)

func (*WatchServiceRequest) SetView

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

func (*WatchServiceRequest) String

func (m *WatchServiceRequest) String() string

func (*WatchServiceRequest) Unmarshal

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

func (*WatchServiceRequest) UnmarshalJSON

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

type WatchServiceResponse

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

A response message of the WatchService method.

func (*WatchServiceResponse) Descriptor

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

Deprecated, Use WatchServiceResponse.ProtoReflect.Descriptor instead.

func (*WatchServiceResponse) GetChange

func (m *WatchServiceResponse) GetChange() *service.ServiceChange

func (*WatchServiceResponse) GotenMessage

func (*WatchServiceResponse) GotenMessage()

func (*WatchServiceResponse) GotenValidate

func (obj *WatchServiceResponse) GotenValidate() error

func (*WatchServiceResponse) Marshal

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

func (*WatchServiceResponse) MarshalJSON

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

func (*WatchServiceResponse) ProtoMessage

func (*WatchServiceResponse) ProtoMessage()

func (*WatchServiceResponse) ProtoReflect

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

func (*WatchServiceResponse) Reset

func (m *WatchServiceResponse) Reset()

func (*WatchServiceResponse) SetChange

func (m *WatchServiceResponse) SetChange(fv *service.ServiceChange)

func (*WatchServiceResponse) String

func (m *WatchServiceResponse) String() string

func (*WatchServiceResponse) Unmarshal

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

func (*WatchServiceResponse) UnmarshalJSON

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

type WatchServicesClientStream

type WatchServicesClientStream interface {
	Recv() (*WatchServicesResponse, error)
	grpc.ClientStream
}

type WatchServicesDescriptor

type WatchServicesDescriptor struct{}

func GetWatchServicesDescriptor

func GetWatchServicesDescriptor() *WatchServicesDescriptor

func (*WatchServicesDescriptor) GetApiDescriptor

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

func (*WatchServicesDescriptor) GetApiName

func (d *WatchServicesDescriptor) GetApiName() string

func (*WatchServicesDescriptor) GetClientMsgReflectHandle

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

func (*WatchServicesDescriptor) GetFullMethodName

func (d *WatchServicesDescriptor) GetFullMethodName() string

func (*WatchServicesDescriptor) GetMethodName

func (d *WatchServicesDescriptor) GetMethodName() string

func (*WatchServicesDescriptor) GetProtoPkgName

func (d *WatchServicesDescriptor) GetProtoPkgName() string

func (*WatchServicesDescriptor) GetResourceDescriptor

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

func (*WatchServicesDescriptor) GetServerMsgReflectHandle

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

func (*WatchServicesDescriptor) GetServiceDomain

func (d *WatchServicesDescriptor) GetServiceDomain() string

func (*WatchServicesDescriptor) GetServiceVersion

func (d *WatchServicesDescriptor) GetServiceVersion() string

func (*WatchServicesDescriptor) GetVerb

func (d *WatchServicesDescriptor) GetVerb() string

func (*WatchServicesDescriptor) HasResource

func (d *WatchServicesDescriptor) HasResource() bool

func (*WatchServicesDescriptor) IsClientStream

func (d *WatchServicesDescriptor) IsClientStream() bool

func (*WatchServicesDescriptor) IsCollection

func (d *WatchServicesDescriptor) IsCollection() bool

func (*WatchServicesDescriptor) IsPlural

func (d *WatchServicesDescriptor) IsPlural() bool

func (*WatchServicesDescriptor) IsServerStream

func (d *WatchServicesDescriptor) IsServerStream() bool

func (*WatchServicesDescriptor) IsUnary

func (d *WatchServicesDescriptor) IsUnary() bool

func (*WatchServicesDescriptor) NewEmptyClientMsg

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

func (*WatchServicesDescriptor) NewEmptyServerMsg

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

func (*WatchServicesDescriptor) RequestHasResourceBody

func (d *WatchServicesDescriptor) RequestHasResourceBody() bool

type WatchServicesDescriptorClientMsgHandle

type WatchServicesDescriptorClientMsgHandle struct{}

func (*WatchServicesDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchServicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchServicesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchServicesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchServicesDescriptorClientMsgHandle) ExtractResourceNames

type WatchServicesDescriptorServerMsgHandle

type WatchServicesDescriptorServerMsgHandle struct{}

func (*WatchServicesDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchServicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchServicesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchServicesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchServicesDescriptorServerMsgHandle) ExtractResourceNames

type WatchServicesRequest

type WatchServicesRequest 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"`
	// Requested page size. Server may return fewer Services 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 *service.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 *service.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 *service.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 Service that don't affect
	// any of masked fields won't be sent back.
	FieldMask *service.Service_FieldMask `` /* 139-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
	// Service 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 WatchServices method.

func (*WatchServicesRequest) Descriptor

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

Deprecated, Use WatchServicesRequest.ProtoReflect.Descriptor instead.

func (*WatchServicesRequest) GetFieldMask

func (m *WatchServicesRequest) GetFieldMask() *service.Service_FieldMask

func (*WatchServicesRequest) GetFilter

func (m *WatchServicesRequest) GetFilter() *service.Filter

func (*WatchServicesRequest) GetMaxChunkSize

func (m *WatchServicesRequest) GetMaxChunkSize() int32

func (*WatchServicesRequest) GetOrderBy

func (m *WatchServicesRequest) GetOrderBy() *service.OrderBy

func (*WatchServicesRequest) GetPageSize

func (m *WatchServicesRequest) GetPageSize() int32

func (*WatchServicesRequest) GetPageToken

func (m *WatchServicesRequest) GetPageToken() *service.PagerCursor

func (*WatchServicesRequest) GetResumeToken

func (m *WatchServicesRequest) GetResumeToken() string

func (*WatchServicesRequest) GetStartingTime

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

func (*WatchServicesRequest) GetType

func (*WatchServicesRequest) GetView

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

func (*WatchServicesRequest) GotenMessage

func (*WatchServicesRequest) GotenMessage()

func (*WatchServicesRequest) GotenValidate

func (obj *WatchServicesRequest) GotenValidate() error

func (*WatchServicesRequest) Marshal

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

func (*WatchServicesRequest) MarshalJSON

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

func (*WatchServicesRequest) ProtoMessage

func (*WatchServicesRequest) ProtoMessage()

func (*WatchServicesRequest) ProtoReflect

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

func (*WatchServicesRequest) Reset

func (m *WatchServicesRequest) Reset()

func (*WatchServicesRequest) SetFieldMask

func (m *WatchServicesRequest) SetFieldMask(fv *service.Service_FieldMask)

func (*WatchServicesRequest) SetFilter

func (m *WatchServicesRequest) SetFilter(fv *service.Filter)

func (*WatchServicesRequest) SetMaxChunkSize

func (m *WatchServicesRequest) SetMaxChunkSize(fv int32)

func (*WatchServicesRequest) SetOrderBy

func (m *WatchServicesRequest) SetOrderBy(fv *service.OrderBy)

func (*WatchServicesRequest) SetPageSize

func (m *WatchServicesRequest) SetPageSize(fv int32)

func (*WatchServicesRequest) SetPageToken

func (m *WatchServicesRequest) SetPageToken(fv *service.PagerCursor)

func (*WatchServicesRequest) SetResumeToken

func (m *WatchServicesRequest) SetResumeToken(fv string)

func (*WatchServicesRequest) SetStartingTime

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

func (*WatchServicesRequest) SetType

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

func (*WatchServicesRequest) SetView

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

func (*WatchServicesRequest) String

func (m *WatchServicesRequest) String() string

func (*WatchServicesRequest) Unmarshal

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

func (*WatchServicesRequest) UnmarshalJSON

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

type WatchServicesResponse

type WatchServicesResponse struct {

	// Changes of Services
	ServiceChanges []*service.ServiceChange `` /* 130-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 Services 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 *WatchServicesResponse_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 (Services 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 WatchServices method.

func (*WatchServicesResponse) Descriptor

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

Deprecated, Use WatchServicesResponse.ProtoReflect.Descriptor instead.

func (*WatchServicesResponse) GetIsCurrent

func (m *WatchServicesResponse) GetIsCurrent() bool

func (*WatchServicesResponse) GetIsHardReset

func (m *WatchServicesResponse) GetIsHardReset() bool

func (*WatchServicesResponse) GetIsSoftReset

func (m *WatchServicesResponse) GetIsSoftReset() bool

func (*WatchServicesResponse) GetPageTokenChange

func (*WatchServicesResponse) GetResumeToken

func (m *WatchServicesResponse) GetResumeToken() string

func (*WatchServicesResponse) GetServiceChanges

func (m *WatchServicesResponse) GetServiceChanges() []*service.ServiceChange

func (*WatchServicesResponse) GetSnapshotSize

func (m *WatchServicesResponse) GetSnapshotSize() int64

func (*WatchServicesResponse) GotenMessage

func (*WatchServicesResponse) GotenMessage()

func (*WatchServicesResponse) GotenValidate

func (obj *WatchServicesResponse) GotenValidate() error

func (*WatchServicesResponse) Marshal

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

func (*WatchServicesResponse) MarshalJSON

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

func (*WatchServicesResponse) ProtoMessage

func (*WatchServicesResponse) ProtoMessage()

func (*WatchServicesResponse) ProtoReflect

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

func (*WatchServicesResponse) Reset

func (m *WatchServicesResponse) Reset()

func (*WatchServicesResponse) SetIsCurrent

func (m *WatchServicesResponse) SetIsCurrent(fv bool)

func (*WatchServicesResponse) SetIsHardReset

func (m *WatchServicesResponse) SetIsHardReset(fv bool)

func (*WatchServicesResponse) SetIsSoftReset

func (m *WatchServicesResponse) SetIsSoftReset(fv bool)

func (*WatchServicesResponse) SetPageTokenChange

func (*WatchServicesResponse) SetResumeToken

func (m *WatchServicesResponse) SetResumeToken(fv string)

func (*WatchServicesResponse) SetServiceChanges

func (m *WatchServicesResponse) SetServiceChanges(fv []*service.ServiceChange)

func (*WatchServicesResponse) SetSnapshotSize

func (m *WatchServicesResponse) SetSnapshotSize(fv int64)

func (*WatchServicesResponse) String

func (m *WatchServicesResponse) String() string

func (*WatchServicesResponse) Unmarshal

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

func (*WatchServicesResponse) UnmarshalJSON

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

type WatchServicesResponse_PageTokenChange

type WatchServicesResponse_PageTokenChange struct {

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

func (*WatchServicesResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchServicesResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchServicesResponse_PageTokenChange) GetNextPageToken

func (*WatchServicesResponse_PageTokenChange) GetPrevPageToken

func (*WatchServicesResponse_PageTokenChange) GotenMessage

func (*WatchServicesResponse_PageTokenChange) GotenMessage()

func (*WatchServicesResponse_PageTokenChange) GotenValidate

func (obj *WatchServicesResponse_PageTokenChange) GotenValidate() error

func (*WatchServicesResponse_PageTokenChange) Marshal

func (*WatchServicesResponse_PageTokenChange) MarshalJSON

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

func (*WatchServicesResponse_PageTokenChange) ProtoMessage

func (*WatchServicesResponse_PageTokenChange) ProtoMessage()

func (*WatchServicesResponse_PageTokenChange) ProtoReflect

func (*WatchServicesResponse_PageTokenChange) Reset

func (*WatchServicesResponse_PageTokenChange) SetNextPageToken

func (*WatchServicesResponse_PageTokenChange) SetPrevPageToken

func (*WatchServicesResponse_PageTokenChange) String

func (*WatchServicesResponse_PageTokenChange) Unmarshal

func (*WatchServicesResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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