document_client

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetDocumentsDescriptor

type BatchGetDocumentsDescriptor struct{}

func GetBatchGetDocumentsDescriptor

func GetBatchGetDocumentsDescriptor() *BatchGetDocumentsDescriptor

func (*BatchGetDocumentsDescriptor) GetApiDescriptor

func (*BatchGetDocumentsDescriptor) GetApiName

func (d *BatchGetDocumentsDescriptor) GetApiName() string

func (*BatchGetDocumentsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetDocumentsDescriptor) GetFullMethodName

func (d *BatchGetDocumentsDescriptor) GetFullMethodName() string

func (*BatchGetDocumentsDescriptor) GetMethodName

func (d *BatchGetDocumentsDescriptor) GetMethodName() string

func (*BatchGetDocumentsDescriptor) GetProtoPkgName

func (d *BatchGetDocumentsDescriptor) GetProtoPkgName() string

func (*BatchGetDocumentsDescriptor) GetResourceDescriptor

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

func (*BatchGetDocumentsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetDocumentsDescriptor) GetServiceDomain

func (d *BatchGetDocumentsDescriptor) GetServiceDomain() string

func (*BatchGetDocumentsDescriptor) GetServiceVersion

func (d *BatchGetDocumentsDescriptor) GetServiceVersion() string

func (*BatchGetDocumentsDescriptor) GetVerb

func (d *BatchGetDocumentsDescriptor) GetVerb() string

func (*BatchGetDocumentsDescriptor) HasResource

func (d *BatchGetDocumentsDescriptor) HasResource() bool

func (*BatchGetDocumentsDescriptor) IsClientStream

func (d *BatchGetDocumentsDescriptor) IsClientStream() bool

func (*BatchGetDocumentsDescriptor) IsCollection

func (d *BatchGetDocumentsDescriptor) IsCollection() bool

func (*BatchGetDocumentsDescriptor) IsPlural

func (d *BatchGetDocumentsDescriptor) IsPlural() bool

func (*BatchGetDocumentsDescriptor) IsServerStream

func (d *BatchGetDocumentsDescriptor) IsServerStream() bool

func (*BatchGetDocumentsDescriptor) IsUnary

func (d *BatchGetDocumentsDescriptor) IsUnary() bool

func (*BatchGetDocumentsDescriptor) NewEmptyClientMsg

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

func (*BatchGetDocumentsDescriptor) NewEmptyServerMsg

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

func (*BatchGetDocumentsDescriptor) RequestHasResourceBody

func (d *BatchGetDocumentsDescriptor) RequestHasResourceBody() bool

type BatchGetDocumentsDescriptorClientMsgHandle

type BatchGetDocumentsDescriptorClientMsgHandle struct{}

func (*BatchGetDocumentsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetDocumentsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetDocumentsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetDocumentsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetDocumentsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetDocumentsDescriptorServerMsgHandle

type BatchGetDocumentsDescriptorServerMsgHandle struct{}

func (*BatchGetDocumentsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetDocumentsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetDocumentsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetDocumentsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetDocumentsDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetDocumentsRequest

type BatchGetDocumentsRequest struct {

	// Names of Documents
	Names []*document.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *document.Document_FieldMask `protobuf:"bytes,3,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

A request message of the BatchGetDocuments method.

func (*BatchGetDocumentsRequest) Descriptor

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

Deprecated, Use BatchGetDocumentsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetDocumentsRequest) GetFieldMask

func (*BatchGetDocumentsRequest) GetNames

func (m *BatchGetDocumentsRequest) GetNames() []*document.Name

func (*BatchGetDocumentsRequest) GetView

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

func (*BatchGetDocumentsRequest) GotenMessage

func (*BatchGetDocumentsRequest) GotenMessage()

func (*BatchGetDocumentsRequest) GotenValidate

func (obj *BatchGetDocumentsRequest) GotenValidate() error

func (*BatchGetDocumentsRequest) Marshal

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

func (*BatchGetDocumentsRequest) MarshalJSON

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

func (*BatchGetDocumentsRequest) ProtoMessage

func (*BatchGetDocumentsRequest) ProtoMessage()

func (*BatchGetDocumentsRequest) ProtoReflect

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

func (*BatchGetDocumentsRequest) Reset

func (m *BatchGetDocumentsRequest) Reset()

func (*BatchGetDocumentsRequest) SetFieldMask

func (*BatchGetDocumentsRequest) SetNames

func (m *BatchGetDocumentsRequest) SetNames(fv []*document.Name)

func (*BatchGetDocumentsRequest) SetView

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

func (*BatchGetDocumentsRequest) String

func (m *BatchGetDocumentsRequest) String() string

func (*BatchGetDocumentsRequest) Unmarshal

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

func (*BatchGetDocumentsRequest) UnmarshalJSON

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

type BatchGetDocumentsResponse

type BatchGetDocumentsResponse struct {

	// found Documents
	Documents []*document.Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	// list of not found Documents
	Missing []*document.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty"`
	// contains filtered or unexported fields
}

A response message of the BatchGetDocuments method.

func (*BatchGetDocumentsResponse) Descriptor

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

Deprecated, Use BatchGetDocumentsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetDocumentsResponse) GetDocuments

func (m *BatchGetDocumentsResponse) GetDocuments() []*document.Document

func (*BatchGetDocumentsResponse) GetMissing

func (m *BatchGetDocumentsResponse) GetMissing() []*document.Name

func (*BatchGetDocumentsResponse) GotenMessage

func (*BatchGetDocumentsResponse) GotenMessage()

func (*BatchGetDocumentsResponse) GotenValidate

func (obj *BatchGetDocumentsResponse) GotenValidate() error

func (*BatchGetDocumentsResponse) Marshal

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

func (*BatchGetDocumentsResponse) MarshalJSON

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

func (*BatchGetDocumentsResponse) ProtoMessage

func (*BatchGetDocumentsResponse) ProtoMessage()

func (*BatchGetDocumentsResponse) ProtoReflect

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

func (*BatchGetDocumentsResponse) Reset

func (m *BatchGetDocumentsResponse) Reset()

func (*BatchGetDocumentsResponse) SetDocuments

func (m *BatchGetDocumentsResponse) SetDocuments(fv []*document.Document)

func (*BatchGetDocumentsResponse) SetMissing

func (m *BatchGetDocumentsResponse) SetMissing(fv []*document.Name)

func (*BatchGetDocumentsResponse) String

func (m *BatchGetDocumentsResponse) String() string

func (*BatchGetDocumentsResponse) Unmarshal

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

func (*BatchGetDocumentsResponse) UnmarshalJSON

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

type CreateDocumentDescriptor

type CreateDocumentDescriptor struct{}

func GetCreateDocumentDescriptor

func GetCreateDocumentDescriptor() *CreateDocumentDescriptor

func (*CreateDocumentDescriptor) GetApiDescriptor

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

func (*CreateDocumentDescriptor) GetApiName

func (d *CreateDocumentDescriptor) GetApiName() string

func (*CreateDocumentDescriptor) GetClientMsgReflectHandle

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

func (*CreateDocumentDescriptor) GetFullMethodName

func (d *CreateDocumentDescriptor) GetFullMethodName() string

func (*CreateDocumentDescriptor) GetMethodName

func (d *CreateDocumentDescriptor) GetMethodName() string

func (*CreateDocumentDescriptor) GetProtoPkgName

func (d *CreateDocumentDescriptor) GetProtoPkgName() string

func (*CreateDocumentDescriptor) GetResourceDescriptor

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

func (*CreateDocumentDescriptor) GetServerMsgReflectHandle

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

func (*CreateDocumentDescriptor) GetServiceDomain

func (d *CreateDocumentDescriptor) GetServiceDomain() string

func (*CreateDocumentDescriptor) GetServiceVersion

func (d *CreateDocumentDescriptor) GetServiceVersion() string

func (*CreateDocumentDescriptor) GetVerb

func (d *CreateDocumentDescriptor) GetVerb() string

func (*CreateDocumentDescriptor) HasResource

func (d *CreateDocumentDescriptor) HasResource() bool

func (*CreateDocumentDescriptor) IsClientStream

func (d *CreateDocumentDescriptor) IsClientStream() bool

func (*CreateDocumentDescriptor) IsCollection

func (d *CreateDocumentDescriptor) IsCollection() bool

func (*CreateDocumentDescriptor) IsPlural

func (d *CreateDocumentDescriptor) IsPlural() bool

func (*CreateDocumentDescriptor) IsServerStream

func (d *CreateDocumentDescriptor) IsServerStream() bool

func (*CreateDocumentDescriptor) IsUnary

func (d *CreateDocumentDescriptor) IsUnary() bool

func (*CreateDocumentDescriptor) NewEmptyClientMsg

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

func (*CreateDocumentDescriptor) NewEmptyServerMsg

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

func (*CreateDocumentDescriptor) RequestHasResourceBody

func (d *CreateDocumentDescriptor) RequestHasResourceBody() bool

type CreateDocumentDescriptorClientMsgHandle

type CreateDocumentDescriptorClientMsgHandle struct{}

func (*CreateDocumentDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateDocumentDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateDocumentDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateDocumentDescriptorClientMsgHandle) ExtractResourceName

func (*CreateDocumentDescriptorClientMsgHandle) ExtractResourceNames

type CreateDocumentDescriptorServerMsgHandle

type CreateDocumentDescriptorServerMsgHandle struct{}

func (*CreateDocumentDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateDocumentDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateDocumentDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateDocumentDescriptorServerMsgHandle) ExtractResourceName

func (*CreateDocumentDescriptorServerMsgHandle) ExtractResourceNames

type CreateDocumentRequest

type CreateDocumentRequest struct {

	// Parent name of ntt.alerting.v1.Document
	Parent *document.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"`
	// Document resource body
	Document *document.Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
	// Optional masking applied to response object to reduce message response
	// size.
	ResponseMask *CreateDocumentRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message of the CreateDocument method.

func (*CreateDocumentRequest) Descriptor

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

Deprecated, Use CreateDocumentRequest.ProtoReflect.Descriptor instead.

func (*CreateDocumentRequest) GetDocument

func (m *CreateDocumentRequest) GetDocument() *document.Document

func (*CreateDocumentRequest) GetParent

func (m *CreateDocumentRequest) GetParent() *document.ParentName

func (*CreateDocumentRequest) GetResponseMask

func (*CreateDocumentRequest) GotenMessage

func (*CreateDocumentRequest) GotenMessage()

func (*CreateDocumentRequest) GotenValidate

func (obj *CreateDocumentRequest) GotenValidate() error

func (*CreateDocumentRequest) Marshal

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

func (*CreateDocumentRequest) MarshalJSON

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

func (*CreateDocumentRequest) ProtoMessage

func (*CreateDocumentRequest) ProtoMessage()

func (*CreateDocumentRequest) ProtoReflect

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

func (*CreateDocumentRequest) Reset

func (m *CreateDocumentRequest) Reset()

func (*CreateDocumentRequest) SetDocument

func (m *CreateDocumentRequest) SetDocument(fv *document.Document)

func (*CreateDocumentRequest) SetParent

func (m *CreateDocumentRequest) SetParent(fv *document.ParentName)

func (*CreateDocumentRequest) SetResponseMask

func (*CreateDocumentRequest) String

func (m *CreateDocumentRequest) String() string

func (*CreateDocumentRequest) Unmarshal

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

func (*CreateDocumentRequest) UnmarshalJSON

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

type CreateDocumentRequest_ResponseMask

type CreateDocumentRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*CreateDocumentRequest_ResponseMask_SkipEntireResponseBody
	//	*CreateDocumentRequest_ResponseMask_BodyMask
	Masking isCreateDocumentRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*CreateDocumentRequest_ResponseMask) Descriptor

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

Deprecated, Use CreateDocumentRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*CreateDocumentRequest_ResponseMask) GetBodyMask

func (*CreateDocumentRequest_ResponseMask) GetMasking

func (m *CreateDocumentRequest_ResponseMask) GetMasking() isCreateDocumentRequest_ResponseMask_Masking

func (*CreateDocumentRequest_ResponseMask) GetSkipEntireResponseBody

func (m *CreateDocumentRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*CreateDocumentRequest_ResponseMask) GotenMessage

func (*CreateDocumentRequest_ResponseMask) GotenMessage()

func (*CreateDocumentRequest_ResponseMask) GotenValidate

func (obj *CreateDocumentRequest_ResponseMask) GotenValidate() error

func (*CreateDocumentRequest_ResponseMask) Marshal

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

func (*CreateDocumentRequest_ResponseMask) MarshalJSON

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

func (*CreateDocumentRequest_ResponseMask) ProtoMessage

func (*CreateDocumentRequest_ResponseMask) ProtoMessage()

func (*CreateDocumentRequest_ResponseMask) ProtoReflect

func (*CreateDocumentRequest_ResponseMask) Reset

func (*CreateDocumentRequest_ResponseMask) SetBodyMask

func (*CreateDocumentRequest_ResponseMask) SetMasking

func (m *CreateDocumentRequest_ResponseMask) SetMasking(ofv isCreateDocumentRequest_ResponseMask_Masking)

func (*CreateDocumentRequest_ResponseMask) SetSkipEntireResponseBody

func (m *CreateDocumentRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*CreateDocumentRequest_ResponseMask) String

func (*CreateDocumentRequest_ResponseMask) Unmarshal

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

func (*CreateDocumentRequest_ResponseMask) UnmarshalJSON

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

type CreateDocumentRequest_ResponseMask_BodyMask

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

type CreateDocumentRequest_ResponseMask_SkipEntireResponseBody

type CreateDocumentRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated.
	SkipEntireResponseBody bool `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"`
}

type DeleteDocumentDescriptor

type DeleteDocumentDescriptor struct{}

func GetDeleteDocumentDescriptor

func GetDeleteDocumentDescriptor() *DeleteDocumentDescriptor

func (*DeleteDocumentDescriptor) GetApiDescriptor

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

func (*DeleteDocumentDescriptor) GetApiName

func (d *DeleteDocumentDescriptor) GetApiName() string

func (*DeleteDocumentDescriptor) GetClientMsgReflectHandle

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

func (*DeleteDocumentDescriptor) GetFullMethodName

func (d *DeleteDocumentDescriptor) GetFullMethodName() string

func (*DeleteDocumentDescriptor) GetMethodName

func (d *DeleteDocumentDescriptor) GetMethodName() string

func (*DeleteDocumentDescriptor) GetProtoPkgName

func (d *DeleteDocumentDescriptor) GetProtoPkgName() string

func (*DeleteDocumentDescriptor) GetResourceDescriptor

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

func (*DeleteDocumentDescriptor) GetServerMsgReflectHandle

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

func (*DeleteDocumentDescriptor) GetServiceDomain

func (d *DeleteDocumentDescriptor) GetServiceDomain() string

func (*DeleteDocumentDescriptor) GetServiceVersion

func (d *DeleteDocumentDescriptor) GetServiceVersion() string

func (*DeleteDocumentDescriptor) GetVerb

func (d *DeleteDocumentDescriptor) GetVerb() string

func (*DeleteDocumentDescriptor) HasResource

func (d *DeleteDocumentDescriptor) HasResource() bool

func (*DeleteDocumentDescriptor) IsClientStream

func (d *DeleteDocumentDescriptor) IsClientStream() bool

func (*DeleteDocumentDescriptor) IsCollection

func (d *DeleteDocumentDescriptor) IsCollection() bool

func (*DeleteDocumentDescriptor) IsPlural

func (d *DeleteDocumentDescriptor) IsPlural() bool

func (*DeleteDocumentDescriptor) IsServerStream

func (d *DeleteDocumentDescriptor) IsServerStream() bool

func (*DeleteDocumentDescriptor) IsUnary

func (d *DeleteDocumentDescriptor) IsUnary() bool

func (*DeleteDocumentDescriptor) NewEmptyClientMsg

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

func (*DeleteDocumentDescriptor) NewEmptyServerMsg

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

func (*DeleteDocumentDescriptor) RequestHasResourceBody

func (d *DeleteDocumentDescriptor) RequestHasResourceBody() bool

type DeleteDocumentDescriptorClientMsgHandle

type DeleteDocumentDescriptorClientMsgHandle struct{}

func (*DeleteDocumentDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteDocumentDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteDocumentDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteDocumentDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteDocumentDescriptorClientMsgHandle) ExtractResourceNames

type DeleteDocumentDescriptorServerMsgHandle

type DeleteDocumentDescriptorServerMsgHandle struct{}

func (*DeleteDocumentDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteDocumentDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteDocumentDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteDocumentDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteDocumentDescriptorServerMsgHandle) ExtractResourceNames

type DeleteDocumentRequest

type DeleteDocumentRequest struct {

	// Name of ntt.alerting.v1.Document
	Name *document.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// If set to true, and the resource is not found, method will be successful
	// and will not return NotFound error.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

A request message of the DeleteDocument method.

func (*DeleteDocumentRequest) Descriptor

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

Deprecated, Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDocumentRequest) GetAllowMissing added in v1.14.3

func (m *DeleteDocumentRequest) GetAllowMissing() bool

func (*DeleteDocumentRequest) GetName

func (m *DeleteDocumentRequest) GetName() *document.Name

func (*DeleteDocumentRequest) GotenMessage

func (*DeleteDocumentRequest) GotenMessage()

func (*DeleteDocumentRequest) GotenValidate

func (obj *DeleteDocumentRequest) GotenValidate() error

func (*DeleteDocumentRequest) Marshal

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

func (*DeleteDocumentRequest) MarshalJSON

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

func (*DeleteDocumentRequest) ProtoMessage

func (*DeleteDocumentRequest) ProtoMessage()

func (*DeleteDocumentRequest) ProtoReflect

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

func (*DeleteDocumentRequest) Reset

func (m *DeleteDocumentRequest) Reset()

func (*DeleteDocumentRequest) SetAllowMissing added in v1.14.3

func (m *DeleteDocumentRequest) SetAllowMissing(fv bool)

func (*DeleteDocumentRequest) SetName

func (m *DeleteDocumentRequest) SetName(fv *document.Name)

func (*DeleteDocumentRequest) String

func (m *DeleteDocumentRequest) String() string

func (*DeleteDocumentRequest) Unmarshal

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

func (*DeleteDocumentRequest) UnmarshalJSON

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

type DocumentServiceClient

type DocumentServiceClient interface {
	GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*document.Document, error)
	BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (*BatchGetDocumentsResponse, error)
	ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
	WatchDocument(ctx context.Context, in *WatchDocumentRequest, opts ...grpc.CallOption) (WatchDocumentClientStream, error)
	WatchDocuments(ctx context.Context, in *WatchDocumentsRequest, opts ...grpc.CallOption) (WatchDocumentsClientStream, error)
	CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*document.Document, error)
	UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*document.Document, error)
	DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SearchDocuments(ctx context.Context, in *SearchDocumentsRequest, opts ...grpc.CallOption) (*SearchDocumentsResponse, error)
}

DocumentServiceClient is the client API for DocumentService.

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

type DocumentServiceDescriptor

type DocumentServiceDescriptor struct{}

func GetDocumentServiceDescriptor

func GetDocumentServiceDescriptor() *DocumentServiceDescriptor

func (*DocumentServiceDescriptor) AllMethodDescriptors

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

func (*DocumentServiceDescriptor) GetApiName

func (d *DocumentServiceDescriptor) GetApiName() string

func (*DocumentServiceDescriptor) GetFullAPIName

func (d *DocumentServiceDescriptor) GetFullAPIName() string

func (*DocumentServiceDescriptor) GetProtoPkgName

func (d *DocumentServiceDescriptor) GetProtoPkgName() string

func (*DocumentServiceDescriptor) GetServiceDomain

func (d *DocumentServiceDescriptor) GetServiceDomain() string

func (*DocumentServiceDescriptor) GetServiceVersion

func (d *DocumentServiceDescriptor) GetServiceVersion() string

type GetDocumentDescriptor

type GetDocumentDescriptor struct{}

func GetGetDocumentDescriptor

func GetGetDocumentDescriptor() *GetDocumentDescriptor

func (*GetDocumentDescriptor) GetApiDescriptor

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

func (*GetDocumentDescriptor) GetApiName

func (d *GetDocumentDescriptor) GetApiName() string

func (*GetDocumentDescriptor) GetClientMsgReflectHandle

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

func (*GetDocumentDescriptor) GetFullMethodName

func (d *GetDocumentDescriptor) GetFullMethodName() string

func (*GetDocumentDescriptor) GetMethodName

func (d *GetDocumentDescriptor) GetMethodName() string

func (*GetDocumentDescriptor) GetProtoPkgName

func (d *GetDocumentDescriptor) GetProtoPkgName() string

func (*GetDocumentDescriptor) GetResourceDescriptor

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

func (*GetDocumentDescriptor) GetServerMsgReflectHandle

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

func (*GetDocumentDescriptor) GetServiceDomain

func (d *GetDocumentDescriptor) GetServiceDomain() string

func (*GetDocumentDescriptor) GetServiceVersion

func (d *GetDocumentDescriptor) GetServiceVersion() string

func (*GetDocumentDescriptor) GetVerb

func (d *GetDocumentDescriptor) GetVerb() string

func (*GetDocumentDescriptor) HasResource

func (d *GetDocumentDescriptor) HasResource() bool

func (*GetDocumentDescriptor) IsClientStream

func (d *GetDocumentDescriptor) IsClientStream() bool

func (*GetDocumentDescriptor) IsCollection

func (d *GetDocumentDescriptor) IsCollection() bool

func (*GetDocumentDescriptor) IsPlural

func (d *GetDocumentDescriptor) IsPlural() bool

func (*GetDocumentDescriptor) IsServerStream

func (d *GetDocumentDescriptor) IsServerStream() bool

func (*GetDocumentDescriptor) IsUnary

func (d *GetDocumentDescriptor) IsUnary() bool

func (*GetDocumentDescriptor) NewEmptyClientMsg

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

func (*GetDocumentDescriptor) NewEmptyServerMsg

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

func (*GetDocumentDescriptor) RequestHasResourceBody

func (d *GetDocumentDescriptor) RequestHasResourceBody() bool

type GetDocumentDescriptorClientMsgHandle

type GetDocumentDescriptorClientMsgHandle struct{}

func (*GetDocumentDescriptorClientMsgHandle) ExtractCollectionName

func (*GetDocumentDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetDocumentDescriptorClientMsgHandle) ExtractResourceBody

func (*GetDocumentDescriptorClientMsgHandle) ExtractResourceName

func (*GetDocumentDescriptorClientMsgHandle) ExtractResourceNames

type GetDocumentDescriptorServerMsgHandle

type GetDocumentDescriptorServerMsgHandle struct{}

func (*GetDocumentDescriptorServerMsgHandle) ExtractCollectionName

func (*GetDocumentDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetDocumentDescriptorServerMsgHandle) ExtractResourceBody

func (*GetDocumentDescriptorServerMsgHandle) ExtractResourceName

func (*GetDocumentDescriptorServerMsgHandle) ExtractResourceNames

type GetDocumentRequest

type GetDocumentRequest struct {

	// Name of ntt.alerting.v1.Document
	Name *document.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *document.Document_FieldMask `protobuf:"bytes,3,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

A request message of the GetDocument method.

func (*GetDocumentRequest) Descriptor

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

Deprecated, Use GetDocumentRequest.ProtoReflect.Descriptor instead.

func (*GetDocumentRequest) GetFieldMask

func (m *GetDocumentRequest) GetFieldMask() *document.Document_FieldMask

func (*GetDocumentRequest) GetName

func (m *GetDocumentRequest) GetName() *document.Name

func (*GetDocumentRequest) GetView

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

func (*GetDocumentRequest) GotenMessage

func (*GetDocumentRequest) GotenMessage()

func (*GetDocumentRequest) GotenValidate

func (obj *GetDocumentRequest) GotenValidate() error

func (*GetDocumentRequest) Marshal

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

func (*GetDocumentRequest) MarshalJSON

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

func (*GetDocumentRequest) ProtoMessage

func (*GetDocumentRequest) ProtoMessage()

func (*GetDocumentRequest) ProtoReflect

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

func (*GetDocumentRequest) Reset

func (m *GetDocumentRequest) Reset()

func (*GetDocumentRequest) SetFieldMask

func (m *GetDocumentRequest) SetFieldMask(fv *document.Document_FieldMask)

func (*GetDocumentRequest) SetName

func (m *GetDocumentRequest) SetName(fv *document.Name)

func (*GetDocumentRequest) SetView

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

func (*GetDocumentRequest) String

func (m *GetDocumentRequest) String() string

func (*GetDocumentRequest) Unmarshal

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

func (*GetDocumentRequest) UnmarshalJSON

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

type ListDocumentsDescriptor

type ListDocumentsDescriptor struct{}

func GetListDocumentsDescriptor

func GetListDocumentsDescriptor() *ListDocumentsDescriptor

func (*ListDocumentsDescriptor) GetApiDescriptor

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

func (*ListDocumentsDescriptor) GetApiName

func (d *ListDocumentsDescriptor) GetApiName() string

func (*ListDocumentsDescriptor) GetClientMsgReflectHandle

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

func (*ListDocumentsDescriptor) GetFullMethodName

func (d *ListDocumentsDescriptor) GetFullMethodName() string

func (*ListDocumentsDescriptor) GetMethodName

func (d *ListDocumentsDescriptor) GetMethodName() string

func (*ListDocumentsDescriptor) GetProtoPkgName

func (d *ListDocumentsDescriptor) GetProtoPkgName() string

func (*ListDocumentsDescriptor) GetResourceDescriptor

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

func (*ListDocumentsDescriptor) GetServerMsgReflectHandle

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

func (*ListDocumentsDescriptor) GetServiceDomain

func (d *ListDocumentsDescriptor) GetServiceDomain() string

func (*ListDocumentsDescriptor) GetServiceVersion

func (d *ListDocumentsDescriptor) GetServiceVersion() string

func (*ListDocumentsDescriptor) GetVerb

func (d *ListDocumentsDescriptor) GetVerb() string

func (*ListDocumentsDescriptor) HasResource

func (d *ListDocumentsDescriptor) HasResource() bool

func (*ListDocumentsDescriptor) IsClientStream

func (d *ListDocumentsDescriptor) IsClientStream() bool

func (*ListDocumentsDescriptor) IsCollection

func (d *ListDocumentsDescriptor) IsCollection() bool

func (*ListDocumentsDescriptor) IsPlural

func (d *ListDocumentsDescriptor) IsPlural() bool

func (*ListDocumentsDescriptor) IsServerStream

func (d *ListDocumentsDescriptor) IsServerStream() bool

func (*ListDocumentsDescriptor) IsUnary

func (d *ListDocumentsDescriptor) IsUnary() bool

func (*ListDocumentsDescriptor) NewEmptyClientMsg

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

func (*ListDocumentsDescriptor) NewEmptyServerMsg

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

func (*ListDocumentsDescriptor) RequestHasResourceBody

func (d *ListDocumentsDescriptor) RequestHasResourceBody() bool

type ListDocumentsDescriptorClientMsgHandle

type ListDocumentsDescriptorClientMsgHandle struct{}

func (*ListDocumentsDescriptorClientMsgHandle) ExtractCollectionName

func (*ListDocumentsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListDocumentsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListDocumentsDescriptorClientMsgHandle) ExtractResourceName

func (*ListDocumentsDescriptorClientMsgHandle) ExtractResourceNames

type ListDocumentsDescriptorServerMsgHandle

type ListDocumentsDescriptorServerMsgHandle struct{}

func (*ListDocumentsDescriptorServerMsgHandle) ExtractCollectionName

func (*ListDocumentsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListDocumentsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListDocumentsDescriptorServerMsgHandle) ExtractResourceName

func (*ListDocumentsDescriptorServerMsgHandle) ExtractResourceNames

type ListDocumentsRequest

type ListDocumentsRequest struct {

	// Parent name of ntt.alerting.v1.Document
	Parent *document.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer Documents 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"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// ListDocumentsResponse.next_page_token.
	PageToken *document.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// 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 *document.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// 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 *document.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *document.Document_FieldMask `protobuf:"bytes,6,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `protobuf:"varint,8,opt,name=include_paging_info,json=includePagingInfo,proto3" json:"include_paging_info,omitempty"`
	// contains filtered or unexported fields
}

A request message of the ListDocuments method.

func (*ListDocumentsRequest) Descriptor

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

Deprecated, Use ListDocumentsRequest.ProtoReflect.Descriptor instead.

func (*ListDocumentsRequest) GetFieldMask

func (*ListDocumentsRequest) GetFilter

func (m *ListDocumentsRequest) GetFilter() *document.Filter

func (*ListDocumentsRequest) GetIncludePagingInfo

func (m *ListDocumentsRequest) GetIncludePagingInfo() bool

func (*ListDocumentsRequest) GetOrderBy

func (m *ListDocumentsRequest) GetOrderBy() *document.OrderBy

func (*ListDocumentsRequest) GetPageSize

func (m *ListDocumentsRequest) GetPageSize() int32

func (*ListDocumentsRequest) GetPageToken

func (m *ListDocumentsRequest) GetPageToken() *document.PagerCursor

func (*ListDocumentsRequest) GetParent

func (m *ListDocumentsRequest) GetParent() *document.ParentName

func (*ListDocumentsRequest) GetView

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

func (*ListDocumentsRequest) GotenMessage

func (*ListDocumentsRequest) GotenMessage()

func (*ListDocumentsRequest) GotenValidate

func (obj *ListDocumentsRequest) GotenValidate() error

func (*ListDocumentsRequest) Marshal

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

func (*ListDocumentsRequest) MarshalJSON

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

func (*ListDocumentsRequest) ProtoMessage

func (*ListDocumentsRequest) ProtoMessage()

func (*ListDocumentsRequest) ProtoReflect

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

func (*ListDocumentsRequest) Reset

func (m *ListDocumentsRequest) Reset()

func (*ListDocumentsRequest) SetFieldMask

func (m *ListDocumentsRequest) SetFieldMask(fv *document.Document_FieldMask)

func (*ListDocumentsRequest) SetFilter

func (m *ListDocumentsRequest) SetFilter(fv *document.Filter)

func (*ListDocumentsRequest) SetIncludePagingInfo

func (m *ListDocumentsRequest) SetIncludePagingInfo(fv bool)

func (*ListDocumentsRequest) SetOrderBy

func (m *ListDocumentsRequest) SetOrderBy(fv *document.OrderBy)

func (*ListDocumentsRequest) SetPageSize

func (m *ListDocumentsRequest) SetPageSize(fv int32)

func (*ListDocumentsRequest) SetPageToken

func (m *ListDocumentsRequest) SetPageToken(fv *document.PagerCursor)

func (*ListDocumentsRequest) SetParent

func (m *ListDocumentsRequest) SetParent(fv *document.ParentName)

func (*ListDocumentsRequest) SetView

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

func (*ListDocumentsRequest) String

func (m *ListDocumentsRequest) String() string

func (*ListDocumentsRequest) Unmarshal

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

func (*ListDocumentsRequest) UnmarshalJSON

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

type ListDocumentsResponse

type ListDocumentsResponse struct {

	// The list of Documents
	Documents []*document.Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListDocumentsRequest.page_token.
	PrevPageToken *document.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"`
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListDocumentsRequest.page_token.
	NextPageToken *document.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// 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 `protobuf:"varint,5,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"`
	// Number of total Documents 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 `protobuf:"varint,6,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"`
	// contains filtered or unexported fields
}

A response message of the ListDocuments method.

func (*ListDocumentsResponse) Descriptor

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

Deprecated, Use ListDocumentsResponse.ProtoReflect.Descriptor instead.

func (*ListDocumentsResponse) GetCurrentOffset

func (m *ListDocumentsResponse) GetCurrentOffset() int32

func (*ListDocumentsResponse) GetDocuments

func (m *ListDocumentsResponse) GetDocuments() []*document.Document

func (*ListDocumentsResponse) GetNextPageToken

func (m *ListDocumentsResponse) GetNextPageToken() *document.PagerCursor

func (*ListDocumentsResponse) GetPrevPageToken

func (m *ListDocumentsResponse) GetPrevPageToken() *document.PagerCursor

func (*ListDocumentsResponse) GetTotalResultsCount

func (m *ListDocumentsResponse) GetTotalResultsCount() int32

func (*ListDocumentsResponse) GotenMessage

func (*ListDocumentsResponse) GotenMessage()

func (*ListDocumentsResponse) GotenValidate

func (obj *ListDocumentsResponse) GotenValidate() error

func (*ListDocumentsResponse) Marshal

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

func (*ListDocumentsResponse) MarshalJSON

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

func (*ListDocumentsResponse) ProtoMessage

func (*ListDocumentsResponse) ProtoMessage()

func (*ListDocumentsResponse) ProtoReflect

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

func (*ListDocumentsResponse) Reset

func (m *ListDocumentsResponse) Reset()

func (*ListDocumentsResponse) SetCurrentOffset

func (m *ListDocumentsResponse) SetCurrentOffset(fv int32)

func (*ListDocumentsResponse) SetDocuments

func (m *ListDocumentsResponse) SetDocuments(fv []*document.Document)

func (*ListDocumentsResponse) SetNextPageToken

func (m *ListDocumentsResponse) SetNextPageToken(fv *document.PagerCursor)

func (*ListDocumentsResponse) SetPrevPageToken

func (m *ListDocumentsResponse) SetPrevPageToken(fv *document.PagerCursor)

func (*ListDocumentsResponse) SetTotalResultsCount

func (m *ListDocumentsResponse) SetTotalResultsCount(fv int32)

func (*ListDocumentsResponse) String

func (m *ListDocumentsResponse) String() string

func (*ListDocumentsResponse) Unmarshal

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

func (*ListDocumentsResponse) UnmarshalJSON

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

type SearchDocumentsDescriptor

type SearchDocumentsDescriptor struct{}

func GetSearchDocumentsDescriptor

func GetSearchDocumentsDescriptor() *SearchDocumentsDescriptor

func (*SearchDocumentsDescriptor) GetApiDescriptor

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

func (*SearchDocumentsDescriptor) GetApiName

func (d *SearchDocumentsDescriptor) GetApiName() string

func (*SearchDocumentsDescriptor) GetClientMsgReflectHandle

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

func (*SearchDocumentsDescriptor) GetFullMethodName

func (d *SearchDocumentsDescriptor) GetFullMethodName() string

func (*SearchDocumentsDescriptor) GetMethodName

func (d *SearchDocumentsDescriptor) GetMethodName() string

func (*SearchDocumentsDescriptor) GetProtoPkgName

func (d *SearchDocumentsDescriptor) GetProtoPkgName() string

func (*SearchDocumentsDescriptor) GetResourceDescriptor

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

func (*SearchDocumentsDescriptor) GetServerMsgReflectHandle

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

func (*SearchDocumentsDescriptor) GetServiceDomain

func (d *SearchDocumentsDescriptor) GetServiceDomain() string

func (*SearchDocumentsDescriptor) GetServiceVersion

func (d *SearchDocumentsDescriptor) GetServiceVersion() string

func (*SearchDocumentsDescriptor) GetVerb

func (d *SearchDocumentsDescriptor) GetVerb() string

func (*SearchDocumentsDescriptor) HasResource

func (d *SearchDocumentsDescriptor) HasResource() bool

func (*SearchDocumentsDescriptor) IsClientStream

func (d *SearchDocumentsDescriptor) IsClientStream() bool

func (*SearchDocumentsDescriptor) IsCollection

func (d *SearchDocumentsDescriptor) IsCollection() bool

func (*SearchDocumentsDescriptor) IsPlural

func (d *SearchDocumentsDescriptor) IsPlural() bool

func (*SearchDocumentsDescriptor) IsServerStream

func (d *SearchDocumentsDescriptor) IsServerStream() bool

func (*SearchDocumentsDescriptor) IsUnary

func (d *SearchDocumentsDescriptor) IsUnary() bool

func (*SearchDocumentsDescriptor) NewEmptyClientMsg

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

func (*SearchDocumentsDescriptor) NewEmptyServerMsg

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

func (*SearchDocumentsDescriptor) RequestHasResourceBody

func (d *SearchDocumentsDescriptor) RequestHasResourceBody() bool

type SearchDocumentsDescriptorClientMsgHandle

type SearchDocumentsDescriptorClientMsgHandle struct{}

func (*SearchDocumentsDescriptorClientMsgHandle) ExtractCollectionName

func (*SearchDocumentsDescriptorClientMsgHandle) ExtractResourceBodies

func (*SearchDocumentsDescriptorClientMsgHandle) ExtractResourceBody

func (*SearchDocumentsDescriptorClientMsgHandle) ExtractResourceName

func (*SearchDocumentsDescriptorClientMsgHandle) ExtractResourceNames

type SearchDocumentsDescriptorServerMsgHandle

type SearchDocumentsDescriptorServerMsgHandle struct{}

func (*SearchDocumentsDescriptorServerMsgHandle) ExtractCollectionName

func (*SearchDocumentsDescriptorServerMsgHandle) ExtractResourceBodies

func (*SearchDocumentsDescriptorServerMsgHandle) ExtractResourceBody

func (*SearchDocumentsDescriptorServerMsgHandle) ExtractResourceName

func (*SearchDocumentsDescriptorServerMsgHandle) ExtractResourceNames

type SearchDocumentsRequest

type SearchDocumentsRequest struct {

	// Parent name of ntt.alerting.v1.Document
	Parent *document.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer Documents 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"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// SearchDocumentsResponse.next_page_token.
	PageToken *document.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// 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 *document.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// 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 *document.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *document.Document_FieldMask `protobuf:"bytes,6,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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"`
	// Optional search phrase used to further filter results.
	Phrase string `protobuf:"bytes,8,opt,name=phrase,proto3" json:"phrase,omitempty"`
	// contains filtered or unexported fields
}

A request message of the SearchDocuments method.

func (*SearchDocumentsRequest) Descriptor

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

Deprecated, Use SearchDocumentsRequest.ProtoReflect.Descriptor instead.

func (*SearchDocumentsRequest) GetFieldMask

func (*SearchDocumentsRequest) GetFilter

func (m *SearchDocumentsRequest) GetFilter() *document.Filter

func (*SearchDocumentsRequest) GetOrderBy

func (m *SearchDocumentsRequest) GetOrderBy() *document.OrderBy

func (*SearchDocumentsRequest) GetPageSize

func (m *SearchDocumentsRequest) GetPageSize() int32

func (*SearchDocumentsRequest) GetPageToken

func (m *SearchDocumentsRequest) GetPageToken() *document.PagerCursor

func (*SearchDocumentsRequest) GetParent

func (m *SearchDocumentsRequest) GetParent() *document.ParentName

func (*SearchDocumentsRequest) GetPhrase

func (m *SearchDocumentsRequest) GetPhrase() string

func (*SearchDocumentsRequest) GetView

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

func (*SearchDocumentsRequest) GotenMessage

func (*SearchDocumentsRequest) GotenMessage()

func (*SearchDocumentsRequest) GotenValidate

func (obj *SearchDocumentsRequest) GotenValidate() error

func (*SearchDocumentsRequest) Marshal

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

func (*SearchDocumentsRequest) MarshalJSON

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

func (*SearchDocumentsRequest) ProtoMessage

func (*SearchDocumentsRequest) ProtoMessage()

func (*SearchDocumentsRequest) ProtoReflect

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

func (*SearchDocumentsRequest) Reset

func (m *SearchDocumentsRequest) Reset()

func (*SearchDocumentsRequest) SetFieldMask

func (m *SearchDocumentsRequest) SetFieldMask(fv *document.Document_FieldMask)

func (*SearchDocumentsRequest) SetFilter

func (m *SearchDocumentsRequest) SetFilter(fv *document.Filter)

func (*SearchDocumentsRequest) SetOrderBy

func (m *SearchDocumentsRequest) SetOrderBy(fv *document.OrderBy)

func (*SearchDocumentsRequest) SetPageSize

func (m *SearchDocumentsRequest) SetPageSize(fv int32)

func (*SearchDocumentsRequest) SetPageToken

func (m *SearchDocumentsRequest) SetPageToken(fv *document.PagerCursor)

func (*SearchDocumentsRequest) SetParent

func (m *SearchDocumentsRequest) SetParent(fv *document.ParentName)

func (*SearchDocumentsRequest) SetPhrase

func (m *SearchDocumentsRequest) SetPhrase(fv string)

func (*SearchDocumentsRequest) SetView

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

func (*SearchDocumentsRequest) String

func (m *SearchDocumentsRequest) String() string

func (*SearchDocumentsRequest) Unmarshal

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

func (*SearchDocumentsRequest) UnmarshalJSON

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

type SearchDocumentsResponse

type SearchDocumentsResponse struct {

	// The list of Documents
	Documents []*document.Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the SearchDocumentsRequest.page_token.
	PrevPageToken *document.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"`
	// A token to retrieve next page of results.
	//
	// Pass this value in the SearchDocumentsRequest.page_token.
	NextPageToken *document.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Current offset from the first page (0 if no page tokens were given). Page
	// index can be computed from offset and limit provided in a request
	CurrentOffset int32 `protobuf:"varint,5,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"`
	// Number of total Documents across all pages.
	TotalResultsCount int32 `protobuf:"varint,6,opt,name=total_results_count,json=totalResultsCount,proto3" json:"total_results_count,omitempty"`
	// contains filtered or unexported fields
}

A response message of the SearchDocuments method.

func (*SearchDocumentsResponse) Descriptor

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

Deprecated, Use SearchDocumentsResponse.ProtoReflect.Descriptor instead.

func (*SearchDocumentsResponse) GetCurrentOffset

func (m *SearchDocumentsResponse) GetCurrentOffset() int32

func (*SearchDocumentsResponse) GetDocuments

func (m *SearchDocumentsResponse) GetDocuments() []*document.Document

func (*SearchDocumentsResponse) GetNextPageToken

func (m *SearchDocumentsResponse) GetNextPageToken() *document.PagerCursor

func (*SearchDocumentsResponse) GetPrevPageToken

func (m *SearchDocumentsResponse) GetPrevPageToken() *document.PagerCursor

func (*SearchDocumentsResponse) GetTotalResultsCount

func (m *SearchDocumentsResponse) GetTotalResultsCount() int32

func (*SearchDocumentsResponse) GotenMessage

func (*SearchDocumentsResponse) GotenMessage()

func (*SearchDocumentsResponse) GotenValidate

func (obj *SearchDocumentsResponse) GotenValidate() error

func (*SearchDocumentsResponse) Marshal

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

func (*SearchDocumentsResponse) MarshalJSON

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

func (*SearchDocumentsResponse) ProtoMessage

func (*SearchDocumentsResponse) ProtoMessage()

func (*SearchDocumentsResponse) ProtoReflect

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

func (*SearchDocumentsResponse) Reset

func (m *SearchDocumentsResponse) Reset()

func (*SearchDocumentsResponse) SetCurrentOffset

func (m *SearchDocumentsResponse) SetCurrentOffset(fv int32)

func (*SearchDocumentsResponse) SetDocuments

func (m *SearchDocumentsResponse) SetDocuments(fv []*document.Document)

func (*SearchDocumentsResponse) SetNextPageToken

func (m *SearchDocumentsResponse) SetNextPageToken(fv *document.PagerCursor)

func (*SearchDocumentsResponse) SetPrevPageToken

func (m *SearchDocumentsResponse) SetPrevPageToken(fv *document.PagerCursor)

func (*SearchDocumentsResponse) SetTotalResultsCount

func (m *SearchDocumentsResponse) SetTotalResultsCount(fv int32)

func (*SearchDocumentsResponse) String

func (m *SearchDocumentsResponse) String() string

func (*SearchDocumentsResponse) Unmarshal

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

func (*SearchDocumentsResponse) UnmarshalJSON

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

type UpdateDocumentDescriptor

type UpdateDocumentDescriptor struct{}

func GetUpdateDocumentDescriptor

func GetUpdateDocumentDescriptor() *UpdateDocumentDescriptor

func (*UpdateDocumentDescriptor) GetApiDescriptor

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

func (*UpdateDocumentDescriptor) GetApiName

func (d *UpdateDocumentDescriptor) GetApiName() string

func (*UpdateDocumentDescriptor) GetClientMsgReflectHandle

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

func (*UpdateDocumentDescriptor) GetFullMethodName

func (d *UpdateDocumentDescriptor) GetFullMethodName() string

func (*UpdateDocumentDescriptor) GetMethodName

func (d *UpdateDocumentDescriptor) GetMethodName() string

func (*UpdateDocumentDescriptor) GetProtoPkgName

func (d *UpdateDocumentDescriptor) GetProtoPkgName() string

func (*UpdateDocumentDescriptor) GetResourceDescriptor

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

func (*UpdateDocumentDescriptor) GetServerMsgReflectHandle

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

func (*UpdateDocumentDescriptor) GetServiceDomain

func (d *UpdateDocumentDescriptor) GetServiceDomain() string

func (*UpdateDocumentDescriptor) GetServiceVersion

func (d *UpdateDocumentDescriptor) GetServiceVersion() string

func (*UpdateDocumentDescriptor) GetVerb

func (d *UpdateDocumentDescriptor) GetVerb() string

func (*UpdateDocumentDescriptor) HasResource

func (d *UpdateDocumentDescriptor) HasResource() bool

func (*UpdateDocumentDescriptor) IsClientStream

func (d *UpdateDocumentDescriptor) IsClientStream() bool

func (*UpdateDocumentDescriptor) IsCollection

func (d *UpdateDocumentDescriptor) IsCollection() bool

func (*UpdateDocumentDescriptor) IsPlural

func (d *UpdateDocumentDescriptor) IsPlural() bool

func (*UpdateDocumentDescriptor) IsServerStream

func (d *UpdateDocumentDescriptor) IsServerStream() bool

func (*UpdateDocumentDescriptor) IsUnary

func (d *UpdateDocumentDescriptor) IsUnary() bool

func (*UpdateDocumentDescriptor) NewEmptyClientMsg

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

func (*UpdateDocumentDescriptor) NewEmptyServerMsg

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

func (*UpdateDocumentDescriptor) RequestHasResourceBody

func (d *UpdateDocumentDescriptor) RequestHasResourceBody() bool

type UpdateDocumentDescriptorClientMsgHandle

type UpdateDocumentDescriptorClientMsgHandle struct{}

func (*UpdateDocumentDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateDocumentDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateDocumentDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateDocumentDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateDocumentDescriptorClientMsgHandle) ExtractResourceNames

type UpdateDocumentDescriptorServerMsgHandle

type UpdateDocumentDescriptorServerMsgHandle struct{}

func (*UpdateDocumentDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateDocumentDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateDocumentDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateDocumentDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateDocumentDescriptorServerMsgHandle) ExtractResourceNames

type UpdateDocumentRequest

type UpdateDocumentRequest struct {

	// Document resource body
	Document *document.Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *document.Document_FieldMask `protobuf:"bytes,3,opt,customtype=Document_FieldMask,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// 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 *UpdateDocumentRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty"`
	// 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"`
	// reduce message response size.
	ResponseMask *UpdateDocumentRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty"`
	// contains filtered or unexported fields
}

A request message of the UpdateDocument method.

func (*UpdateDocumentRequest) Descriptor

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

Deprecated, Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.

func (*UpdateDocumentRequest) GetAllowMissing

func (m *UpdateDocumentRequest) GetAllowMissing() bool

func (*UpdateDocumentRequest) GetCas

func (*UpdateDocumentRequest) GetDocument

func (m *UpdateDocumentRequest) GetDocument() *document.Document

func (*UpdateDocumentRequest) GetResponseMask

func (*UpdateDocumentRequest) GetUpdateMask

func (*UpdateDocumentRequest) GotenMessage

func (*UpdateDocumentRequest) GotenMessage()

func (*UpdateDocumentRequest) GotenValidate

func (obj *UpdateDocumentRequest) GotenValidate() error

func (*UpdateDocumentRequest) Marshal

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

func (*UpdateDocumentRequest) MarshalJSON

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

func (*UpdateDocumentRequest) ProtoMessage

func (*UpdateDocumentRequest) ProtoMessage()

func (*UpdateDocumentRequest) ProtoReflect

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

func (*UpdateDocumentRequest) Reset

func (m *UpdateDocumentRequest) Reset()

func (*UpdateDocumentRequest) SetAllowMissing

func (m *UpdateDocumentRequest) SetAllowMissing(fv bool)

func (*UpdateDocumentRequest) SetCas

func (*UpdateDocumentRequest) SetDocument

func (m *UpdateDocumentRequest) SetDocument(fv *document.Document)

func (*UpdateDocumentRequest) SetResponseMask

func (*UpdateDocumentRequest) SetUpdateMask

func (m *UpdateDocumentRequest) SetUpdateMask(fv *document.Document_FieldMask)

func (*UpdateDocumentRequest) String

func (m *UpdateDocumentRequest) String() string

func (*UpdateDocumentRequest) Unmarshal

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

func (*UpdateDocumentRequest) UnmarshalJSON

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

type UpdateDocumentRequest_CAS

type UpdateDocumentRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *document.Document `protobuf:"bytes,1,opt,name=conditional_state,json=conditionalState,proto3" json:"conditional_state,omitempty"`
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *document.Document_FieldMask `protobuf:"bytes,2,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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 (*UpdateDocumentRequest_CAS) Descriptor

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

Deprecated, Use UpdateDocumentRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateDocumentRequest_CAS) GetConditionalState

func (m *UpdateDocumentRequest_CAS) GetConditionalState() *document.Document

func (*UpdateDocumentRequest_CAS) GetFieldMask

func (*UpdateDocumentRequest_CAS) GotenMessage

func (*UpdateDocumentRequest_CAS) GotenMessage()

func (*UpdateDocumentRequest_CAS) GotenValidate

func (obj *UpdateDocumentRequest_CAS) GotenValidate() error

func (*UpdateDocumentRequest_CAS) Marshal

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

func (*UpdateDocumentRequest_CAS) MarshalJSON

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

func (*UpdateDocumentRequest_CAS) ProtoMessage

func (*UpdateDocumentRequest_CAS) ProtoMessage()

func (*UpdateDocumentRequest_CAS) ProtoReflect

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

func (*UpdateDocumentRequest_CAS) Reset

func (m *UpdateDocumentRequest_CAS) Reset()

func (*UpdateDocumentRequest_CAS) SetConditionalState

func (m *UpdateDocumentRequest_CAS) SetConditionalState(fv *document.Document)

func (*UpdateDocumentRequest_CAS) SetFieldMask

func (*UpdateDocumentRequest_CAS) String

func (m *UpdateDocumentRequest_CAS) String() string

func (*UpdateDocumentRequest_CAS) Unmarshal

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

func (*UpdateDocumentRequest_CAS) UnmarshalJSON

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

type UpdateDocumentRequest_ResponseMask

type UpdateDocumentRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*UpdateDocumentRequest_ResponseMask_SkipEntireResponseBody
	//	*UpdateDocumentRequest_ResponseMask_UpdatedFieldsOnly
	//	*UpdateDocumentRequest_ResponseMask_BodyMask
	Masking isUpdateDocumentRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*UpdateDocumentRequest_ResponseMask) Descriptor

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

Deprecated, Use UpdateDocumentRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*UpdateDocumentRequest_ResponseMask) GetBodyMask

func (*UpdateDocumentRequest_ResponseMask) GetMasking

func (m *UpdateDocumentRequest_ResponseMask) GetMasking() isUpdateDocumentRequest_ResponseMask_Masking

func (*UpdateDocumentRequest_ResponseMask) GetSkipEntireResponseBody

func (m *UpdateDocumentRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*UpdateDocumentRequest_ResponseMask) GetUpdatedFieldsOnly

func (m *UpdateDocumentRequest_ResponseMask) GetUpdatedFieldsOnly() bool

func (*UpdateDocumentRequest_ResponseMask) GotenMessage

func (*UpdateDocumentRequest_ResponseMask) GotenMessage()

func (*UpdateDocumentRequest_ResponseMask) GotenValidate

func (obj *UpdateDocumentRequest_ResponseMask) GotenValidate() error

func (*UpdateDocumentRequest_ResponseMask) Marshal

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

func (*UpdateDocumentRequest_ResponseMask) MarshalJSON

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

func (*UpdateDocumentRequest_ResponseMask) ProtoMessage

func (*UpdateDocumentRequest_ResponseMask) ProtoMessage()

func (*UpdateDocumentRequest_ResponseMask) ProtoReflect

func (*UpdateDocumentRequest_ResponseMask) Reset

func (*UpdateDocumentRequest_ResponseMask) SetBodyMask

func (*UpdateDocumentRequest_ResponseMask) SetMasking

func (m *UpdateDocumentRequest_ResponseMask) SetMasking(ofv isUpdateDocumentRequest_ResponseMask_Masking)

func (*UpdateDocumentRequest_ResponseMask) SetSkipEntireResponseBody

func (m *UpdateDocumentRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*UpdateDocumentRequest_ResponseMask) SetUpdatedFieldsOnly

func (m *UpdateDocumentRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)

func (*UpdateDocumentRequest_ResponseMask) String

func (*UpdateDocumentRequest_ResponseMask) Unmarshal

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

func (*UpdateDocumentRequest_ResponseMask) UnmarshalJSON

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

type UpdateDocumentRequest_ResponseMask_BodyMask

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

type UpdateDocumentRequest_ResponseMask_SkipEntireResponseBody

type UpdateDocumentRequest_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 `protobuf:"varint,1,opt,name=skip_entire_response_body,json=skipEntireResponseBody,proto3,oneof"`
}

type UpdateDocumentRequest_ResponseMask_UpdatedFieldsOnly

type UpdateDocumentRequest_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"`
}

type WatchDocumentClientStream

type WatchDocumentClientStream interface {
	Recv() (*WatchDocumentResponse, error)
	grpc.ClientStream
}

type WatchDocumentDescriptor

type WatchDocumentDescriptor struct{}

func GetWatchDocumentDescriptor

func GetWatchDocumentDescriptor() *WatchDocumentDescriptor

func (*WatchDocumentDescriptor) GetApiDescriptor

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

func (*WatchDocumentDescriptor) GetApiName

func (d *WatchDocumentDescriptor) GetApiName() string

func (*WatchDocumentDescriptor) GetClientMsgReflectHandle

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

func (*WatchDocumentDescriptor) GetFullMethodName

func (d *WatchDocumentDescriptor) GetFullMethodName() string

func (*WatchDocumentDescriptor) GetMethodName

func (d *WatchDocumentDescriptor) GetMethodName() string

func (*WatchDocumentDescriptor) GetProtoPkgName

func (d *WatchDocumentDescriptor) GetProtoPkgName() string

func (*WatchDocumentDescriptor) GetResourceDescriptor

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

func (*WatchDocumentDescriptor) GetServerMsgReflectHandle

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

func (*WatchDocumentDescriptor) GetServiceDomain

func (d *WatchDocumentDescriptor) GetServiceDomain() string

func (*WatchDocumentDescriptor) GetServiceVersion

func (d *WatchDocumentDescriptor) GetServiceVersion() string

func (*WatchDocumentDescriptor) GetVerb

func (d *WatchDocumentDescriptor) GetVerb() string

func (*WatchDocumentDescriptor) HasResource

func (d *WatchDocumentDescriptor) HasResource() bool

func (*WatchDocumentDescriptor) IsClientStream

func (d *WatchDocumentDescriptor) IsClientStream() bool

func (*WatchDocumentDescriptor) IsCollection

func (d *WatchDocumentDescriptor) IsCollection() bool

func (*WatchDocumentDescriptor) IsPlural

func (d *WatchDocumentDescriptor) IsPlural() bool

func (*WatchDocumentDescriptor) IsServerStream

func (d *WatchDocumentDescriptor) IsServerStream() bool

func (*WatchDocumentDescriptor) IsUnary

func (d *WatchDocumentDescriptor) IsUnary() bool

func (*WatchDocumentDescriptor) NewEmptyClientMsg

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

func (*WatchDocumentDescriptor) NewEmptyServerMsg

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

func (*WatchDocumentDescriptor) RequestHasResourceBody

func (d *WatchDocumentDescriptor) RequestHasResourceBody() bool

type WatchDocumentDescriptorClientMsgHandle

type WatchDocumentDescriptorClientMsgHandle struct{}

func (*WatchDocumentDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDocumentDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDocumentDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDocumentDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDocumentDescriptorClientMsgHandle) ExtractResourceNames

type WatchDocumentDescriptorServerMsgHandle

type WatchDocumentDescriptorServerMsgHandle struct{}

func (*WatchDocumentDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDocumentDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDocumentDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDocumentDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDocumentDescriptorServerMsgHandle) ExtractResourceNames

type WatchDocumentRequest

type WatchDocumentRequest struct {

	// Name of ntt.alerting.v1.Document
	Name *document.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *document.Document_FieldMask `protobuf:"bytes,2,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

A request message of the WatchDocument method.

func (*WatchDocumentRequest) Descriptor

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

Deprecated, Use WatchDocumentRequest.ProtoReflect.Descriptor instead.

func (*WatchDocumentRequest) GetFieldMask

func (*WatchDocumentRequest) GetName

func (m *WatchDocumentRequest) GetName() *document.Name

func (*WatchDocumentRequest) GetView

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

func (*WatchDocumentRequest) GotenMessage

func (*WatchDocumentRequest) GotenMessage()

func (*WatchDocumentRequest) GotenValidate

func (obj *WatchDocumentRequest) GotenValidate() error

func (*WatchDocumentRequest) Marshal

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

func (*WatchDocumentRequest) MarshalJSON

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

func (*WatchDocumentRequest) ProtoMessage

func (*WatchDocumentRequest) ProtoMessage()

func (*WatchDocumentRequest) ProtoReflect

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

func (*WatchDocumentRequest) Reset

func (m *WatchDocumentRequest) Reset()

func (*WatchDocumentRequest) SetFieldMask

func (m *WatchDocumentRequest) SetFieldMask(fv *document.Document_FieldMask)

func (*WatchDocumentRequest) SetName

func (m *WatchDocumentRequest) SetName(fv *document.Name)

func (*WatchDocumentRequest) SetView

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

func (*WatchDocumentRequest) String

func (m *WatchDocumentRequest) String() string

func (*WatchDocumentRequest) Unmarshal

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

func (*WatchDocumentRequest) UnmarshalJSON

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

type WatchDocumentResponse

type WatchDocumentResponse struct {
	Change *document.DocumentChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

A response message of the WatchDocument method.

func (*WatchDocumentResponse) Descriptor

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

Deprecated, Use WatchDocumentResponse.ProtoReflect.Descriptor instead.

func (*WatchDocumentResponse) GetChange

func (*WatchDocumentResponse) GotenMessage

func (*WatchDocumentResponse) GotenMessage()

func (*WatchDocumentResponse) GotenValidate

func (obj *WatchDocumentResponse) GotenValidate() error

func (*WatchDocumentResponse) Marshal

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

func (*WatchDocumentResponse) MarshalJSON

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

func (*WatchDocumentResponse) ProtoMessage

func (*WatchDocumentResponse) ProtoMessage()

func (*WatchDocumentResponse) ProtoReflect

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

func (*WatchDocumentResponse) Reset

func (m *WatchDocumentResponse) Reset()

func (*WatchDocumentResponse) SetChange

func (m *WatchDocumentResponse) SetChange(fv *document.DocumentChange)

func (*WatchDocumentResponse) String

func (m *WatchDocumentResponse) String() string

func (*WatchDocumentResponse) Unmarshal

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

func (*WatchDocumentResponse) UnmarshalJSON

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

type WatchDocumentsClientStream

type WatchDocumentsClientStream interface {
	Recv() (*WatchDocumentsResponse, error)
	grpc.ClientStream
}

type WatchDocumentsDescriptor

type WatchDocumentsDescriptor struct{}

func GetWatchDocumentsDescriptor

func GetWatchDocumentsDescriptor() *WatchDocumentsDescriptor

func (*WatchDocumentsDescriptor) GetApiDescriptor

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

func (*WatchDocumentsDescriptor) GetApiName

func (d *WatchDocumentsDescriptor) GetApiName() string

func (*WatchDocumentsDescriptor) GetClientMsgReflectHandle

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

func (*WatchDocumentsDescriptor) GetFullMethodName

func (d *WatchDocumentsDescriptor) GetFullMethodName() string

func (*WatchDocumentsDescriptor) GetMethodName

func (d *WatchDocumentsDescriptor) GetMethodName() string

func (*WatchDocumentsDescriptor) GetProtoPkgName

func (d *WatchDocumentsDescriptor) GetProtoPkgName() string

func (*WatchDocumentsDescriptor) GetResourceDescriptor

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

func (*WatchDocumentsDescriptor) GetServerMsgReflectHandle

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

func (*WatchDocumentsDescriptor) GetServiceDomain

func (d *WatchDocumentsDescriptor) GetServiceDomain() string

func (*WatchDocumentsDescriptor) GetServiceVersion

func (d *WatchDocumentsDescriptor) GetServiceVersion() string

func (*WatchDocumentsDescriptor) GetVerb

func (d *WatchDocumentsDescriptor) GetVerb() string

func (*WatchDocumentsDescriptor) HasResource

func (d *WatchDocumentsDescriptor) HasResource() bool

func (*WatchDocumentsDescriptor) IsClientStream

func (d *WatchDocumentsDescriptor) IsClientStream() bool

func (*WatchDocumentsDescriptor) IsCollection

func (d *WatchDocumentsDescriptor) IsCollection() bool

func (*WatchDocumentsDescriptor) IsPlural

func (d *WatchDocumentsDescriptor) IsPlural() bool

func (*WatchDocumentsDescriptor) IsServerStream

func (d *WatchDocumentsDescriptor) IsServerStream() bool

func (*WatchDocumentsDescriptor) IsUnary

func (d *WatchDocumentsDescriptor) IsUnary() bool

func (*WatchDocumentsDescriptor) NewEmptyClientMsg

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

func (*WatchDocumentsDescriptor) NewEmptyServerMsg

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

func (*WatchDocumentsDescriptor) RequestHasResourceBody

func (d *WatchDocumentsDescriptor) RequestHasResourceBody() bool

type WatchDocumentsDescriptorClientMsgHandle

type WatchDocumentsDescriptorClientMsgHandle struct{}

func (*WatchDocumentsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDocumentsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDocumentsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDocumentsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDocumentsDescriptorClientMsgHandle) ExtractResourceNames

type WatchDocumentsDescriptorServerMsgHandle

type WatchDocumentsDescriptorServerMsgHandle struct{}

func (*WatchDocumentsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDocumentsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDocumentsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDocumentsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDocumentsDescriptorServerMsgHandle) ExtractResourceNames

type WatchDocumentsRequest

type WatchDocumentsRequest 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"`
	// Parent name of ntt.alerting.v1.Document
	Parent *document.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer Documents 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"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *document.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *document.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// 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"`
	// 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"`
	// 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 *document.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Document that don't affect
	// any of masked fields won't be sent back.
	FieldMask *document.Document_FieldMask `protobuf:"bytes,6,opt,customtype=Document_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Document 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"`
	// 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 `protobuf:"varint,11,opt,name=max_chunk_size,json=maxChunkSize,proto3" json:"max_chunk_size,omitempty"`
	// contains filtered or unexported fields
}

A request message of the WatchDocuments method.

func (*WatchDocumentsRequest) Descriptor

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

Deprecated, Use WatchDocumentsRequest.ProtoReflect.Descriptor instead.

func (*WatchDocumentsRequest) GetFieldMask

func (*WatchDocumentsRequest) GetFilter

func (m *WatchDocumentsRequest) GetFilter() *document.Filter

func (*WatchDocumentsRequest) GetMaxChunkSize

func (m *WatchDocumentsRequest) GetMaxChunkSize() int32

func (*WatchDocumentsRequest) GetOrderBy

func (m *WatchDocumentsRequest) GetOrderBy() *document.OrderBy

func (*WatchDocumentsRequest) GetPageSize

func (m *WatchDocumentsRequest) GetPageSize() int32

func (*WatchDocumentsRequest) GetPageToken

func (m *WatchDocumentsRequest) GetPageToken() *document.PagerCursor

func (*WatchDocumentsRequest) GetParent

func (m *WatchDocumentsRequest) GetParent() *document.ParentName

func (*WatchDocumentsRequest) GetResumeToken

func (m *WatchDocumentsRequest) GetResumeToken() string

func (*WatchDocumentsRequest) GetStartingTime

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

func (*WatchDocumentsRequest) GetType

func (*WatchDocumentsRequest) GetView

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

func (*WatchDocumentsRequest) GotenMessage

func (*WatchDocumentsRequest) GotenMessage()

func (*WatchDocumentsRequest) GotenValidate

func (obj *WatchDocumentsRequest) GotenValidate() error

func (*WatchDocumentsRequest) Marshal

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

func (*WatchDocumentsRequest) MarshalJSON

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

func (*WatchDocumentsRequest) ProtoMessage

func (*WatchDocumentsRequest) ProtoMessage()

func (*WatchDocumentsRequest) ProtoReflect

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

func (*WatchDocumentsRequest) Reset

func (m *WatchDocumentsRequest) Reset()

func (*WatchDocumentsRequest) SetFieldMask

func (m *WatchDocumentsRequest) SetFieldMask(fv *document.Document_FieldMask)

func (*WatchDocumentsRequest) SetFilter

func (m *WatchDocumentsRequest) SetFilter(fv *document.Filter)

func (*WatchDocumentsRequest) SetMaxChunkSize

func (m *WatchDocumentsRequest) SetMaxChunkSize(fv int32)

func (*WatchDocumentsRequest) SetOrderBy

func (m *WatchDocumentsRequest) SetOrderBy(fv *document.OrderBy)

func (*WatchDocumentsRequest) SetPageSize

func (m *WatchDocumentsRequest) SetPageSize(fv int32)

func (*WatchDocumentsRequest) SetPageToken

func (m *WatchDocumentsRequest) SetPageToken(fv *document.PagerCursor)

func (*WatchDocumentsRequest) SetParent

func (m *WatchDocumentsRequest) SetParent(fv *document.ParentName)

func (*WatchDocumentsRequest) SetResumeToken

func (m *WatchDocumentsRequest) SetResumeToken(fv string)

func (*WatchDocumentsRequest) SetStartingTime

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

func (*WatchDocumentsRequest) SetType

func (*WatchDocumentsRequest) SetView

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

func (*WatchDocumentsRequest) String

func (m *WatchDocumentsRequest) String() string

func (*WatchDocumentsRequest) Unmarshal

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

func (*WatchDocumentsRequest) UnmarshalJSON

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

type WatchDocumentsResponse

type WatchDocumentsResponse struct {

	// Changes of Documents
	DocumentChanges []*document.DocumentChange `protobuf:"bytes,2,rep,name=document_changes,json=documentChanges,proto3" json:"document_changes,omitempty"`
	// 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 Documents 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"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchDocumentsResponse_PageTokenChange `protobuf:"bytes,3,opt,name=page_token_change,json=pageTokenChange,proto3" json:"page_token_change,omitempty"`
	// 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"`
	// 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"`
	// 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"`
	// 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 (Documents 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"`
	// contains filtered or unexported fields
}

A response message of the WatchDocuments method.

func (*WatchDocumentsResponse) Descriptor

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

Deprecated, Use WatchDocumentsResponse.ProtoReflect.Descriptor instead.

func (*WatchDocumentsResponse) GetDocumentChanges

func (m *WatchDocumentsResponse) GetDocumentChanges() []*document.DocumentChange

func (*WatchDocumentsResponse) GetIsCurrent

func (m *WatchDocumentsResponse) GetIsCurrent() bool

func (*WatchDocumentsResponse) GetIsHardReset

func (m *WatchDocumentsResponse) GetIsHardReset() bool

func (*WatchDocumentsResponse) GetIsSoftReset

func (m *WatchDocumentsResponse) GetIsSoftReset() bool

func (*WatchDocumentsResponse) GetPageTokenChange

func (*WatchDocumentsResponse) GetResumeToken

func (m *WatchDocumentsResponse) GetResumeToken() string

func (*WatchDocumentsResponse) GetSnapshotSize

func (m *WatchDocumentsResponse) GetSnapshotSize() int64

func (*WatchDocumentsResponse) GotenMessage

func (*WatchDocumentsResponse) GotenMessage()

func (*WatchDocumentsResponse) GotenValidate

func (obj *WatchDocumentsResponse) GotenValidate() error

func (*WatchDocumentsResponse) Marshal

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

func (*WatchDocumentsResponse) MarshalJSON

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

func (*WatchDocumentsResponse) ProtoMessage

func (*WatchDocumentsResponse) ProtoMessage()

func (*WatchDocumentsResponse) ProtoReflect

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

func (*WatchDocumentsResponse) Reset

func (m *WatchDocumentsResponse) Reset()

func (*WatchDocumentsResponse) SetDocumentChanges

func (m *WatchDocumentsResponse) SetDocumentChanges(fv []*document.DocumentChange)

func (*WatchDocumentsResponse) SetIsCurrent

func (m *WatchDocumentsResponse) SetIsCurrent(fv bool)

func (*WatchDocumentsResponse) SetIsHardReset

func (m *WatchDocumentsResponse) SetIsHardReset(fv bool)

func (*WatchDocumentsResponse) SetIsSoftReset

func (m *WatchDocumentsResponse) SetIsSoftReset(fv bool)

func (*WatchDocumentsResponse) SetPageTokenChange

func (*WatchDocumentsResponse) SetResumeToken

func (m *WatchDocumentsResponse) SetResumeToken(fv string)

func (*WatchDocumentsResponse) SetSnapshotSize

func (m *WatchDocumentsResponse) SetSnapshotSize(fv int64)

func (*WatchDocumentsResponse) String

func (m *WatchDocumentsResponse) String() string

func (*WatchDocumentsResponse) Unmarshal

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

func (*WatchDocumentsResponse) UnmarshalJSON

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

type WatchDocumentsResponse_PageTokenChange

type WatchDocumentsResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *document.PagerCursor `protobuf:"bytes,1,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"`
	// New token to retrieve next page of results.
	NextPageToken *document.PagerCursor `protobuf:"bytes,2,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchDocumentsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchDocumentsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchDocumentsResponse_PageTokenChange) GetNextPageToken

func (*WatchDocumentsResponse_PageTokenChange) GetPrevPageToken

func (*WatchDocumentsResponse_PageTokenChange) GotenMessage

func (*WatchDocumentsResponse_PageTokenChange) GotenValidate

func (obj *WatchDocumentsResponse_PageTokenChange) GotenValidate() error

func (*WatchDocumentsResponse_PageTokenChange) Marshal

func (*WatchDocumentsResponse_PageTokenChange) MarshalJSON

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

func (*WatchDocumentsResponse_PageTokenChange) ProtoMessage

func (*WatchDocumentsResponse_PageTokenChange) ProtoReflect

func (*WatchDocumentsResponse_PageTokenChange) Reset

func (*WatchDocumentsResponse_PageTokenChange) SetNextPageToken

func (*WatchDocumentsResponse_PageTokenChange) SetPrevPageToken

func (*WatchDocumentsResponse_PageTokenChange) String

func (*WatchDocumentsResponse_PageTokenChange) Unmarshal

func (*WatchDocumentsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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