region_client

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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 BatchGetRegionsDescriptor

type BatchGetRegionsDescriptor struct{}

func GetBatchGetRegionsDescriptor

func GetBatchGetRegionsDescriptor() *BatchGetRegionsDescriptor

func (*BatchGetRegionsDescriptor) GetApiDescriptor

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

func (*BatchGetRegionsDescriptor) GetApiName

func (d *BatchGetRegionsDescriptor) GetApiName() string

func (*BatchGetRegionsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetRegionsDescriptor) GetFullMethodName

func (d *BatchGetRegionsDescriptor) GetFullMethodName() string

func (*BatchGetRegionsDescriptor) GetMethodName

func (d *BatchGetRegionsDescriptor) GetMethodName() string

func (*BatchGetRegionsDescriptor) GetProtoPkgName

func (d *BatchGetRegionsDescriptor) GetProtoPkgName() string

func (*BatchGetRegionsDescriptor) GetResourceDescriptor

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

func (*BatchGetRegionsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetRegionsDescriptor) GetServiceDomain

func (d *BatchGetRegionsDescriptor) GetServiceDomain() string

func (*BatchGetRegionsDescriptor) GetServiceVersion

func (d *BatchGetRegionsDescriptor) GetServiceVersion() string

func (*BatchGetRegionsDescriptor) GetVerb

func (d *BatchGetRegionsDescriptor) GetVerb() string

func (*BatchGetRegionsDescriptor) HasResource

func (d *BatchGetRegionsDescriptor) HasResource() bool

func (*BatchGetRegionsDescriptor) IsClientStream

func (d *BatchGetRegionsDescriptor) IsClientStream() bool

func (*BatchGetRegionsDescriptor) IsCollection

func (d *BatchGetRegionsDescriptor) IsCollection() bool

func (*BatchGetRegionsDescriptor) IsPlural

func (d *BatchGetRegionsDescriptor) IsPlural() bool

func (*BatchGetRegionsDescriptor) IsServerStream

func (d *BatchGetRegionsDescriptor) IsServerStream() bool

func (*BatchGetRegionsDescriptor) IsUnary

func (d *BatchGetRegionsDescriptor) IsUnary() bool

func (*BatchGetRegionsDescriptor) NewEmptyClientMsg

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

func (*BatchGetRegionsDescriptor) NewEmptyServerMsg

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

func (*BatchGetRegionsDescriptor) RequestHasResourceBody

func (d *BatchGetRegionsDescriptor) RequestHasResourceBody() bool

type BatchGetRegionsDescriptorClientMsgHandle

type BatchGetRegionsDescriptorClientMsgHandle struct{}

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetRegionsDescriptorServerMsgHandle

type BatchGetRegionsDescriptorServerMsgHandle struct{}

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetRegionsRequest

type BatchGetRegionsRequest struct {

	// Names of Regions
	Names []*region.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 *region.Region_FieldMask `` /* 138-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 BatchGetRegions method.

func (*BatchGetRegionsRequest) Descriptor

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

Deprecated, Use BatchGetRegionsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetRegionsRequest) GetFieldMask

func (m *BatchGetRegionsRequest) GetFieldMask() *region.Region_FieldMask

func (*BatchGetRegionsRequest) GetNames

func (m *BatchGetRegionsRequest) GetNames() []*region.Name

func (*BatchGetRegionsRequest) GetView

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

func (*BatchGetRegionsRequest) GotenMessage

func (*BatchGetRegionsRequest) GotenMessage()

func (*BatchGetRegionsRequest) GotenValidate

func (obj *BatchGetRegionsRequest) GotenValidate() error

func (*BatchGetRegionsRequest) Marshal

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

func (*BatchGetRegionsRequest) MarshalJSON

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

func (*BatchGetRegionsRequest) ProtoMessage

func (*BatchGetRegionsRequest) ProtoMessage()

func (*BatchGetRegionsRequest) ProtoReflect

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

func (*BatchGetRegionsRequest) Reset

func (m *BatchGetRegionsRequest) Reset()

func (*BatchGetRegionsRequest) SetFieldMask

func (m *BatchGetRegionsRequest) SetFieldMask(fv *region.Region_FieldMask)

func (*BatchGetRegionsRequest) SetNames

func (m *BatchGetRegionsRequest) SetNames(fv []*region.Name)

func (*BatchGetRegionsRequest) SetView

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

func (*BatchGetRegionsRequest) String

func (m *BatchGetRegionsRequest) String() string

func (*BatchGetRegionsRequest) Unmarshal

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

func (*BatchGetRegionsRequest) UnmarshalJSON

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

type BatchGetRegionsResponse

type BatchGetRegionsResponse struct {

	// found Regions
	Regions []*region.Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty" firestore:"regions"`
	// list of not found Regions
	Missing []*region.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 BatchGetRegions method.

func (*BatchGetRegionsResponse) Descriptor

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

Deprecated, Use BatchGetRegionsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetRegionsResponse) GetMissing

func (m *BatchGetRegionsResponse) GetMissing() []*region.Name

func (*BatchGetRegionsResponse) GetRegions

func (m *BatchGetRegionsResponse) GetRegions() []*region.Region

func (*BatchGetRegionsResponse) GotenMessage

func (*BatchGetRegionsResponse) GotenMessage()

func (*BatchGetRegionsResponse) GotenValidate

func (obj *BatchGetRegionsResponse) GotenValidate() error

func (*BatchGetRegionsResponse) Marshal

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

func (*BatchGetRegionsResponse) MarshalJSON

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

func (*BatchGetRegionsResponse) ProtoMessage

func (*BatchGetRegionsResponse) ProtoMessage()

func (*BatchGetRegionsResponse) ProtoReflect

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

func (*BatchGetRegionsResponse) Reset

func (m *BatchGetRegionsResponse) Reset()

func (*BatchGetRegionsResponse) SetMissing

func (m *BatchGetRegionsResponse) SetMissing(fv []*region.Name)

func (*BatchGetRegionsResponse) SetRegions

func (m *BatchGetRegionsResponse) SetRegions(fv []*region.Region)

func (*BatchGetRegionsResponse) String

func (m *BatchGetRegionsResponse) String() string

func (*BatchGetRegionsResponse) Unmarshal

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

func (*BatchGetRegionsResponse) UnmarshalJSON

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

type CreateRegionDescriptor

type CreateRegionDescriptor struct{}

func GetCreateRegionDescriptor

func GetCreateRegionDescriptor() *CreateRegionDescriptor

func (*CreateRegionDescriptor) GetApiDescriptor

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

func (*CreateRegionDescriptor) GetApiName

func (d *CreateRegionDescriptor) GetApiName() string

func (*CreateRegionDescriptor) GetClientMsgReflectHandle

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

func (*CreateRegionDescriptor) GetFullMethodName

func (d *CreateRegionDescriptor) GetFullMethodName() string

func (*CreateRegionDescriptor) GetMethodName

func (d *CreateRegionDescriptor) GetMethodName() string

func (*CreateRegionDescriptor) GetProtoPkgName

func (d *CreateRegionDescriptor) GetProtoPkgName() string

func (*CreateRegionDescriptor) GetResourceDescriptor

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

func (*CreateRegionDescriptor) GetServerMsgReflectHandle

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

func (*CreateRegionDescriptor) GetServiceDomain

func (d *CreateRegionDescriptor) GetServiceDomain() string

func (*CreateRegionDescriptor) GetServiceVersion

func (d *CreateRegionDescriptor) GetServiceVersion() string

func (*CreateRegionDescriptor) GetVerb

func (d *CreateRegionDescriptor) GetVerb() string

func (*CreateRegionDescriptor) HasResource

func (d *CreateRegionDescriptor) HasResource() bool

func (*CreateRegionDescriptor) IsClientStream

func (d *CreateRegionDescriptor) IsClientStream() bool

func (*CreateRegionDescriptor) IsCollection

func (d *CreateRegionDescriptor) IsCollection() bool

func (*CreateRegionDescriptor) IsPlural

func (d *CreateRegionDescriptor) IsPlural() bool

func (*CreateRegionDescriptor) IsServerStream

func (d *CreateRegionDescriptor) IsServerStream() bool

func (*CreateRegionDescriptor) IsUnary

func (d *CreateRegionDescriptor) IsUnary() bool

func (*CreateRegionDescriptor) NewEmptyClientMsg

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

func (*CreateRegionDescriptor) NewEmptyServerMsg

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

func (*CreateRegionDescriptor) RequestHasResourceBody

func (d *CreateRegionDescriptor) RequestHasResourceBody() bool

type CreateRegionDescriptorClientMsgHandle

type CreateRegionDescriptorClientMsgHandle struct{}

func (*CreateRegionDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateRegionDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateRegionDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateRegionDescriptorClientMsgHandle) ExtractResourceName

func (*CreateRegionDescriptorClientMsgHandle) ExtractResourceNames

type CreateRegionDescriptorServerMsgHandle

type CreateRegionDescriptorServerMsgHandle struct{}

func (*CreateRegionDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateRegionDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateRegionDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateRegionDescriptorServerMsgHandle) ExtractResourceName

func (*CreateRegionDescriptorServerMsgHandle) ExtractResourceNames

type CreateRegionRequest

type CreateRegionRequest struct {

	// Region resource body
	Region *region.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// contains filtered or unexported fields
}

A request message of the CreateRegion method.

func (*CreateRegionRequest) Descriptor

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

Deprecated, Use CreateRegionRequest.ProtoReflect.Descriptor instead.

func (*CreateRegionRequest) GetRegion

func (m *CreateRegionRequest) GetRegion() *region.Region

func (*CreateRegionRequest) GotenMessage

func (*CreateRegionRequest) GotenMessage()

func (*CreateRegionRequest) GotenValidate

func (obj *CreateRegionRequest) GotenValidate() error

func (*CreateRegionRequest) Marshal

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

func (*CreateRegionRequest) MarshalJSON

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

func (*CreateRegionRequest) ProtoMessage

func (*CreateRegionRequest) ProtoMessage()

func (*CreateRegionRequest) ProtoReflect

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

func (*CreateRegionRequest) Reset

func (m *CreateRegionRequest) Reset()

func (*CreateRegionRequest) SetRegion

func (m *CreateRegionRequest) SetRegion(fv *region.Region)

func (*CreateRegionRequest) String

func (m *CreateRegionRequest) String() string

func (*CreateRegionRequest) Unmarshal

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

func (*CreateRegionRequest) UnmarshalJSON

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

type DeleteRegionDescriptor

type DeleteRegionDescriptor struct{}

func GetDeleteRegionDescriptor

func GetDeleteRegionDescriptor() *DeleteRegionDescriptor

func (*DeleteRegionDescriptor) GetApiDescriptor

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

func (*DeleteRegionDescriptor) GetApiName

func (d *DeleteRegionDescriptor) GetApiName() string

func (*DeleteRegionDescriptor) GetClientMsgReflectHandle

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

func (*DeleteRegionDescriptor) GetFullMethodName

func (d *DeleteRegionDescriptor) GetFullMethodName() string

func (*DeleteRegionDescriptor) GetMethodName

func (d *DeleteRegionDescriptor) GetMethodName() string

func (*DeleteRegionDescriptor) GetProtoPkgName

func (d *DeleteRegionDescriptor) GetProtoPkgName() string

func (*DeleteRegionDescriptor) GetResourceDescriptor

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

func (*DeleteRegionDescriptor) GetServerMsgReflectHandle

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

func (*DeleteRegionDescriptor) GetServiceDomain

func (d *DeleteRegionDescriptor) GetServiceDomain() string

func (*DeleteRegionDescriptor) GetServiceVersion

func (d *DeleteRegionDescriptor) GetServiceVersion() string

func (*DeleteRegionDescriptor) GetVerb

func (d *DeleteRegionDescriptor) GetVerb() string

func (*DeleteRegionDescriptor) HasResource

func (d *DeleteRegionDescriptor) HasResource() bool

func (*DeleteRegionDescriptor) IsClientStream

func (d *DeleteRegionDescriptor) IsClientStream() bool

func (*DeleteRegionDescriptor) IsCollection

func (d *DeleteRegionDescriptor) IsCollection() bool

func (*DeleteRegionDescriptor) IsPlural

func (d *DeleteRegionDescriptor) IsPlural() bool

func (*DeleteRegionDescriptor) IsServerStream

func (d *DeleteRegionDescriptor) IsServerStream() bool

func (*DeleteRegionDescriptor) IsUnary

func (d *DeleteRegionDescriptor) IsUnary() bool

func (*DeleteRegionDescriptor) NewEmptyClientMsg

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

func (*DeleteRegionDescriptor) NewEmptyServerMsg

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

func (*DeleteRegionDescriptor) RequestHasResourceBody

func (d *DeleteRegionDescriptor) RequestHasResourceBody() bool

type DeleteRegionDescriptorClientMsgHandle

type DeleteRegionDescriptorClientMsgHandle struct{}

func (*DeleteRegionDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteRegionDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteRegionDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteRegionDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteRegionDescriptorClientMsgHandle) ExtractResourceNames

type DeleteRegionDescriptorServerMsgHandle

type DeleteRegionDescriptorServerMsgHandle struct{}

func (*DeleteRegionDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteRegionDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteRegionDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteRegionDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteRegionDescriptorServerMsgHandle) ExtractResourceNames

type DeleteRegionRequest

type DeleteRegionRequest struct {

	// Name of goten.meta.v1.Region
	Name *region.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 DeleteRegion method.

func (*DeleteRegionRequest) Descriptor

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

Deprecated, Use DeleteRegionRequest.ProtoReflect.Descriptor instead.

func (*DeleteRegionRequest) GetName

func (m *DeleteRegionRequest) GetName() *region.Name

func (*DeleteRegionRequest) GotenMessage

func (*DeleteRegionRequest) GotenMessage()

func (*DeleteRegionRequest) GotenValidate

func (obj *DeleteRegionRequest) GotenValidate() error

func (*DeleteRegionRequest) Marshal

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

func (*DeleteRegionRequest) MarshalJSON

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

func (*DeleteRegionRequest) ProtoMessage

func (*DeleteRegionRequest) ProtoMessage()

func (*DeleteRegionRequest) ProtoReflect

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

func (*DeleteRegionRequest) Reset

func (m *DeleteRegionRequest) Reset()

func (*DeleteRegionRequest) SetName

func (m *DeleteRegionRequest) SetName(fv *region.Name)

func (*DeleteRegionRequest) String

func (m *DeleteRegionRequest) String() string

func (*DeleteRegionRequest) Unmarshal

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

func (*DeleteRegionRequest) UnmarshalJSON

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

type GetRegionDescriptor

type GetRegionDescriptor struct{}

func GetGetRegionDescriptor

func GetGetRegionDescriptor() *GetRegionDescriptor

func (*GetRegionDescriptor) GetApiDescriptor

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

func (*GetRegionDescriptor) GetApiName

func (d *GetRegionDescriptor) GetApiName() string

func (*GetRegionDescriptor) GetClientMsgReflectHandle

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

func (*GetRegionDescriptor) GetFullMethodName

func (d *GetRegionDescriptor) GetFullMethodName() string

func (*GetRegionDescriptor) GetMethodName

func (d *GetRegionDescriptor) GetMethodName() string

func (*GetRegionDescriptor) GetProtoPkgName

func (d *GetRegionDescriptor) GetProtoPkgName() string

func (*GetRegionDescriptor) GetResourceDescriptor

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

func (*GetRegionDescriptor) GetServerMsgReflectHandle

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

func (*GetRegionDescriptor) GetServiceDomain

func (d *GetRegionDescriptor) GetServiceDomain() string

func (*GetRegionDescriptor) GetServiceVersion

func (d *GetRegionDescriptor) GetServiceVersion() string

func (*GetRegionDescriptor) GetVerb

func (d *GetRegionDescriptor) GetVerb() string

func (*GetRegionDescriptor) HasResource

func (d *GetRegionDescriptor) HasResource() bool

func (*GetRegionDescriptor) IsClientStream

func (d *GetRegionDescriptor) IsClientStream() bool

func (*GetRegionDescriptor) IsCollection

func (d *GetRegionDescriptor) IsCollection() bool

func (*GetRegionDescriptor) IsPlural

func (d *GetRegionDescriptor) IsPlural() bool

func (*GetRegionDescriptor) IsServerStream

func (d *GetRegionDescriptor) IsServerStream() bool

func (*GetRegionDescriptor) IsUnary

func (d *GetRegionDescriptor) IsUnary() bool

func (*GetRegionDescriptor) NewEmptyClientMsg

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

func (*GetRegionDescriptor) NewEmptyServerMsg

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

func (*GetRegionDescriptor) RequestHasResourceBody

func (d *GetRegionDescriptor) RequestHasResourceBody() bool

type GetRegionDescriptorClientMsgHandle

type GetRegionDescriptorClientMsgHandle struct{}

func (*GetRegionDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceBody

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceName

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceNames

type GetRegionDescriptorServerMsgHandle

type GetRegionDescriptorServerMsgHandle struct{}

func (*GetRegionDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceBody

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceName

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceNames

type GetRegionRequest

type GetRegionRequest struct {

	// Name of goten.meta.v1.Region
	Name *region.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 *region.Region_FieldMask `` /* 138-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 GetRegion method.

func (*GetRegionRequest) Descriptor

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

Deprecated, Use GetRegionRequest.ProtoReflect.Descriptor instead.

func (*GetRegionRequest) GetFieldMask

func (m *GetRegionRequest) GetFieldMask() *region.Region_FieldMask

func (*GetRegionRequest) GetName

func (m *GetRegionRequest) GetName() *region.Name

func (*GetRegionRequest) GetView

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

func (*GetRegionRequest) GotenMessage

func (*GetRegionRequest) GotenMessage()

func (*GetRegionRequest) GotenValidate

func (obj *GetRegionRequest) GotenValidate() error

func (*GetRegionRequest) Marshal

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

func (*GetRegionRequest) MarshalJSON

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

func (*GetRegionRequest) ProtoMessage

func (*GetRegionRequest) ProtoMessage()

func (*GetRegionRequest) ProtoReflect

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

func (*GetRegionRequest) Reset

func (m *GetRegionRequest) Reset()

func (*GetRegionRequest) SetFieldMask

func (m *GetRegionRequest) SetFieldMask(fv *region.Region_FieldMask)

func (*GetRegionRequest) SetName

func (m *GetRegionRequest) SetName(fv *region.Name)

func (*GetRegionRequest) SetView

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

func (*GetRegionRequest) String

func (m *GetRegionRequest) String() string

func (*GetRegionRequest) Unmarshal

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

func (*GetRegionRequest) UnmarshalJSON

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

type ListRegionsDescriptor

type ListRegionsDescriptor struct{}

func GetListRegionsDescriptor

func GetListRegionsDescriptor() *ListRegionsDescriptor

func (*ListRegionsDescriptor) GetApiDescriptor

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

func (*ListRegionsDescriptor) GetApiName

func (d *ListRegionsDescriptor) GetApiName() string

func (*ListRegionsDescriptor) GetClientMsgReflectHandle

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

func (*ListRegionsDescriptor) GetFullMethodName

func (d *ListRegionsDescriptor) GetFullMethodName() string

func (*ListRegionsDescriptor) GetMethodName

func (d *ListRegionsDescriptor) GetMethodName() string

func (*ListRegionsDescriptor) GetProtoPkgName

func (d *ListRegionsDescriptor) GetProtoPkgName() string

func (*ListRegionsDescriptor) GetResourceDescriptor

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

func (*ListRegionsDescriptor) GetServerMsgReflectHandle

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

func (*ListRegionsDescriptor) GetServiceDomain

func (d *ListRegionsDescriptor) GetServiceDomain() string

func (*ListRegionsDescriptor) GetServiceVersion

func (d *ListRegionsDescriptor) GetServiceVersion() string

func (*ListRegionsDescriptor) GetVerb

func (d *ListRegionsDescriptor) GetVerb() string

func (*ListRegionsDescriptor) HasResource

func (d *ListRegionsDescriptor) HasResource() bool

func (*ListRegionsDescriptor) IsClientStream

func (d *ListRegionsDescriptor) IsClientStream() bool

func (*ListRegionsDescriptor) IsCollection

func (d *ListRegionsDescriptor) IsCollection() bool

func (*ListRegionsDescriptor) IsPlural

func (d *ListRegionsDescriptor) IsPlural() bool

func (*ListRegionsDescriptor) IsServerStream

func (d *ListRegionsDescriptor) IsServerStream() bool

func (*ListRegionsDescriptor) IsUnary

func (d *ListRegionsDescriptor) IsUnary() bool

func (*ListRegionsDescriptor) NewEmptyClientMsg

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

func (*ListRegionsDescriptor) NewEmptyServerMsg

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

func (*ListRegionsDescriptor) RequestHasResourceBody

func (d *ListRegionsDescriptor) RequestHasResourceBody() bool

type ListRegionsDescriptorClientMsgHandle

type ListRegionsDescriptorClientMsgHandle struct{}

func (*ListRegionsDescriptorClientMsgHandle) ExtractCollectionName

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceName

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceNames

type ListRegionsDescriptorServerMsgHandle

type ListRegionsDescriptorServerMsgHandle struct{}

func (*ListRegionsDescriptorServerMsgHandle) ExtractCollectionName

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceName

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceNames

type ListRegionsRequest

type ListRegionsRequest struct {

	// Requested page size. Server may return fewer Regions 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
	// ListRegionsResponse.next_page_token.
	PageToken *region.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 *region.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 *region.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 *region.Region_FieldMask `` /* 138-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 ListRegions method.

func (*ListRegionsRequest) Descriptor

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

Deprecated, Use ListRegionsRequest.ProtoReflect.Descriptor instead.

func (*ListRegionsRequest) GetFieldMask

func (m *ListRegionsRequest) GetFieldMask() *region.Region_FieldMask

func (*ListRegionsRequest) GetFilter

func (m *ListRegionsRequest) GetFilter() *region.Filter

func (*ListRegionsRequest) GetIncludePagingInfo

func (m *ListRegionsRequest) GetIncludePagingInfo() bool

func (*ListRegionsRequest) GetOrderBy

func (m *ListRegionsRequest) GetOrderBy() *region.OrderBy

func (*ListRegionsRequest) GetPageSize

func (m *ListRegionsRequest) GetPageSize() int32

func (*ListRegionsRequest) GetPageToken

func (m *ListRegionsRequest) GetPageToken() *region.PagerCursor

func (*ListRegionsRequest) GetView

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

func (*ListRegionsRequest) GotenMessage

func (*ListRegionsRequest) GotenMessage()

func (*ListRegionsRequest) GotenValidate

func (obj *ListRegionsRequest) GotenValidate() error

func (*ListRegionsRequest) Marshal

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

func (*ListRegionsRequest) MarshalJSON

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

func (*ListRegionsRequest) ProtoMessage

func (*ListRegionsRequest) ProtoMessage()

func (*ListRegionsRequest) ProtoReflect

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

func (*ListRegionsRequest) Reset

func (m *ListRegionsRequest) Reset()

func (*ListRegionsRequest) SetFieldMask

func (m *ListRegionsRequest) SetFieldMask(fv *region.Region_FieldMask)

func (*ListRegionsRequest) SetFilter

func (m *ListRegionsRequest) SetFilter(fv *region.Filter)

func (*ListRegionsRequest) SetIncludePagingInfo

func (m *ListRegionsRequest) SetIncludePagingInfo(fv bool)

func (*ListRegionsRequest) SetOrderBy

func (m *ListRegionsRequest) SetOrderBy(fv *region.OrderBy)

func (*ListRegionsRequest) SetPageSize

func (m *ListRegionsRequest) SetPageSize(fv int32)

func (*ListRegionsRequest) SetPageToken

func (m *ListRegionsRequest) SetPageToken(fv *region.PagerCursor)

func (*ListRegionsRequest) SetView

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

func (*ListRegionsRequest) String

func (m *ListRegionsRequest) String() string

func (*ListRegionsRequest) Unmarshal

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

func (*ListRegionsRequest) UnmarshalJSON

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

type ListRegionsResponse

type ListRegionsResponse struct {

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

func (*ListRegionsResponse) Descriptor

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

Deprecated, Use ListRegionsResponse.ProtoReflect.Descriptor instead.

func (*ListRegionsResponse) GetCurrentOffset

func (m *ListRegionsResponse) GetCurrentOffset() int32

func (*ListRegionsResponse) GetNextPageToken

func (m *ListRegionsResponse) GetNextPageToken() *region.PagerCursor

func (*ListRegionsResponse) GetPrevPageToken

func (m *ListRegionsResponse) GetPrevPageToken() *region.PagerCursor

func (*ListRegionsResponse) GetRegions

func (m *ListRegionsResponse) GetRegions() []*region.Region

func (*ListRegionsResponse) GetTotalResultsCount

func (m *ListRegionsResponse) GetTotalResultsCount() int32

func (*ListRegionsResponse) GotenMessage

func (*ListRegionsResponse) GotenMessage()

func (*ListRegionsResponse) GotenValidate

func (obj *ListRegionsResponse) GotenValidate() error

func (*ListRegionsResponse) Marshal

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

func (*ListRegionsResponse) MarshalJSON

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

func (*ListRegionsResponse) ProtoMessage

func (*ListRegionsResponse) ProtoMessage()

func (*ListRegionsResponse) ProtoReflect

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

func (*ListRegionsResponse) Reset

func (m *ListRegionsResponse) Reset()

func (*ListRegionsResponse) SetCurrentOffset

func (m *ListRegionsResponse) SetCurrentOffset(fv int32)

func (*ListRegionsResponse) SetNextPageToken

func (m *ListRegionsResponse) SetNextPageToken(fv *region.PagerCursor)

func (*ListRegionsResponse) SetPrevPageToken

func (m *ListRegionsResponse) SetPrevPageToken(fv *region.PagerCursor)

func (*ListRegionsResponse) SetRegions

func (m *ListRegionsResponse) SetRegions(fv []*region.Region)

func (*ListRegionsResponse) SetTotalResultsCount

func (m *ListRegionsResponse) SetTotalResultsCount(fv int32)

func (*ListRegionsResponse) String

func (m *ListRegionsResponse) String() string

func (*ListRegionsResponse) Unmarshal

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

func (*ListRegionsResponse) UnmarshalJSON

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

type RegionServiceClient

type RegionServiceClient interface {
	GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*region.Region, error)
	BatchGetRegions(ctx context.Context, in *BatchGetRegionsRequest, opts ...grpc.CallOption) (*BatchGetRegionsResponse, error)
	ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error)
	WatchRegion(ctx context.Context, in *WatchRegionRequest, opts ...grpc.CallOption) (WatchRegionClientStream, error)
	WatchRegions(ctx context.Context, in *WatchRegionsRequest, opts ...grpc.CallOption) (WatchRegionsClientStream, error)
	CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*region.Region, error)
	UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*region.Region, error)
	DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

RegionServiceClient is the client API for RegionService.

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

type RegionServiceDescriptor

type RegionServiceDescriptor struct{}

func GetRegionServiceDescriptor

func GetRegionServiceDescriptor() *RegionServiceDescriptor

func (*RegionServiceDescriptor) AllMethodDescriptors

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

func (*RegionServiceDescriptor) GetApiName

func (d *RegionServiceDescriptor) GetApiName() string

func (*RegionServiceDescriptor) GetFullAPIName

func (d *RegionServiceDescriptor) GetFullAPIName() string

func (*RegionServiceDescriptor) GetProtoPkgName

func (d *RegionServiceDescriptor) GetProtoPkgName() string

func (*RegionServiceDescriptor) GetServiceDomain

func (d *RegionServiceDescriptor) GetServiceDomain() string

func (*RegionServiceDescriptor) GetServiceVersion

func (d *RegionServiceDescriptor) GetServiceVersion() string

type UpdateRegionDescriptor

type UpdateRegionDescriptor struct{}

func GetUpdateRegionDescriptor

func GetUpdateRegionDescriptor() *UpdateRegionDescriptor

func (*UpdateRegionDescriptor) GetApiDescriptor

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

func (*UpdateRegionDescriptor) GetApiName

func (d *UpdateRegionDescriptor) GetApiName() string

func (*UpdateRegionDescriptor) GetClientMsgReflectHandle

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

func (*UpdateRegionDescriptor) GetFullMethodName

func (d *UpdateRegionDescriptor) GetFullMethodName() string

func (*UpdateRegionDescriptor) GetMethodName

func (d *UpdateRegionDescriptor) GetMethodName() string

func (*UpdateRegionDescriptor) GetProtoPkgName

func (d *UpdateRegionDescriptor) GetProtoPkgName() string

func (*UpdateRegionDescriptor) GetResourceDescriptor

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

func (*UpdateRegionDescriptor) GetServerMsgReflectHandle

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

func (*UpdateRegionDescriptor) GetServiceDomain

func (d *UpdateRegionDescriptor) GetServiceDomain() string

func (*UpdateRegionDescriptor) GetServiceVersion

func (d *UpdateRegionDescriptor) GetServiceVersion() string

func (*UpdateRegionDescriptor) GetVerb

func (d *UpdateRegionDescriptor) GetVerb() string

func (*UpdateRegionDescriptor) HasResource

func (d *UpdateRegionDescriptor) HasResource() bool

func (*UpdateRegionDescriptor) IsClientStream

func (d *UpdateRegionDescriptor) IsClientStream() bool

func (*UpdateRegionDescriptor) IsCollection

func (d *UpdateRegionDescriptor) IsCollection() bool

func (*UpdateRegionDescriptor) IsPlural

func (d *UpdateRegionDescriptor) IsPlural() bool

func (*UpdateRegionDescriptor) IsServerStream

func (d *UpdateRegionDescriptor) IsServerStream() bool

func (*UpdateRegionDescriptor) IsUnary

func (d *UpdateRegionDescriptor) IsUnary() bool

func (*UpdateRegionDescriptor) NewEmptyClientMsg

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

func (*UpdateRegionDescriptor) NewEmptyServerMsg

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

func (*UpdateRegionDescriptor) RequestHasResourceBody

func (d *UpdateRegionDescriptor) RequestHasResourceBody() bool

type UpdateRegionDescriptorClientMsgHandle

type UpdateRegionDescriptorClientMsgHandle struct{}

func (*UpdateRegionDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateRegionDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateRegionDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateRegionDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateRegionDescriptorClientMsgHandle) ExtractResourceNames

type UpdateRegionDescriptorServerMsgHandle

type UpdateRegionDescriptorServerMsgHandle struct{}

func (*UpdateRegionDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateRegionDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateRegionDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateRegionDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateRegionDescriptorServerMsgHandle) ExtractResourceNames

type UpdateRegionRequest

type UpdateRegionRequest struct {

	// Region resource body
	Region *region.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *region.Region_FieldMask `` /* 142-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 *UpdateRegionRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

A request message of the UpdateRegion method.

func (*UpdateRegionRequest) Descriptor

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

Deprecated, Use UpdateRegionRequest.ProtoReflect.Descriptor instead.

func (*UpdateRegionRequest) GetAllowMissing

func (m *UpdateRegionRequest) GetAllowMissing() bool

func (*UpdateRegionRequest) GetCas

func (*UpdateRegionRequest) GetRegion

func (m *UpdateRegionRequest) GetRegion() *region.Region

func (*UpdateRegionRequest) GetUpdateMask

func (m *UpdateRegionRequest) GetUpdateMask() *region.Region_FieldMask

func (*UpdateRegionRequest) GotenMessage

func (*UpdateRegionRequest) GotenMessage()

func (*UpdateRegionRequest) GotenValidate

func (obj *UpdateRegionRequest) GotenValidate() error

func (*UpdateRegionRequest) Marshal

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

func (*UpdateRegionRequest) MarshalJSON

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

func (*UpdateRegionRequest) ProtoMessage

func (*UpdateRegionRequest) ProtoMessage()

func (*UpdateRegionRequest) ProtoReflect

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

func (*UpdateRegionRequest) Reset

func (m *UpdateRegionRequest) Reset()

func (*UpdateRegionRequest) SetAllowMissing

func (m *UpdateRegionRequest) SetAllowMissing(fv bool)

func (*UpdateRegionRequest) SetCas

func (*UpdateRegionRequest) SetRegion

func (m *UpdateRegionRequest) SetRegion(fv *region.Region)

func (*UpdateRegionRequest) SetUpdateMask

func (m *UpdateRegionRequest) SetUpdateMask(fv *region.Region_FieldMask)

func (*UpdateRegionRequest) String

func (m *UpdateRegionRequest) String() string

func (*UpdateRegionRequest) Unmarshal

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

func (*UpdateRegionRequest) UnmarshalJSON

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

type UpdateRegionRequest_CAS

type UpdateRegionRequest_CAS struct {

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

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

Deprecated, Use UpdateRegionRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateRegionRequest_CAS) GetConditionalState

func (m *UpdateRegionRequest_CAS) GetConditionalState() *region.Region

func (*UpdateRegionRequest_CAS) GetFieldMask

func (m *UpdateRegionRequest_CAS) GetFieldMask() *region.Region_FieldMask

func (*UpdateRegionRequest_CAS) GotenMessage

func (*UpdateRegionRequest_CAS) GotenMessage()

func (*UpdateRegionRequest_CAS) GotenValidate

func (obj *UpdateRegionRequest_CAS) GotenValidate() error

func (*UpdateRegionRequest_CAS) Marshal

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

func (*UpdateRegionRequest_CAS) MarshalJSON

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

func (*UpdateRegionRequest_CAS) ProtoMessage

func (*UpdateRegionRequest_CAS) ProtoMessage()

func (*UpdateRegionRequest_CAS) ProtoReflect

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

func (*UpdateRegionRequest_CAS) Reset

func (m *UpdateRegionRequest_CAS) Reset()

func (*UpdateRegionRequest_CAS) SetConditionalState

func (m *UpdateRegionRequest_CAS) SetConditionalState(fv *region.Region)

func (*UpdateRegionRequest_CAS) SetFieldMask

func (m *UpdateRegionRequest_CAS) SetFieldMask(fv *region.Region_FieldMask)

func (*UpdateRegionRequest_CAS) String

func (m *UpdateRegionRequest_CAS) String() string

func (*UpdateRegionRequest_CAS) Unmarshal

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

func (*UpdateRegionRequest_CAS) UnmarshalJSON

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

type WatchRegionClientStream

type WatchRegionClientStream interface {
	Recv() (*WatchRegionResponse, error)
	grpc.ClientStream
}

type WatchRegionDescriptor

type WatchRegionDescriptor struct{}

func GetWatchRegionDescriptor

func GetWatchRegionDescriptor() *WatchRegionDescriptor

func (*WatchRegionDescriptor) GetApiDescriptor

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

func (*WatchRegionDescriptor) GetApiName

func (d *WatchRegionDescriptor) GetApiName() string

func (*WatchRegionDescriptor) GetClientMsgReflectHandle

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

func (*WatchRegionDescriptor) GetFullMethodName

func (d *WatchRegionDescriptor) GetFullMethodName() string

func (*WatchRegionDescriptor) GetMethodName

func (d *WatchRegionDescriptor) GetMethodName() string

func (*WatchRegionDescriptor) GetProtoPkgName

func (d *WatchRegionDescriptor) GetProtoPkgName() string

func (*WatchRegionDescriptor) GetResourceDescriptor

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

func (*WatchRegionDescriptor) GetServerMsgReflectHandle

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

func (*WatchRegionDescriptor) GetServiceDomain

func (d *WatchRegionDescriptor) GetServiceDomain() string

func (*WatchRegionDescriptor) GetServiceVersion

func (d *WatchRegionDescriptor) GetServiceVersion() string

func (*WatchRegionDescriptor) GetVerb

func (d *WatchRegionDescriptor) GetVerb() string

func (*WatchRegionDescriptor) HasResource

func (d *WatchRegionDescriptor) HasResource() bool

func (*WatchRegionDescriptor) IsClientStream

func (d *WatchRegionDescriptor) IsClientStream() bool

func (*WatchRegionDescriptor) IsCollection

func (d *WatchRegionDescriptor) IsCollection() bool

func (*WatchRegionDescriptor) IsPlural

func (d *WatchRegionDescriptor) IsPlural() bool

func (*WatchRegionDescriptor) IsServerStream

func (d *WatchRegionDescriptor) IsServerStream() bool

func (*WatchRegionDescriptor) IsUnary

func (d *WatchRegionDescriptor) IsUnary() bool

func (*WatchRegionDescriptor) NewEmptyClientMsg

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

func (*WatchRegionDescriptor) NewEmptyServerMsg

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

func (*WatchRegionDescriptor) RequestHasResourceBody

func (d *WatchRegionDescriptor) RequestHasResourceBody() bool

type WatchRegionDescriptorClientMsgHandle

type WatchRegionDescriptorClientMsgHandle struct{}

func (*WatchRegionDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceName

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceNames

type WatchRegionDescriptorServerMsgHandle

type WatchRegionDescriptorServerMsgHandle struct{}

func (*WatchRegionDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceName

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceNames

type WatchRegionRequest

type WatchRegionRequest struct {

	// Name of goten.meta.v1.Region
	Name *region.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 *region.Region_FieldMask `` /* 138-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 WatchRegion method.

func (*WatchRegionRequest) Descriptor

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

Deprecated, Use WatchRegionRequest.ProtoReflect.Descriptor instead.

func (*WatchRegionRequest) GetFieldMask

func (m *WatchRegionRequest) GetFieldMask() *region.Region_FieldMask

func (*WatchRegionRequest) GetName

func (m *WatchRegionRequest) GetName() *region.Name

func (*WatchRegionRequest) GetView

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

func (*WatchRegionRequest) GotenMessage

func (*WatchRegionRequest) GotenMessage()

func (*WatchRegionRequest) GotenValidate

func (obj *WatchRegionRequest) GotenValidate() error

func (*WatchRegionRequest) Marshal

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

func (*WatchRegionRequest) MarshalJSON

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

func (*WatchRegionRequest) ProtoMessage

func (*WatchRegionRequest) ProtoMessage()

func (*WatchRegionRequest) ProtoReflect

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

func (*WatchRegionRequest) Reset

func (m *WatchRegionRequest) Reset()

func (*WatchRegionRequest) SetFieldMask

func (m *WatchRegionRequest) SetFieldMask(fv *region.Region_FieldMask)

func (*WatchRegionRequest) SetName

func (m *WatchRegionRequest) SetName(fv *region.Name)

func (*WatchRegionRequest) SetView

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

func (*WatchRegionRequest) String

func (m *WatchRegionRequest) String() string

func (*WatchRegionRequest) Unmarshal

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

func (*WatchRegionRequest) UnmarshalJSON

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

type WatchRegionResponse

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

A response message of the WatchRegion method.

func (*WatchRegionResponse) Descriptor

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

Deprecated, Use WatchRegionResponse.ProtoReflect.Descriptor instead.

func (*WatchRegionResponse) GetChange

func (m *WatchRegionResponse) GetChange() *region.RegionChange

func (*WatchRegionResponse) GotenMessage

func (*WatchRegionResponse) GotenMessage()

func (*WatchRegionResponse) GotenValidate

func (obj *WatchRegionResponse) GotenValidate() error

func (*WatchRegionResponse) Marshal

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

func (*WatchRegionResponse) MarshalJSON

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

func (*WatchRegionResponse) ProtoMessage

func (*WatchRegionResponse) ProtoMessage()

func (*WatchRegionResponse) ProtoReflect

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

func (*WatchRegionResponse) Reset

func (m *WatchRegionResponse) Reset()

func (*WatchRegionResponse) SetChange

func (m *WatchRegionResponse) SetChange(fv *region.RegionChange)

func (*WatchRegionResponse) String

func (m *WatchRegionResponse) String() string

func (*WatchRegionResponse) Unmarshal

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

func (*WatchRegionResponse) UnmarshalJSON

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

type WatchRegionsClientStream

type WatchRegionsClientStream interface {
	Recv() (*WatchRegionsResponse, error)
	grpc.ClientStream
}

type WatchRegionsDescriptor

type WatchRegionsDescriptor struct{}

func GetWatchRegionsDescriptor

func GetWatchRegionsDescriptor() *WatchRegionsDescriptor

func (*WatchRegionsDescriptor) GetApiDescriptor

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

func (*WatchRegionsDescriptor) GetApiName

func (d *WatchRegionsDescriptor) GetApiName() string

func (*WatchRegionsDescriptor) GetClientMsgReflectHandle

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

func (*WatchRegionsDescriptor) GetFullMethodName

func (d *WatchRegionsDescriptor) GetFullMethodName() string

func (*WatchRegionsDescriptor) GetMethodName

func (d *WatchRegionsDescriptor) GetMethodName() string

func (*WatchRegionsDescriptor) GetProtoPkgName

func (d *WatchRegionsDescriptor) GetProtoPkgName() string

func (*WatchRegionsDescriptor) GetResourceDescriptor

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

func (*WatchRegionsDescriptor) GetServerMsgReflectHandle

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

func (*WatchRegionsDescriptor) GetServiceDomain

func (d *WatchRegionsDescriptor) GetServiceDomain() string

func (*WatchRegionsDescriptor) GetServiceVersion

func (d *WatchRegionsDescriptor) GetServiceVersion() string

func (*WatchRegionsDescriptor) GetVerb

func (d *WatchRegionsDescriptor) GetVerb() string

func (*WatchRegionsDescriptor) HasResource

func (d *WatchRegionsDescriptor) HasResource() bool

func (*WatchRegionsDescriptor) IsClientStream

func (d *WatchRegionsDescriptor) IsClientStream() bool

func (*WatchRegionsDescriptor) IsCollection

func (d *WatchRegionsDescriptor) IsCollection() bool

func (*WatchRegionsDescriptor) IsPlural

func (d *WatchRegionsDescriptor) IsPlural() bool

func (*WatchRegionsDescriptor) IsServerStream

func (d *WatchRegionsDescriptor) IsServerStream() bool

func (*WatchRegionsDescriptor) IsUnary

func (d *WatchRegionsDescriptor) IsUnary() bool

func (*WatchRegionsDescriptor) NewEmptyClientMsg

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

func (*WatchRegionsDescriptor) NewEmptyServerMsg

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

func (*WatchRegionsDescriptor) RequestHasResourceBody

func (d *WatchRegionsDescriptor) RequestHasResourceBody() bool

type WatchRegionsDescriptorClientMsgHandle

type WatchRegionsDescriptorClientMsgHandle struct{}

func (*WatchRegionsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceNames

type WatchRegionsDescriptorServerMsgHandle

type WatchRegionsDescriptorServerMsgHandle struct{}

func (*WatchRegionsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceNames

type WatchRegionsRequest

type WatchRegionsRequest 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 Regions 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 *region.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 *region.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 *region.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 Region that don't affect
	// any of masked fields won't be sent back.
	FieldMask *region.Region_FieldMask `` /* 138-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
	// Region 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 WatchRegions method.

func (*WatchRegionsRequest) Descriptor

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

Deprecated, Use WatchRegionsRequest.ProtoReflect.Descriptor instead.

func (*WatchRegionsRequest) GetFieldMask

func (m *WatchRegionsRequest) GetFieldMask() *region.Region_FieldMask

func (*WatchRegionsRequest) GetFilter

func (m *WatchRegionsRequest) GetFilter() *region.Filter

func (*WatchRegionsRequest) GetMaxChunkSize

func (m *WatchRegionsRequest) GetMaxChunkSize() int32

func (*WatchRegionsRequest) GetOrderBy

func (m *WatchRegionsRequest) GetOrderBy() *region.OrderBy

func (*WatchRegionsRequest) GetPageSize

func (m *WatchRegionsRequest) GetPageSize() int32

func (*WatchRegionsRequest) GetPageToken

func (m *WatchRegionsRequest) GetPageToken() *region.PagerCursor

func (*WatchRegionsRequest) GetResumeToken

func (m *WatchRegionsRequest) GetResumeToken() string

func (*WatchRegionsRequest) GetStartingTime

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

func (*WatchRegionsRequest) GetType

func (*WatchRegionsRequest) GetView

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

func (*WatchRegionsRequest) GotenMessage

func (*WatchRegionsRequest) GotenMessage()

func (*WatchRegionsRequest) GotenValidate

func (obj *WatchRegionsRequest) GotenValidate() error

func (*WatchRegionsRequest) Marshal

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

func (*WatchRegionsRequest) MarshalJSON

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

func (*WatchRegionsRequest) ProtoMessage

func (*WatchRegionsRequest) ProtoMessage()

func (*WatchRegionsRequest) ProtoReflect

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

func (*WatchRegionsRequest) Reset

func (m *WatchRegionsRequest) Reset()

func (*WatchRegionsRequest) SetFieldMask

func (m *WatchRegionsRequest) SetFieldMask(fv *region.Region_FieldMask)

func (*WatchRegionsRequest) SetFilter

func (m *WatchRegionsRequest) SetFilter(fv *region.Filter)

func (*WatchRegionsRequest) SetMaxChunkSize

func (m *WatchRegionsRequest) SetMaxChunkSize(fv int32)

func (*WatchRegionsRequest) SetOrderBy

func (m *WatchRegionsRequest) SetOrderBy(fv *region.OrderBy)

func (*WatchRegionsRequest) SetPageSize

func (m *WatchRegionsRequest) SetPageSize(fv int32)

func (*WatchRegionsRequest) SetPageToken

func (m *WatchRegionsRequest) SetPageToken(fv *region.PagerCursor)

func (*WatchRegionsRequest) SetResumeToken

func (m *WatchRegionsRequest) SetResumeToken(fv string)

func (*WatchRegionsRequest) SetStartingTime

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

func (*WatchRegionsRequest) SetType

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

func (*WatchRegionsRequest) SetView

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

func (*WatchRegionsRequest) String

func (m *WatchRegionsRequest) String() string

func (*WatchRegionsRequest) Unmarshal

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

func (*WatchRegionsRequest) UnmarshalJSON

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

type WatchRegionsResponse

type WatchRegionsResponse struct {

	// Changes of Regions
	RegionChanges []*region.RegionChange `` /* 126-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 Regions 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 *WatchRegionsResponse_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 (Regions 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 WatchRegions method.

func (*WatchRegionsResponse) Descriptor

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

Deprecated, Use WatchRegionsResponse.ProtoReflect.Descriptor instead.

func (*WatchRegionsResponse) GetIsCurrent

func (m *WatchRegionsResponse) GetIsCurrent() bool

func (*WatchRegionsResponse) GetIsHardReset

func (m *WatchRegionsResponse) GetIsHardReset() bool

func (*WatchRegionsResponse) GetIsSoftReset

func (m *WatchRegionsResponse) GetIsSoftReset() bool

func (*WatchRegionsResponse) GetPageTokenChange

func (*WatchRegionsResponse) GetRegionChanges

func (m *WatchRegionsResponse) GetRegionChanges() []*region.RegionChange

func (*WatchRegionsResponse) GetResumeToken

func (m *WatchRegionsResponse) GetResumeToken() string

func (*WatchRegionsResponse) GetSnapshotSize

func (m *WatchRegionsResponse) GetSnapshotSize() int64

func (*WatchRegionsResponse) GotenMessage

func (*WatchRegionsResponse) GotenMessage()

func (*WatchRegionsResponse) GotenValidate

func (obj *WatchRegionsResponse) GotenValidate() error

func (*WatchRegionsResponse) Marshal

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

func (*WatchRegionsResponse) MarshalJSON

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

func (*WatchRegionsResponse) ProtoMessage

func (*WatchRegionsResponse) ProtoMessage()

func (*WatchRegionsResponse) ProtoReflect

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

func (*WatchRegionsResponse) Reset

func (m *WatchRegionsResponse) Reset()

func (*WatchRegionsResponse) SetIsCurrent

func (m *WatchRegionsResponse) SetIsCurrent(fv bool)

func (*WatchRegionsResponse) SetIsHardReset

func (m *WatchRegionsResponse) SetIsHardReset(fv bool)

func (*WatchRegionsResponse) SetIsSoftReset

func (m *WatchRegionsResponse) SetIsSoftReset(fv bool)

func (*WatchRegionsResponse) SetPageTokenChange

func (*WatchRegionsResponse) SetRegionChanges

func (m *WatchRegionsResponse) SetRegionChanges(fv []*region.RegionChange)

func (*WatchRegionsResponse) SetResumeToken

func (m *WatchRegionsResponse) SetResumeToken(fv string)

func (*WatchRegionsResponse) SetSnapshotSize

func (m *WatchRegionsResponse) SetSnapshotSize(fv int64)

func (*WatchRegionsResponse) String

func (m *WatchRegionsResponse) String() string

func (*WatchRegionsResponse) Unmarshal

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

func (*WatchRegionsResponse) UnmarshalJSON

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

type WatchRegionsResponse_PageTokenChange

type WatchRegionsResponse_PageTokenChange struct {

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

func (*WatchRegionsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchRegionsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchRegionsResponse_PageTokenChange) GetNextPageToken

func (*WatchRegionsResponse_PageTokenChange) GetPrevPageToken

func (*WatchRegionsResponse_PageTokenChange) GotenMessage

func (*WatchRegionsResponse_PageTokenChange) GotenMessage()

func (*WatchRegionsResponse_PageTokenChange) GotenValidate

func (obj *WatchRegionsResponse_PageTokenChange) GotenValidate() error

func (*WatchRegionsResponse_PageTokenChange) Marshal

func (*WatchRegionsResponse_PageTokenChange) MarshalJSON

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

func (*WatchRegionsResponse_PageTokenChange) ProtoMessage

func (*WatchRegionsResponse_PageTokenChange) ProtoMessage()

func (*WatchRegionsResponse_PageTokenChange) ProtoReflect

func (*WatchRegionsResponse_PageTokenChange) Reset

func (*WatchRegionsResponse_PageTokenChange) SetNextPageToken

func (m *WatchRegionsResponse_PageTokenChange) SetNextPageToken(fv *region.PagerCursor)

func (*WatchRegionsResponse_PageTokenChange) SetPrevPageToken

func (m *WatchRegionsResponse_PageTokenChange) SetPrevPageToken(fv *region.PagerCursor)

func (*WatchRegionsResponse_PageTokenChange) String

func (*WatchRegionsResponse_PageTokenChange) Unmarshal

func (*WatchRegionsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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