project_client

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetProjectsDescriptor added in v0.4.28

type BatchGetProjectsDescriptor struct{}

func GetBatchGetProjectsDescriptor added in v0.4.28

func GetBatchGetProjectsDescriptor() *BatchGetProjectsDescriptor

func (*BatchGetProjectsDescriptor) GetApiDescriptor added in v0.4.28

func (*BatchGetProjectsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetApiName() string

func (*BatchGetProjectsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetProjectsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetFullMethodName() string

func (*BatchGetProjectsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetMethodName() string

func (*BatchGetProjectsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetProtoPkgName() string

func (*BatchGetProjectsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*BatchGetProjectsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetProjectsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetServiceDomain() string

func (*BatchGetProjectsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetServiceVersion() string

func (*BatchGetProjectsDescriptor) GetVerb added in v0.4.28

func (d *BatchGetProjectsDescriptor) GetVerb() string

func (*BatchGetProjectsDescriptor) HasResource added in v0.4.30

func (d *BatchGetProjectsDescriptor) HasResource() bool

func (*BatchGetProjectsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetProjectsDescriptor) IsClientStream() bool

func (*BatchGetProjectsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetProjectsDescriptor) IsCollection() bool

func (*BatchGetProjectsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetProjectsDescriptor) IsPlural() bool

func (*BatchGetProjectsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetProjectsDescriptor) IsServerStream() bool

func (*BatchGetProjectsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetProjectsDescriptor) IsUnary() bool

func (*BatchGetProjectsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetProjectsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetProjectsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetProjectsDescriptor) RequestHasResourceBody() bool

type BatchGetProjectsDescriptorClientMsgHandle added in v0.4.28

type BatchGetProjectsDescriptorClientMsgHandle struct{}

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetProjectsDescriptorServerMsgHandle added in v0.4.28

type BatchGetProjectsDescriptorServerMsgHandle struct{}

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetProjectsRequest

type BatchGetProjectsRequest struct {

	// Names of Projects
	Names []*project.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the BatchGetProjects method.

func (*BatchGetProjectsRequest) Descriptor

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

Deprecated, Use BatchGetProjectsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetProjectsRequest) GetFieldMask

func (*BatchGetProjectsRequest) GetNames

func (m *BatchGetProjectsRequest) GetNames() []*project.Name

func (*BatchGetProjectsRequest) GetView

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

func (*BatchGetProjectsRequest) GotenMessage

func (*BatchGetProjectsRequest) GotenMessage()

func (*BatchGetProjectsRequest) GotenValidate

func (obj *BatchGetProjectsRequest) GotenValidate() error

func (*BatchGetProjectsRequest) Marshal

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

func (*BatchGetProjectsRequest) MarshalJSON

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

func (*BatchGetProjectsRequest) ProtoMessage

func (*BatchGetProjectsRequest) ProtoMessage()

func (*BatchGetProjectsRequest) ProtoReflect

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

func (*BatchGetProjectsRequest) Reset

func (m *BatchGetProjectsRequest) Reset()

func (*BatchGetProjectsRequest) SetFieldMask

func (m *BatchGetProjectsRequest) SetFieldMask(fv *project.Project_FieldMask)

func (*BatchGetProjectsRequest) SetNames

func (m *BatchGetProjectsRequest) SetNames(fv []*project.Name)

func (*BatchGetProjectsRequest) SetView

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

func (*BatchGetProjectsRequest) String

func (m *BatchGetProjectsRequest) String() string

func (*BatchGetProjectsRequest) Unmarshal

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

func (*BatchGetProjectsRequest) UnmarshalJSON

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

type BatchGetProjectsResponse

type BatchGetProjectsResponse struct {

	// found Projects
	Projects []*project.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" firestore:"projects"`
	// list of not found Projects
	Missing []*project.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

A response message of the BatchGetProjects method.

func (*BatchGetProjectsResponse) Descriptor

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

Deprecated, Use BatchGetProjectsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetProjectsResponse) GetMissing

func (m *BatchGetProjectsResponse) GetMissing() []*project.Name

func (*BatchGetProjectsResponse) GetProjects

func (m *BatchGetProjectsResponse) GetProjects() []*project.Project

func (*BatchGetProjectsResponse) GotenMessage

func (*BatchGetProjectsResponse) GotenMessage()

func (*BatchGetProjectsResponse) GotenValidate

func (obj *BatchGetProjectsResponse) GotenValidate() error

func (*BatchGetProjectsResponse) Marshal

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

func (*BatchGetProjectsResponse) MarshalJSON

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

func (*BatchGetProjectsResponse) ProtoMessage

func (*BatchGetProjectsResponse) ProtoMessage()

func (*BatchGetProjectsResponse) ProtoReflect

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

func (*BatchGetProjectsResponse) Reset

func (m *BatchGetProjectsResponse) Reset()

func (*BatchGetProjectsResponse) SetMissing

func (m *BatchGetProjectsResponse) SetMissing(fv []*project.Name)

func (*BatchGetProjectsResponse) SetProjects

func (m *BatchGetProjectsResponse) SetProjects(fv []*project.Project)

func (*BatchGetProjectsResponse) String

func (m *BatchGetProjectsResponse) String() string

func (*BatchGetProjectsResponse) Unmarshal

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

func (*BatchGetProjectsResponse) UnmarshalJSON

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

type CreateProjectDescriptor added in v0.4.28

type CreateProjectDescriptor struct{}

func GetCreateProjectDescriptor added in v0.4.28

func GetCreateProjectDescriptor() *CreateProjectDescriptor

func (*CreateProjectDescriptor) GetApiDescriptor added in v0.4.28

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

func (*CreateProjectDescriptor) GetApiName added in v0.4.28

func (d *CreateProjectDescriptor) GetApiName() string

func (*CreateProjectDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateProjectDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateProjectDescriptor) GetFullMethodName() string

func (*CreateProjectDescriptor) GetMethodName added in v0.4.28

func (d *CreateProjectDescriptor) GetMethodName() string

func (*CreateProjectDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateProjectDescriptor) GetProtoPkgName() string

func (*CreateProjectDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateProjectDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateProjectDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateProjectDescriptor) GetServiceDomain() string

func (*CreateProjectDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateProjectDescriptor) GetServiceVersion() string

func (*CreateProjectDescriptor) GetVerb added in v0.4.28

func (d *CreateProjectDescriptor) GetVerb() string

func (*CreateProjectDescriptor) HasResource added in v0.4.30

func (d *CreateProjectDescriptor) HasResource() bool

func (*CreateProjectDescriptor) IsClientStream added in v0.4.28

func (d *CreateProjectDescriptor) IsClientStream() bool

func (*CreateProjectDescriptor) IsCollection added in v0.4.30

func (d *CreateProjectDescriptor) IsCollection() bool

func (*CreateProjectDescriptor) IsPlural added in v0.4.30

func (d *CreateProjectDescriptor) IsPlural() bool

func (*CreateProjectDescriptor) IsServerStream added in v0.4.28

func (d *CreateProjectDescriptor) IsServerStream() bool

func (*CreateProjectDescriptor) IsUnary added in v0.4.28

func (d *CreateProjectDescriptor) IsUnary() bool

func (*CreateProjectDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateProjectDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateProjectDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateProjectDescriptor) RequestHasResourceBody() bool

type CreateProjectDescriptorClientMsgHandle added in v0.4.28

type CreateProjectDescriptorClientMsgHandle struct{}

func (*CreateProjectDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateProjectDescriptorServerMsgHandle added in v0.4.28

type CreateProjectDescriptorServerMsgHandle struct{}

func (*CreateProjectDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateProjectRequest

type CreateProjectRequest struct {

	// Project resource body
	Project *project.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty" firestore:"project"`
	// Optional masking applied to response object to reduce message response
	// size.
	ResponseMask *CreateProjectRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the CreateProject method.

func (*CreateProjectRequest) Descriptor

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

Deprecated, Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetProject

func (m *CreateProjectRequest) GetProject() *project.Project

func (*CreateProjectRequest) GetResponseMask added in v1.8.3

func (*CreateProjectRequest) GotenMessage

func (*CreateProjectRequest) GotenMessage()

func (*CreateProjectRequest) GotenValidate

func (obj *CreateProjectRequest) GotenValidate() error

func (*CreateProjectRequest) Marshal

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

func (*CreateProjectRequest) MarshalJSON

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

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

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

func (*CreateProjectRequest) Reset

func (m *CreateProjectRequest) Reset()

func (*CreateProjectRequest) SetProject

func (m *CreateProjectRequest) SetProject(fv *project.Project)

func (*CreateProjectRequest) SetResponseMask added in v1.8.3

func (*CreateProjectRequest) String

func (m *CreateProjectRequest) String() string

func (*CreateProjectRequest) Unmarshal

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

func (*CreateProjectRequest) UnmarshalJSON

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

type CreateProjectRequest_ResponseMask added in v1.8.3

type CreateProjectRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*CreateProjectRequest_ResponseMask_SkipEntireResponseBody
	//	*CreateProjectRequest_ResponseMask_BodyMask
	Masking isCreateProjectRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*CreateProjectRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use CreateProjectRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*CreateProjectRequest_ResponseMask) GetMasking added in v1.8.3

func (m *CreateProjectRequest_ResponseMask) GetMasking() isCreateProjectRequest_ResponseMask_Masking

func (*CreateProjectRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *CreateProjectRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*CreateProjectRequest_ResponseMask) GotenMessage added in v1.8.3

func (*CreateProjectRequest_ResponseMask) GotenMessage()

func (*CreateProjectRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *CreateProjectRequest_ResponseMask) GotenValidate() error

func (*CreateProjectRequest_ResponseMask) Marshal added in v1.8.3

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

func (*CreateProjectRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*CreateProjectRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*CreateProjectRequest_ResponseMask) ProtoMessage()

func (*CreateProjectRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*CreateProjectRequest_ResponseMask) Reset added in v1.8.3

func (*CreateProjectRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*CreateProjectRequest_ResponseMask) SetMasking added in v1.8.3

func (m *CreateProjectRequest_ResponseMask) SetMasking(ofv isCreateProjectRequest_ResponseMask_Masking)

func (*CreateProjectRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *CreateProjectRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*CreateProjectRequest_ResponseMask) String added in v1.8.3

func (*CreateProjectRequest_ResponseMask) Unmarshal added in v1.8.3

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

func (*CreateProjectRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type CreateProjectRequest_ResponseMask_BodyMask added in v1.8.3

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

type CreateProjectRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type CreateProjectRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type DeleteProjectDescriptor added in v0.4.28

type DeleteProjectDescriptor struct{}

func GetDeleteProjectDescriptor added in v0.4.28

func GetDeleteProjectDescriptor() *DeleteProjectDescriptor

func (*DeleteProjectDescriptor) GetApiDescriptor added in v0.4.28

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

func (*DeleteProjectDescriptor) GetApiName added in v0.4.28

func (d *DeleteProjectDescriptor) GetApiName() string

func (*DeleteProjectDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*DeleteProjectDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteProjectDescriptor) GetFullMethodName() string

func (*DeleteProjectDescriptor) GetMethodName added in v0.4.28

func (d *DeleteProjectDescriptor) GetMethodName() string

func (*DeleteProjectDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteProjectDescriptor) GetProtoPkgName() string

func (*DeleteProjectDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*DeleteProjectDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*DeleteProjectDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteProjectDescriptor) GetServiceDomain() string

func (*DeleteProjectDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteProjectDescriptor) GetServiceVersion() string

func (*DeleteProjectDescriptor) GetVerb added in v0.4.28

func (d *DeleteProjectDescriptor) GetVerb() string

func (*DeleteProjectDescriptor) HasResource added in v0.4.30

func (d *DeleteProjectDescriptor) HasResource() bool

func (*DeleteProjectDescriptor) IsClientStream added in v0.4.28

func (d *DeleteProjectDescriptor) IsClientStream() bool

func (*DeleteProjectDescriptor) IsCollection added in v0.4.30

func (d *DeleteProjectDescriptor) IsCollection() bool

func (*DeleteProjectDescriptor) IsPlural added in v0.4.30

func (d *DeleteProjectDescriptor) IsPlural() bool

func (*DeleteProjectDescriptor) IsServerStream added in v0.4.28

func (d *DeleteProjectDescriptor) IsServerStream() bool

func (*DeleteProjectDescriptor) IsUnary added in v0.4.28

func (d *DeleteProjectDescriptor) IsUnary() bool

func (*DeleteProjectDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*DeleteProjectDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*DeleteProjectDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteProjectDescriptor) RequestHasResourceBody() bool

type DeleteProjectDescriptorClientMsgHandle added in v0.4.28

type DeleteProjectDescriptorClientMsgHandle struct{}

func (*DeleteProjectDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteProjectDescriptorServerMsgHandle added in v0.4.28

type DeleteProjectDescriptorServerMsgHandle struct{}

func (*DeleteProjectDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// Name of ntt.proxies.v1alpha2.Project
	Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

A request message of the DeleteProject method.

func (*DeleteProjectRequest) Descriptor

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

Deprecated, Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetName

func (m *DeleteProjectRequest) GetName() *project.Name

func (*DeleteProjectRequest) GotenMessage

func (*DeleteProjectRequest) GotenMessage()

func (*DeleteProjectRequest) GotenValidate

func (obj *DeleteProjectRequest) GotenValidate() error

func (*DeleteProjectRequest) Marshal

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

func (*DeleteProjectRequest) MarshalJSON

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

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (m *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) SetName

func (m *DeleteProjectRequest) SetName(fv *project.Name)

func (*DeleteProjectRequest) String

func (m *DeleteProjectRequest) String() string

func (*DeleteProjectRequest) Unmarshal

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

func (*DeleteProjectRequest) UnmarshalJSON

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

type GetProjectDescriptor added in v0.4.28

type GetProjectDescriptor struct{}

func GetGetProjectDescriptor added in v0.4.28

func GetGetProjectDescriptor() *GetProjectDescriptor

func (*GetProjectDescriptor) GetApiDescriptor added in v0.4.28

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

func (*GetProjectDescriptor) GetApiName added in v0.4.28

func (d *GetProjectDescriptor) GetApiName() string

func (*GetProjectDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetProjectDescriptor) GetFullMethodName added in v0.4.28

func (d *GetProjectDescriptor) GetFullMethodName() string

func (*GetProjectDescriptor) GetMethodName added in v0.4.28

func (d *GetProjectDescriptor) GetMethodName() string

func (*GetProjectDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetProjectDescriptor) GetProtoPkgName() string

func (*GetProjectDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetProjectDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetProjectDescriptor) GetServiceDomain added in v0.4.28

func (d *GetProjectDescriptor) GetServiceDomain() string

func (*GetProjectDescriptor) GetServiceVersion added in v0.4.28

func (d *GetProjectDescriptor) GetServiceVersion() string

func (*GetProjectDescriptor) GetVerb added in v0.4.28

func (d *GetProjectDescriptor) GetVerb() string

func (*GetProjectDescriptor) HasResource added in v0.4.30

func (d *GetProjectDescriptor) HasResource() bool

func (*GetProjectDescriptor) IsClientStream added in v0.4.28

func (d *GetProjectDescriptor) IsClientStream() bool

func (*GetProjectDescriptor) IsCollection added in v0.4.30

func (d *GetProjectDescriptor) IsCollection() bool

func (*GetProjectDescriptor) IsPlural added in v0.4.30

func (d *GetProjectDescriptor) IsPlural() bool

func (*GetProjectDescriptor) IsServerStream added in v0.4.28

func (d *GetProjectDescriptor) IsServerStream() bool

func (*GetProjectDescriptor) IsUnary added in v0.4.28

func (d *GetProjectDescriptor) IsUnary() bool

func (*GetProjectDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetProjectDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetProjectDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetProjectDescriptor) RequestHasResourceBody() bool

type GetProjectDescriptorClientMsgHandle added in v0.4.28

type GetProjectDescriptorClientMsgHandle struct{}

func (*GetProjectDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetProjectDescriptorServerMsgHandle added in v0.4.28

type GetProjectDescriptorServerMsgHandle struct{}

func (*GetProjectDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetProjectRequest

type GetProjectRequest struct {

	// Name of ntt.proxies.v1alpha2.Project
	Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the GetProject method.

func (*GetProjectRequest) Descriptor

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

Deprecated, Use GetProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProjectRequest) GetFieldMask

func (m *GetProjectRequest) GetFieldMask() *project.Project_FieldMask

func (*GetProjectRequest) GetName

func (m *GetProjectRequest) GetName() *project.Name

func (*GetProjectRequest) GetView

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

func (*GetProjectRequest) GotenMessage

func (*GetProjectRequest) GotenMessage()

func (*GetProjectRequest) GotenValidate

func (obj *GetProjectRequest) GotenValidate() error

func (*GetProjectRequest) Marshal

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

func (*GetProjectRequest) MarshalJSON

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

func (*GetProjectRequest) ProtoMessage

func (*GetProjectRequest) ProtoMessage()

func (*GetProjectRequest) ProtoReflect

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

func (*GetProjectRequest) Reset

func (m *GetProjectRequest) Reset()

func (*GetProjectRequest) SetFieldMask

func (m *GetProjectRequest) SetFieldMask(fv *project.Project_FieldMask)

func (*GetProjectRequest) SetName

func (m *GetProjectRequest) SetName(fv *project.Name)

func (*GetProjectRequest) SetView

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

func (*GetProjectRequest) String

func (m *GetProjectRequest) String() string

func (*GetProjectRequest) Unmarshal

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

func (*GetProjectRequest) UnmarshalJSON

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

type ListProjectsDescriptor added in v0.4.28

type ListProjectsDescriptor struct{}

func GetListProjectsDescriptor added in v0.4.28

func GetListProjectsDescriptor() *ListProjectsDescriptor

func (*ListProjectsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListProjectsDescriptor) GetApiName added in v0.4.28

func (d *ListProjectsDescriptor) GetApiName() string

func (*ListProjectsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListProjectsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListProjectsDescriptor) GetFullMethodName() string

func (*ListProjectsDescriptor) GetMethodName added in v0.4.28

func (d *ListProjectsDescriptor) GetMethodName() string

func (*ListProjectsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListProjectsDescriptor) GetProtoPkgName() string

func (*ListProjectsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListProjectsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListProjectsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListProjectsDescriptor) GetServiceDomain() string

func (*ListProjectsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListProjectsDescriptor) GetServiceVersion() string

func (*ListProjectsDescriptor) GetVerb added in v0.4.28

func (d *ListProjectsDescriptor) GetVerb() string

func (*ListProjectsDescriptor) HasResource added in v0.4.30

func (d *ListProjectsDescriptor) HasResource() bool

func (*ListProjectsDescriptor) IsClientStream added in v0.4.28

func (d *ListProjectsDescriptor) IsClientStream() bool

func (*ListProjectsDescriptor) IsCollection added in v0.4.30

func (d *ListProjectsDescriptor) IsCollection() bool

func (*ListProjectsDescriptor) IsPlural added in v0.4.30

func (d *ListProjectsDescriptor) IsPlural() bool

func (*ListProjectsDescriptor) IsServerStream added in v0.4.28

func (d *ListProjectsDescriptor) IsServerStream() bool

func (*ListProjectsDescriptor) IsUnary added in v0.4.28

func (d *ListProjectsDescriptor) IsUnary() bool

func (*ListProjectsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListProjectsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListProjectsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListProjectsDescriptor) RequestHasResourceBody() bool

type ListProjectsDescriptorClientMsgHandle added in v0.4.28

type ListProjectsDescriptorClientMsgHandle struct{}

func (*ListProjectsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListProjectsDescriptorServerMsgHandle added in v0.4.28

type ListProjectsDescriptorServerMsgHandle struct{}

func (*ListProjectsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListProjectsRequest

type ListProjectsRequest struct {

	// Requested page size. Server may return fewer Projects than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// ListProjectsResponse.next_page_token.
	PageToken *project.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *project.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *project.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the ListProjects method.

func (*ListProjectsRequest) Descriptor

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

Deprecated, Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetFieldMask

func (m *ListProjectsRequest) GetFieldMask() *project.Project_FieldMask

func (*ListProjectsRequest) GetFilter

func (m *ListProjectsRequest) GetFilter() *project.Filter

func (*ListProjectsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListProjectsRequest) GetIncludePagingInfo() bool

func (*ListProjectsRequest) GetOrderBy

func (m *ListProjectsRequest) GetOrderBy() *project.OrderBy

func (*ListProjectsRequest) GetPageSize

func (m *ListProjectsRequest) GetPageSize() int32

func (*ListProjectsRequest) GetPageToken

func (m *ListProjectsRequest) GetPageToken() *project.PagerCursor

func (*ListProjectsRequest) GetView

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

func (*ListProjectsRequest) GotenMessage

func (*ListProjectsRequest) GotenMessage()

func (*ListProjectsRequest) GotenValidate

func (obj *ListProjectsRequest) GotenValidate() error

func (*ListProjectsRequest) Marshal

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

func (*ListProjectsRequest) MarshalJSON

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

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (m *ListProjectsRequest) Reset()

func (*ListProjectsRequest) SetFieldMask

func (m *ListProjectsRequest) SetFieldMask(fv *project.Project_FieldMask)

func (*ListProjectsRequest) SetFilter

func (m *ListProjectsRequest) SetFilter(fv *project.Filter)

func (*ListProjectsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListProjectsRequest) SetIncludePagingInfo(fv bool)

func (*ListProjectsRequest) SetOrderBy

func (m *ListProjectsRequest) SetOrderBy(fv *project.OrderBy)

func (*ListProjectsRequest) SetPageSize

func (m *ListProjectsRequest) SetPageSize(fv int32)

func (*ListProjectsRequest) SetPageToken

func (m *ListProjectsRequest) SetPageToken(fv *project.PagerCursor)

func (*ListProjectsRequest) SetView

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

func (*ListProjectsRequest) String

func (m *ListProjectsRequest) String() string

func (*ListProjectsRequest) Unmarshal

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

func (*ListProjectsRequest) UnmarshalJSON

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

type ListProjectsResponse

type ListProjectsResponse struct {

	// The list of Projects
	Projects []*project.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty" firestore:"projects"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListProjectsRequest.page_token.
	PrevPageToken *project.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListProjectsRequest.page_token.
	NextPageToken *project.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Projects across all pages or 0, if there are no items,
	// paging info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message of the ListProjects method.

func (*ListProjectsResponse) Descriptor

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

Deprecated, Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetCurrentOffset added in v0.10.1

func (m *ListProjectsResponse) GetCurrentOffset() int32

func (*ListProjectsResponse) GetNextPageToken

func (m *ListProjectsResponse) GetNextPageToken() *project.PagerCursor

func (*ListProjectsResponse) GetPrevPageToken

func (m *ListProjectsResponse) GetPrevPageToken() *project.PagerCursor

func (*ListProjectsResponse) GetProjects

func (m *ListProjectsResponse) GetProjects() []*project.Project

func (*ListProjectsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListProjectsResponse) GetTotalResultsCount() int32

func (*ListProjectsResponse) GotenMessage

func (*ListProjectsResponse) GotenMessage()

func (*ListProjectsResponse) GotenValidate

func (obj *ListProjectsResponse) GotenValidate() error

func (*ListProjectsResponse) Marshal

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

func (*ListProjectsResponse) MarshalJSON

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

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (m *ListProjectsResponse) Reset()

func (*ListProjectsResponse) SetCurrentOffset added in v0.10.1

func (m *ListProjectsResponse) SetCurrentOffset(fv int32)

func (*ListProjectsResponse) SetNextPageToken

func (m *ListProjectsResponse) SetNextPageToken(fv *project.PagerCursor)

func (*ListProjectsResponse) SetPrevPageToken

func (m *ListProjectsResponse) SetPrevPageToken(fv *project.PagerCursor)

func (*ListProjectsResponse) SetProjects

func (m *ListProjectsResponse) SetProjects(fv []*project.Project)

func (*ListProjectsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListProjectsResponse) SetTotalResultsCount(fv int32)

func (*ListProjectsResponse) String

func (m *ListProjectsResponse) String() string

func (*ListProjectsResponse) Unmarshal

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

func (*ListProjectsResponse) UnmarshalJSON

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

type ProjectServiceClient

type ProjectServiceClient interface {
	GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*project.Project, error)
	BatchGetProjects(ctx context.Context, in *BatchGetProjectsRequest, opts ...grpc.CallOption) (*BatchGetProjectsResponse, error)
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	WatchProject(ctx context.Context, in *WatchProjectRequest, opts ...grpc.CallOption) (WatchProjectClientStream, error)
	WatchProjects(ctx context.Context, in *WatchProjectsRequest, opts ...grpc.CallOption) (WatchProjectsClientStream, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*project.Project, error)
	UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*project.Project, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ProjectServiceClient is the client API for ProjectService.

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

type ProjectServiceDescriptor added in v0.4.28

type ProjectServiceDescriptor struct{}

func GetProjectServiceDescriptor added in v0.4.28

func GetProjectServiceDescriptor() *ProjectServiceDescriptor

func (*ProjectServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*ProjectServiceDescriptor) GetApiName added in v0.4.28

func (d *ProjectServiceDescriptor) GetApiName() string

func (*ProjectServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *ProjectServiceDescriptor) GetFullAPIName() string

func (*ProjectServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *ProjectServiceDescriptor) GetProtoPkgName() string

func (*ProjectServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *ProjectServiceDescriptor) GetServiceDomain() string

func (*ProjectServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *ProjectServiceDescriptor) GetServiceVersion() string

type UpdateProjectDescriptor added in v0.4.28

type UpdateProjectDescriptor struct{}

func GetUpdateProjectDescriptor added in v0.4.28

func GetUpdateProjectDescriptor() *UpdateProjectDescriptor

func (*UpdateProjectDescriptor) GetApiDescriptor added in v0.4.28

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

func (*UpdateProjectDescriptor) GetApiName added in v0.4.28

func (d *UpdateProjectDescriptor) GetApiName() string

func (*UpdateProjectDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*UpdateProjectDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateProjectDescriptor) GetFullMethodName() string

func (*UpdateProjectDescriptor) GetMethodName added in v0.4.28

func (d *UpdateProjectDescriptor) GetMethodName() string

func (*UpdateProjectDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateProjectDescriptor) GetProtoPkgName() string

func (*UpdateProjectDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*UpdateProjectDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*UpdateProjectDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateProjectDescriptor) GetServiceDomain() string

func (*UpdateProjectDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateProjectDescriptor) GetServiceVersion() string

func (*UpdateProjectDescriptor) GetVerb added in v0.4.28

func (d *UpdateProjectDescriptor) GetVerb() string

func (*UpdateProjectDescriptor) HasResource added in v0.4.30

func (d *UpdateProjectDescriptor) HasResource() bool

func (*UpdateProjectDescriptor) IsClientStream added in v0.4.28

func (d *UpdateProjectDescriptor) IsClientStream() bool

func (*UpdateProjectDescriptor) IsCollection added in v0.4.30

func (d *UpdateProjectDescriptor) IsCollection() bool

func (*UpdateProjectDescriptor) IsPlural added in v0.4.30

func (d *UpdateProjectDescriptor) IsPlural() bool

func (*UpdateProjectDescriptor) IsServerStream added in v0.4.28

func (d *UpdateProjectDescriptor) IsServerStream() bool

func (*UpdateProjectDescriptor) IsUnary added in v0.4.28

func (d *UpdateProjectDescriptor) IsUnary() bool

func (*UpdateProjectDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*UpdateProjectDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*UpdateProjectDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateProjectDescriptor) RequestHasResourceBody() bool

type UpdateProjectDescriptorClientMsgHandle added in v0.4.28

type UpdateProjectDescriptorClientMsgHandle struct{}

func (*UpdateProjectDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateProjectDescriptorServerMsgHandle added in v0.4.28

type UpdateProjectDescriptorServerMsgHandle struct{}

func (*UpdateProjectDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateProjectRequest

type UpdateProjectRequest struct {

	// Project resource body
	Project *project.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty" firestore:"project"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *project.Project_FieldMask `` /* 143-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdateProjectRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// reduce message response size.
	ResponseMask *UpdateProjectRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the UpdateProject method.

func (*UpdateProjectRequest) Descriptor

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

Deprecated, Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetAllowMissing added in v0.12.33

func (m *UpdateProjectRequest) GetAllowMissing() bool

func (*UpdateProjectRequest) GetCas

func (*UpdateProjectRequest) GetProject

func (m *UpdateProjectRequest) GetProject() *project.Project

func (*UpdateProjectRequest) GetResponseMask added in v1.8.3

func (*UpdateProjectRequest) GetUpdateMask

func (m *UpdateProjectRequest) GetUpdateMask() *project.Project_FieldMask

func (*UpdateProjectRequest) GotenMessage

func (*UpdateProjectRequest) GotenMessage()

func (*UpdateProjectRequest) GotenValidate

func (obj *UpdateProjectRequest) GotenValidate() error

func (*UpdateProjectRequest) Marshal

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

func (*UpdateProjectRequest) MarshalJSON

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

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (m *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) SetAllowMissing added in v0.12.33

func (m *UpdateProjectRequest) SetAllowMissing(fv bool)

func (*UpdateProjectRequest) SetCas

func (*UpdateProjectRequest) SetProject

func (m *UpdateProjectRequest) SetProject(fv *project.Project)

func (*UpdateProjectRequest) SetResponseMask added in v1.8.3

func (*UpdateProjectRequest) SetUpdateMask

func (m *UpdateProjectRequest) SetUpdateMask(fv *project.Project_FieldMask)

func (*UpdateProjectRequest) String

func (m *UpdateProjectRequest) String() string

func (*UpdateProjectRequest) Unmarshal

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

func (*UpdateProjectRequest) UnmarshalJSON

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

type UpdateProjectRequest_CAS

type UpdateProjectRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *project.Project `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdateProjectRequest_CAS) Descriptor

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

Deprecated, Use UpdateProjectRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest_CAS) GetConditionalState

func (m *UpdateProjectRequest_CAS) GetConditionalState() *project.Project

func (*UpdateProjectRequest_CAS) GetFieldMask

func (*UpdateProjectRequest_CAS) GotenMessage

func (*UpdateProjectRequest_CAS) GotenMessage()

func (*UpdateProjectRequest_CAS) GotenValidate

func (obj *UpdateProjectRequest_CAS) GotenValidate() error

func (*UpdateProjectRequest_CAS) Marshal

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

func (*UpdateProjectRequest_CAS) MarshalJSON

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

func (*UpdateProjectRequest_CAS) ProtoMessage

func (*UpdateProjectRequest_CAS) ProtoMessage()

func (*UpdateProjectRequest_CAS) ProtoReflect

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

func (*UpdateProjectRequest_CAS) Reset

func (m *UpdateProjectRequest_CAS) Reset()

func (*UpdateProjectRequest_CAS) SetConditionalState

func (m *UpdateProjectRequest_CAS) SetConditionalState(fv *project.Project)

func (*UpdateProjectRequest_CAS) SetFieldMask

func (m *UpdateProjectRequest_CAS) SetFieldMask(fv *project.Project_FieldMask)

func (*UpdateProjectRequest_CAS) String

func (m *UpdateProjectRequest_CAS) String() string

func (*UpdateProjectRequest_CAS) Unmarshal

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

func (*UpdateProjectRequest_CAS) UnmarshalJSON

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

type UpdateProjectRequest_ResponseMask added in v1.8.3

type UpdateProjectRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*UpdateProjectRequest_ResponseMask_SkipEntireResponseBody
	//	*UpdateProjectRequest_ResponseMask_UpdatedFieldsOnly
	//	*UpdateProjectRequest_ResponseMask_BodyMask
	Masking isUpdateProjectRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*UpdateProjectRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use UpdateProjectRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) GetMasking added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) GetMasking() isUpdateProjectRequest_ResponseMask_Masking

func (*UpdateProjectRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*UpdateProjectRequest_ResponseMask) GetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) GetUpdatedFieldsOnly() bool

func (*UpdateProjectRequest_ResponseMask) GotenMessage added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) GotenMessage()

func (*UpdateProjectRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *UpdateProjectRequest_ResponseMask) GotenValidate() error

func (*UpdateProjectRequest_ResponseMask) Marshal added in v1.8.3

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

func (*UpdateProjectRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*UpdateProjectRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) ProtoMessage()

func (*UpdateProjectRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) Reset added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) SetMasking added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) SetMasking(ofv isUpdateProjectRequest_ResponseMask_Masking)

func (*UpdateProjectRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*UpdateProjectRequest_ResponseMask) SetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateProjectRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)

func (*UpdateProjectRequest_ResponseMask) String added in v1.8.3

func (*UpdateProjectRequest_ResponseMask) Unmarshal added in v1.8.3

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

func (*UpdateProjectRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type UpdateProjectRequest_ResponseMask_BodyMask added in v1.8.3

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

type UpdateProjectRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type UpdateProjectRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated. Field body_mask is ignored if
	// set.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type UpdateProjectRequest_ResponseMask_UpdatedFieldsOnly added in v1.8.3

type UpdateProjectRequest_ResponseMask_UpdatedFieldsOnly struct {
	// Include all fields that were actually updated during processing. Note
	// this may be larger than update mask if some fields were computed
	// additionally. Name is added as well.
	UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof" firestore:"updatedFieldsOnly"`
}

type WatchProjectClientStream

type WatchProjectClientStream interface {
	Recv() (*WatchProjectResponse, error)
	grpc.ClientStream
}

type WatchProjectDescriptor added in v0.4.28

type WatchProjectDescriptor struct{}

func GetWatchProjectDescriptor added in v0.4.28

func GetWatchProjectDescriptor() *WatchProjectDescriptor

func (*WatchProjectDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchProjectDescriptor) GetApiName added in v0.4.28

func (d *WatchProjectDescriptor) GetApiName() string

func (*WatchProjectDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchProjectDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchProjectDescriptor) GetFullMethodName() string

func (*WatchProjectDescriptor) GetMethodName added in v0.4.28

func (d *WatchProjectDescriptor) GetMethodName() string

func (*WatchProjectDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchProjectDescriptor) GetProtoPkgName() string

func (*WatchProjectDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchProjectDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchProjectDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchProjectDescriptor) GetServiceDomain() string

func (*WatchProjectDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchProjectDescriptor) GetServiceVersion() string

func (*WatchProjectDescriptor) GetVerb added in v0.4.28

func (d *WatchProjectDescriptor) GetVerb() string

func (*WatchProjectDescriptor) HasResource added in v0.4.30

func (d *WatchProjectDescriptor) HasResource() bool

func (*WatchProjectDescriptor) IsClientStream added in v0.4.28

func (d *WatchProjectDescriptor) IsClientStream() bool

func (*WatchProjectDescriptor) IsCollection added in v0.4.30

func (d *WatchProjectDescriptor) IsCollection() bool

func (*WatchProjectDescriptor) IsPlural added in v0.4.30

func (d *WatchProjectDescriptor) IsPlural() bool

func (*WatchProjectDescriptor) IsServerStream added in v0.4.28

func (d *WatchProjectDescriptor) IsServerStream() bool

func (*WatchProjectDescriptor) IsUnary added in v0.4.28

func (d *WatchProjectDescriptor) IsUnary() bool

func (*WatchProjectDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchProjectDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchProjectDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchProjectDescriptor) RequestHasResourceBody() bool

type WatchProjectDescriptorClientMsgHandle added in v0.4.28

type WatchProjectDescriptorClientMsgHandle struct{}

func (*WatchProjectDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchProjectDescriptorServerMsgHandle added in v0.4.28

type WatchProjectDescriptorServerMsgHandle struct{}

func (*WatchProjectDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchProjectRequest

type WatchProjectRequest struct {

	// Name of ntt.proxies.v1alpha2.Project
	Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the WatchProject method.

func (*WatchProjectRequest) Descriptor

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

Deprecated, Use WatchProjectRequest.ProtoReflect.Descriptor instead.

func (*WatchProjectRequest) GetFieldMask

func (m *WatchProjectRequest) GetFieldMask() *project.Project_FieldMask

func (*WatchProjectRequest) GetName

func (m *WatchProjectRequest) GetName() *project.Name

func (*WatchProjectRequest) GetView

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

func (*WatchProjectRequest) GotenMessage

func (*WatchProjectRequest) GotenMessage()

func (*WatchProjectRequest) GotenValidate

func (obj *WatchProjectRequest) GotenValidate() error

func (*WatchProjectRequest) Marshal

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

func (*WatchProjectRequest) MarshalJSON

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

func (*WatchProjectRequest) ProtoMessage

func (*WatchProjectRequest) ProtoMessage()

func (*WatchProjectRequest) ProtoReflect

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

func (*WatchProjectRequest) Reset

func (m *WatchProjectRequest) Reset()

func (*WatchProjectRequest) SetFieldMask

func (m *WatchProjectRequest) SetFieldMask(fv *project.Project_FieldMask)

func (*WatchProjectRequest) SetName

func (m *WatchProjectRequest) SetName(fv *project.Name)

func (*WatchProjectRequest) SetView

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

func (*WatchProjectRequest) String

func (m *WatchProjectRequest) String() string

func (*WatchProjectRequest) Unmarshal

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

func (*WatchProjectRequest) UnmarshalJSON

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

type WatchProjectResponse

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

A response message of the WatchProject method.

func (*WatchProjectResponse) Descriptor

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

Deprecated, Use WatchProjectResponse.ProtoReflect.Descriptor instead.

func (*WatchProjectResponse) GetChange

func (m *WatchProjectResponse) GetChange() *project.ProjectChange

func (*WatchProjectResponse) GotenMessage

func (*WatchProjectResponse) GotenMessage()

func (*WatchProjectResponse) GotenValidate

func (obj *WatchProjectResponse) GotenValidate() error

func (*WatchProjectResponse) Marshal

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

func (*WatchProjectResponse) MarshalJSON

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

func (*WatchProjectResponse) ProtoMessage

func (*WatchProjectResponse) ProtoMessage()

func (*WatchProjectResponse) ProtoReflect

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

func (*WatchProjectResponse) Reset

func (m *WatchProjectResponse) Reset()

func (*WatchProjectResponse) SetChange

func (m *WatchProjectResponse) SetChange(fv *project.ProjectChange)

func (*WatchProjectResponse) String

func (m *WatchProjectResponse) String() string

func (*WatchProjectResponse) Unmarshal

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

func (*WatchProjectResponse) UnmarshalJSON

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

type WatchProjectsClientStream

type WatchProjectsClientStream interface {
	Recv() (*WatchProjectsResponse, error)
	grpc.ClientStream
}

type WatchProjectsDescriptor added in v0.4.28

type WatchProjectsDescriptor struct{}

func GetWatchProjectsDescriptor added in v0.4.28

func GetWatchProjectsDescriptor() *WatchProjectsDescriptor

func (*WatchProjectsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchProjectsDescriptor) GetApiName added in v0.4.28

func (d *WatchProjectsDescriptor) GetApiName() string

func (*WatchProjectsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchProjectsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchProjectsDescriptor) GetFullMethodName() string

func (*WatchProjectsDescriptor) GetMethodName added in v0.4.28

func (d *WatchProjectsDescriptor) GetMethodName() string

func (*WatchProjectsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchProjectsDescriptor) GetProtoPkgName() string

func (*WatchProjectsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchProjectsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchProjectsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchProjectsDescriptor) GetServiceDomain() string

func (*WatchProjectsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchProjectsDescriptor) GetServiceVersion() string

func (*WatchProjectsDescriptor) GetVerb added in v0.4.28

func (d *WatchProjectsDescriptor) GetVerb() string

func (*WatchProjectsDescriptor) HasResource added in v0.4.30

func (d *WatchProjectsDescriptor) HasResource() bool

func (*WatchProjectsDescriptor) IsClientStream added in v0.4.28

func (d *WatchProjectsDescriptor) IsClientStream() bool

func (*WatchProjectsDescriptor) IsCollection added in v0.4.30

func (d *WatchProjectsDescriptor) IsCollection() bool

func (*WatchProjectsDescriptor) IsPlural added in v0.4.30

func (d *WatchProjectsDescriptor) IsPlural() bool

func (*WatchProjectsDescriptor) IsServerStream added in v0.4.28

func (d *WatchProjectsDescriptor) IsServerStream() bool

func (*WatchProjectsDescriptor) IsUnary added in v0.4.28

func (d *WatchProjectsDescriptor) IsUnary() bool

func (*WatchProjectsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchProjectsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchProjectsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchProjectsDescriptor) RequestHasResourceBody() bool

type WatchProjectsDescriptorClientMsgHandle added in v0.4.28

type WatchProjectsDescriptorClientMsgHandle struct{}

func (*WatchProjectsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchProjectsDescriptorServerMsgHandle added in v0.4.28

type WatchProjectsDescriptorServerMsgHandle struct{}

func (*WatchProjectsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchProjectsRequest

type WatchProjectsRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Requested page size. Server may return fewer Projects than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *project.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *project.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *project.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Project that don't affect
	// any of masked fields won't be sent back.
	FieldMask *project.Project_FieldMask `` /* 139-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Project that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the WatchProjects method.

func (*WatchProjectsRequest) Descriptor

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

Deprecated, Use WatchProjectsRequest.ProtoReflect.Descriptor instead.

func (*WatchProjectsRequest) GetFieldMask

func (m *WatchProjectsRequest) GetFieldMask() *project.Project_FieldMask

func (*WatchProjectsRequest) GetFilter

func (m *WatchProjectsRequest) GetFilter() *project.Filter

func (*WatchProjectsRequest) GetMaxChunkSize

func (m *WatchProjectsRequest) GetMaxChunkSize() int32

func (*WatchProjectsRequest) GetOrderBy

func (m *WatchProjectsRequest) GetOrderBy() *project.OrderBy

func (*WatchProjectsRequest) GetPageSize

func (m *WatchProjectsRequest) GetPageSize() int32

func (*WatchProjectsRequest) GetPageToken

func (m *WatchProjectsRequest) GetPageToken() *project.PagerCursor

func (*WatchProjectsRequest) GetResumeToken

func (m *WatchProjectsRequest) GetResumeToken() string

func (*WatchProjectsRequest) GetStartingTime added in v0.9.0

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

func (*WatchProjectsRequest) GetType

func (*WatchProjectsRequest) GetView

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

func (*WatchProjectsRequest) GotenMessage

func (*WatchProjectsRequest) GotenMessage()

func (*WatchProjectsRequest) GotenValidate

func (obj *WatchProjectsRequest) GotenValidate() error

func (*WatchProjectsRequest) Marshal

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

func (*WatchProjectsRequest) MarshalJSON

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

func (*WatchProjectsRequest) ProtoMessage

func (*WatchProjectsRequest) ProtoMessage()

func (*WatchProjectsRequest) ProtoReflect

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

func (*WatchProjectsRequest) Reset

func (m *WatchProjectsRequest) Reset()

func (*WatchProjectsRequest) SetFieldMask

func (m *WatchProjectsRequest) SetFieldMask(fv *project.Project_FieldMask)

func (*WatchProjectsRequest) SetFilter

func (m *WatchProjectsRequest) SetFilter(fv *project.Filter)

func (*WatchProjectsRequest) SetMaxChunkSize

func (m *WatchProjectsRequest) SetMaxChunkSize(fv int32)

func (*WatchProjectsRequest) SetOrderBy

func (m *WatchProjectsRequest) SetOrderBy(fv *project.OrderBy)

func (*WatchProjectsRequest) SetPageSize

func (m *WatchProjectsRequest) SetPageSize(fv int32)

func (*WatchProjectsRequest) SetPageToken

func (m *WatchProjectsRequest) SetPageToken(fv *project.PagerCursor)

func (*WatchProjectsRequest) SetResumeToken

func (m *WatchProjectsRequest) SetResumeToken(fv string)

func (*WatchProjectsRequest) SetStartingTime added in v0.9.0

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

func (*WatchProjectsRequest) SetType

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

func (*WatchProjectsRequest) SetView

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

func (*WatchProjectsRequest) String

func (m *WatchProjectsRequest) String() string

func (*WatchProjectsRequest) Unmarshal

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

func (*WatchProjectsRequest) UnmarshalJSON

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

type WatchProjectsResponse

type WatchProjectsResponse struct {

	// Changes of Projects
	ProjectChanges []*project.ProjectChange `` /* 130-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Projects will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchProjectsResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Projects will contains changes of
	// type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

A response message of the WatchProjects method.

func (*WatchProjectsResponse) Descriptor

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

Deprecated, Use WatchProjectsResponse.ProtoReflect.Descriptor instead.

func (*WatchProjectsResponse) GetIsCurrent

func (m *WatchProjectsResponse) GetIsCurrent() bool

func (*WatchProjectsResponse) GetIsHardReset

func (m *WatchProjectsResponse) GetIsHardReset() bool

func (*WatchProjectsResponse) GetIsSoftReset

func (m *WatchProjectsResponse) GetIsSoftReset() bool

func (*WatchProjectsResponse) GetPageTokenChange

func (*WatchProjectsResponse) GetProjectChanges

func (m *WatchProjectsResponse) GetProjectChanges() []*project.ProjectChange

func (*WatchProjectsResponse) GetResumeToken

func (m *WatchProjectsResponse) GetResumeToken() string

func (*WatchProjectsResponse) GetSnapshotSize

func (m *WatchProjectsResponse) GetSnapshotSize() int64

func (*WatchProjectsResponse) GotenMessage

func (*WatchProjectsResponse) GotenMessage()

func (*WatchProjectsResponse) GotenValidate

func (obj *WatchProjectsResponse) GotenValidate() error

func (*WatchProjectsResponse) Marshal

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

func (*WatchProjectsResponse) MarshalJSON

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

func (*WatchProjectsResponse) ProtoMessage

func (*WatchProjectsResponse) ProtoMessage()

func (*WatchProjectsResponse) ProtoReflect

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

func (*WatchProjectsResponse) Reset

func (m *WatchProjectsResponse) Reset()

func (*WatchProjectsResponse) SetIsCurrent

func (m *WatchProjectsResponse) SetIsCurrent(fv bool)

func (*WatchProjectsResponse) SetIsHardReset

func (m *WatchProjectsResponse) SetIsHardReset(fv bool)

func (*WatchProjectsResponse) SetIsSoftReset

func (m *WatchProjectsResponse) SetIsSoftReset(fv bool)

func (*WatchProjectsResponse) SetPageTokenChange

func (*WatchProjectsResponse) SetProjectChanges

func (m *WatchProjectsResponse) SetProjectChanges(fv []*project.ProjectChange)

func (*WatchProjectsResponse) SetResumeToken

func (m *WatchProjectsResponse) SetResumeToken(fv string)

func (*WatchProjectsResponse) SetSnapshotSize

func (m *WatchProjectsResponse) SetSnapshotSize(fv int64)

func (*WatchProjectsResponse) String

func (m *WatchProjectsResponse) String() string

func (*WatchProjectsResponse) Unmarshal

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

func (*WatchProjectsResponse) UnmarshalJSON

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

type WatchProjectsResponse_PageTokenChange

type WatchProjectsResponse_PageTokenChange struct {

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

func (*WatchProjectsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchProjectsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchProjectsResponse_PageTokenChange) GetNextPageToken

func (*WatchProjectsResponse_PageTokenChange) GetPrevPageToken

func (*WatchProjectsResponse_PageTokenChange) GotenMessage

func (*WatchProjectsResponse_PageTokenChange) GotenMessage()

func (*WatchProjectsResponse_PageTokenChange) GotenValidate

func (obj *WatchProjectsResponse_PageTokenChange) GotenValidate() error

func (*WatchProjectsResponse_PageTokenChange) Marshal

func (*WatchProjectsResponse_PageTokenChange) MarshalJSON

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

func (*WatchProjectsResponse_PageTokenChange) ProtoMessage

func (*WatchProjectsResponse_PageTokenChange) ProtoMessage()

func (*WatchProjectsResponse_PageTokenChange) ProtoReflect

func (*WatchProjectsResponse_PageTokenChange) Reset

func (*WatchProjectsResponse_PageTokenChange) SetNextPageToken

func (*WatchProjectsResponse_PageTokenChange) SetPrevPageToken

func (*WatchProjectsResponse_PageTokenChange) String

func (*WatchProjectsResponse_PageTokenChange) Unmarshal

func (*WatchProjectsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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