project_client

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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

type BatchGetProjectsDescriptor struct{}

func GetBatchGetProjectsDescriptor

func GetBatchGetProjectsDescriptor() *BatchGetProjectsDescriptor

func (*BatchGetProjectsDescriptor) GetApiDescriptor

func (*BatchGetProjectsDescriptor) GetApiName

func (d *BatchGetProjectsDescriptor) GetApiName() string

func (*BatchGetProjectsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetProjectsDescriptor) GetFullMethodName

func (d *BatchGetProjectsDescriptor) GetFullMethodName() string

func (*BatchGetProjectsDescriptor) GetMethodName

func (d *BatchGetProjectsDescriptor) GetMethodName() string

func (*BatchGetProjectsDescriptor) GetProtoPkgName

func (d *BatchGetProjectsDescriptor) GetProtoPkgName() string

func (*BatchGetProjectsDescriptor) GetResourceDescriptor

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

func (*BatchGetProjectsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetProjectsDescriptor) GetServiceDomain

func (d *BatchGetProjectsDescriptor) GetServiceDomain() string

func (*BatchGetProjectsDescriptor) GetServiceVersion

func (d *BatchGetProjectsDescriptor) GetServiceVersion() string

func (*BatchGetProjectsDescriptor) GetVerb

func (d *BatchGetProjectsDescriptor) GetVerb() string

func (*BatchGetProjectsDescriptor) HasResource

func (d *BatchGetProjectsDescriptor) HasResource() bool

func (*BatchGetProjectsDescriptor) IsClientStream

func (d *BatchGetProjectsDescriptor) IsClientStream() bool

func (*BatchGetProjectsDescriptor) IsCollection

func (d *BatchGetProjectsDescriptor) IsCollection() bool

func (*BatchGetProjectsDescriptor) IsPlural

func (d *BatchGetProjectsDescriptor) IsPlural() bool

func (*BatchGetProjectsDescriptor) IsServerStream

func (d *BatchGetProjectsDescriptor) IsServerStream() bool

func (*BatchGetProjectsDescriptor) IsUnary

func (d *BatchGetProjectsDescriptor) IsUnary() bool

func (*BatchGetProjectsDescriptor) NewEmptyClientMsg

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

func (*BatchGetProjectsDescriptor) NewEmptyServerMsg

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

func (*BatchGetProjectsDescriptor) RequestHasResourceBody

func (d *BatchGetProjectsDescriptor) RequestHasResourceBody() bool

type BatchGetProjectsDescriptorClientMsgHandle

type BatchGetProjectsDescriptorClientMsgHandle struct{}

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetProjectsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetProjectsDescriptorServerMsgHandle

type BatchGetProjectsDescriptorServerMsgHandle struct{}

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetProjectsDescriptorServerMsgHandle) ExtractResourceNames

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
}

Request message for method [BatchGetProjects][ntt.ztp.v1.BatchGetProjects]

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
}

BatchGetProjectsResponse

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

type CreateProjectDescriptor struct{}

func GetCreateProjectDescriptor

func GetCreateProjectDescriptor() *CreateProjectDescriptor

func (*CreateProjectDescriptor) GetApiDescriptor

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

func (*CreateProjectDescriptor) GetApiName

func (d *CreateProjectDescriptor) GetApiName() string

func (*CreateProjectDescriptor) GetClientMsgReflectHandle

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

func (*CreateProjectDescriptor) GetFullMethodName

func (d *CreateProjectDescriptor) GetFullMethodName() string

func (*CreateProjectDescriptor) GetMethodName

func (d *CreateProjectDescriptor) GetMethodName() string

func (*CreateProjectDescriptor) GetProtoPkgName

func (d *CreateProjectDescriptor) GetProtoPkgName() string

func (*CreateProjectDescriptor) GetResourceDescriptor

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

func (*CreateProjectDescriptor) GetServerMsgReflectHandle

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

func (*CreateProjectDescriptor) GetServiceDomain

func (d *CreateProjectDescriptor) GetServiceDomain() string

func (*CreateProjectDescriptor) GetServiceVersion

func (d *CreateProjectDescriptor) GetServiceVersion() string

func (*CreateProjectDescriptor) GetVerb

func (d *CreateProjectDescriptor) GetVerb() string

func (*CreateProjectDescriptor) HasResource

func (d *CreateProjectDescriptor) HasResource() bool

func (*CreateProjectDescriptor) IsClientStream

func (d *CreateProjectDescriptor) IsClientStream() bool

func (*CreateProjectDescriptor) IsCollection

func (d *CreateProjectDescriptor) IsCollection() bool

func (*CreateProjectDescriptor) IsPlural

func (d *CreateProjectDescriptor) IsPlural() bool

func (*CreateProjectDescriptor) IsServerStream

func (d *CreateProjectDescriptor) IsServerStream() bool

func (*CreateProjectDescriptor) IsUnary

func (d *CreateProjectDescriptor) IsUnary() bool

func (*CreateProjectDescriptor) NewEmptyClientMsg

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

func (*CreateProjectDescriptor) NewEmptyServerMsg

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

func (*CreateProjectDescriptor) RequestHasResourceBody

func (d *CreateProjectDescriptor) RequestHasResourceBody() bool

type CreateProjectDescriptorClientMsgHandle

type CreateProjectDescriptorClientMsgHandle struct{}

func (*CreateProjectDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceName

func (*CreateProjectDescriptorClientMsgHandle) ExtractResourceNames

type CreateProjectDescriptorServerMsgHandle

type CreateProjectDescriptorServerMsgHandle struct{}

func (*CreateProjectDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceName

func (*CreateProjectDescriptorServerMsgHandle) ExtractResourceNames

type CreateProjectRequest

type CreateProjectRequest struct {

	// Project resource body
	Project *project.Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty" firestore:"project"`
	// contains filtered or unexported fields
}

Request message for method [CreateProject][ntt.ztp.v1.CreateProject]

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

type DeleteProjectDescriptor struct{}

func GetDeleteProjectDescriptor

func GetDeleteProjectDescriptor() *DeleteProjectDescriptor

func (*DeleteProjectDescriptor) GetApiDescriptor

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

func (*DeleteProjectDescriptor) GetApiName

func (d *DeleteProjectDescriptor) GetApiName() string

func (*DeleteProjectDescriptor) GetClientMsgReflectHandle

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

func (*DeleteProjectDescriptor) GetFullMethodName

func (d *DeleteProjectDescriptor) GetFullMethodName() string

func (*DeleteProjectDescriptor) GetMethodName

func (d *DeleteProjectDescriptor) GetMethodName() string

func (*DeleteProjectDescriptor) GetProtoPkgName

func (d *DeleteProjectDescriptor) GetProtoPkgName() string

func (*DeleteProjectDescriptor) GetResourceDescriptor

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

func (*DeleteProjectDescriptor) GetServerMsgReflectHandle

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

func (*DeleteProjectDescriptor) GetServiceDomain

func (d *DeleteProjectDescriptor) GetServiceDomain() string

func (*DeleteProjectDescriptor) GetServiceVersion

func (d *DeleteProjectDescriptor) GetServiceVersion() string

func (*DeleteProjectDescriptor) GetVerb

func (d *DeleteProjectDescriptor) GetVerb() string

func (*DeleteProjectDescriptor) HasResource

func (d *DeleteProjectDescriptor) HasResource() bool

func (*DeleteProjectDescriptor) IsClientStream

func (d *DeleteProjectDescriptor) IsClientStream() bool

func (*DeleteProjectDescriptor) IsCollection

func (d *DeleteProjectDescriptor) IsCollection() bool

func (*DeleteProjectDescriptor) IsPlural

func (d *DeleteProjectDescriptor) IsPlural() bool

func (*DeleteProjectDescriptor) IsServerStream

func (d *DeleteProjectDescriptor) IsServerStream() bool

func (*DeleteProjectDescriptor) IsUnary

func (d *DeleteProjectDescriptor) IsUnary() bool

func (*DeleteProjectDescriptor) NewEmptyClientMsg

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

func (*DeleteProjectDescriptor) NewEmptyServerMsg

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

func (*DeleteProjectDescriptor) RequestHasResourceBody

func (d *DeleteProjectDescriptor) RequestHasResourceBody() bool

type DeleteProjectDescriptorClientMsgHandle

type DeleteProjectDescriptorClientMsgHandle struct{}

func (*DeleteProjectDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteProjectDescriptorClientMsgHandle) ExtractResourceNames

type DeleteProjectDescriptorServerMsgHandle

type DeleteProjectDescriptorServerMsgHandle struct{}

func (*DeleteProjectDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteProjectDescriptorServerMsgHandle) ExtractResourceNames

type DeleteProjectRequest

type DeleteProjectRequest struct {

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

Request message for method [DeleteProject][ntt.ztp.v1.DeleteProject]

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

type GetProjectDescriptor struct{}

func GetGetProjectDescriptor

func GetGetProjectDescriptor() *GetProjectDescriptor

func (*GetProjectDescriptor) GetApiDescriptor

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

func (*GetProjectDescriptor) GetApiName

func (d *GetProjectDescriptor) GetApiName() string

func (*GetProjectDescriptor) GetClientMsgReflectHandle

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

func (*GetProjectDescriptor) GetFullMethodName

func (d *GetProjectDescriptor) GetFullMethodName() string

func (*GetProjectDescriptor) GetMethodName

func (d *GetProjectDescriptor) GetMethodName() string

func (*GetProjectDescriptor) GetProtoPkgName

func (d *GetProjectDescriptor) GetProtoPkgName() string

func (*GetProjectDescriptor) GetResourceDescriptor

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

func (*GetProjectDescriptor) GetServerMsgReflectHandle

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

func (*GetProjectDescriptor) GetServiceDomain

func (d *GetProjectDescriptor) GetServiceDomain() string

func (*GetProjectDescriptor) GetServiceVersion

func (d *GetProjectDescriptor) GetServiceVersion() string

func (*GetProjectDescriptor) GetVerb

func (d *GetProjectDescriptor) GetVerb() string

func (*GetProjectDescriptor) HasResource

func (d *GetProjectDescriptor) HasResource() bool

func (*GetProjectDescriptor) IsClientStream

func (d *GetProjectDescriptor) IsClientStream() bool

func (*GetProjectDescriptor) IsCollection

func (d *GetProjectDescriptor) IsCollection() bool

func (*GetProjectDescriptor) IsPlural

func (d *GetProjectDescriptor) IsPlural() bool

func (*GetProjectDescriptor) IsServerStream

func (d *GetProjectDescriptor) IsServerStream() bool

func (*GetProjectDescriptor) IsUnary

func (d *GetProjectDescriptor) IsUnary() bool

func (*GetProjectDescriptor) NewEmptyClientMsg

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

func (*GetProjectDescriptor) NewEmptyServerMsg

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

func (*GetProjectDescriptor) RequestHasResourceBody

func (d *GetProjectDescriptor) RequestHasResourceBody() bool

type GetProjectDescriptorClientMsgHandle

type GetProjectDescriptorClientMsgHandle struct{}

func (*GetProjectDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceBody

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceName

func (*GetProjectDescriptorClientMsgHandle) ExtractResourceNames

type GetProjectDescriptorServerMsgHandle

type GetProjectDescriptorServerMsgHandle struct{}

func (*GetProjectDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceBody

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceName

func (*GetProjectDescriptorServerMsgHandle) ExtractResourceNames

type GetProjectRequest

type GetProjectRequest struct {

	// Name of ntt.ztp.v1.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
}

Request message for method [GetProject][ntt.ztp.v1.GetProject]

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

type ListProjectsDescriptor struct{}

func GetListProjectsDescriptor

func GetListProjectsDescriptor() *ListProjectsDescriptor

func (*ListProjectsDescriptor) GetApiDescriptor

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

func (*ListProjectsDescriptor) GetApiName

func (d *ListProjectsDescriptor) GetApiName() string

func (*ListProjectsDescriptor) GetClientMsgReflectHandle

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

func (*ListProjectsDescriptor) GetFullMethodName

func (d *ListProjectsDescriptor) GetFullMethodName() string

func (*ListProjectsDescriptor) GetMethodName

func (d *ListProjectsDescriptor) GetMethodName() string

func (*ListProjectsDescriptor) GetProtoPkgName

func (d *ListProjectsDescriptor) GetProtoPkgName() string

func (*ListProjectsDescriptor) GetResourceDescriptor

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

func (*ListProjectsDescriptor) GetServerMsgReflectHandle

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

func (*ListProjectsDescriptor) GetServiceDomain

func (d *ListProjectsDescriptor) GetServiceDomain() string

func (*ListProjectsDescriptor) GetServiceVersion

func (d *ListProjectsDescriptor) GetServiceVersion() string

func (*ListProjectsDescriptor) GetVerb

func (d *ListProjectsDescriptor) GetVerb() string

func (*ListProjectsDescriptor) HasResource

func (d *ListProjectsDescriptor) HasResource() bool

func (*ListProjectsDescriptor) IsClientStream

func (d *ListProjectsDescriptor) IsClientStream() bool

func (*ListProjectsDescriptor) IsCollection

func (d *ListProjectsDescriptor) IsCollection() bool

func (*ListProjectsDescriptor) IsPlural

func (d *ListProjectsDescriptor) IsPlural() bool

func (*ListProjectsDescriptor) IsServerStream

func (d *ListProjectsDescriptor) IsServerStream() bool

func (*ListProjectsDescriptor) IsUnary

func (d *ListProjectsDescriptor) IsUnary() bool

func (*ListProjectsDescriptor) NewEmptyClientMsg

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

func (*ListProjectsDescriptor) NewEmptyServerMsg

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

func (*ListProjectsDescriptor) RequestHasResourceBody

func (d *ListProjectsDescriptor) RequestHasResourceBody() bool

type ListProjectsDescriptorClientMsgHandle

type ListProjectsDescriptorClientMsgHandle struct{}

func (*ListProjectsDescriptorClientMsgHandle) ExtractCollectionName

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceName

func (*ListProjectsDescriptorClientMsgHandle) ExtractResourceNames

type ListProjectsDescriptorServerMsgHandle

type ListProjectsDescriptorServerMsgHandle struct{}

func (*ListProjectsDescriptorServerMsgHandle) ExtractCollectionName

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceName

func (*ListProjectsDescriptorServerMsgHandle) ExtractResourceNames

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][ntt.ztp.v1.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
}

Request message for method [ListProjects][ntt.ztp.v1.ListProjects]

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

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

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][ntt.ztp.v1.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][ntt.ztp.v1.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
}

Request message for method [ListProjects][ntt.ztp.v1.ListProjects]

func (*ListProjectsResponse) Descriptor

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

Deprecated, Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetCurrentOffset

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

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

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

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

type ProjectServiceDescriptor struct{}

func GetProjectServiceDescriptor

func GetProjectServiceDescriptor() *ProjectServiceDescriptor

func (*ProjectServiceDescriptor) AllMethodDescriptors

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

func (*ProjectServiceDescriptor) GetApiName

func (d *ProjectServiceDescriptor) GetApiName() string

func (*ProjectServiceDescriptor) GetFullAPIName

func (d *ProjectServiceDescriptor) GetFullAPIName() string

func (*ProjectServiceDescriptor) GetProtoPkgName

func (d *ProjectServiceDescriptor) GetProtoPkgName() string

func (*ProjectServiceDescriptor) GetServiceDomain

func (d *ProjectServiceDescriptor) GetServiceDomain() string

func (*ProjectServiceDescriptor) GetServiceVersion

func (d *ProjectServiceDescriptor) GetServiceVersion() string

type UpdateProjectDescriptor

type UpdateProjectDescriptor struct{}

func GetUpdateProjectDescriptor

func GetUpdateProjectDescriptor() *UpdateProjectDescriptor

func (*UpdateProjectDescriptor) GetApiDescriptor

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

func (*UpdateProjectDescriptor) GetApiName

func (d *UpdateProjectDescriptor) GetApiName() string

func (*UpdateProjectDescriptor) GetClientMsgReflectHandle

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

func (*UpdateProjectDescriptor) GetFullMethodName

func (d *UpdateProjectDescriptor) GetFullMethodName() string

func (*UpdateProjectDescriptor) GetMethodName

func (d *UpdateProjectDescriptor) GetMethodName() string

func (*UpdateProjectDescriptor) GetProtoPkgName

func (d *UpdateProjectDescriptor) GetProtoPkgName() string

func (*UpdateProjectDescriptor) GetResourceDescriptor

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

func (*UpdateProjectDescriptor) GetServerMsgReflectHandle

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

func (*UpdateProjectDescriptor) GetServiceDomain

func (d *UpdateProjectDescriptor) GetServiceDomain() string

func (*UpdateProjectDescriptor) GetServiceVersion

func (d *UpdateProjectDescriptor) GetServiceVersion() string

func (*UpdateProjectDescriptor) GetVerb

func (d *UpdateProjectDescriptor) GetVerb() string

func (*UpdateProjectDescriptor) HasResource

func (d *UpdateProjectDescriptor) HasResource() bool

func (*UpdateProjectDescriptor) IsClientStream

func (d *UpdateProjectDescriptor) IsClientStream() bool

func (*UpdateProjectDescriptor) IsCollection

func (d *UpdateProjectDescriptor) IsCollection() bool

func (*UpdateProjectDescriptor) IsPlural

func (d *UpdateProjectDescriptor) IsPlural() bool

func (*UpdateProjectDescriptor) IsServerStream

func (d *UpdateProjectDescriptor) IsServerStream() bool

func (*UpdateProjectDescriptor) IsUnary

func (d *UpdateProjectDescriptor) IsUnary() bool

func (*UpdateProjectDescriptor) NewEmptyClientMsg

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

func (*UpdateProjectDescriptor) NewEmptyServerMsg

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

func (*UpdateProjectDescriptor) RequestHasResourceBody

func (d *UpdateProjectDescriptor) RequestHasResourceBody() bool

type UpdateProjectDescriptorClientMsgHandle

type UpdateProjectDescriptorClientMsgHandle struct{}

func (*UpdateProjectDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateProjectDescriptorClientMsgHandle) ExtractResourceNames

type UpdateProjectDescriptorServerMsgHandle

type UpdateProjectDescriptorServerMsgHandle struct{}

func (*UpdateProjectDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateProjectDescriptorServerMsgHandle) ExtractResourceNames

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"`
	// contains filtered or unexported fields
}

Request message for method [UpdateProject][ntt.ztp.v1.UpdateProject]

func (*UpdateProjectRequest) Descriptor

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

Deprecated, Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetAllowMissing

func (m *UpdateProjectRequest) GetAllowMissing() bool

func (*UpdateProjectRequest) GetCas

func (*UpdateProjectRequest) GetProject

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

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

func (m *UpdateProjectRequest) SetAllowMissing(fv bool)

func (*UpdateProjectRequest) SetCas

func (*UpdateProjectRequest) SetProject

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

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 WatchProjectClientStream

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

type WatchProjectDescriptor

type WatchProjectDescriptor struct{}

func GetWatchProjectDescriptor

func GetWatchProjectDescriptor() *WatchProjectDescriptor

func (*WatchProjectDescriptor) GetApiDescriptor

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

func (*WatchProjectDescriptor) GetApiName

func (d *WatchProjectDescriptor) GetApiName() string

func (*WatchProjectDescriptor) GetClientMsgReflectHandle

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

func (*WatchProjectDescriptor) GetFullMethodName

func (d *WatchProjectDescriptor) GetFullMethodName() string

func (*WatchProjectDescriptor) GetMethodName

func (d *WatchProjectDescriptor) GetMethodName() string

func (*WatchProjectDescriptor) GetProtoPkgName

func (d *WatchProjectDescriptor) GetProtoPkgName() string

func (*WatchProjectDescriptor) GetResourceDescriptor

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

func (*WatchProjectDescriptor) GetServerMsgReflectHandle

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

func (*WatchProjectDescriptor) GetServiceDomain

func (d *WatchProjectDescriptor) GetServiceDomain() string

func (*WatchProjectDescriptor) GetServiceVersion

func (d *WatchProjectDescriptor) GetServiceVersion() string

func (*WatchProjectDescriptor) GetVerb

func (d *WatchProjectDescriptor) GetVerb() string

func (*WatchProjectDescriptor) HasResource

func (d *WatchProjectDescriptor) HasResource() bool

func (*WatchProjectDescriptor) IsClientStream

func (d *WatchProjectDescriptor) IsClientStream() bool

func (*WatchProjectDescriptor) IsCollection

func (d *WatchProjectDescriptor) IsCollection() bool

func (*WatchProjectDescriptor) IsPlural

func (d *WatchProjectDescriptor) IsPlural() bool

func (*WatchProjectDescriptor) IsServerStream

func (d *WatchProjectDescriptor) IsServerStream() bool

func (*WatchProjectDescriptor) IsUnary

func (d *WatchProjectDescriptor) IsUnary() bool

func (*WatchProjectDescriptor) NewEmptyClientMsg

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

func (*WatchProjectDescriptor) NewEmptyServerMsg

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

func (*WatchProjectDescriptor) RequestHasResourceBody

func (d *WatchProjectDescriptor) RequestHasResourceBody() bool

type WatchProjectDescriptorClientMsgHandle

type WatchProjectDescriptorClientMsgHandle struct{}

func (*WatchProjectDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceName

func (*WatchProjectDescriptorClientMsgHandle) ExtractResourceNames

type WatchProjectDescriptorServerMsgHandle

type WatchProjectDescriptorServerMsgHandle struct{}

func (*WatchProjectDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceName

func (*WatchProjectDescriptorServerMsgHandle) ExtractResourceNames

type WatchProjectRequest

type WatchProjectRequest struct {

	// Name of ntt.ztp.v1.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
}

Request message for method [WatchProject][ntt.ztp.v1.WatchProject]

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
}

WatchProjectResponse

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

type WatchProjectsDescriptor struct{}

func GetWatchProjectsDescriptor

func GetWatchProjectsDescriptor() *WatchProjectsDescriptor

func (*WatchProjectsDescriptor) GetApiDescriptor

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

func (*WatchProjectsDescriptor) GetApiName

func (d *WatchProjectsDescriptor) GetApiName() string

func (*WatchProjectsDescriptor) GetClientMsgReflectHandle

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

func (*WatchProjectsDescriptor) GetFullMethodName

func (d *WatchProjectsDescriptor) GetFullMethodName() string

func (*WatchProjectsDescriptor) GetMethodName

func (d *WatchProjectsDescriptor) GetMethodName() string

func (*WatchProjectsDescriptor) GetProtoPkgName

func (d *WatchProjectsDescriptor) GetProtoPkgName() string

func (*WatchProjectsDescriptor) GetResourceDescriptor

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

func (*WatchProjectsDescriptor) GetServerMsgReflectHandle

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

func (*WatchProjectsDescriptor) GetServiceDomain

func (d *WatchProjectsDescriptor) GetServiceDomain() string

func (*WatchProjectsDescriptor) GetServiceVersion

func (d *WatchProjectsDescriptor) GetServiceVersion() string

func (*WatchProjectsDescriptor) GetVerb

func (d *WatchProjectsDescriptor) GetVerb() string

func (*WatchProjectsDescriptor) HasResource

func (d *WatchProjectsDescriptor) HasResource() bool

func (*WatchProjectsDescriptor) IsClientStream

func (d *WatchProjectsDescriptor) IsClientStream() bool

func (*WatchProjectsDescriptor) IsCollection

func (d *WatchProjectsDescriptor) IsCollection() bool

func (*WatchProjectsDescriptor) IsPlural

func (d *WatchProjectsDescriptor) IsPlural() bool

func (*WatchProjectsDescriptor) IsServerStream

func (d *WatchProjectsDescriptor) IsServerStream() bool

func (*WatchProjectsDescriptor) IsUnary

func (d *WatchProjectsDescriptor) IsUnary() bool

func (*WatchProjectsDescriptor) NewEmptyClientMsg

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

func (*WatchProjectsDescriptor) NewEmptyServerMsg

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

func (*WatchProjectsDescriptor) RequestHasResourceBody

func (d *WatchProjectsDescriptor) RequestHasResourceBody() bool

type WatchProjectsDescriptorClientMsgHandle

type WatchProjectsDescriptorClientMsgHandle struct{}

func (*WatchProjectsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchProjectsDescriptorClientMsgHandle) ExtractResourceNames

type WatchProjectsDescriptorServerMsgHandle

type WatchProjectsDescriptorServerMsgHandle struct{}

func (*WatchProjectsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchProjectsDescriptorServerMsgHandle) ExtractResourceNames

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
}

Request message for method [WatchProjects][ntt.ztp.v1.WatchProjects]

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

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

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
}

WatchProjectsResponse

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