resource_client

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetResourcesDescriptor

type BatchGetResourcesDescriptor struct{}

func GetBatchGetResourcesDescriptor

func GetBatchGetResourcesDescriptor() *BatchGetResourcesDescriptor

func (*BatchGetResourcesDescriptor) GetApiDescriptor

func (*BatchGetResourcesDescriptor) GetApiName

func (d *BatchGetResourcesDescriptor) GetApiName() string

func (*BatchGetResourcesDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetResourcesDescriptor) GetFullMethodName

func (d *BatchGetResourcesDescriptor) GetFullMethodName() string

func (*BatchGetResourcesDescriptor) GetMethodName

func (d *BatchGetResourcesDescriptor) GetMethodName() string

func (*BatchGetResourcesDescriptor) GetProtoPkgName

func (d *BatchGetResourcesDescriptor) GetProtoPkgName() string

func (*BatchGetResourcesDescriptor) GetResourceDescriptor

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

func (*BatchGetResourcesDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetResourcesDescriptor) GetServiceDomain

func (d *BatchGetResourcesDescriptor) GetServiceDomain() string

func (*BatchGetResourcesDescriptor) GetServiceVersion

func (d *BatchGetResourcesDescriptor) GetServiceVersion() string

func (*BatchGetResourcesDescriptor) GetVerb

func (d *BatchGetResourcesDescriptor) GetVerb() string

func (*BatchGetResourcesDescriptor) HasResource

func (d *BatchGetResourcesDescriptor) HasResource() bool

func (*BatchGetResourcesDescriptor) IsClientStream

func (d *BatchGetResourcesDescriptor) IsClientStream() bool

func (*BatchGetResourcesDescriptor) IsCollection

func (d *BatchGetResourcesDescriptor) IsCollection() bool

func (*BatchGetResourcesDescriptor) IsPlural

func (d *BatchGetResourcesDescriptor) IsPlural() bool

func (*BatchGetResourcesDescriptor) IsServerStream

func (d *BatchGetResourcesDescriptor) IsServerStream() bool

func (*BatchGetResourcesDescriptor) IsUnary

func (d *BatchGetResourcesDescriptor) IsUnary() bool

func (*BatchGetResourcesDescriptor) NewEmptyClientMsg

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

func (*BatchGetResourcesDescriptor) NewEmptyServerMsg

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

func (*BatchGetResourcesDescriptor) RequestHasResourceBody

func (d *BatchGetResourcesDescriptor) RequestHasResourceBody() bool

type BatchGetResourcesDescriptorClientMsgHandle

type BatchGetResourcesDescriptorClientMsgHandle struct{}

func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetResourcesDescriptorServerMsgHandle

type BatchGetResourcesDescriptorServerMsgHandle struct{}

func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetResourcesRequest

type BatchGetResourcesRequest struct {

	// Names of Resources
	Names []*resource.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 *resource.Resource_FieldMask `` /* 140-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 BatchGetResources method.

func (*BatchGetResourcesRequest) Descriptor

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

Deprecated, Use BatchGetResourcesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetResourcesRequest) GetFieldMask

func (*BatchGetResourcesRequest) GetNames

func (m *BatchGetResourcesRequest) GetNames() []*resource.Name

func (*BatchGetResourcesRequest) GetView

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

func (*BatchGetResourcesRequest) GotenMessage

func (*BatchGetResourcesRequest) GotenMessage()

func (*BatchGetResourcesRequest) GotenValidate

func (obj *BatchGetResourcesRequest) GotenValidate() error

func (*BatchGetResourcesRequest) Marshal

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

func (*BatchGetResourcesRequest) MarshalJSON

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

func (*BatchGetResourcesRequest) ProtoMessage

func (*BatchGetResourcesRequest) ProtoMessage()

func (*BatchGetResourcesRequest) ProtoReflect

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

func (*BatchGetResourcesRequest) Reset

func (m *BatchGetResourcesRequest) Reset()

func (*BatchGetResourcesRequest) SetFieldMask

func (*BatchGetResourcesRequest) SetNames

func (m *BatchGetResourcesRequest) SetNames(fv []*resource.Name)

func (*BatchGetResourcesRequest) SetView

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

func (*BatchGetResourcesRequest) String

func (m *BatchGetResourcesRequest) String() string

func (*BatchGetResourcesRequest) Unmarshal

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

func (*BatchGetResourcesRequest) UnmarshalJSON

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

type BatchGetResourcesResponse

type BatchGetResourcesResponse struct {

	// found Resources
	Resources []*resource.Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty" firestore:"resources"`
	// list of not found Resources
	Missing []*resource.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 BatchGetResources method.

func (*BatchGetResourcesResponse) Descriptor

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

Deprecated, Use BatchGetResourcesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetResourcesResponse) GetMissing

func (m *BatchGetResourcesResponse) GetMissing() []*resource.Name

func (*BatchGetResourcesResponse) GetResources

func (m *BatchGetResourcesResponse) GetResources() []*resource.Resource

func (*BatchGetResourcesResponse) GotenMessage

func (*BatchGetResourcesResponse) GotenMessage()

func (*BatchGetResourcesResponse) GotenValidate

func (obj *BatchGetResourcesResponse) GotenValidate() error

func (*BatchGetResourcesResponse) Marshal

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

func (*BatchGetResourcesResponse) MarshalJSON

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

func (*BatchGetResourcesResponse) ProtoMessage

func (*BatchGetResourcesResponse) ProtoMessage()

func (*BatchGetResourcesResponse) ProtoReflect

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

func (*BatchGetResourcesResponse) Reset

func (m *BatchGetResourcesResponse) Reset()

func (*BatchGetResourcesResponse) SetMissing

func (m *BatchGetResourcesResponse) SetMissing(fv []*resource.Name)

func (*BatchGetResourcesResponse) SetResources

func (m *BatchGetResourcesResponse) SetResources(fv []*resource.Resource)

func (*BatchGetResourcesResponse) String

func (m *BatchGetResourcesResponse) String() string

func (*BatchGetResourcesResponse) Unmarshal

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

func (*BatchGetResourcesResponse) UnmarshalJSON

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

type CreateResourceDescriptor

type CreateResourceDescriptor struct{}

func GetCreateResourceDescriptor

func GetCreateResourceDescriptor() *CreateResourceDescriptor

func (*CreateResourceDescriptor) GetApiDescriptor

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

func (*CreateResourceDescriptor) GetApiName

func (d *CreateResourceDescriptor) GetApiName() string

func (*CreateResourceDescriptor) GetClientMsgReflectHandle

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

func (*CreateResourceDescriptor) GetFullMethodName

func (d *CreateResourceDescriptor) GetFullMethodName() string

func (*CreateResourceDescriptor) GetMethodName

func (d *CreateResourceDescriptor) GetMethodName() string

func (*CreateResourceDescriptor) GetProtoPkgName

func (d *CreateResourceDescriptor) GetProtoPkgName() string

func (*CreateResourceDescriptor) GetResourceDescriptor

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

func (*CreateResourceDescriptor) GetServerMsgReflectHandle

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

func (*CreateResourceDescriptor) GetServiceDomain

func (d *CreateResourceDescriptor) GetServiceDomain() string

func (*CreateResourceDescriptor) GetServiceVersion

func (d *CreateResourceDescriptor) GetServiceVersion() string

func (*CreateResourceDescriptor) GetVerb

func (d *CreateResourceDescriptor) GetVerb() string

func (*CreateResourceDescriptor) HasResource

func (d *CreateResourceDescriptor) HasResource() bool

func (*CreateResourceDescriptor) IsClientStream

func (d *CreateResourceDescriptor) IsClientStream() bool

func (*CreateResourceDescriptor) IsCollection

func (d *CreateResourceDescriptor) IsCollection() bool

func (*CreateResourceDescriptor) IsPlural

func (d *CreateResourceDescriptor) IsPlural() bool

func (*CreateResourceDescriptor) IsServerStream

func (d *CreateResourceDescriptor) IsServerStream() bool

func (*CreateResourceDescriptor) IsUnary

func (d *CreateResourceDescriptor) IsUnary() bool

func (*CreateResourceDescriptor) NewEmptyClientMsg

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

func (*CreateResourceDescriptor) NewEmptyServerMsg

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

func (*CreateResourceDescriptor) RequestHasResourceBody

func (d *CreateResourceDescriptor) RequestHasResourceBody() bool

type CreateResourceDescriptorClientMsgHandle

type CreateResourceDescriptorClientMsgHandle struct{}

func (*CreateResourceDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceName

func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceNames

type CreateResourceDescriptorServerMsgHandle

type CreateResourceDescriptorServerMsgHandle struct{}

func (*CreateResourceDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceName

func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceNames

type CreateResourceRequest

type CreateResourceRequest struct {

	// Parent name of goten.meta.v1.Resource
	Parent *resource.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Resource resource body
	Resource *resource.Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// contains filtered or unexported fields
}

A request message of the CreateResource method.

func (*CreateResourceRequest) Descriptor

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

Deprecated, Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetParent

func (m *CreateResourceRequest) GetParent() *resource.ParentName

func (*CreateResourceRequest) GetResource

func (m *CreateResourceRequest) GetResource() *resource.Resource

func (*CreateResourceRequest) GotenMessage

func (*CreateResourceRequest) GotenMessage()

func (*CreateResourceRequest) GotenValidate

func (obj *CreateResourceRequest) GotenValidate() error

func (*CreateResourceRequest) Marshal

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

func (*CreateResourceRequest) MarshalJSON

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

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (m *CreateResourceRequest) Reset()

func (*CreateResourceRequest) SetParent

func (m *CreateResourceRequest) SetParent(fv *resource.ParentName)

func (*CreateResourceRequest) SetResource

func (m *CreateResourceRequest) SetResource(fv *resource.Resource)

func (*CreateResourceRequest) String

func (m *CreateResourceRequest) String() string

func (*CreateResourceRequest) Unmarshal

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

func (*CreateResourceRequest) UnmarshalJSON

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

type DeleteResourceDescriptor

type DeleteResourceDescriptor struct{}

func GetDeleteResourceDescriptor

func GetDeleteResourceDescriptor() *DeleteResourceDescriptor

func (*DeleteResourceDescriptor) GetApiDescriptor

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

func (*DeleteResourceDescriptor) GetApiName

func (d *DeleteResourceDescriptor) GetApiName() string

func (*DeleteResourceDescriptor) GetClientMsgReflectHandle

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

func (*DeleteResourceDescriptor) GetFullMethodName

func (d *DeleteResourceDescriptor) GetFullMethodName() string

func (*DeleteResourceDescriptor) GetMethodName

func (d *DeleteResourceDescriptor) GetMethodName() string

func (*DeleteResourceDescriptor) GetProtoPkgName

func (d *DeleteResourceDescriptor) GetProtoPkgName() string

func (*DeleteResourceDescriptor) GetResourceDescriptor

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

func (*DeleteResourceDescriptor) GetServerMsgReflectHandle

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

func (*DeleteResourceDescriptor) GetServiceDomain

func (d *DeleteResourceDescriptor) GetServiceDomain() string

func (*DeleteResourceDescriptor) GetServiceVersion

func (d *DeleteResourceDescriptor) GetServiceVersion() string

func (*DeleteResourceDescriptor) GetVerb

func (d *DeleteResourceDescriptor) GetVerb() string

func (*DeleteResourceDescriptor) HasResource

func (d *DeleteResourceDescriptor) HasResource() bool

func (*DeleteResourceDescriptor) IsClientStream

func (d *DeleteResourceDescriptor) IsClientStream() bool

func (*DeleteResourceDescriptor) IsCollection

func (d *DeleteResourceDescriptor) IsCollection() bool

func (*DeleteResourceDescriptor) IsPlural

func (d *DeleteResourceDescriptor) IsPlural() bool

func (*DeleteResourceDescriptor) IsServerStream

func (d *DeleteResourceDescriptor) IsServerStream() bool

func (*DeleteResourceDescriptor) IsUnary

func (d *DeleteResourceDescriptor) IsUnary() bool

func (*DeleteResourceDescriptor) NewEmptyClientMsg

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

func (*DeleteResourceDescriptor) NewEmptyServerMsg

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

func (*DeleteResourceDescriptor) RequestHasResourceBody

func (d *DeleteResourceDescriptor) RequestHasResourceBody() bool

type DeleteResourceDescriptorClientMsgHandle

type DeleteResourceDescriptorClientMsgHandle struct{}

func (*DeleteResourceDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceNames

type DeleteResourceDescriptorServerMsgHandle

type DeleteResourceDescriptorServerMsgHandle struct{}

func (*DeleteResourceDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceNames

type DeleteResourceRequest

type DeleteResourceRequest struct {

	// Name of goten.meta.v1.Resource
	Name *resource.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 DeleteResource method.

func (*DeleteResourceRequest) Descriptor

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

Deprecated, Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetName

func (m *DeleteResourceRequest) GetName() *resource.Name

func (*DeleteResourceRequest) GotenMessage

func (*DeleteResourceRequest) GotenMessage()

func (*DeleteResourceRequest) GotenValidate

func (obj *DeleteResourceRequest) GotenValidate() error

func (*DeleteResourceRequest) Marshal

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

func (*DeleteResourceRequest) MarshalJSON

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

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (m *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) SetName

func (m *DeleteResourceRequest) SetName(fv *resource.Name)

func (*DeleteResourceRequest) String

func (m *DeleteResourceRequest) String() string

func (*DeleteResourceRequest) Unmarshal

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

func (*DeleteResourceRequest) UnmarshalJSON

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

type GetResourceDescriptor

type GetResourceDescriptor struct{}

func GetGetResourceDescriptor

func GetGetResourceDescriptor() *GetResourceDescriptor

func (*GetResourceDescriptor) GetApiDescriptor

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

func (*GetResourceDescriptor) GetApiName

func (d *GetResourceDescriptor) GetApiName() string

func (*GetResourceDescriptor) GetClientMsgReflectHandle

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

func (*GetResourceDescriptor) GetFullMethodName

func (d *GetResourceDescriptor) GetFullMethodName() string

func (*GetResourceDescriptor) GetMethodName

func (d *GetResourceDescriptor) GetMethodName() string

func (*GetResourceDescriptor) GetProtoPkgName

func (d *GetResourceDescriptor) GetProtoPkgName() string

func (*GetResourceDescriptor) GetResourceDescriptor

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

func (*GetResourceDescriptor) GetServerMsgReflectHandle

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

func (*GetResourceDescriptor) GetServiceDomain

func (d *GetResourceDescriptor) GetServiceDomain() string

func (*GetResourceDescriptor) GetServiceVersion

func (d *GetResourceDescriptor) GetServiceVersion() string

func (*GetResourceDescriptor) GetVerb

func (d *GetResourceDescriptor) GetVerb() string

func (*GetResourceDescriptor) HasResource

func (d *GetResourceDescriptor) HasResource() bool

func (*GetResourceDescriptor) IsClientStream

func (d *GetResourceDescriptor) IsClientStream() bool

func (*GetResourceDescriptor) IsCollection

func (d *GetResourceDescriptor) IsCollection() bool

func (*GetResourceDescriptor) IsPlural

func (d *GetResourceDescriptor) IsPlural() bool

func (*GetResourceDescriptor) IsServerStream

func (d *GetResourceDescriptor) IsServerStream() bool

func (*GetResourceDescriptor) IsUnary

func (d *GetResourceDescriptor) IsUnary() bool

func (*GetResourceDescriptor) NewEmptyClientMsg

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

func (*GetResourceDescriptor) NewEmptyServerMsg

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

func (*GetResourceDescriptor) RequestHasResourceBody

func (d *GetResourceDescriptor) RequestHasResourceBody() bool

type GetResourceDescriptorClientMsgHandle

type GetResourceDescriptorClientMsgHandle struct{}

func (*GetResourceDescriptorClientMsgHandle) ExtractCollectionName

func (*GetResourceDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetResourceDescriptorClientMsgHandle) ExtractResourceBody

func (*GetResourceDescriptorClientMsgHandle) ExtractResourceName

func (*GetResourceDescriptorClientMsgHandle) ExtractResourceNames

type GetResourceDescriptorServerMsgHandle

type GetResourceDescriptorServerMsgHandle struct{}

func (*GetResourceDescriptorServerMsgHandle) ExtractCollectionName

func (*GetResourceDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetResourceDescriptorServerMsgHandle) ExtractResourceBody

func (*GetResourceDescriptorServerMsgHandle) ExtractResourceName

func (*GetResourceDescriptorServerMsgHandle) ExtractResourceNames

type GetResourceRequest

type GetResourceRequest struct {

	// Name of goten.meta.v1.Resource
	Name *resource.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 *resource.Resource_FieldMask `` /* 140-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 GetResource method.

func (*GetResourceRequest) Descriptor

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

Deprecated, Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetFieldMask

func (m *GetResourceRequest) GetFieldMask() *resource.Resource_FieldMask

func (*GetResourceRequest) GetName

func (m *GetResourceRequest) GetName() *resource.Name

func (*GetResourceRequest) GetView

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

func (*GetResourceRequest) GotenMessage

func (*GetResourceRequest) GotenMessage()

func (*GetResourceRequest) GotenValidate

func (obj *GetResourceRequest) GotenValidate() error

func (*GetResourceRequest) Marshal

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

func (*GetResourceRequest) MarshalJSON

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

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (m *GetResourceRequest) Reset()

func (*GetResourceRequest) SetFieldMask

func (m *GetResourceRequest) SetFieldMask(fv *resource.Resource_FieldMask)

func (*GetResourceRequest) SetName

func (m *GetResourceRequest) SetName(fv *resource.Name)

func (*GetResourceRequest) SetView

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

func (*GetResourceRequest) String

func (m *GetResourceRequest) String() string

func (*GetResourceRequest) Unmarshal

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

func (*GetResourceRequest) UnmarshalJSON

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

type ListResourcesDescriptor

type ListResourcesDescriptor struct{}

func GetListResourcesDescriptor

func GetListResourcesDescriptor() *ListResourcesDescriptor

func (*ListResourcesDescriptor) GetApiDescriptor

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

func (*ListResourcesDescriptor) GetApiName

func (d *ListResourcesDescriptor) GetApiName() string

func (*ListResourcesDescriptor) GetClientMsgReflectHandle

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

func (*ListResourcesDescriptor) GetFullMethodName

func (d *ListResourcesDescriptor) GetFullMethodName() string

func (*ListResourcesDescriptor) GetMethodName

func (d *ListResourcesDescriptor) GetMethodName() string

func (*ListResourcesDescriptor) GetProtoPkgName

func (d *ListResourcesDescriptor) GetProtoPkgName() string

func (*ListResourcesDescriptor) GetResourceDescriptor

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

func (*ListResourcesDescriptor) GetServerMsgReflectHandle

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

func (*ListResourcesDescriptor) GetServiceDomain

func (d *ListResourcesDescriptor) GetServiceDomain() string

func (*ListResourcesDescriptor) GetServiceVersion

func (d *ListResourcesDescriptor) GetServiceVersion() string

func (*ListResourcesDescriptor) GetVerb

func (d *ListResourcesDescriptor) GetVerb() string

func (*ListResourcesDescriptor) HasResource

func (d *ListResourcesDescriptor) HasResource() bool

func (*ListResourcesDescriptor) IsClientStream

func (d *ListResourcesDescriptor) IsClientStream() bool

func (*ListResourcesDescriptor) IsCollection

func (d *ListResourcesDescriptor) IsCollection() bool

func (*ListResourcesDescriptor) IsPlural

func (d *ListResourcesDescriptor) IsPlural() bool

func (*ListResourcesDescriptor) IsServerStream

func (d *ListResourcesDescriptor) IsServerStream() bool

func (*ListResourcesDescriptor) IsUnary

func (d *ListResourcesDescriptor) IsUnary() bool

func (*ListResourcesDescriptor) NewEmptyClientMsg

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

func (*ListResourcesDescriptor) NewEmptyServerMsg

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

func (*ListResourcesDescriptor) RequestHasResourceBody

func (d *ListResourcesDescriptor) RequestHasResourceBody() bool

type ListResourcesDescriptorClientMsgHandle

type ListResourcesDescriptorClientMsgHandle struct{}

func (*ListResourcesDescriptorClientMsgHandle) ExtractCollectionName

func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceName

func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceNames

type ListResourcesDescriptorServerMsgHandle

type ListResourcesDescriptorServerMsgHandle struct{}

func (*ListResourcesDescriptorServerMsgHandle) ExtractCollectionName

func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceName

func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceNames

type ListResourcesRequest

type ListResourcesRequest struct {

	// Parent name of goten.meta.v1.Resource
	Parent *resource.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Resources 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
	// ListResourcesResponse.next_page_token.
	PageToken *resource.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 *resource.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 *resource.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 *resource.Resource_FieldMask `` /* 140-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 ListResources method.

func (*ListResourcesRequest) Descriptor

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

Deprecated, Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetFieldMask

func (*ListResourcesRequest) GetFilter

func (m *ListResourcesRequest) GetFilter() *resource.Filter

func (*ListResourcesRequest) GetIncludePagingInfo

func (m *ListResourcesRequest) GetIncludePagingInfo() bool

func (*ListResourcesRequest) GetOrderBy

func (m *ListResourcesRequest) GetOrderBy() *resource.OrderBy

func (*ListResourcesRequest) GetPageSize

func (m *ListResourcesRequest) GetPageSize() int32

func (*ListResourcesRequest) GetPageToken

func (m *ListResourcesRequest) GetPageToken() *resource.PagerCursor

func (*ListResourcesRequest) GetParent

func (m *ListResourcesRequest) GetParent() *resource.ParentName

func (*ListResourcesRequest) GetView

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

func (*ListResourcesRequest) GotenMessage

func (*ListResourcesRequest) GotenMessage()

func (*ListResourcesRequest) GotenValidate

func (obj *ListResourcesRequest) GotenValidate() error

func (*ListResourcesRequest) Marshal

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

func (*ListResourcesRequest) MarshalJSON

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

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (m *ListResourcesRequest) Reset()

func (*ListResourcesRequest) SetFieldMask

func (m *ListResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)

func (*ListResourcesRequest) SetFilter

func (m *ListResourcesRequest) SetFilter(fv *resource.Filter)

func (*ListResourcesRequest) SetIncludePagingInfo

func (m *ListResourcesRequest) SetIncludePagingInfo(fv bool)

func (*ListResourcesRequest) SetOrderBy

func (m *ListResourcesRequest) SetOrderBy(fv *resource.OrderBy)

func (*ListResourcesRequest) SetPageSize

func (m *ListResourcesRequest) SetPageSize(fv int32)

func (*ListResourcesRequest) SetPageToken

func (m *ListResourcesRequest) SetPageToken(fv *resource.PagerCursor)

func (*ListResourcesRequest) SetParent

func (m *ListResourcesRequest) SetParent(fv *resource.ParentName)

func (*ListResourcesRequest) SetView

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

func (*ListResourcesRequest) String

func (m *ListResourcesRequest) String() string

func (*ListResourcesRequest) Unmarshal

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

func (*ListResourcesRequest) UnmarshalJSON

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

type ListResourcesResponse

type ListResourcesResponse struct {

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

func (*ListResourcesResponse) Descriptor

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

Deprecated, Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetCurrentOffset

func (m *ListResourcesResponse) GetCurrentOffset() int32

func (*ListResourcesResponse) GetNextPageToken

func (m *ListResourcesResponse) GetNextPageToken() *resource.PagerCursor

func (*ListResourcesResponse) GetPrevPageToken

func (m *ListResourcesResponse) GetPrevPageToken() *resource.PagerCursor

func (*ListResourcesResponse) GetResources

func (m *ListResourcesResponse) GetResources() []*resource.Resource

func (*ListResourcesResponse) GetTotalResultsCount

func (m *ListResourcesResponse) GetTotalResultsCount() int32

func (*ListResourcesResponse) GotenMessage

func (*ListResourcesResponse) GotenMessage()

func (*ListResourcesResponse) GotenValidate

func (obj *ListResourcesResponse) GotenValidate() error

func (*ListResourcesResponse) Marshal

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

func (*ListResourcesResponse) MarshalJSON

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

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (m *ListResourcesResponse) Reset()

func (*ListResourcesResponse) SetCurrentOffset

func (m *ListResourcesResponse) SetCurrentOffset(fv int32)

func (*ListResourcesResponse) SetNextPageToken

func (m *ListResourcesResponse) SetNextPageToken(fv *resource.PagerCursor)

func (*ListResourcesResponse) SetPrevPageToken

func (m *ListResourcesResponse) SetPrevPageToken(fv *resource.PagerCursor)

func (*ListResourcesResponse) SetResources

func (m *ListResourcesResponse) SetResources(fv []*resource.Resource)

func (*ListResourcesResponse) SetTotalResultsCount

func (m *ListResourcesResponse) SetTotalResultsCount(fv int32)

func (*ListResourcesResponse) String

func (m *ListResourcesResponse) String() string

func (*ListResourcesResponse) Unmarshal

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

func (*ListResourcesResponse) UnmarshalJSON

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

type ResourceServiceClient

type ResourceServiceClient interface {
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*resource.Resource, error)
	BatchGetResources(ctx context.Context, in *BatchGetResourcesRequest, opts ...grpc.CallOption) (*BatchGetResourcesResponse, error)
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	WatchResource(ctx context.Context, in *WatchResourceRequest, opts ...grpc.CallOption) (WatchResourceClientStream, error)
	WatchResources(ctx context.Context, in *WatchResourcesRequest, opts ...grpc.CallOption) (WatchResourcesClientStream, error)
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*resource.Resource, error)
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*resource.Resource, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ResourceServiceClient is the client API for ResourceService.

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

type ResourceServiceDescriptor

type ResourceServiceDescriptor struct{}

func GetResourceServiceDescriptor

func GetResourceServiceDescriptor() *ResourceServiceDescriptor

func (*ResourceServiceDescriptor) AllMethodDescriptors

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

func (*ResourceServiceDescriptor) GetApiName

func (d *ResourceServiceDescriptor) GetApiName() string

func (*ResourceServiceDescriptor) GetFullAPIName

func (d *ResourceServiceDescriptor) GetFullAPIName() string

func (*ResourceServiceDescriptor) GetProtoPkgName

func (d *ResourceServiceDescriptor) GetProtoPkgName() string

func (*ResourceServiceDescriptor) GetServiceDomain

func (d *ResourceServiceDescriptor) GetServiceDomain() string

func (*ResourceServiceDescriptor) GetServiceVersion

func (d *ResourceServiceDescriptor) GetServiceVersion() string

type UpdateResourceDescriptor

type UpdateResourceDescriptor struct{}

func GetUpdateResourceDescriptor

func GetUpdateResourceDescriptor() *UpdateResourceDescriptor

func (*UpdateResourceDescriptor) GetApiDescriptor

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

func (*UpdateResourceDescriptor) GetApiName

func (d *UpdateResourceDescriptor) GetApiName() string

func (*UpdateResourceDescriptor) GetClientMsgReflectHandle

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

func (*UpdateResourceDescriptor) GetFullMethodName

func (d *UpdateResourceDescriptor) GetFullMethodName() string

func (*UpdateResourceDescriptor) GetMethodName

func (d *UpdateResourceDescriptor) GetMethodName() string

func (*UpdateResourceDescriptor) GetProtoPkgName

func (d *UpdateResourceDescriptor) GetProtoPkgName() string

func (*UpdateResourceDescriptor) GetResourceDescriptor

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

func (*UpdateResourceDescriptor) GetServerMsgReflectHandle

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

func (*UpdateResourceDescriptor) GetServiceDomain

func (d *UpdateResourceDescriptor) GetServiceDomain() string

func (*UpdateResourceDescriptor) GetServiceVersion

func (d *UpdateResourceDescriptor) GetServiceVersion() string

func (*UpdateResourceDescriptor) GetVerb

func (d *UpdateResourceDescriptor) GetVerb() string

func (*UpdateResourceDescriptor) HasResource

func (d *UpdateResourceDescriptor) HasResource() bool

func (*UpdateResourceDescriptor) IsClientStream

func (d *UpdateResourceDescriptor) IsClientStream() bool

func (*UpdateResourceDescriptor) IsCollection

func (d *UpdateResourceDescriptor) IsCollection() bool

func (*UpdateResourceDescriptor) IsPlural

func (d *UpdateResourceDescriptor) IsPlural() bool

func (*UpdateResourceDescriptor) IsServerStream

func (d *UpdateResourceDescriptor) IsServerStream() bool

func (*UpdateResourceDescriptor) IsUnary

func (d *UpdateResourceDescriptor) IsUnary() bool

func (*UpdateResourceDescriptor) NewEmptyClientMsg

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

func (*UpdateResourceDescriptor) NewEmptyServerMsg

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

func (*UpdateResourceDescriptor) RequestHasResourceBody

func (d *UpdateResourceDescriptor) RequestHasResourceBody() bool

type UpdateResourceDescriptorClientMsgHandle

type UpdateResourceDescriptorClientMsgHandle struct{}

func (*UpdateResourceDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceNames

type UpdateResourceDescriptorServerMsgHandle

type UpdateResourceDescriptorServerMsgHandle struct{}

func (*UpdateResourceDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceNames

type UpdateResourceRequest

type UpdateResourceRequest struct {

	// Resource resource body
	Resource *resource.Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *resource.Resource_FieldMask `` /* 144-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 *UpdateResourceRequest_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 UpdateResource method.

func (*UpdateResourceRequest) Descriptor

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

Deprecated, Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetAllowMissing

func (m *UpdateResourceRequest) GetAllowMissing() bool

func (*UpdateResourceRequest) GetCas

func (*UpdateResourceRequest) GetResource

func (m *UpdateResourceRequest) GetResource() *resource.Resource

func (*UpdateResourceRequest) GetUpdateMask

func (*UpdateResourceRequest) GotenMessage

func (*UpdateResourceRequest) GotenMessage()

func (*UpdateResourceRequest) GotenValidate

func (obj *UpdateResourceRequest) GotenValidate() error

func (*UpdateResourceRequest) Marshal

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

func (*UpdateResourceRequest) MarshalJSON

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

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (m *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) SetAllowMissing

func (m *UpdateResourceRequest) SetAllowMissing(fv bool)

func (*UpdateResourceRequest) SetCas

func (*UpdateResourceRequest) SetResource

func (m *UpdateResourceRequest) SetResource(fv *resource.Resource)

func (*UpdateResourceRequest) SetUpdateMask

func (m *UpdateResourceRequest) SetUpdateMask(fv *resource.Resource_FieldMask)

func (*UpdateResourceRequest) String

func (m *UpdateResourceRequest) String() string

func (*UpdateResourceRequest) Unmarshal

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

func (*UpdateResourceRequest) UnmarshalJSON

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

type UpdateResourceRequest_CAS

type UpdateResourceRequest_CAS struct {

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

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

Deprecated, Use UpdateResourceRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest_CAS) GetConditionalState

func (m *UpdateResourceRequest_CAS) GetConditionalState() *resource.Resource

func (*UpdateResourceRequest_CAS) GetFieldMask

func (*UpdateResourceRequest_CAS) GotenMessage

func (*UpdateResourceRequest_CAS) GotenMessage()

func (*UpdateResourceRequest_CAS) GotenValidate

func (obj *UpdateResourceRequest_CAS) GotenValidate() error

func (*UpdateResourceRequest_CAS) Marshal

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

func (*UpdateResourceRequest_CAS) MarshalJSON

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

func (*UpdateResourceRequest_CAS) ProtoMessage

func (*UpdateResourceRequest_CAS) ProtoMessage()

func (*UpdateResourceRequest_CAS) ProtoReflect

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

func (*UpdateResourceRequest_CAS) Reset

func (m *UpdateResourceRequest_CAS) Reset()

func (*UpdateResourceRequest_CAS) SetConditionalState

func (m *UpdateResourceRequest_CAS) SetConditionalState(fv *resource.Resource)

func (*UpdateResourceRequest_CAS) SetFieldMask

func (*UpdateResourceRequest_CAS) String

func (m *UpdateResourceRequest_CAS) String() string

func (*UpdateResourceRequest_CAS) Unmarshal

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

func (*UpdateResourceRequest_CAS) UnmarshalJSON

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

type WatchResourceClientStream

type WatchResourceClientStream interface {
	Recv() (*WatchResourceResponse, error)
	grpc.ClientStream
}

type WatchResourceDescriptor

type WatchResourceDescriptor struct{}

func GetWatchResourceDescriptor

func GetWatchResourceDescriptor() *WatchResourceDescriptor

func (*WatchResourceDescriptor) GetApiDescriptor

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

func (*WatchResourceDescriptor) GetApiName

func (d *WatchResourceDescriptor) GetApiName() string

func (*WatchResourceDescriptor) GetClientMsgReflectHandle

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

func (*WatchResourceDescriptor) GetFullMethodName

func (d *WatchResourceDescriptor) GetFullMethodName() string

func (*WatchResourceDescriptor) GetMethodName

func (d *WatchResourceDescriptor) GetMethodName() string

func (*WatchResourceDescriptor) GetProtoPkgName

func (d *WatchResourceDescriptor) GetProtoPkgName() string

func (*WatchResourceDescriptor) GetResourceDescriptor

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

func (*WatchResourceDescriptor) GetServerMsgReflectHandle

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

func (*WatchResourceDescriptor) GetServiceDomain

func (d *WatchResourceDescriptor) GetServiceDomain() string

func (*WatchResourceDescriptor) GetServiceVersion

func (d *WatchResourceDescriptor) GetServiceVersion() string

func (*WatchResourceDescriptor) GetVerb

func (d *WatchResourceDescriptor) GetVerb() string

func (*WatchResourceDescriptor) HasResource

func (d *WatchResourceDescriptor) HasResource() bool

func (*WatchResourceDescriptor) IsClientStream

func (d *WatchResourceDescriptor) IsClientStream() bool

func (*WatchResourceDescriptor) IsCollection

func (d *WatchResourceDescriptor) IsCollection() bool

func (*WatchResourceDescriptor) IsPlural

func (d *WatchResourceDescriptor) IsPlural() bool

func (*WatchResourceDescriptor) IsServerStream

func (d *WatchResourceDescriptor) IsServerStream() bool

func (*WatchResourceDescriptor) IsUnary

func (d *WatchResourceDescriptor) IsUnary() bool

func (*WatchResourceDescriptor) NewEmptyClientMsg

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

func (*WatchResourceDescriptor) NewEmptyServerMsg

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

func (*WatchResourceDescriptor) RequestHasResourceBody

func (d *WatchResourceDescriptor) RequestHasResourceBody() bool

type WatchResourceDescriptorClientMsgHandle

type WatchResourceDescriptorClientMsgHandle struct{}

func (*WatchResourceDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceName

func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceNames

type WatchResourceDescriptorServerMsgHandle

type WatchResourceDescriptorServerMsgHandle struct{}

func (*WatchResourceDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceName

func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceNames

type WatchResourceRequest

type WatchResourceRequest struct {

	// Name of goten.meta.v1.Resource
	Name *resource.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 *resource.Resource_FieldMask `` /* 140-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 WatchResource method.

func (*WatchResourceRequest) Descriptor

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

Deprecated, Use WatchResourceRequest.ProtoReflect.Descriptor instead.

func (*WatchResourceRequest) GetFieldMask

func (*WatchResourceRequest) GetName

func (m *WatchResourceRequest) GetName() *resource.Name

func (*WatchResourceRequest) GetView

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

func (*WatchResourceRequest) GotenMessage

func (*WatchResourceRequest) GotenMessage()

func (*WatchResourceRequest) GotenValidate

func (obj *WatchResourceRequest) GotenValidate() error

func (*WatchResourceRequest) Marshal

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

func (*WatchResourceRequest) MarshalJSON

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

func (*WatchResourceRequest) ProtoMessage

func (*WatchResourceRequest) ProtoMessage()

func (*WatchResourceRequest) ProtoReflect

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

func (*WatchResourceRequest) Reset

func (m *WatchResourceRequest) Reset()

func (*WatchResourceRequest) SetFieldMask

func (m *WatchResourceRequest) SetFieldMask(fv *resource.Resource_FieldMask)

func (*WatchResourceRequest) SetName

func (m *WatchResourceRequest) SetName(fv *resource.Name)

func (*WatchResourceRequest) SetView

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

func (*WatchResourceRequest) String

func (m *WatchResourceRequest) String() string

func (*WatchResourceRequest) Unmarshal

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

func (*WatchResourceRequest) UnmarshalJSON

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

type WatchResourceResponse

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

A response message of the WatchResource method.

func (*WatchResourceResponse) Descriptor

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

Deprecated, Use WatchResourceResponse.ProtoReflect.Descriptor instead.

func (*WatchResourceResponse) GetChange

func (*WatchResourceResponse) GotenMessage

func (*WatchResourceResponse) GotenMessage()

func (*WatchResourceResponse) GotenValidate

func (obj *WatchResourceResponse) GotenValidate() error

func (*WatchResourceResponse) Marshal

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

func (*WatchResourceResponse) MarshalJSON

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

func (*WatchResourceResponse) ProtoMessage

func (*WatchResourceResponse) ProtoMessage()

func (*WatchResourceResponse) ProtoReflect

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

func (*WatchResourceResponse) Reset

func (m *WatchResourceResponse) Reset()

func (*WatchResourceResponse) SetChange

func (m *WatchResourceResponse) SetChange(fv *resource.ResourceChange)

func (*WatchResourceResponse) String

func (m *WatchResourceResponse) String() string

func (*WatchResourceResponse) Unmarshal

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

func (*WatchResourceResponse) UnmarshalJSON

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

type WatchResourcesClientStream

type WatchResourcesClientStream interface {
	Recv() (*WatchResourcesResponse, error)
	grpc.ClientStream
}

type WatchResourcesDescriptor

type WatchResourcesDescriptor struct{}

func GetWatchResourcesDescriptor

func GetWatchResourcesDescriptor() *WatchResourcesDescriptor

func (*WatchResourcesDescriptor) GetApiDescriptor

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

func (*WatchResourcesDescriptor) GetApiName

func (d *WatchResourcesDescriptor) GetApiName() string

func (*WatchResourcesDescriptor) GetClientMsgReflectHandle

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

func (*WatchResourcesDescriptor) GetFullMethodName

func (d *WatchResourcesDescriptor) GetFullMethodName() string

func (*WatchResourcesDescriptor) GetMethodName

func (d *WatchResourcesDescriptor) GetMethodName() string

func (*WatchResourcesDescriptor) GetProtoPkgName

func (d *WatchResourcesDescriptor) GetProtoPkgName() string

func (*WatchResourcesDescriptor) GetResourceDescriptor

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

func (*WatchResourcesDescriptor) GetServerMsgReflectHandle

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

func (*WatchResourcesDescriptor) GetServiceDomain

func (d *WatchResourcesDescriptor) GetServiceDomain() string

func (*WatchResourcesDescriptor) GetServiceVersion

func (d *WatchResourcesDescriptor) GetServiceVersion() string

func (*WatchResourcesDescriptor) GetVerb

func (d *WatchResourcesDescriptor) GetVerb() string

func (*WatchResourcesDescriptor) HasResource

func (d *WatchResourcesDescriptor) HasResource() bool

func (*WatchResourcesDescriptor) IsClientStream

func (d *WatchResourcesDescriptor) IsClientStream() bool

func (*WatchResourcesDescriptor) IsCollection

func (d *WatchResourcesDescriptor) IsCollection() bool

func (*WatchResourcesDescriptor) IsPlural

func (d *WatchResourcesDescriptor) IsPlural() bool

func (*WatchResourcesDescriptor) IsServerStream

func (d *WatchResourcesDescriptor) IsServerStream() bool

func (*WatchResourcesDescriptor) IsUnary

func (d *WatchResourcesDescriptor) IsUnary() bool

func (*WatchResourcesDescriptor) NewEmptyClientMsg

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

func (*WatchResourcesDescriptor) NewEmptyServerMsg

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

func (*WatchResourcesDescriptor) RequestHasResourceBody

func (d *WatchResourcesDescriptor) RequestHasResourceBody() bool

type WatchResourcesDescriptorClientMsgHandle

type WatchResourcesDescriptorClientMsgHandle struct{}

func (*WatchResourcesDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceNames

type WatchResourcesDescriptorServerMsgHandle

type WatchResourcesDescriptorServerMsgHandle struct{}

func (*WatchResourcesDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceNames

type WatchResourcesRequest

type WatchResourcesRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Parent name of goten.meta.v1.Resource
	Parent *resource.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Resources 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 *resource.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 *resource.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 *resource.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 Resource that don't affect
	// any of masked fields won't be sent back.
	FieldMask *resource.Resource_FieldMask `` /* 140-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
	// Resource 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 WatchResources method.

func (*WatchResourcesRequest) Descriptor

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

Deprecated, Use WatchResourcesRequest.ProtoReflect.Descriptor instead.

func (*WatchResourcesRequest) GetFieldMask

func (*WatchResourcesRequest) GetFilter

func (m *WatchResourcesRequest) GetFilter() *resource.Filter

func (*WatchResourcesRequest) GetMaxChunkSize

func (m *WatchResourcesRequest) GetMaxChunkSize() int32

func (*WatchResourcesRequest) GetOrderBy

func (m *WatchResourcesRequest) GetOrderBy() *resource.OrderBy

func (*WatchResourcesRequest) GetPageSize

func (m *WatchResourcesRequest) GetPageSize() int32

func (*WatchResourcesRequest) GetPageToken

func (m *WatchResourcesRequest) GetPageToken() *resource.PagerCursor

func (*WatchResourcesRequest) GetParent

func (m *WatchResourcesRequest) GetParent() *resource.ParentName

func (*WatchResourcesRequest) GetResumeToken

func (m *WatchResourcesRequest) GetResumeToken() string

func (*WatchResourcesRequest) GetStartingTime

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

func (*WatchResourcesRequest) GetType

func (*WatchResourcesRequest) GetView

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

func (*WatchResourcesRequest) GotenMessage

func (*WatchResourcesRequest) GotenMessage()

func (*WatchResourcesRequest) GotenValidate

func (obj *WatchResourcesRequest) GotenValidate() error

func (*WatchResourcesRequest) Marshal

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

func (*WatchResourcesRequest) MarshalJSON

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

func (*WatchResourcesRequest) ProtoMessage

func (*WatchResourcesRequest) ProtoMessage()

func (*WatchResourcesRequest) ProtoReflect

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

func (*WatchResourcesRequest) Reset

func (m *WatchResourcesRequest) Reset()

func (*WatchResourcesRequest) SetFieldMask

func (m *WatchResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)

func (*WatchResourcesRequest) SetFilter

func (m *WatchResourcesRequest) SetFilter(fv *resource.Filter)

func (*WatchResourcesRequest) SetMaxChunkSize

func (m *WatchResourcesRequest) SetMaxChunkSize(fv int32)

func (*WatchResourcesRequest) SetOrderBy

func (m *WatchResourcesRequest) SetOrderBy(fv *resource.OrderBy)

func (*WatchResourcesRequest) SetPageSize

func (m *WatchResourcesRequest) SetPageSize(fv int32)

func (*WatchResourcesRequest) SetPageToken

func (m *WatchResourcesRequest) SetPageToken(fv *resource.PagerCursor)

func (*WatchResourcesRequest) SetParent

func (m *WatchResourcesRequest) SetParent(fv *resource.ParentName)

func (*WatchResourcesRequest) SetResumeToken

func (m *WatchResourcesRequest) SetResumeToken(fv string)

func (*WatchResourcesRequest) SetStartingTime

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

func (*WatchResourcesRequest) SetType

func (*WatchResourcesRequest) SetView

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

func (*WatchResourcesRequest) String

func (m *WatchResourcesRequest) String() string

func (*WatchResourcesRequest) Unmarshal

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

func (*WatchResourcesRequest) UnmarshalJSON

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

type WatchResourcesResponse

type WatchResourcesResponse struct {

	// Changes of Resources
	ResourceChanges []*resource.ResourceChange `` /* 134-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 Resources 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 *WatchResourcesResponse_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 (Resources 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 WatchResources method.

func (*WatchResourcesResponse) Descriptor

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

Deprecated, Use WatchResourcesResponse.ProtoReflect.Descriptor instead.

func (*WatchResourcesResponse) GetIsCurrent

func (m *WatchResourcesResponse) GetIsCurrent() bool

func (*WatchResourcesResponse) GetIsHardReset

func (m *WatchResourcesResponse) GetIsHardReset() bool

func (*WatchResourcesResponse) GetIsSoftReset

func (m *WatchResourcesResponse) GetIsSoftReset() bool

func (*WatchResourcesResponse) GetPageTokenChange

func (*WatchResourcesResponse) GetResourceChanges

func (m *WatchResourcesResponse) GetResourceChanges() []*resource.ResourceChange

func (*WatchResourcesResponse) GetResumeToken

func (m *WatchResourcesResponse) GetResumeToken() string

func (*WatchResourcesResponse) GetSnapshotSize

func (m *WatchResourcesResponse) GetSnapshotSize() int64

func (*WatchResourcesResponse) GotenMessage

func (*WatchResourcesResponse) GotenMessage()

func (*WatchResourcesResponse) GotenValidate

func (obj *WatchResourcesResponse) GotenValidate() error

func (*WatchResourcesResponse) Marshal

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

func (*WatchResourcesResponse) MarshalJSON

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

func (*WatchResourcesResponse) ProtoMessage

func (*WatchResourcesResponse) ProtoMessage()

func (*WatchResourcesResponse) ProtoReflect

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

func (*WatchResourcesResponse) Reset

func (m *WatchResourcesResponse) Reset()

func (*WatchResourcesResponse) SetIsCurrent

func (m *WatchResourcesResponse) SetIsCurrent(fv bool)

func (*WatchResourcesResponse) SetIsHardReset

func (m *WatchResourcesResponse) SetIsHardReset(fv bool)

func (*WatchResourcesResponse) SetIsSoftReset

func (m *WatchResourcesResponse) SetIsSoftReset(fv bool)

func (*WatchResourcesResponse) SetPageTokenChange

func (*WatchResourcesResponse) SetResourceChanges

func (m *WatchResourcesResponse) SetResourceChanges(fv []*resource.ResourceChange)

func (*WatchResourcesResponse) SetResumeToken

func (m *WatchResourcesResponse) SetResumeToken(fv string)

func (*WatchResourcesResponse) SetSnapshotSize

func (m *WatchResourcesResponse) SetSnapshotSize(fv int64)

func (*WatchResourcesResponse) String

func (m *WatchResourcesResponse) String() string

func (*WatchResourcesResponse) Unmarshal

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

func (*WatchResourcesResponse) UnmarshalJSON

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

type WatchResourcesResponse_PageTokenChange

type WatchResourcesResponse_PageTokenChange struct {

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

func (*WatchResourcesResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchResourcesResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchResourcesResponse_PageTokenChange) GetNextPageToken

func (*WatchResourcesResponse_PageTokenChange) GetPrevPageToken

func (*WatchResourcesResponse_PageTokenChange) GotenMessage

func (*WatchResourcesResponse_PageTokenChange) GotenValidate

func (obj *WatchResourcesResponse_PageTokenChange) GotenValidate() error

func (*WatchResourcesResponse_PageTokenChange) Marshal

func (*WatchResourcesResponse_PageTokenChange) MarshalJSON

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

func (*WatchResourcesResponse_PageTokenChange) ProtoMessage

func (*WatchResourcesResponse_PageTokenChange) ProtoReflect

func (*WatchResourcesResponse_PageTokenChange) Reset

func (*WatchResourcesResponse_PageTokenChange) SetNextPageToken

func (*WatchResourcesResponse_PageTokenChange) SetPrevPageToken

func (*WatchResourcesResponse_PageTokenChange) String

func (*WatchResourcesResponse_PageTokenChange) Unmarshal

func (*WatchResourcesResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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