region_client

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRegionsDescriptor added in v0.4.28

type BatchGetRegionsDescriptor struct{}

func GetBatchGetRegionsDescriptor added in v0.4.28

func GetBatchGetRegionsDescriptor() *BatchGetRegionsDescriptor

func (*BatchGetRegionsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*BatchGetRegionsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetApiName() string

func (*BatchGetRegionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetRegionsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetFullMethodName() string

func (*BatchGetRegionsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetMethodName() string

func (*BatchGetRegionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetProtoPkgName() string

func (*BatchGetRegionsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*BatchGetRegionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetRegionsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetServiceDomain() string

func (*BatchGetRegionsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetServiceVersion() string

func (*BatchGetRegionsDescriptor) GetVerb added in v0.4.28

func (d *BatchGetRegionsDescriptor) GetVerb() string

func (*BatchGetRegionsDescriptor) HasResource added in v0.4.30

func (d *BatchGetRegionsDescriptor) HasResource() bool

func (*BatchGetRegionsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetRegionsDescriptor) IsClientStream() bool

func (*BatchGetRegionsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetRegionsDescriptor) IsCollection() bool

func (*BatchGetRegionsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetRegionsDescriptor) IsPlural() bool

func (*BatchGetRegionsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetRegionsDescriptor) IsServerStream() bool

func (*BatchGetRegionsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetRegionsDescriptor) IsUnary() bool

func (*BatchGetRegionsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetRegionsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetRegionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetRegionsDescriptor) RequestHasResourceBody() bool

type BatchGetRegionsDescriptorClientMsgHandle added in v0.4.28

type BatchGetRegionsDescriptorClientMsgHandle struct{}

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetRegionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetRegionsDescriptorServerMsgHandle added in v0.4.28

type BatchGetRegionsDescriptorServerMsgHandle struct{}

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetRegionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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 GetRegionDescriptor added in v0.4.28

type GetRegionDescriptor struct{}

func GetGetRegionDescriptor added in v0.4.28

func GetGetRegionDescriptor() *GetRegionDescriptor

func (*GetRegionDescriptor) GetApiDescriptor added in v0.4.28

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

func (*GetRegionDescriptor) GetApiName added in v0.4.28

func (d *GetRegionDescriptor) GetApiName() string

func (*GetRegionDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetRegionDescriptor) GetFullMethodName added in v0.4.28

func (d *GetRegionDescriptor) GetFullMethodName() string

func (*GetRegionDescriptor) GetMethodName added in v0.4.28

func (d *GetRegionDescriptor) GetMethodName() string

func (*GetRegionDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetRegionDescriptor) GetProtoPkgName() string

func (*GetRegionDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetRegionDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetRegionDescriptor) GetServiceDomain added in v0.4.28

func (d *GetRegionDescriptor) GetServiceDomain() string

func (*GetRegionDescriptor) GetServiceVersion added in v0.4.28

func (d *GetRegionDescriptor) GetServiceVersion() string

func (*GetRegionDescriptor) GetVerb added in v0.4.28

func (d *GetRegionDescriptor) GetVerb() string

func (*GetRegionDescriptor) HasResource added in v0.4.30

func (d *GetRegionDescriptor) HasResource() bool

func (*GetRegionDescriptor) IsClientStream added in v0.4.28

func (d *GetRegionDescriptor) IsClientStream() bool

func (*GetRegionDescriptor) IsCollection added in v0.4.30

func (d *GetRegionDescriptor) IsCollection() bool

func (*GetRegionDescriptor) IsPlural added in v0.4.30

func (d *GetRegionDescriptor) IsPlural() bool

func (*GetRegionDescriptor) IsServerStream added in v0.4.28

func (d *GetRegionDescriptor) IsServerStream() bool

func (*GetRegionDescriptor) IsUnary added in v0.4.28

func (d *GetRegionDescriptor) IsUnary() bool

func (*GetRegionDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetRegionDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetRegionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetRegionDescriptor) RequestHasResourceBody() bool

type GetRegionDescriptorClientMsgHandle added in v0.4.28

type GetRegionDescriptorClientMsgHandle struct{}

func (*GetRegionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetRegionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetRegionDescriptorServerMsgHandle added in v0.4.28

type GetRegionDescriptorServerMsgHandle struct{}

func (*GetRegionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetRegionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetRegionRequest

type GetRegionRequest struct {

	// Name of ntt.meta.v1alpha2.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 added in v0.4.28

type ListRegionsDescriptor struct{}

func GetListRegionsDescriptor added in v0.4.28

func GetListRegionsDescriptor() *ListRegionsDescriptor

func (*ListRegionsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListRegionsDescriptor) GetApiName added in v0.4.28

func (d *ListRegionsDescriptor) GetApiName() string

func (*ListRegionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListRegionsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListRegionsDescriptor) GetFullMethodName() string

func (*ListRegionsDescriptor) GetMethodName added in v0.4.28

func (d *ListRegionsDescriptor) GetMethodName() string

func (*ListRegionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListRegionsDescriptor) GetProtoPkgName() string

func (*ListRegionsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListRegionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListRegionsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListRegionsDescriptor) GetServiceDomain() string

func (*ListRegionsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListRegionsDescriptor) GetServiceVersion() string

func (*ListRegionsDescriptor) GetVerb added in v0.4.28

func (d *ListRegionsDescriptor) GetVerb() string

func (*ListRegionsDescriptor) HasResource added in v0.4.30

func (d *ListRegionsDescriptor) HasResource() bool

func (*ListRegionsDescriptor) IsClientStream added in v0.4.28

func (d *ListRegionsDescriptor) IsClientStream() bool

func (*ListRegionsDescriptor) IsCollection added in v0.4.30

func (d *ListRegionsDescriptor) IsCollection() bool

func (*ListRegionsDescriptor) IsPlural added in v0.4.30

func (d *ListRegionsDescriptor) IsPlural() bool

func (*ListRegionsDescriptor) IsServerStream added in v0.4.28

func (d *ListRegionsDescriptor) IsServerStream() bool

func (*ListRegionsDescriptor) IsUnary added in v0.4.28

func (d *ListRegionsDescriptor) IsUnary() bool

func (*ListRegionsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListRegionsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListRegionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListRegionsDescriptor) RequestHasResourceBody() bool

type ListRegionsDescriptorClientMsgHandle added in v0.4.28

type ListRegionsDescriptorClientMsgHandle struct{}

func (*ListRegionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListRegionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListRegionsDescriptorServerMsgHandle added in v0.4.28

type ListRegionsDescriptorServerMsgHandle struct{}

func (*ListRegionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListRegionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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

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 added in v0.4.28

type RegionServiceDescriptor struct{}

func GetRegionServiceDescriptor added in v0.4.28

func GetRegionServiceDescriptor() *RegionServiceDescriptor

func (*RegionServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*RegionServiceDescriptor) GetApiName added in v0.4.28

func (d *RegionServiceDescriptor) GetApiName() string

func (*RegionServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *RegionServiceDescriptor) GetFullAPIName() string

func (*RegionServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *RegionServiceDescriptor) GetProtoPkgName() string

func (*RegionServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *RegionServiceDescriptor) GetServiceDomain() string

func (*RegionServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *RegionServiceDescriptor) GetServiceVersion() string

type WatchRegionClientStream

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

type WatchRegionDescriptor added in v0.4.28

type WatchRegionDescriptor struct{}

func GetWatchRegionDescriptor added in v0.4.28

func GetWatchRegionDescriptor() *WatchRegionDescriptor

func (*WatchRegionDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchRegionDescriptor) GetApiName added in v0.4.28

func (d *WatchRegionDescriptor) GetApiName() string

func (*WatchRegionDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchRegionDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchRegionDescriptor) GetFullMethodName() string

func (*WatchRegionDescriptor) GetMethodName added in v0.4.28

func (d *WatchRegionDescriptor) GetMethodName() string

func (*WatchRegionDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchRegionDescriptor) GetProtoPkgName() string

func (*WatchRegionDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchRegionDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchRegionDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchRegionDescriptor) GetServiceDomain() string

func (*WatchRegionDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchRegionDescriptor) GetServiceVersion() string

func (*WatchRegionDescriptor) GetVerb added in v0.4.28

func (d *WatchRegionDescriptor) GetVerb() string

func (*WatchRegionDescriptor) HasResource added in v0.4.30

func (d *WatchRegionDescriptor) HasResource() bool

func (*WatchRegionDescriptor) IsClientStream added in v0.4.28

func (d *WatchRegionDescriptor) IsClientStream() bool

func (*WatchRegionDescriptor) IsCollection added in v0.4.30

func (d *WatchRegionDescriptor) IsCollection() bool

func (*WatchRegionDescriptor) IsPlural added in v0.4.30

func (d *WatchRegionDescriptor) IsPlural() bool

func (*WatchRegionDescriptor) IsServerStream added in v0.4.28

func (d *WatchRegionDescriptor) IsServerStream() bool

func (*WatchRegionDescriptor) IsUnary added in v0.4.28

func (d *WatchRegionDescriptor) IsUnary() bool

func (*WatchRegionDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchRegionDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchRegionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchRegionDescriptor) RequestHasResourceBody() bool

type WatchRegionDescriptorClientMsgHandle added in v0.4.28

type WatchRegionDescriptorClientMsgHandle struct{}

func (*WatchRegionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRegionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRegionDescriptorServerMsgHandle added in v0.4.28

type WatchRegionDescriptorServerMsgHandle struct{}

func (*WatchRegionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRegionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRegionRequest

type WatchRegionRequest struct {

	// Name of ntt.meta.v1alpha2.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 added in v0.4.28

type WatchRegionsDescriptor struct{}

func GetWatchRegionsDescriptor added in v0.4.28

func GetWatchRegionsDescriptor() *WatchRegionsDescriptor

func (*WatchRegionsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchRegionsDescriptor) GetApiName added in v0.4.28

func (d *WatchRegionsDescriptor) GetApiName() string

func (*WatchRegionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchRegionsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchRegionsDescriptor) GetFullMethodName() string

func (*WatchRegionsDescriptor) GetMethodName added in v0.4.28

func (d *WatchRegionsDescriptor) GetMethodName() string

func (*WatchRegionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchRegionsDescriptor) GetProtoPkgName() string

func (*WatchRegionsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchRegionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchRegionsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchRegionsDescriptor) GetServiceDomain() string

func (*WatchRegionsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchRegionsDescriptor) GetServiceVersion() string

func (*WatchRegionsDescriptor) GetVerb added in v0.4.28

func (d *WatchRegionsDescriptor) GetVerb() string

func (*WatchRegionsDescriptor) HasResource added in v0.4.30

func (d *WatchRegionsDescriptor) HasResource() bool

func (*WatchRegionsDescriptor) IsClientStream added in v0.4.28

func (d *WatchRegionsDescriptor) IsClientStream() bool

func (*WatchRegionsDescriptor) IsCollection added in v0.4.30

func (d *WatchRegionsDescriptor) IsCollection() bool

func (*WatchRegionsDescriptor) IsPlural added in v0.4.30

func (d *WatchRegionsDescriptor) IsPlural() bool

func (*WatchRegionsDescriptor) IsServerStream added in v0.4.28

func (d *WatchRegionsDescriptor) IsServerStream() bool

func (*WatchRegionsDescriptor) IsUnary added in v0.4.28

func (d *WatchRegionsDescriptor) IsUnary() bool

func (*WatchRegionsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchRegionsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchRegionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchRegionsDescriptor) RequestHasResourceBody() bool

type WatchRegionsDescriptorClientMsgHandle added in v0.4.28

type WatchRegionsDescriptorClientMsgHandle struct{}

func (*WatchRegionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRegionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRegionsDescriptorServerMsgHandle added in v0.4.28

type WatchRegionsDescriptorServerMsgHandle struct{}

func (*WatchRegionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRegionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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 added in v0.9.0

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 added in v0.9.0

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