Documentation ¶
Index ¶
- type BatchGetResourcesDescriptor
- func (d *BatchGetResourcesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *BatchGetResourcesDescriptor) GetApiName() string
- func (d *BatchGetResourcesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetResourcesDescriptor) GetFullMethodName() string
- func (d *BatchGetResourcesDescriptor) GetMethodName() string
- func (d *BatchGetResourcesDescriptor) GetProtoPkgName() string
- func (d *BatchGetResourcesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *BatchGetResourcesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetResourcesDescriptor) GetServiceDomain() string
- func (d *BatchGetResourcesDescriptor) GetServiceVersion() string
- func (d *BatchGetResourcesDescriptor) GetVerb() string
- func (d *BatchGetResourcesDescriptor) HasResource() bool
- func (d *BatchGetResourcesDescriptor) IsClientStream() bool
- func (d *BatchGetResourcesDescriptor) IsCollection() bool
- func (d *BatchGetResourcesDescriptor) IsPlural() bool
- func (d *BatchGetResourcesDescriptor) IsServerStream() bool
- func (d *BatchGetResourcesDescriptor) IsUnary() bool
- func (d *BatchGetResourcesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *BatchGetResourcesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *BatchGetResourcesDescriptor) RequestHasResourceBody() bool
- type BatchGetResourcesDescriptorClientMsgHandle
- func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetResourcesDescriptorServerMsgHandle
- func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetResourcesRequest
- func (*BatchGetResourcesRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
- func (m *BatchGetResourcesRequest) GetNames() []*resource.Name
- func (m *BatchGetResourcesRequest) GetView() view.View
- func (*BatchGetResourcesRequest) GotenMessage()
- func (obj *BatchGetResourcesRequest) GotenValidate() error
- func (m *BatchGetResourcesRequest) Marshal() ([]byte, error)
- func (m *BatchGetResourcesRequest) MarshalJSON() ([]byte, error)
- func (*BatchGetResourcesRequest) ProtoMessage()
- func (m *BatchGetResourcesRequest) ProtoReflect() preflect.Message
- func (m *BatchGetResourcesRequest) Reset()
- func (m *BatchGetResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *BatchGetResourcesRequest) SetNames(fv []*resource.Name)
- func (m *BatchGetResourcesRequest) SetView(fv view.View)
- func (m *BatchGetResourcesRequest) String() string
- func (m *BatchGetResourcesRequest) Unmarshal(b []byte) error
- func (m *BatchGetResourcesRequest) UnmarshalJSON(data []byte) error
- type BatchGetResourcesResponse
- func (*BatchGetResourcesResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetResourcesResponse) GetMissing() []*resource.Name
- func (m *BatchGetResourcesResponse) GetResources() []*resource.Resource
- func (*BatchGetResourcesResponse) GotenMessage()
- func (obj *BatchGetResourcesResponse) GotenValidate() error
- func (m *BatchGetResourcesResponse) Marshal() ([]byte, error)
- func (m *BatchGetResourcesResponse) MarshalJSON() ([]byte, error)
- func (*BatchGetResourcesResponse) ProtoMessage()
- func (m *BatchGetResourcesResponse) ProtoReflect() preflect.Message
- func (m *BatchGetResourcesResponse) Reset()
- func (m *BatchGetResourcesResponse) SetMissing(fv []*resource.Name)
- func (m *BatchGetResourcesResponse) SetResources(fv []*resource.Resource)
- func (m *BatchGetResourcesResponse) String() string
- func (m *BatchGetResourcesResponse) Unmarshal(b []byte) error
- func (m *BatchGetResourcesResponse) UnmarshalJSON(data []byte) error
- type CreateResourceDescriptor
- func (d *CreateResourceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CreateResourceDescriptor) GetApiName() string
- func (d *CreateResourceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateResourceDescriptor) GetFullMethodName() string
- func (d *CreateResourceDescriptor) GetMethodName() string
- func (d *CreateResourceDescriptor) GetProtoPkgName() string
- func (d *CreateResourceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CreateResourceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateResourceDescriptor) GetServiceDomain() string
- func (d *CreateResourceDescriptor) GetServiceVersion() string
- func (d *CreateResourceDescriptor) GetVerb() string
- func (d *CreateResourceDescriptor) HasResource() bool
- func (d *CreateResourceDescriptor) IsClientStream() bool
- func (d *CreateResourceDescriptor) IsCollection() bool
- func (d *CreateResourceDescriptor) IsPlural() bool
- func (d *CreateResourceDescriptor) IsServerStream() bool
- func (d *CreateResourceDescriptor) IsUnary() bool
- func (d *CreateResourceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CreateResourceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CreateResourceDescriptor) RequestHasResourceBody() bool
- type CreateResourceDescriptorClientMsgHandle
- func (h *CreateResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateResourceDescriptorServerMsgHandle
- func (h *CreateResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)
- func (m *CreateResourceRequest) GetParent() *resource.ParentName
- func (m *CreateResourceRequest) GetResource() *resource.Resource
- func (m *CreateResourceRequest) GetResponseMask() *CreateResourceRequest_ResponseMask
- func (*CreateResourceRequest) GotenMessage()
- func (obj *CreateResourceRequest) GotenValidate() error
- func (m *CreateResourceRequest) Marshal() ([]byte, error)
- func (m *CreateResourceRequest) MarshalJSON() ([]byte, error)
- func (*CreateResourceRequest) ProtoMessage()
- func (m *CreateResourceRequest) ProtoReflect() preflect.Message
- func (m *CreateResourceRequest) Reset()
- func (m *CreateResourceRequest) SetParent(fv *resource.ParentName)
- func (m *CreateResourceRequest) SetResource(fv *resource.Resource)
- func (m *CreateResourceRequest) SetResponseMask(fv *CreateResourceRequest_ResponseMask)
- func (m *CreateResourceRequest) String() string
- func (m *CreateResourceRequest) Unmarshal(b []byte) error
- func (m *CreateResourceRequest) UnmarshalJSON(data []byte) error
- type CreateResourceRequest_ResponseMask
- func (*CreateResourceRequest_ResponseMask) Descriptor() ([]byte, []int)
- func (m *CreateResourceRequest_ResponseMask) GetBodyMask() *resource.Resource_FieldMask
- func (m *CreateResourceRequest_ResponseMask) GetMasking() isCreateResourceRequest_ResponseMask_Masking
- func (m *CreateResourceRequest_ResponseMask) GetSkipEntireResponseBody() bool
- func (*CreateResourceRequest_ResponseMask) GotenMessage()
- func (obj *CreateResourceRequest_ResponseMask) GotenValidate() error
- func (m *CreateResourceRequest_ResponseMask) Marshal() ([]byte, error)
- func (m *CreateResourceRequest_ResponseMask) MarshalJSON() ([]byte, error)
- func (*CreateResourceRequest_ResponseMask) ProtoMessage()
- func (m *CreateResourceRequest_ResponseMask) ProtoReflect() preflect.Message
- func (m *CreateResourceRequest_ResponseMask) Reset()
- func (m *CreateResourceRequest_ResponseMask) SetBodyMask(fv *resource.Resource_FieldMask)
- func (m *CreateResourceRequest_ResponseMask) SetMasking(ofv isCreateResourceRequest_ResponseMask_Masking)
- func (m *CreateResourceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)
- func (m *CreateResourceRequest_ResponseMask) String() string
- func (m *CreateResourceRequest_ResponseMask) Unmarshal(b []byte) error
- func (m *CreateResourceRequest_ResponseMask) UnmarshalJSON(data []byte) error
- type CreateResourceRequest_ResponseMask_BodyMask
- type CreateResourceRequest_ResponseMask_SkipEntireResponseBody
- type DeleteResourceDescriptor
- func (d *DeleteResourceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *DeleteResourceDescriptor) GetApiName() string
- func (d *DeleteResourceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteResourceDescriptor) GetFullMethodName() string
- func (d *DeleteResourceDescriptor) GetMethodName() string
- func (d *DeleteResourceDescriptor) GetProtoPkgName() string
- func (d *DeleteResourceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *DeleteResourceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteResourceDescriptor) GetServiceDomain() string
- func (d *DeleteResourceDescriptor) GetServiceVersion() string
- func (d *DeleteResourceDescriptor) GetVerb() string
- func (d *DeleteResourceDescriptor) HasResource() bool
- func (d *DeleteResourceDescriptor) IsClientStream() bool
- func (d *DeleteResourceDescriptor) IsCollection() bool
- func (d *DeleteResourceDescriptor) IsPlural() bool
- func (d *DeleteResourceDescriptor) IsServerStream() bool
- func (d *DeleteResourceDescriptor) IsUnary() bool
- func (d *DeleteResourceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *DeleteResourceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *DeleteResourceDescriptor) RequestHasResourceBody() bool
- type DeleteResourceDescriptorClientMsgHandle
- func (h *DeleteResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteResourceDescriptorServerMsgHandle
- func (h *DeleteResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteResourceRequest) GetName() *resource.Name
- func (*DeleteResourceRequest) GotenMessage()
- func (obj *DeleteResourceRequest) GotenValidate() error
- func (m *DeleteResourceRequest) Marshal() ([]byte, error)
- func (m *DeleteResourceRequest) MarshalJSON() ([]byte, error)
- func (*DeleteResourceRequest) ProtoMessage()
- func (m *DeleteResourceRequest) ProtoReflect() preflect.Message
- func (m *DeleteResourceRequest) Reset()
- func (m *DeleteResourceRequest) SetName(fv *resource.Name)
- func (m *DeleteResourceRequest) String() string
- func (m *DeleteResourceRequest) Unmarshal(b []byte) error
- func (m *DeleteResourceRequest) UnmarshalJSON(data []byte) error
- type GetResourceDescriptor
- func (d *GetResourceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *GetResourceDescriptor) GetApiName() string
- func (d *GetResourceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetResourceDescriptor) GetFullMethodName() string
- func (d *GetResourceDescriptor) GetMethodName() string
- func (d *GetResourceDescriptor) GetProtoPkgName() string
- func (d *GetResourceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *GetResourceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetResourceDescriptor) GetServiceDomain() string
- func (d *GetResourceDescriptor) GetServiceVersion() string
- func (d *GetResourceDescriptor) GetVerb() string
- func (d *GetResourceDescriptor) HasResource() bool
- func (d *GetResourceDescriptor) IsClientStream() bool
- func (d *GetResourceDescriptor) IsCollection() bool
- func (d *GetResourceDescriptor) IsPlural() bool
- func (d *GetResourceDescriptor) IsServerStream() bool
- func (d *GetResourceDescriptor) IsUnary() bool
- func (d *GetResourceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *GetResourceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *GetResourceDescriptor) RequestHasResourceBody() bool
- type GetResourceDescriptorClientMsgHandle
- func (h *GetResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetResourceDescriptorServerMsgHandle
- func (h *GetResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)
- func (m *GetResourceRequest) GetFieldMask() *resource.Resource_FieldMask
- func (m *GetResourceRequest) GetName() *resource.Name
- func (m *GetResourceRequest) GetView() view.View
- func (*GetResourceRequest) GotenMessage()
- func (obj *GetResourceRequest) GotenValidate() error
- func (m *GetResourceRequest) Marshal() ([]byte, error)
- func (m *GetResourceRequest) MarshalJSON() ([]byte, error)
- func (*GetResourceRequest) ProtoMessage()
- func (m *GetResourceRequest) ProtoReflect() preflect.Message
- func (m *GetResourceRequest) Reset()
- func (m *GetResourceRequest) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *GetResourceRequest) SetName(fv *resource.Name)
- func (m *GetResourceRequest) SetView(fv view.View)
- func (m *GetResourceRequest) String() string
- func (m *GetResourceRequest) Unmarshal(b []byte) error
- func (m *GetResourceRequest) UnmarshalJSON(data []byte) error
- type ListResourcesDescriptor
- func (d *ListResourcesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *ListResourcesDescriptor) GetApiName() string
- func (d *ListResourcesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListResourcesDescriptor) GetFullMethodName() string
- func (d *ListResourcesDescriptor) GetMethodName() string
- func (d *ListResourcesDescriptor) GetProtoPkgName() string
- func (d *ListResourcesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *ListResourcesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListResourcesDescriptor) GetServiceDomain() string
- func (d *ListResourcesDescriptor) GetServiceVersion() string
- func (d *ListResourcesDescriptor) GetVerb() string
- func (d *ListResourcesDescriptor) HasResource() bool
- func (d *ListResourcesDescriptor) IsClientStream() bool
- func (d *ListResourcesDescriptor) IsCollection() bool
- func (d *ListResourcesDescriptor) IsPlural() bool
- func (d *ListResourcesDescriptor) IsServerStream() bool
- func (d *ListResourcesDescriptor) IsUnary() bool
- func (d *ListResourcesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *ListResourcesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *ListResourcesDescriptor) RequestHasResourceBody() bool
- type ListResourcesDescriptorClientMsgHandle
- func (h *ListResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListResourcesDescriptorServerMsgHandle
- func (h *ListResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListResourcesRequest
- func (*ListResourcesRequest) Descriptor() ([]byte, []int)
- func (m *ListResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
- func (m *ListResourcesRequest) GetFilter() *resource.Filter
- func (m *ListResourcesRequest) GetIncludePagingInfo() bool
- func (m *ListResourcesRequest) GetOrderBy() *resource.OrderBy
- func (m *ListResourcesRequest) GetPageSize() int32
- func (m *ListResourcesRequest) GetPageToken() *resource.PagerCursor
- func (m *ListResourcesRequest) GetParent() *resource.ParentName
- func (m *ListResourcesRequest) GetView() view.View
- func (*ListResourcesRequest) GotenMessage()
- func (obj *ListResourcesRequest) GotenValidate() error
- func (m *ListResourcesRequest) Marshal() ([]byte, error)
- func (m *ListResourcesRequest) MarshalJSON() ([]byte, error)
- func (*ListResourcesRequest) ProtoMessage()
- func (m *ListResourcesRequest) ProtoReflect() preflect.Message
- func (m *ListResourcesRequest) Reset()
- func (m *ListResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *ListResourcesRequest) SetFilter(fv *resource.Filter)
- func (m *ListResourcesRequest) SetIncludePagingInfo(fv bool)
- func (m *ListResourcesRequest) SetOrderBy(fv *resource.OrderBy)
- func (m *ListResourcesRequest) SetPageSize(fv int32)
- func (m *ListResourcesRequest) SetPageToken(fv *resource.PagerCursor)
- func (m *ListResourcesRequest) SetParent(fv *resource.ParentName)
- func (m *ListResourcesRequest) SetView(fv view.View)
- func (m *ListResourcesRequest) String() string
- func (m *ListResourcesRequest) Unmarshal(b []byte) error
- func (m *ListResourcesRequest) UnmarshalJSON(data []byte) error
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)
- func (m *ListResourcesResponse) GetCurrentOffset() int32
- func (m *ListResourcesResponse) GetNextPageToken() *resource.PagerCursor
- func (m *ListResourcesResponse) GetPrevPageToken() *resource.PagerCursor
- func (m *ListResourcesResponse) GetResources() []*resource.Resource
- func (m *ListResourcesResponse) GetTotalResultsCount() int32
- func (*ListResourcesResponse) GotenMessage()
- func (obj *ListResourcesResponse) GotenValidate() error
- func (m *ListResourcesResponse) Marshal() ([]byte, error)
- func (m *ListResourcesResponse) MarshalJSON() ([]byte, error)
- func (*ListResourcesResponse) ProtoMessage()
- func (m *ListResourcesResponse) ProtoReflect() preflect.Message
- func (m *ListResourcesResponse) Reset()
- func (m *ListResourcesResponse) SetCurrentOffset(fv int32)
- func (m *ListResourcesResponse) SetNextPageToken(fv *resource.PagerCursor)
- func (m *ListResourcesResponse) SetPrevPageToken(fv *resource.PagerCursor)
- func (m *ListResourcesResponse) SetResources(fv []*resource.Resource)
- func (m *ListResourcesResponse) SetTotalResultsCount(fv int32)
- func (m *ListResourcesResponse) String() string
- func (m *ListResourcesResponse) Unmarshal(b []byte) error
- func (m *ListResourcesResponse) UnmarshalJSON(data []byte) error
- type ResourceServiceClient
- type ResourceServiceDescriptor
- func (d *ResourceServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *ResourceServiceDescriptor) GetApiName() string
- func (d *ResourceServiceDescriptor) GetFullAPIName() string
- func (d *ResourceServiceDescriptor) GetProtoPkgName() string
- func (d *ResourceServiceDescriptor) GetServiceDomain() string
- func (d *ResourceServiceDescriptor) GetServiceVersion() string
- type UpdateResourceDescriptor
- func (d *UpdateResourceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *UpdateResourceDescriptor) GetApiName() string
- func (d *UpdateResourceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateResourceDescriptor) GetFullMethodName() string
- func (d *UpdateResourceDescriptor) GetMethodName() string
- func (d *UpdateResourceDescriptor) GetProtoPkgName() string
- func (d *UpdateResourceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *UpdateResourceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateResourceDescriptor) GetServiceDomain() string
- func (d *UpdateResourceDescriptor) GetServiceVersion() string
- func (d *UpdateResourceDescriptor) GetVerb() string
- func (d *UpdateResourceDescriptor) HasResource() bool
- func (d *UpdateResourceDescriptor) IsClientStream() bool
- func (d *UpdateResourceDescriptor) IsCollection() bool
- func (d *UpdateResourceDescriptor) IsPlural() bool
- func (d *UpdateResourceDescriptor) IsServerStream() bool
- func (d *UpdateResourceDescriptor) IsUnary() bool
- func (d *UpdateResourceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *UpdateResourceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *UpdateResourceDescriptor) RequestHasResourceBody() bool
- type UpdateResourceDescriptorClientMsgHandle
- func (h *UpdateResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateResourceDescriptorServerMsgHandle
- func (h *UpdateResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateResourceRequest) GetAllowMissing() bool
- func (m *UpdateResourceRequest) GetCas() *UpdateResourceRequest_CAS
- func (m *UpdateResourceRequest) GetResource() *resource.Resource
- func (m *UpdateResourceRequest) GetResponseMask() *UpdateResourceRequest_ResponseMask
- func (m *UpdateResourceRequest) GetUpdateMask() *resource.Resource_FieldMask
- func (*UpdateResourceRequest) GotenMessage()
- func (obj *UpdateResourceRequest) GotenValidate() error
- func (m *UpdateResourceRequest) Marshal() ([]byte, error)
- func (m *UpdateResourceRequest) MarshalJSON() ([]byte, error)
- func (*UpdateResourceRequest) ProtoMessage()
- func (m *UpdateResourceRequest) ProtoReflect() preflect.Message
- func (m *UpdateResourceRequest) Reset()
- func (m *UpdateResourceRequest) SetAllowMissing(fv bool)
- func (m *UpdateResourceRequest) SetCas(fv *UpdateResourceRequest_CAS)
- func (m *UpdateResourceRequest) SetResource(fv *resource.Resource)
- func (m *UpdateResourceRequest) SetResponseMask(fv *UpdateResourceRequest_ResponseMask)
- func (m *UpdateResourceRequest) SetUpdateMask(fv *resource.Resource_FieldMask)
- func (m *UpdateResourceRequest) String() string
- func (m *UpdateResourceRequest) Unmarshal(b []byte) error
- func (m *UpdateResourceRequest) UnmarshalJSON(data []byte) error
- type UpdateResourceRequest_CAS
- func (*UpdateResourceRequest_CAS) Descriptor() ([]byte, []int)
- func (m *UpdateResourceRequest_CAS) GetConditionalState() *resource.Resource
- func (m *UpdateResourceRequest_CAS) GetFieldMask() *resource.Resource_FieldMask
- func (*UpdateResourceRequest_CAS) GotenMessage()
- func (obj *UpdateResourceRequest_CAS) GotenValidate() error
- func (m *UpdateResourceRequest_CAS) Marshal() ([]byte, error)
- func (m *UpdateResourceRequest_CAS) MarshalJSON() ([]byte, error)
- func (*UpdateResourceRequest_CAS) ProtoMessage()
- func (m *UpdateResourceRequest_CAS) ProtoReflect() preflect.Message
- func (m *UpdateResourceRequest_CAS) Reset()
- func (m *UpdateResourceRequest_CAS) SetConditionalState(fv *resource.Resource)
- func (m *UpdateResourceRequest_CAS) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *UpdateResourceRequest_CAS) String() string
- func (m *UpdateResourceRequest_CAS) Unmarshal(b []byte) error
- func (m *UpdateResourceRequest_CAS) UnmarshalJSON(data []byte) error
- type UpdateResourceRequest_ResponseMask
- func (*UpdateResourceRequest_ResponseMask) Descriptor() ([]byte, []int)
- func (m *UpdateResourceRequest_ResponseMask) GetBodyMask() *resource.Resource_FieldMask
- func (m *UpdateResourceRequest_ResponseMask) GetMasking() isUpdateResourceRequest_ResponseMask_Masking
- func (m *UpdateResourceRequest_ResponseMask) GetSkipEntireResponseBody() bool
- func (m *UpdateResourceRequest_ResponseMask) GetUpdatedFieldsOnly() bool
- func (*UpdateResourceRequest_ResponseMask) GotenMessage()
- func (obj *UpdateResourceRequest_ResponseMask) GotenValidate() error
- func (m *UpdateResourceRequest_ResponseMask) Marshal() ([]byte, error)
- func (m *UpdateResourceRequest_ResponseMask) MarshalJSON() ([]byte, error)
- func (*UpdateResourceRequest_ResponseMask) ProtoMessage()
- func (m *UpdateResourceRequest_ResponseMask) ProtoReflect() preflect.Message
- func (m *UpdateResourceRequest_ResponseMask) Reset()
- func (m *UpdateResourceRequest_ResponseMask) SetBodyMask(fv *resource.Resource_FieldMask)
- func (m *UpdateResourceRequest_ResponseMask) SetMasking(ofv isUpdateResourceRequest_ResponseMask_Masking)
- func (m *UpdateResourceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)
- func (m *UpdateResourceRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)
- func (m *UpdateResourceRequest_ResponseMask) String() string
- func (m *UpdateResourceRequest_ResponseMask) Unmarshal(b []byte) error
- func (m *UpdateResourceRequest_ResponseMask) UnmarshalJSON(data []byte) error
- type UpdateResourceRequest_ResponseMask_BodyMask
- type UpdateResourceRequest_ResponseMask_SkipEntireResponseBody
- type UpdateResourceRequest_ResponseMask_UpdatedFieldsOnly
- type WatchResourceClientStream
- type WatchResourceDescriptor
- func (d *WatchResourceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchResourceDescriptor) GetApiName() string
- func (d *WatchResourceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchResourceDescriptor) GetFullMethodName() string
- func (d *WatchResourceDescriptor) GetMethodName() string
- func (d *WatchResourceDescriptor) GetProtoPkgName() string
- func (d *WatchResourceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchResourceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchResourceDescriptor) GetServiceDomain() string
- func (d *WatchResourceDescriptor) GetServiceVersion() string
- func (d *WatchResourceDescriptor) GetVerb() string
- func (d *WatchResourceDescriptor) HasResource() bool
- func (d *WatchResourceDescriptor) IsClientStream() bool
- func (d *WatchResourceDescriptor) IsCollection() bool
- func (d *WatchResourceDescriptor) IsPlural() bool
- func (d *WatchResourceDescriptor) IsServerStream() bool
- func (d *WatchResourceDescriptor) IsUnary() bool
- func (d *WatchResourceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchResourceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchResourceDescriptor) RequestHasResourceBody() bool
- type WatchResourceDescriptorClientMsgHandle
- func (h *WatchResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchResourceDescriptorServerMsgHandle
- func (h *WatchResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchResourceRequest
- func (*WatchResourceRequest) Descriptor() ([]byte, []int)
- func (m *WatchResourceRequest) GetFieldMask() *resource.Resource_FieldMask
- func (m *WatchResourceRequest) GetName() *resource.Name
- func (m *WatchResourceRequest) GetView() view.View
- func (*WatchResourceRequest) GotenMessage()
- func (obj *WatchResourceRequest) GotenValidate() error
- func (m *WatchResourceRequest) Marshal() ([]byte, error)
- func (m *WatchResourceRequest) MarshalJSON() ([]byte, error)
- func (*WatchResourceRequest) ProtoMessage()
- func (m *WatchResourceRequest) ProtoReflect() preflect.Message
- func (m *WatchResourceRequest) Reset()
- func (m *WatchResourceRequest) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *WatchResourceRequest) SetName(fv *resource.Name)
- func (m *WatchResourceRequest) SetView(fv view.View)
- func (m *WatchResourceRequest) String() string
- func (m *WatchResourceRequest) Unmarshal(b []byte) error
- func (m *WatchResourceRequest) UnmarshalJSON(data []byte) error
- type WatchResourceResponse
- func (*WatchResourceResponse) Descriptor() ([]byte, []int)
- func (m *WatchResourceResponse) GetChange() *resource.ResourceChange
- func (*WatchResourceResponse) GotenMessage()
- func (obj *WatchResourceResponse) GotenValidate() error
- func (m *WatchResourceResponse) Marshal() ([]byte, error)
- func (m *WatchResourceResponse) MarshalJSON() ([]byte, error)
- func (*WatchResourceResponse) ProtoMessage()
- func (m *WatchResourceResponse) ProtoReflect() preflect.Message
- func (m *WatchResourceResponse) Reset()
- func (m *WatchResourceResponse) SetChange(fv *resource.ResourceChange)
- func (m *WatchResourceResponse) String() string
- func (m *WatchResourceResponse) Unmarshal(b []byte) error
- func (m *WatchResourceResponse) UnmarshalJSON(data []byte) error
- type WatchResourcesClientStream
- type WatchResourcesDescriptor
- func (d *WatchResourcesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchResourcesDescriptor) GetApiName() string
- func (d *WatchResourcesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchResourcesDescriptor) GetFullMethodName() string
- func (d *WatchResourcesDescriptor) GetMethodName() string
- func (d *WatchResourcesDescriptor) GetProtoPkgName() string
- func (d *WatchResourcesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchResourcesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchResourcesDescriptor) GetServiceDomain() string
- func (d *WatchResourcesDescriptor) GetServiceVersion() string
- func (d *WatchResourcesDescriptor) GetVerb() string
- func (d *WatchResourcesDescriptor) HasResource() bool
- func (d *WatchResourcesDescriptor) IsClientStream() bool
- func (d *WatchResourcesDescriptor) IsCollection() bool
- func (d *WatchResourcesDescriptor) IsPlural() bool
- func (d *WatchResourcesDescriptor) IsServerStream() bool
- func (d *WatchResourcesDescriptor) IsUnary() bool
- func (d *WatchResourcesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchResourcesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchResourcesDescriptor) RequestHasResourceBody() bool
- type WatchResourcesDescriptorClientMsgHandle
- func (h *WatchResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchResourcesDescriptorServerMsgHandle
- func (h *WatchResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchResourcesRequest
- func (*WatchResourcesRequest) Descriptor() ([]byte, []int)
- func (m *WatchResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
- func (m *WatchResourcesRequest) GetFilter() *resource.Filter
- func (m *WatchResourcesRequest) GetMaxChunkSize() int32
- func (m *WatchResourcesRequest) GetOrderBy() *resource.OrderBy
- func (m *WatchResourcesRequest) GetPageSize() int32
- func (m *WatchResourcesRequest) GetPageToken() *resource.PagerCursor
- func (m *WatchResourcesRequest) GetParent() *resource.ParentName
- func (m *WatchResourcesRequest) GetResumeToken() string
- func (m *WatchResourcesRequest) GetStartingTime() *timestamppb.Timestamp
- func (m *WatchResourcesRequest) GetType() watch_type.WatchType
- func (m *WatchResourcesRequest) GetView() view.View
- func (*WatchResourcesRequest) GotenMessage()
- func (obj *WatchResourcesRequest) GotenValidate() error
- func (m *WatchResourcesRequest) Marshal() ([]byte, error)
- func (m *WatchResourcesRequest) MarshalJSON() ([]byte, error)
- func (*WatchResourcesRequest) ProtoMessage()
- func (m *WatchResourcesRequest) ProtoReflect() preflect.Message
- func (m *WatchResourcesRequest) Reset()
- func (m *WatchResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)
- func (m *WatchResourcesRequest) SetFilter(fv *resource.Filter)
- func (m *WatchResourcesRequest) SetMaxChunkSize(fv int32)
- func (m *WatchResourcesRequest) SetOrderBy(fv *resource.OrderBy)
- func (m *WatchResourcesRequest) SetPageSize(fv int32)
- func (m *WatchResourcesRequest) SetPageToken(fv *resource.PagerCursor)
- func (m *WatchResourcesRequest) SetParent(fv *resource.ParentName)
- func (m *WatchResourcesRequest) SetResumeToken(fv string)
- func (m *WatchResourcesRequest) SetStartingTime(fv *timestamppb.Timestamp)
- func (m *WatchResourcesRequest) SetType(fv watch_type.WatchType)
- func (m *WatchResourcesRequest) SetView(fv view.View)
- func (m *WatchResourcesRequest) String() string
- func (m *WatchResourcesRequest) Unmarshal(b []byte) error
- func (m *WatchResourcesRequest) UnmarshalJSON(data []byte) error
- type WatchResourcesResponse
- func (*WatchResourcesResponse) Descriptor() ([]byte, []int)
- func (m *WatchResourcesResponse) GetIsCurrent() bool
- func (m *WatchResourcesResponse) GetIsHardReset() bool
- func (m *WatchResourcesResponse) GetIsSoftReset() bool
- func (m *WatchResourcesResponse) GetPageTokenChange() *WatchResourcesResponse_PageTokenChange
- func (m *WatchResourcesResponse) GetResourceChanges() []*resource.ResourceChange
- func (m *WatchResourcesResponse) GetResumeToken() string
- func (m *WatchResourcesResponse) GetSnapshotSize() int64
- func (*WatchResourcesResponse) GotenMessage()
- func (obj *WatchResourcesResponse) GotenValidate() error
- func (m *WatchResourcesResponse) Marshal() ([]byte, error)
- func (m *WatchResourcesResponse) MarshalJSON() ([]byte, error)
- func (*WatchResourcesResponse) ProtoMessage()
- func (m *WatchResourcesResponse) ProtoReflect() preflect.Message
- func (m *WatchResourcesResponse) Reset()
- func (m *WatchResourcesResponse) SetIsCurrent(fv bool)
- func (m *WatchResourcesResponse) SetIsHardReset(fv bool)
- func (m *WatchResourcesResponse) SetIsSoftReset(fv bool)
- func (m *WatchResourcesResponse) SetPageTokenChange(fv *WatchResourcesResponse_PageTokenChange)
- func (m *WatchResourcesResponse) SetResourceChanges(fv []*resource.ResourceChange)
- func (m *WatchResourcesResponse) SetResumeToken(fv string)
- func (m *WatchResourcesResponse) SetSnapshotSize(fv int64)
- func (m *WatchResourcesResponse) String() string
- func (m *WatchResourcesResponse) Unmarshal(b []byte) error
- func (m *WatchResourcesResponse) UnmarshalJSON(data []byte) error
- type WatchResourcesResponse_PageTokenChange
- func (*WatchResourcesResponse_PageTokenChange) Descriptor() ([]byte, []int)
- func (m *WatchResourcesResponse_PageTokenChange) GetNextPageToken() *resource.PagerCursor
- func (m *WatchResourcesResponse_PageTokenChange) GetPrevPageToken() *resource.PagerCursor
- func (*WatchResourcesResponse_PageTokenChange) GotenMessage()
- func (obj *WatchResourcesResponse_PageTokenChange) GotenValidate() error
- func (m *WatchResourcesResponse_PageTokenChange) Marshal() ([]byte, error)
- func (m *WatchResourcesResponse_PageTokenChange) MarshalJSON() ([]byte, error)
- func (*WatchResourcesResponse_PageTokenChange) ProtoMessage()
- func (m *WatchResourcesResponse_PageTokenChange) ProtoReflect() preflect.Message
- func (m *WatchResourcesResponse_PageTokenChange) Reset()
- func (m *WatchResourcesResponse_PageTokenChange) SetNextPageToken(fv *resource.PagerCursor)
- func (m *WatchResourcesResponse_PageTokenChange) SetPrevPageToken(fv *resource.PagerCursor)
- func (m *WatchResourcesResponse_PageTokenChange) String() string
- func (m *WatchResourcesResponse_PageTokenChange) Unmarshal(b []byte) error
- func (m *WatchResourcesResponse_PageTokenChange) UnmarshalJSON(data []byte) error
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 (d *BatchGetResourcesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
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 (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *BatchGetResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type BatchGetResourcesDescriptorServerMsgHandle ¶
type BatchGetResourcesDescriptorServerMsgHandle struct{}
func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *BatchGetResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *BatchGetResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
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 (m *BatchGetResourcesRequest) SetFieldMask(fv *resource.Resource_FieldMask)
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 (h *CreateResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateResourceDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *CreateResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CreateResourceDescriptorServerMsgHandle ¶
type CreateResourceDescriptorServerMsgHandle struct{}
func (*CreateResourceDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *CreateResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateResourceDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *CreateResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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"` // Optional masking applied to response object to reduce message response // size. ResponseMask *CreateResourceRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"` // contains filtered or unexported fields }
A request message of the 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) GetResponseMask ¶ added in v1.6.4
func (m *CreateResourceRequest) GetResponseMask() *CreateResourceRequest_ResponseMask
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) SetResponseMask ¶ added in v1.6.4
func (m *CreateResourceRequest) SetResponseMask(fv *CreateResourceRequest_ResponseMask)
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 CreateResourceRequest_ResponseMask ¶ added in v1.6.4
type CreateResourceRequest_ResponseMask struct { // Types that are valid to be assigned to Masking: // *CreateResourceRequest_ResponseMask_SkipEntireResponseBody // *CreateResourceRequest_ResponseMask_BodyMask Masking isCreateResourceRequest_ResponseMask_Masking `protobuf_oneof:"masking"` // contains filtered or unexported fields }
ResponseMask allows client to reduce response message size.
func (*CreateResourceRequest_ResponseMask) Descriptor ¶ added in v1.6.4
func (*CreateResourceRequest_ResponseMask) Descriptor() ([]byte, []int)
Deprecated, Use CreateResourceRequest_ResponseMask.ProtoReflect.Descriptor instead.
func (*CreateResourceRequest_ResponseMask) GetBodyMask ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) GetBodyMask() *resource.Resource_FieldMask
func (*CreateResourceRequest_ResponseMask) GetMasking ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) GetMasking() isCreateResourceRequest_ResponseMask_Masking
func (*CreateResourceRequest_ResponseMask) GetSkipEntireResponseBody ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) GetSkipEntireResponseBody() bool
func (*CreateResourceRequest_ResponseMask) GotenMessage ¶ added in v1.6.4
func (*CreateResourceRequest_ResponseMask) GotenMessage()
func (*CreateResourceRequest_ResponseMask) GotenValidate ¶ added in v1.6.4
func (obj *CreateResourceRequest_ResponseMask) GotenValidate() error
func (*CreateResourceRequest_ResponseMask) Marshal ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) Marshal() ([]byte, error)
func (*CreateResourceRequest_ResponseMask) MarshalJSON ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) MarshalJSON() ([]byte, error)
func (*CreateResourceRequest_ResponseMask) ProtoMessage ¶ added in v1.6.4
func (*CreateResourceRequest_ResponseMask) ProtoMessage()
func (*CreateResourceRequest_ResponseMask) ProtoReflect ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) ProtoReflect() preflect.Message
func (*CreateResourceRequest_ResponseMask) Reset ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) Reset()
func (*CreateResourceRequest_ResponseMask) SetBodyMask ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) SetBodyMask(fv *resource.Resource_FieldMask)
func (*CreateResourceRequest_ResponseMask) SetMasking ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) SetMasking(ofv isCreateResourceRequest_ResponseMask_Masking)
func (*CreateResourceRequest_ResponseMask) SetSkipEntireResponseBody ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)
func (*CreateResourceRequest_ResponseMask) String ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) String() string
func (*CreateResourceRequest_ResponseMask) Unmarshal ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) Unmarshal(b []byte) error
func (*CreateResourceRequest_ResponseMask) UnmarshalJSON ¶ added in v1.6.4
func (m *CreateResourceRequest_ResponseMask) UnmarshalJSON(data []byte) error
type CreateResourceRequest_ResponseMask_BodyMask ¶ added in v1.6.4
type CreateResourceRequest_ResponseMask_BodyMask struct { // If this field is populated, then resource in response will contain only // specific fields. BodyMask *resource.Resource_FieldMask `protobuf:"bytes,2,opt,customtype=Resource_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"` }
type CreateResourceRequest_ResponseMask_SkipEntireResponseBody ¶ added in v1.6.4
type CreateResourceRequest_ResponseMask_SkipEntireResponseBody struct { // If this flag has value true, then response will contain just empty // resource without any fields populated. SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */ }
type 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 (h *DeleteResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteResourceDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *DeleteResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type DeleteResourceDescriptorServerMsgHandle ¶
type DeleteResourceDescriptorServerMsgHandle struct{}
func (*DeleteResourceDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *DeleteResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteResourceDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *DeleteResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (h *GetResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*GetResourceDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetResourceDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetResourceDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetResourceDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *GetResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type GetResourceDescriptorServerMsgHandle ¶
type GetResourceDescriptorServerMsgHandle struct{}
func (*GetResourceDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *GetResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*GetResourceDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetResourceDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetResourceDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetResourceDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *GetResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (h *ListResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListResourcesDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *ListResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ListResourcesDescriptorServerMsgHandle ¶
type ListResourcesDescriptorServerMsgHandle struct{}
func (*ListResourcesDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *ListResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListResourcesDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *ListResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *ListResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
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.
func NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
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 (h *UpdateResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateResourceDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *UpdateResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type UpdateResourceDescriptorServerMsgHandle ¶
type UpdateResourceDescriptorServerMsgHandle struct{}
func (*UpdateResourceDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *UpdateResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateResourceDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *UpdateResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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"` // reduce message response size. ResponseMask *UpdateResourceRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"` // contains filtered or unexported fields }
A request message of the 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 (m *UpdateResourceRequest) GetCas() *UpdateResourceRequest_CAS
func (*UpdateResourceRequest) GetResource ¶
func (m *UpdateResourceRequest) GetResource() *resource.Resource
func (*UpdateResourceRequest) GetResponseMask ¶ added in v1.6.4
func (m *UpdateResourceRequest) GetResponseMask() *UpdateResourceRequest_ResponseMask
func (*UpdateResourceRequest) GetUpdateMask ¶
func (m *UpdateResourceRequest) GetUpdateMask() *resource.Resource_FieldMask
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 (m *UpdateResourceRequest) SetCas(fv *UpdateResourceRequest_CAS)
func (*UpdateResourceRequest) SetResource ¶
func (m *UpdateResourceRequest) SetResource(fv *resource.Resource)
func (*UpdateResourceRequest) SetResponseMask ¶ added in v1.6.4
func (m *UpdateResourceRequest) SetResponseMask(fv *UpdateResourceRequest_ResponseMask)
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 (m *UpdateResourceRequest_CAS) GetFieldMask() *resource.Resource_FieldMask
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 (m *UpdateResourceRequest_CAS) SetFieldMask(fv *resource.Resource_FieldMask)
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 UpdateResourceRequest_ResponseMask ¶ added in v1.6.4
type UpdateResourceRequest_ResponseMask struct { // Types that are valid to be assigned to Masking: // *UpdateResourceRequest_ResponseMask_SkipEntireResponseBody // *UpdateResourceRequest_ResponseMask_UpdatedFieldsOnly // *UpdateResourceRequest_ResponseMask_BodyMask Masking isUpdateResourceRequest_ResponseMask_Masking `protobuf_oneof:"masking"` // contains filtered or unexported fields }
ResponseMask allows client to reduce response message size.
func (*UpdateResourceRequest_ResponseMask) Descriptor ¶ added in v1.6.4
func (*UpdateResourceRequest_ResponseMask) Descriptor() ([]byte, []int)
Deprecated, Use UpdateResourceRequest_ResponseMask.ProtoReflect.Descriptor instead.
func (*UpdateResourceRequest_ResponseMask) GetBodyMask ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) GetBodyMask() *resource.Resource_FieldMask
func (*UpdateResourceRequest_ResponseMask) GetMasking ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) GetMasking() isUpdateResourceRequest_ResponseMask_Masking
func (*UpdateResourceRequest_ResponseMask) GetSkipEntireResponseBody ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) GetSkipEntireResponseBody() bool
func (*UpdateResourceRequest_ResponseMask) GetUpdatedFieldsOnly ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) GetUpdatedFieldsOnly() bool
func (*UpdateResourceRequest_ResponseMask) GotenMessage ¶ added in v1.6.4
func (*UpdateResourceRequest_ResponseMask) GotenMessage()
func (*UpdateResourceRequest_ResponseMask) GotenValidate ¶ added in v1.6.4
func (obj *UpdateResourceRequest_ResponseMask) GotenValidate() error
func (*UpdateResourceRequest_ResponseMask) Marshal ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) Marshal() ([]byte, error)
func (*UpdateResourceRequest_ResponseMask) MarshalJSON ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) MarshalJSON() ([]byte, error)
func (*UpdateResourceRequest_ResponseMask) ProtoMessage ¶ added in v1.6.4
func (*UpdateResourceRequest_ResponseMask) ProtoMessage()
func (*UpdateResourceRequest_ResponseMask) ProtoReflect ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) ProtoReflect() preflect.Message
func (*UpdateResourceRequest_ResponseMask) Reset ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) Reset()
func (*UpdateResourceRequest_ResponseMask) SetBodyMask ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) SetBodyMask(fv *resource.Resource_FieldMask)
func (*UpdateResourceRequest_ResponseMask) SetMasking ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) SetMasking(ofv isUpdateResourceRequest_ResponseMask_Masking)
func (*UpdateResourceRequest_ResponseMask) SetSkipEntireResponseBody ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)
func (*UpdateResourceRequest_ResponseMask) SetUpdatedFieldsOnly ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)
func (*UpdateResourceRequest_ResponseMask) String ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) String() string
func (*UpdateResourceRequest_ResponseMask) Unmarshal ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) Unmarshal(b []byte) error
func (*UpdateResourceRequest_ResponseMask) UnmarshalJSON ¶ added in v1.6.4
func (m *UpdateResourceRequest_ResponseMask) UnmarshalJSON(data []byte) error
type UpdateResourceRequest_ResponseMask_BodyMask ¶ added in v1.6.4
type UpdateResourceRequest_ResponseMask_BodyMask struct { // If this field is populated, then resource in response will contain only // specific fields. If skip_entire_response_body is true, this field is // ignored. BodyMask *resource.Resource_FieldMask `protobuf:"bytes,3,opt,customtype=Resource_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"` }
type UpdateResourceRequest_ResponseMask_SkipEntireResponseBody ¶ added in v1.6.4
type UpdateResourceRequest_ResponseMask_SkipEntireResponseBody struct { // If this flag has value true, then response will contain just empty // resource without any fields populated. Field body_mask is ignored if // set. SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */ }
type UpdateResourceRequest_ResponseMask_UpdatedFieldsOnly ¶ added in v1.6.4
type UpdateResourceRequest_ResponseMask_UpdatedFieldsOnly struct { // Include all fields that were actually updated during processing. Note // this may be larger than update mask if some fields were computed // additionally. Name is added as well. UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof" firestore:"updatedFieldsOnly"` }
type 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 (h *WatchResourceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchResourceDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *WatchResourceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchResourceDescriptorServerMsgHandle ¶
type WatchResourceDescriptorServerMsgHandle struct{}
func (*WatchResourceDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *WatchResourceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchResourceDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *WatchResourceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *WatchResourceRequest) GetFieldMask() *resource.Resource_FieldMask
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 (m *WatchResourceResponse) GetChange() *resource.ResourceChange
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 (h *WatchResourcesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchResourcesDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *WatchResourcesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchResourcesDescriptorServerMsgHandle ¶
type WatchResourcesDescriptorServerMsgHandle struct{}
func (*WatchResourcesDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *WatchResourcesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchResourcesDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *WatchResourcesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *WatchResourcesRequest) GetFieldMask() *resource.Resource_FieldMask
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 (m *WatchResourcesRequest) GetType() watch_type.WatchType
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 (m *WatchResourcesRequest) SetType(fv watch_type.WatchType)
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 (m *WatchResourcesResponse) GetPageTokenChange() *WatchResourcesResponse_PageTokenChange
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 (m *WatchResourcesResponse) SetPageTokenChange(fv *WatchResourcesResponse_PageTokenChange)
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 (m *WatchResourcesResponse_PageTokenChange) GetNextPageToken() *resource.PagerCursor
func (*WatchResourcesResponse_PageTokenChange) GetPrevPageToken ¶
func (m *WatchResourcesResponse_PageTokenChange) GetPrevPageToken() *resource.PagerCursor
func (*WatchResourcesResponse_PageTokenChange) GotenMessage ¶
func (*WatchResourcesResponse_PageTokenChange) GotenMessage()
func (*WatchResourcesResponse_PageTokenChange) GotenValidate ¶
func (obj *WatchResourcesResponse_PageTokenChange) GotenValidate() error
func (*WatchResourcesResponse_PageTokenChange) Marshal ¶
func (m *WatchResourcesResponse_PageTokenChange) Marshal() ([]byte, error)
func (*WatchResourcesResponse_PageTokenChange) MarshalJSON ¶
func (m *WatchResourcesResponse_PageTokenChange) MarshalJSON() ([]byte, error)
func (*WatchResourcesResponse_PageTokenChange) ProtoMessage ¶
func (*WatchResourcesResponse_PageTokenChange) ProtoMessage()
func (*WatchResourcesResponse_PageTokenChange) ProtoReflect ¶
func (m *WatchResourcesResponse_PageTokenChange) ProtoReflect() preflect.Message
func (*WatchResourcesResponse_PageTokenChange) Reset ¶
func (m *WatchResourcesResponse_PageTokenChange) Reset()
func (*WatchResourcesResponse_PageTokenChange) SetNextPageToken ¶
func (m *WatchResourcesResponse_PageTokenChange) SetNextPageToken(fv *resource.PagerCursor)
func (*WatchResourcesResponse_PageTokenChange) SetPrevPageToken ¶
func (m *WatchResourcesResponse_PageTokenChange) SetPrevPageToken(fv *resource.PagerCursor)
func (*WatchResourcesResponse_PageTokenChange) String ¶
func (m *WatchResourcesResponse_PageTokenChange) String() string
func (*WatchResourcesResponse_PageTokenChange) Unmarshal ¶
func (m *WatchResourcesResponse_PageTokenChange) Unmarshal(b []byte) error
func (*WatchResourcesResponse_PageTokenChange) UnmarshalJSON ¶
func (m *WatchResourcesResponse_PageTokenChange) UnmarshalJSON(data []byte) error