plan_client

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetPlansDescriptor

type BatchGetPlansDescriptor struct{}

func GetBatchGetPlansDescriptor

func GetBatchGetPlansDescriptor() *BatchGetPlansDescriptor

func (*BatchGetPlansDescriptor) GetApiDescriptor

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

func (*BatchGetPlansDescriptor) GetApiName

func (d *BatchGetPlansDescriptor) GetApiName() string

func (*BatchGetPlansDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetPlansDescriptor) GetFullMethodName

func (d *BatchGetPlansDescriptor) GetFullMethodName() string

func (*BatchGetPlansDescriptor) GetMethodName

func (d *BatchGetPlansDescriptor) GetMethodName() string

func (*BatchGetPlansDescriptor) GetProtoPkgName

func (d *BatchGetPlansDescriptor) GetProtoPkgName() string

func (*BatchGetPlansDescriptor) GetResourceDescriptor

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

func (*BatchGetPlansDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetPlansDescriptor) GetServiceDomain

func (d *BatchGetPlansDescriptor) GetServiceDomain() string

func (*BatchGetPlansDescriptor) GetServiceVersion

func (d *BatchGetPlansDescriptor) GetServiceVersion() string

func (*BatchGetPlansDescriptor) GetVerb

func (d *BatchGetPlansDescriptor) GetVerb() string

func (*BatchGetPlansDescriptor) HasResource

func (d *BatchGetPlansDescriptor) HasResource() bool

func (*BatchGetPlansDescriptor) IsClientStream

func (d *BatchGetPlansDescriptor) IsClientStream() bool

func (*BatchGetPlansDescriptor) IsCollection

func (d *BatchGetPlansDescriptor) IsCollection() bool

func (*BatchGetPlansDescriptor) IsPlural

func (d *BatchGetPlansDescriptor) IsPlural() bool

func (*BatchGetPlansDescriptor) IsServerStream

func (d *BatchGetPlansDescriptor) IsServerStream() bool

func (*BatchGetPlansDescriptor) IsUnary

func (d *BatchGetPlansDescriptor) IsUnary() bool

func (*BatchGetPlansDescriptor) NewEmptyClientMsg

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

func (*BatchGetPlansDescriptor) NewEmptyServerMsg

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

func (*BatchGetPlansDescriptor) RequestHasResourceBody

func (d *BatchGetPlansDescriptor) RequestHasResourceBody() bool

type BatchGetPlansDescriptorClientMsgHandle

type BatchGetPlansDescriptorClientMsgHandle struct{}

func (*BatchGetPlansDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetPlansDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetPlansDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetPlansDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetPlansDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetPlansDescriptorServerMsgHandle

type BatchGetPlansDescriptorServerMsgHandle struct{}

func (*BatchGetPlansDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetPlansDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetPlansDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetPlansDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetPlansDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetPlansRequest

type BatchGetPlansRequest struct {

	// Names of Plans
	Names []*plan.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 *plan.Plan_FieldMask `` /* 136-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 BatchGetPlans method.

func (*BatchGetPlansRequest) Descriptor

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

Deprecated, Use BatchGetPlansRequest.ProtoReflect.Descriptor instead.

func (*BatchGetPlansRequest) GetFieldMask

func (m *BatchGetPlansRequest) GetFieldMask() *plan.Plan_FieldMask

func (*BatchGetPlansRequest) GetNames

func (m *BatchGetPlansRequest) GetNames() []*plan.Name

func (*BatchGetPlansRequest) GetView

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

func (*BatchGetPlansRequest) GotenMessage

func (*BatchGetPlansRequest) GotenMessage()

func (*BatchGetPlansRequest) GotenValidate

func (obj *BatchGetPlansRequest) GotenValidate() error

func (*BatchGetPlansRequest) Marshal

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

func (*BatchGetPlansRequest) MarshalJSON

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

func (*BatchGetPlansRequest) ProtoMessage

func (*BatchGetPlansRequest) ProtoMessage()

func (*BatchGetPlansRequest) ProtoReflect

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

func (*BatchGetPlansRequest) Reset

func (m *BatchGetPlansRequest) Reset()

func (*BatchGetPlansRequest) SetFieldMask

func (m *BatchGetPlansRequest) SetFieldMask(fv *plan.Plan_FieldMask)

func (*BatchGetPlansRequest) SetNames

func (m *BatchGetPlansRequest) SetNames(fv []*plan.Name)

func (*BatchGetPlansRequest) SetView

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

func (*BatchGetPlansRequest) String

func (m *BatchGetPlansRequest) String() string

func (*BatchGetPlansRequest) Unmarshal

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

func (*BatchGetPlansRequest) UnmarshalJSON

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

type BatchGetPlansResponse

type BatchGetPlansResponse struct {

	// found Plans
	Plans []*plan.Plan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans,omitempty" firestore:"plans"`
	// list of not found Plans
	Missing []*plan.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 BatchGetPlans method.

func (*BatchGetPlansResponse) Descriptor

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

Deprecated, Use BatchGetPlansResponse.ProtoReflect.Descriptor instead.

func (*BatchGetPlansResponse) GetMissing

func (m *BatchGetPlansResponse) GetMissing() []*plan.Name

func (*BatchGetPlansResponse) GetPlans

func (m *BatchGetPlansResponse) GetPlans() []*plan.Plan

func (*BatchGetPlansResponse) GotenMessage

func (*BatchGetPlansResponse) GotenMessage()

func (*BatchGetPlansResponse) GotenValidate

func (obj *BatchGetPlansResponse) GotenValidate() error

func (*BatchGetPlansResponse) Marshal

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

func (*BatchGetPlansResponse) MarshalJSON

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

func (*BatchGetPlansResponse) ProtoMessage

func (*BatchGetPlansResponse) ProtoMessage()

func (*BatchGetPlansResponse) ProtoReflect

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

func (*BatchGetPlansResponse) Reset

func (m *BatchGetPlansResponse) Reset()

func (*BatchGetPlansResponse) SetMissing

func (m *BatchGetPlansResponse) SetMissing(fv []*plan.Name)

func (*BatchGetPlansResponse) SetPlans

func (m *BatchGetPlansResponse) SetPlans(fv []*plan.Plan)

func (*BatchGetPlansResponse) String

func (m *BatchGetPlansResponse) String() string

func (*BatchGetPlansResponse) Unmarshal

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

func (*BatchGetPlansResponse) UnmarshalJSON

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

type CreatePlanDescriptor

type CreatePlanDescriptor struct{}

func GetCreatePlanDescriptor

func GetCreatePlanDescriptor() *CreatePlanDescriptor

func (*CreatePlanDescriptor) GetApiDescriptor

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

func (*CreatePlanDescriptor) GetApiName

func (d *CreatePlanDescriptor) GetApiName() string

func (*CreatePlanDescriptor) GetClientMsgReflectHandle

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

func (*CreatePlanDescriptor) GetFullMethodName

func (d *CreatePlanDescriptor) GetFullMethodName() string

func (*CreatePlanDescriptor) GetMethodName

func (d *CreatePlanDescriptor) GetMethodName() string

func (*CreatePlanDescriptor) GetProtoPkgName

func (d *CreatePlanDescriptor) GetProtoPkgName() string

func (*CreatePlanDescriptor) GetResourceDescriptor

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

func (*CreatePlanDescriptor) GetServerMsgReflectHandle

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

func (*CreatePlanDescriptor) GetServiceDomain

func (d *CreatePlanDescriptor) GetServiceDomain() string

func (*CreatePlanDescriptor) GetServiceVersion

func (d *CreatePlanDescriptor) GetServiceVersion() string

func (*CreatePlanDescriptor) GetVerb

func (d *CreatePlanDescriptor) GetVerb() string

func (*CreatePlanDescriptor) HasResource

func (d *CreatePlanDescriptor) HasResource() bool

func (*CreatePlanDescriptor) IsClientStream

func (d *CreatePlanDescriptor) IsClientStream() bool

func (*CreatePlanDescriptor) IsCollection

func (d *CreatePlanDescriptor) IsCollection() bool

func (*CreatePlanDescriptor) IsPlural

func (d *CreatePlanDescriptor) IsPlural() bool

func (*CreatePlanDescriptor) IsServerStream

func (d *CreatePlanDescriptor) IsServerStream() bool

func (*CreatePlanDescriptor) IsUnary

func (d *CreatePlanDescriptor) IsUnary() bool

func (*CreatePlanDescriptor) NewEmptyClientMsg

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

func (*CreatePlanDescriptor) NewEmptyServerMsg

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

func (*CreatePlanDescriptor) RequestHasResourceBody

func (d *CreatePlanDescriptor) RequestHasResourceBody() bool

type CreatePlanDescriptorClientMsgHandle

type CreatePlanDescriptorClientMsgHandle struct{}

func (*CreatePlanDescriptorClientMsgHandle) ExtractCollectionName

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

func (*CreatePlanDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreatePlanDescriptorClientMsgHandle) ExtractResourceBody

func (*CreatePlanDescriptorClientMsgHandle) ExtractResourceName

func (*CreatePlanDescriptorClientMsgHandle) ExtractResourceNames

type CreatePlanDescriptorServerMsgHandle

type CreatePlanDescriptorServerMsgHandle struct{}

func (*CreatePlanDescriptorServerMsgHandle) ExtractCollectionName

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

func (*CreatePlanDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreatePlanDescriptorServerMsgHandle) ExtractResourceBody

func (*CreatePlanDescriptorServerMsgHandle) ExtractResourceName

func (*CreatePlanDescriptorServerMsgHandle) ExtractResourceNames

type CreatePlanRequest

type CreatePlanRequest struct {

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

A request message of the CreatePlan method.

func (*CreatePlanRequest) Descriptor

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

Deprecated, Use CreatePlanRequest.ProtoReflect.Descriptor instead.

func (*CreatePlanRequest) GetParent

func (m *CreatePlanRequest) GetParent() *plan.ParentName

func (*CreatePlanRequest) GetPlan

func (m *CreatePlanRequest) GetPlan() *plan.Plan

func (*CreatePlanRequest) GotenMessage

func (*CreatePlanRequest) GotenMessage()

func (*CreatePlanRequest) GotenValidate

func (obj *CreatePlanRequest) GotenValidate() error

func (*CreatePlanRequest) Marshal

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

func (*CreatePlanRequest) MarshalJSON

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

func (*CreatePlanRequest) ProtoMessage

func (*CreatePlanRequest) ProtoMessage()

func (*CreatePlanRequest) ProtoReflect

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

func (*CreatePlanRequest) Reset

func (m *CreatePlanRequest) Reset()

func (*CreatePlanRequest) SetParent

func (m *CreatePlanRequest) SetParent(fv *plan.ParentName)

func (*CreatePlanRequest) SetPlan

func (m *CreatePlanRequest) SetPlan(fv *plan.Plan)

func (*CreatePlanRequest) String

func (m *CreatePlanRequest) String() string

func (*CreatePlanRequest) Unmarshal

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

func (*CreatePlanRequest) UnmarshalJSON

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

type DeletePlanDescriptor

type DeletePlanDescriptor struct{}

func GetDeletePlanDescriptor

func GetDeletePlanDescriptor() *DeletePlanDescriptor

func (*DeletePlanDescriptor) GetApiDescriptor

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

func (*DeletePlanDescriptor) GetApiName

func (d *DeletePlanDescriptor) GetApiName() string

func (*DeletePlanDescriptor) GetClientMsgReflectHandle

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

func (*DeletePlanDescriptor) GetFullMethodName

func (d *DeletePlanDescriptor) GetFullMethodName() string

func (*DeletePlanDescriptor) GetMethodName

func (d *DeletePlanDescriptor) GetMethodName() string

func (*DeletePlanDescriptor) GetProtoPkgName

func (d *DeletePlanDescriptor) GetProtoPkgName() string

func (*DeletePlanDescriptor) GetResourceDescriptor

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

func (*DeletePlanDescriptor) GetServerMsgReflectHandle

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

func (*DeletePlanDescriptor) GetServiceDomain

func (d *DeletePlanDescriptor) GetServiceDomain() string

func (*DeletePlanDescriptor) GetServiceVersion

func (d *DeletePlanDescriptor) GetServiceVersion() string

func (*DeletePlanDescriptor) GetVerb

func (d *DeletePlanDescriptor) GetVerb() string

func (*DeletePlanDescriptor) HasResource

func (d *DeletePlanDescriptor) HasResource() bool

func (*DeletePlanDescriptor) IsClientStream

func (d *DeletePlanDescriptor) IsClientStream() bool

func (*DeletePlanDescriptor) IsCollection

func (d *DeletePlanDescriptor) IsCollection() bool

func (*DeletePlanDescriptor) IsPlural

func (d *DeletePlanDescriptor) IsPlural() bool

func (*DeletePlanDescriptor) IsServerStream

func (d *DeletePlanDescriptor) IsServerStream() bool

func (*DeletePlanDescriptor) IsUnary

func (d *DeletePlanDescriptor) IsUnary() bool

func (*DeletePlanDescriptor) NewEmptyClientMsg

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

func (*DeletePlanDescriptor) NewEmptyServerMsg

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

func (*DeletePlanDescriptor) RequestHasResourceBody

func (d *DeletePlanDescriptor) RequestHasResourceBody() bool

type DeletePlanDescriptorClientMsgHandle

type DeletePlanDescriptorClientMsgHandle struct{}

func (*DeletePlanDescriptorClientMsgHandle) ExtractCollectionName

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

func (*DeletePlanDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeletePlanDescriptorClientMsgHandle) ExtractResourceBody

func (*DeletePlanDescriptorClientMsgHandle) ExtractResourceName

func (*DeletePlanDescriptorClientMsgHandle) ExtractResourceNames

type DeletePlanDescriptorServerMsgHandle

type DeletePlanDescriptorServerMsgHandle struct{}

func (*DeletePlanDescriptorServerMsgHandle) ExtractCollectionName

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

func (*DeletePlanDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeletePlanDescriptorServerMsgHandle) ExtractResourceBody

func (*DeletePlanDescriptorServerMsgHandle) ExtractResourceName

func (*DeletePlanDescriptorServerMsgHandle) ExtractResourceNames

type DeletePlanRequest

type DeletePlanRequest struct {

	// Name of ntt.limits.v1.Plan
	Name *plan.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 DeletePlan method.

func (*DeletePlanRequest) Descriptor

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

Deprecated, Use DeletePlanRequest.ProtoReflect.Descriptor instead.

func (*DeletePlanRequest) GetName

func (m *DeletePlanRequest) GetName() *plan.Name

func (*DeletePlanRequest) GotenMessage

func (*DeletePlanRequest) GotenMessage()

func (*DeletePlanRequest) GotenValidate

func (obj *DeletePlanRequest) GotenValidate() error

func (*DeletePlanRequest) Marshal

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

func (*DeletePlanRequest) MarshalJSON

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

func (*DeletePlanRequest) ProtoMessage

func (*DeletePlanRequest) ProtoMessage()

func (*DeletePlanRequest) ProtoReflect

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

func (*DeletePlanRequest) Reset

func (m *DeletePlanRequest) Reset()

func (*DeletePlanRequest) SetName

func (m *DeletePlanRequest) SetName(fv *plan.Name)

func (*DeletePlanRequest) String

func (m *DeletePlanRequest) String() string

func (*DeletePlanRequest) Unmarshal

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

func (*DeletePlanRequest) UnmarshalJSON

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

type GetPlanDescriptor

type GetPlanDescriptor struct{}

func GetGetPlanDescriptor

func GetGetPlanDescriptor() *GetPlanDescriptor

func (*GetPlanDescriptor) GetApiDescriptor

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

func (*GetPlanDescriptor) GetApiName

func (d *GetPlanDescriptor) GetApiName() string

func (*GetPlanDescriptor) GetClientMsgReflectHandle

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

func (*GetPlanDescriptor) GetFullMethodName

func (d *GetPlanDescriptor) GetFullMethodName() string

func (*GetPlanDescriptor) GetMethodName

func (d *GetPlanDescriptor) GetMethodName() string

func (*GetPlanDescriptor) GetProtoPkgName

func (d *GetPlanDescriptor) GetProtoPkgName() string

func (*GetPlanDescriptor) GetResourceDescriptor

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

func (*GetPlanDescriptor) GetServerMsgReflectHandle

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

func (*GetPlanDescriptor) GetServiceDomain

func (d *GetPlanDescriptor) GetServiceDomain() string

func (*GetPlanDescriptor) GetServiceVersion

func (d *GetPlanDescriptor) GetServiceVersion() string

func (*GetPlanDescriptor) GetVerb

func (d *GetPlanDescriptor) GetVerb() string

func (*GetPlanDescriptor) HasResource

func (d *GetPlanDescriptor) HasResource() bool

func (*GetPlanDescriptor) IsClientStream

func (d *GetPlanDescriptor) IsClientStream() bool

func (*GetPlanDescriptor) IsCollection

func (d *GetPlanDescriptor) IsCollection() bool

func (*GetPlanDescriptor) IsPlural

func (d *GetPlanDescriptor) IsPlural() bool

func (*GetPlanDescriptor) IsServerStream

func (d *GetPlanDescriptor) IsServerStream() bool

func (*GetPlanDescriptor) IsUnary

func (d *GetPlanDescriptor) IsUnary() bool

func (*GetPlanDescriptor) NewEmptyClientMsg

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

func (*GetPlanDescriptor) NewEmptyServerMsg

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

func (*GetPlanDescriptor) RequestHasResourceBody

func (d *GetPlanDescriptor) RequestHasResourceBody() bool

type GetPlanDescriptorClientMsgHandle

type GetPlanDescriptorClientMsgHandle struct{}

func (*GetPlanDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetPlanDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetPlanDescriptorClientMsgHandle) ExtractResourceBody

func (*GetPlanDescriptorClientMsgHandle) ExtractResourceName

func (h *GetPlanDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name

func (*GetPlanDescriptorClientMsgHandle) ExtractResourceNames

type GetPlanDescriptorServerMsgHandle

type GetPlanDescriptorServerMsgHandle struct{}

func (*GetPlanDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetPlanDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetPlanDescriptorServerMsgHandle) ExtractResourceBody

func (*GetPlanDescriptorServerMsgHandle) ExtractResourceName

func (h *GetPlanDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name

func (*GetPlanDescriptorServerMsgHandle) ExtractResourceNames

type GetPlanRequest

type GetPlanRequest struct {

	// Name of ntt.limits.v1.Plan
	Name *plan.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 *plan.Plan_FieldMask `` /* 136-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 GetPlan method.

func (*GetPlanRequest) Descriptor

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

Deprecated, Use GetPlanRequest.ProtoReflect.Descriptor instead.

func (*GetPlanRequest) GetFieldMask

func (m *GetPlanRequest) GetFieldMask() *plan.Plan_FieldMask

func (*GetPlanRequest) GetName

func (m *GetPlanRequest) GetName() *plan.Name

func (*GetPlanRequest) GetView

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

func (*GetPlanRequest) GotenMessage

func (*GetPlanRequest) GotenMessage()

func (*GetPlanRequest) GotenValidate

func (obj *GetPlanRequest) GotenValidate() error

func (*GetPlanRequest) Marshal

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

func (*GetPlanRequest) MarshalJSON

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

func (*GetPlanRequest) ProtoMessage

func (*GetPlanRequest) ProtoMessage()

func (*GetPlanRequest) ProtoReflect

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

func (*GetPlanRequest) Reset

func (m *GetPlanRequest) Reset()

func (*GetPlanRequest) SetFieldMask

func (m *GetPlanRequest) SetFieldMask(fv *plan.Plan_FieldMask)

func (*GetPlanRequest) SetName

func (m *GetPlanRequest) SetName(fv *plan.Name)

func (*GetPlanRequest) SetView

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

func (*GetPlanRequest) String

func (m *GetPlanRequest) String() string

func (*GetPlanRequest) Unmarshal

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

func (*GetPlanRequest) UnmarshalJSON

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

type ListPlansDescriptor

type ListPlansDescriptor struct{}

func GetListPlansDescriptor

func GetListPlansDescriptor() *ListPlansDescriptor

func (*ListPlansDescriptor) GetApiDescriptor

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

func (*ListPlansDescriptor) GetApiName

func (d *ListPlansDescriptor) GetApiName() string

func (*ListPlansDescriptor) GetClientMsgReflectHandle

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

func (*ListPlansDescriptor) GetFullMethodName

func (d *ListPlansDescriptor) GetFullMethodName() string

func (*ListPlansDescriptor) GetMethodName

func (d *ListPlansDescriptor) GetMethodName() string

func (*ListPlansDescriptor) GetProtoPkgName

func (d *ListPlansDescriptor) GetProtoPkgName() string

func (*ListPlansDescriptor) GetResourceDescriptor

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

func (*ListPlansDescriptor) GetServerMsgReflectHandle

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

func (*ListPlansDescriptor) GetServiceDomain

func (d *ListPlansDescriptor) GetServiceDomain() string

func (*ListPlansDescriptor) GetServiceVersion

func (d *ListPlansDescriptor) GetServiceVersion() string

func (*ListPlansDescriptor) GetVerb

func (d *ListPlansDescriptor) GetVerb() string

func (*ListPlansDescriptor) HasResource

func (d *ListPlansDescriptor) HasResource() bool

func (*ListPlansDescriptor) IsClientStream

func (d *ListPlansDescriptor) IsClientStream() bool

func (*ListPlansDescriptor) IsCollection

func (d *ListPlansDescriptor) IsCollection() bool

func (*ListPlansDescriptor) IsPlural

func (d *ListPlansDescriptor) IsPlural() bool

func (*ListPlansDescriptor) IsServerStream

func (d *ListPlansDescriptor) IsServerStream() bool

func (*ListPlansDescriptor) IsUnary

func (d *ListPlansDescriptor) IsUnary() bool

func (*ListPlansDescriptor) NewEmptyClientMsg

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

func (*ListPlansDescriptor) NewEmptyServerMsg

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

func (*ListPlansDescriptor) RequestHasResourceBody

func (d *ListPlansDescriptor) RequestHasResourceBody() bool

type ListPlansDescriptorClientMsgHandle

type ListPlansDescriptorClientMsgHandle struct{}

func (*ListPlansDescriptorClientMsgHandle) ExtractCollectionName

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

func (*ListPlansDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListPlansDescriptorClientMsgHandle) ExtractResourceBody

func (*ListPlansDescriptorClientMsgHandle) ExtractResourceName

func (*ListPlansDescriptorClientMsgHandle) ExtractResourceNames

type ListPlansDescriptorServerMsgHandle

type ListPlansDescriptorServerMsgHandle struct{}

func (*ListPlansDescriptorServerMsgHandle) ExtractCollectionName

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

func (*ListPlansDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListPlansDescriptorServerMsgHandle) ExtractResourceBody

func (*ListPlansDescriptorServerMsgHandle) ExtractResourceName

func (*ListPlansDescriptorServerMsgHandle) ExtractResourceNames

type ListPlansRequest

type ListPlansRequest struct {

	// Parent name of ntt.limits.v1.Plan
	Parent *plan.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Plans 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
	// ListPlansResponse.next_page_token.
	PageToken *plan.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 *plan.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 *plan.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 *plan.Plan_FieldMask `` /* 136-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 ListPlans method.

func (*ListPlansRequest) Descriptor

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

Deprecated, Use ListPlansRequest.ProtoReflect.Descriptor instead.

func (*ListPlansRequest) GetFieldMask

func (m *ListPlansRequest) GetFieldMask() *plan.Plan_FieldMask

func (*ListPlansRequest) GetFilter

func (m *ListPlansRequest) GetFilter() *plan.Filter

func (*ListPlansRequest) GetIncludePagingInfo

func (m *ListPlansRequest) GetIncludePagingInfo() bool

func (*ListPlansRequest) GetOrderBy

func (m *ListPlansRequest) GetOrderBy() *plan.OrderBy

func (*ListPlansRequest) GetPageSize

func (m *ListPlansRequest) GetPageSize() int32

func (*ListPlansRequest) GetPageToken

func (m *ListPlansRequest) GetPageToken() *plan.PagerCursor

func (*ListPlansRequest) GetParent

func (m *ListPlansRequest) GetParent() *plan.ParentName

func (*ListPlansRequest) GetView

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

func (*ListPlansRequest) GotenMessage

func (*ListPlansRequest) GotenMessage()

func (*ListPlansRequest) GotenValidate

func (obj *ListPlansRequest) GotenValidate() error

func (*ListPlansRequest) Marshal

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

func (*ListPlansRequest) MarshalJSON

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

func (*ListPlansRequest) ProtoMessage

func (*ListPlansRequest) ProtoMessage()

func (*ListPlansRequest) ProtoReflect

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

func (*ListPlansRequest) Reset

func (m *ListPlansRequest) Reset()

func (*ListPlansRequest) SetFieldMask

func (m *ListPlansRequest) SetFieldMask(fv *plan.Plan_FieldMask)

func (*ListPlansRequest) SetFilter

func (m *ListPlansRequest) SetFilter(fv *plan.Filter)

func (*ListPlansRequest) SetIncludePagingInfo

func (m *ListPlansRequest) SetIncludePagingInfo(fv bool)

func (*ListPlansRequest) SetOrderBy

func (m *ListPlansRequest) SetOrderBy(fv *plan.OrderBy)

func (*ListPlansRequest) SetPageSize

func (m *ListPlansRequest) SetPageSize(fv int32)

func (*ListPlansRequest) SetPageToken

func (m *ListPlansRequest) SetPageToken(fv *plan.PagerCursor)

func (*ListPlansRequest) SetParent

func (m *ListPlansRequest) SetParent(fv *plan.ParentName)

func (*ListPlansRequest) SetView

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

func (*ListPlansRequest) String

func (m *ListPlansRequest) String() string

func (*ListPlansRequest) Unmarshal

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

func (*ListPlansRequest) UnmarshalJSON

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

type ListPlansResponse

type ListPlansResponse struct {

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

func (*ListPlansResponse) Descriptor

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

Deprecated, Use ListPlansResponse.ProtoReflect.Descriptor instead.

func (*ListPlansResponse) GetCurrentOffset

func (m *ListPlansResponse) GetCurrentOffset() int32

func (*ListPlansResponse) GetNextPageToken

func (m *ListPlansResponse) GetNextPageToken() *plan.PagerCursor

func (*ListPlansResponse) GetPlans

func (m *ListPlansResponse) GetPlans() []*plan.Plan

func (*ListPlansResponse) GetPrevPageToken

func (m *ListPlansResponse) GetPrevPageToken() *plan.PagerCursor

func (*ListPlansResponse) GetTotalResultsCount

func (m *ListPlansResponse) GetTotalResultsCount() int32

func (*ListPlansResponse) GotenMessage

func (*ListPlansResponse) GotenMessage()

func (*ListPlansResponse) GotenValidate

func (obj *ListPlansResponse) GotenValidate() error

func (*ListPlansResponse) Marshal

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

func (*ListPlansResponse) MarshalJSON

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

func (*ListPlansResponse) ProtoMessage

func (*ListPlansResponse) ProtoMessage()

func (*ListPlansResponse) ProtoReflect

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

func (*ListPlansResponse) Reset

func (m *ListPlansResponse) Reset()

func (*ListPlansResponse) SetCurrentOffset

func (m *ListPlansResponse) SetCurrentOffset(fv int32)

func (*ListPlansResponse) SetNextPageToken

func (m *ListPlansResponse) SetNextPageToken(fv *plan.PagerCursor)

func (*ListPlansResponse) SetPlans

func (m *ListPlansResponse) SetPlans(fv []*plan.Plan)

func (*ListPlansResponse) SetPrevPageToken

func (m *ListPlansResponse) SetPrevPageToken(fv *plan.PagerCursor)

func (*ListPlansResponse) SetTotalResultsCount

func (m *ListPlansResponse) SetTotalResultsCount(fv int32)

func (*ListPlansResponse) String

func (m *ListPlansResponse) String() string

func (*ListPlansResponse) Unmarshal

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

func (*ListPlansResponse) UnmarshalJSON

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

type PlanServiceClient

type PlanServiceClient interface {
	GetPlan(ctx context.Context, in *GetPlanRequest, opts ...grpc.CallOption) (*plan.Plan, error)
	BatchGetPlans(ctx context.Context, in *BatchGetPlansRequest, opts ...grpc.CallOption) (*BatchGetPlansResponse, error)
	ListPlans(ctx context.Context, in *ListPlansRequest, opts ...grpc.CallOption) (*ListPlansResponse, error)
	WatchPlan(ctx context.Context, in *WatchPlanRequest, opts ...grpc.CallOption) (WatchPlanClientStream, error)
	WatchPlans(ctx context.Context, in *WatchPlansRequest, opts ...grpc.CallOption) (WatchPlansClientStream, error)
	CreatePlan(ctx context.Context, in *CreatePlanRequest, opts ...grpc.CallOption) (*plan.Plan, error)
	UpdatePlan(ctx context.Context, in *UpdatePlanRequest, opts ...grpc.CallOption) (*plan.Plan, error)
	DeletePlan(ctx context.Context, in *DeletePlanRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PlanServiceClient is the client API for PlanService.

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

type PlanServiceDescriptor

type PlanServiceDescriptor struct{}

func GetPlanServiceDescriptor

func GetPlanServiceDescriptor() *PlanServiceDescriptor

func (*PlanServiceDescriptor) AllMethodDescriptors

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

func (*PlanServiceDescriptor) GetApiName

func (d *PlanServiceDescriptor) GetApiName() string

func (*PlanServiceDescriptor) GetFullAPIName

func (d *PlanServiceDescriptor) GetFullAPIName() string

func (*PlanServiceDescriptor) GetProtoPkgName

func (d *PlanServiceDescriptor) GetProtoPkgName() string

func (*PlanServiceDescriptor) GetServiceDomain

func (d *PlanServiceDescriptor) GetServiceDomain() string

func (*PlanServiceDescriptor) GetServiceVersion

func (d *PlanServiceDescriptor) GetServiceVersion() string

type UpdatePlanDescriptor

type UpdatePlanDescriptor struct{}

func GetUpdatePlanDescriptor

func GetUpdatePlanDescriptor() *UpdatePlanDescriptor

func (*UpdatePlanDescriptor) GetApiDescriptor

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

func (*UpdatePlanDescriptor) GetApiName

func (d *UpdatePlanDescriptor) GetApiName() string

func (*UpdatePlanDescriptor) GetClientMsgReflectHandle

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

func (*UpdatePlanDescriptor) GetFullMethodName

func (d *UpdatePlanDescriptor) GetFullMethodName() string

func (*UpdatePlanDescriptor) GetMethodName

func (d *UpdatePlanDescriptor) GetMethodName() string

func (*UpdatePlanDescriptor) GetProtoPkgName

func (d *UpdatePlanDescriptor) GetProtoPkgName() string

func (*UpdatePlanDescriptor) GetResourceDescriptor

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

func (*UpdatePlanDescriptor) GetServerMsgReflectHandle

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

func (*UpdatePlanDescriptor) GetServiceDomain

func (d *UpdatePlanDescriptor) GetServiceDomain() string

func (*UpdatePlanDescriptor) GetServiceVersion

func (d *UpdatePlanDescriptor) GetServiceVersion() string

func (*UpdatePlanDescriptor) GetVerb

func (d *UpdatePlanDescriptor) GetVerb() string

func (*UpdatePlanDescriptor) HasResource

func (d *UpdatePlanDescriptor) HasResource() bool

func (*UpdatePlanDescriptor) IsClientStream

func (d *UpdatePlanDescriptor) IsClientStream() bool

func (*UpdatePlanDescriptor) IsCollection

func (d *UpdatePlanDescriptor) IsCollection() bool

func (*UpdatePlanDescriptor) IsPlural

func (d *UpdatePlanDescriptor) IsPlural() bool

func (*UpdatePlanDescriptor) IsServerStream

func (d *UpdatePlanDescriptor) IsServerStream() bool

func (*UpdatePlanDescriptor) IsUnary

func (d *UpdatePlanDescriptor) IsUnary() bool

func (*UpdatePlanDescriptor) NewEmptyClientMsg

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

func (*UpdatePlanDescriptor) NewEmptyServerMsg

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

func (*UpdatePlanDescriptor) RequestHasResourceBody

func (d *UpdatePlanDescriptor) RequestHasResourceBody() bool

type UpdatePlanDescriptorClientMsgHandle

type UpdatePlanDescriptorClientMsgHandle struct{}

func (*UpdatePlanDescriptorClientMsgHandle) ExtractCollectionName

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

func (*UpdatePlanDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdatePlanDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdatePlanDescriptorClientMsgHandle) ExtractResourceName

func (*UpdatePlanDescriptorClientMsgHandle) ExtractResourceNames

type UpdatePlanDescriptorServerMsgHandle

type UpdatePlanDescriptorServerMsgHandle struct{}

func (*UpdatePlanDescriptorServerMsgHandle) ExtractCollectionName

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

func (*UpdatePlanDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdatePlanDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdatePlanDescriptorServerMsgHandle) ExtractResourceName

func (*UpdatePlanDescriptorServerMsgHandle) ExtractResourceNames

type UpdatePlanRequest

type UpdatePlanRequest struct {

	// Plan resource body
	Plan *plan.Plan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty" firestore:"plan"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *plan.Plan_FieldMask `` /* 140-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 *UpdatePlanRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

A request message of the UpdatePlan method.

func (*UpdatePlanRequest) Descriptor

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

Deprecated, Use UpdatePlanRequest.ProtoReflect.Descriptor instead.

func (*UpdatePlanRequest) GetAllowMissing

func (m *UpdatePlanRequest) GetAllowMissing() bool

func (*UpdatePlanRequest) GetCas

func (*UpdatePlanRequest) GetPlan

func (m *UpdatePlanRequest) GetPlan() *plan.Plan

func (*UpdatePlanRequest) GetUpdateMask

func (m *UpdatePlanRequest) GetUpdateMask() *plan.Plan_FieldMask

func (*UpdatePlanRequest) GotenMessage

func (*UpdatePlanRequest) GotenMessage()

func (*UpdatePlanRequest) GotenValidate

func (obj *UpdatePlanRequest) GotenValidate() error

func (*UpdatePlanRequest) Marshal

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

func (*UpdatePlanRequest) MarshalJSON

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

func (*UpdatePlanRequest) ProtoMessage

func (*UpdatePlanRequest) ProtoMessage()

func (*UpdatePlanRequest) ProtoReflect

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

func (*UpdatePlanRequest) Reset

func (m *UpdatePlanRequest) Reset()

func (*UpdatePlanRequest) SetAllowMissing

func (m *UpdatePlanRequest) SetAllowMissing(fv bool)

func (*UpdatePlanRequest) SetCas

func (*UpdatePlanRequest) SetPlan

func (m *UpdatePlanRequest) SetPlan(fv *plan.Plan)

func (*UpdatePlanRequest) SetUpdateMask

func (m *UpdatePlanRequest) SetUpdateMask(fv *plan.Plan_FieldMask)

func (*UpdatePlanRequest) String

func (m *UpdatePlanRequest) String() string

func (*UpdatePlanRequest) Unmarshal

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

func (*UpdatePlanRequest) UnmarshalJSON

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

type UpdatePlanRequest_CAS

type UpdatePlanRequest_CAS struct {

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

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

Deprecated, Use UpdatePlanRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdatePlanRequest_CAS) GetConditionalState

func (m *UpdatePlanRequest_CAS) GetConditionalState() *plan.Plan

func (*UpdatePlanRequest_CAS) GetFieldMask

func (m *UpdatePlanRequest_CAS) GetFieldMask() *plan.Plan_FieldMask

func (*UpdatePlanRequest_CAS) GotenMessage

func (*UpdatePlanRequest_CAS) GotenMessage()

func (*UpdatePlanRequest_CAS) GotenValidate

func (obj *UpdatePlanRequest_CAS) GotenValidate() error

func (*UpdatePlanRequest_CAS) Marshal

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

func (*UpdatePlanRequest_CAS) MarshalJSON

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

func (*UpdatePlanRequest_CAS) ProtoMessage

func (*UpdatePlanRequest_CAS) ProtoMessage()

func (*UpdatePlanRequest_CAS) ProtoReflect

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

func (*UpdatePlanRequest_CAS) Reset

func (m *UpdatePlanRequest_CAS) Reset()

func (*UpdatePlanRequest_CAS) SetConditionalState

func (m *UpdatePlanRequest_CAS) SetConditionalState(fv *plan.Plan)

func (*UpdatePlanRequest_CAS) SetFieldMask

func (m *UpdatePlanRequest_CAS) SetFieldMask(fv *plan.Plan_FieldMask)

func (*UpdatePlanRequest_CAS) String

func (m *UpdatePlanRequest_CAS) String() string

func (*UpdatePlanRequest_CAS) Unmarshal

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

func (*UpdatePlanRequest_CAS) UnmarshalJSON

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

type WatchPlanClientStream

type WatchPlanClientStream interface {
	Recv() (*WatchPlanResponse, error)
	grpc.ClientStream
}

type WatchPlanDescriptor

type WatchPlanDescriptor struct{}

func GetWatchPlanDescriptor

func GetWatchPlanDescriptor() *WatchPlanDescriptor

func (*WatchPlanDescriptor) GetApiDescriptor

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

func (*WatchPlanDescriptor) GetApiName

func (d *WatchPlanDescriptor) GetApiName() string

func (*WatchPlanDescriptor) GetClientMsgReflectHandle

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

func (*WatchPlanDescriptor) GetFullMethodName

func (d *WatchPlanDescriptor) GetFullMethodName() string

func (*WatchPlanDescriptor) GetMethodName

func (d *WatchPlanDescriptor) GetMethodName() string

func (*WatchPlanDescriptor) GetProtoPkgName

func (d *WatchPlanDescriptor) GetProtoPkgName() string

func (*WatchPlanDescriptor) GetResourceDescriptor

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

func (*WatchPlanDescriptor) GetServerMsgReflectHandle

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

func (*WatchPlanDescriptor) GetServiceDomain

func (d *WatchPlanDescriptor) GetServiceDomain() string

func (*WatchPlanDescriptor) GetServiceVersion

func (d *WatchPlanDescriptor) GetServiceVersion() string

func (*WatchPlanDescriptor) GetVerb

func (d *WatchPlanDescriptor) GetVerb() string

func (*WatchPlanDescriptor) HasResource

func (d *WatchPlanDescriptor) HasResource() bool

func (*WatchPlanDescriptor) IsClientStream

func (d *WatchPlanDescriptor) IsClientStream() bool

func (*WatchPlanDescriptor) IsCollection

func (d *WatchPlanDescriptor) IsCollection() bool

func (*WatchPlanDescriptor) IsPlural

func (d *WatchPlanDescriptor) IsPlural() bool

func (*WatchPlanDescriptor) IsServerStream

func (d *WatchPlanDescriptor) IsServerStream() bool

func (*WatchPlanDescriptor) IsUnary

func (d *WatchPlanDescriptor) IsUnary() bool

func (*WatchPlanDescriptor) NewEmptyClientMsg

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

func (*WatchPlanDescriptor) NewEmptyServerMsg

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

func (*WatchPlanDescriptor) RequestHasResourceBody

func (d *WatchPlanDescriptor) RequestHasResourceBody() bool

type WatchPlanDescriptorClientMsgHandle

type WatchPlanDescriptorClientMsgHandle struct{}

func (*WatchPlanDescriptorClientMsgHandle) ExtractCollectionName

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

func (*WatchPlanDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchPlanDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchPlanDescriptorClientMsgHandle) ExtractResourceName

func (*WatchPlanDescriptorClientMsgHandle) ExtractResourceNames

type WatchPlanDescriptorServerMsgHandle

type WatchPlanDescriptorServerMsgHandle struct{}

func (*WatchPlanDescriptorServerMsgHandle) ExtractCollectionName

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

func (*WatchPlanDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchPlanDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchPlanDescriptorServerMsgHandle) ExtractResourceName

func (*WatchPlanDescriptorServerMsgHandle) ExtractResourceNames

type WatchPlanRequest

type WatchPlanRequest struct {

	// Name of ntt.limits.v1.Plan
	Name *plan.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 *plan.Plan_FieldMask `` /* 136-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 WatchPlan method.

func (*WatchPlanRequest) Descriptor

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

Deprecated, Use WatchPlanRequest.ProtoReflect.Descriptor instead.

func (*WatchPlanRequest) GetFieldMask

func (m *WatchPlanRequest) GetFieldMask() *plan.Plan_FieldMask

func (*WatchPlanRequest) GetName

func (m *WatchPlanRequest) GetName() *plan.Name

func (*WatchPlanRequest) GetView

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

func (*WatchPlanRequest) GotenMessage

func (*WatchPlanRequest) GotenMessage()

func (*WatchPlanRequest) GotenValidate

func (obj *WatchPlanRequest) GotenValidate() error

func (*WatchPlanRequest) Marshal

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

func (*WatchPlanRequest) MarshalJSON

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

func (*WatchPlanRequest) ProtoMessage

func (*WatchPlanRequest) ProtoMessage()

func (*WatchPlanRequest) ProtoReflect

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

func (*WatchPlanRequest) Reset

func (m *WatchPlanRequest) Reset()

func (*WatchPlanRequest) SetFieldMask

func (m *WatchPlanRequest) SetFieldMask(fv *plan.Plan_FieldMask)

func (*WatchPlanRequest) SetName

func (m *WatchPlanRequest) SetName(fv *plan.Name)

func (*WatchPlanRequest) SetView

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

func (*WatchPlanRequest) String

func (m *WatchPlanRequest) String() string

func (*WatchPlanRequest) Unmarshal

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

func (*WatchPlanRequest) UnmarshalJSON

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

type WatchPlanResponse

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

A response message of the WatchPlan method.

func (*WatchPlanResponse) Descriptor

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

Deprecated, Use WatchPlanResponse.ProtoReflect.Descriptor instead.

func (*WatchPlanResponse) GetChange

func (m *WatchPlanResponse) GetChange() *plan.PlanChange

func (*WatchPlanResponse) GotenMessage

func (*WatchPlanResponse) GotenMessage()

func (*WatchPlanResponse) GotenValidate

func (obj *WatchPlanResponse) GotenValidate() error

func (*WatchPlanResponse) Marshal

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

func (*WatchPlanResponse) MarshalJSON

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

func (*WatchPlanResponse) ProtoMessage

func (*WatchPlanResponse) ProtoMessage()

func (*WatchPlanResponse) ProtoReflect

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

func (*WatchPlanResponse) Reset

func (m *WatchPlanResponse) Reset()

func (*WatchPlanResponse) SetChange

func (m *WatchPlanResponse) SetChange(fv *plan.PlanChange)

func (*WatchPlanResponse) String

func (m *WatchPlanResponse) String() string

func (*WatchPlanResponse) Unmarshal

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

func (*WatchPlanResponse) UnmarshalJSON

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

type WatchPlansClientStream

type WatchPlansClientStream interface {
	Recv() (*WatchPlansResponse, error)
	grpc.ClientStream
}

type WatchPlansDescriptor

type WatchPlansDescriptor struct{}

func GetWatchPlansDescriptor

func GetWatchPlansDescriptor() *WatchPlansDescriptor

func (*WatchPlansDescriptor) GetApiDescriptor

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

func (*WatchPlansDescriptor) GetApiName

func (d *WatchPlansDescriptor) GetApiName() string

func (*WatchPlansDescriptor) GetClientMsgReflectHandle

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

func (*WatchPlansDescriptor) GetFullMethodName

func (d *WatchPlansDescriptor) GetFullMethodName() string

func (*WatchPlansDescriptor) GetMethodName

func (d *WatchPlansDescriptor) GetMethodName() string

func (*WatchPlansDescriptor) GetProtoPkgName

func (d *WatchPlansDescriptor) GetProtoPkgName() string

func (*WatchPlansDescriptor) GetResourceDescriptor

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

func (*WatchPlansDescriptor) GetServerMsgReflectHandle

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

func (*WatchPlansDescriptor) GetServiceDomain

func (d *WatchPlansDescriptor) GetServiceDomain() string

func (*WatchPlansDescriptor) GetServiceVersion

func (d *WatchPlansDescriptor) GetServiceVersion() string

func (*WatchPlansDescriptor) GetVerb

func (d *WatchPlansDescriptor) GetVerb() string

func (*WatchPlansDescriptor) HasResource

func (d *WatchPlansDescriptor) HasResource() bool

func (*WatchPlansDescriptor) IsClientStream

func (d *WatchPlansDescriptor) IsClientStream() bool

func (*WatchPlansDescriptor) IsCollection

func (d *WatchPlansDescriptor) IsCollection() bool

func (*WatchPlansDescriptor) IsPlural

func (d *WatchPlansDescriptor) IsPlural() bool

func (*WatchPlansDescriptor) IsServerStream

func (d *WatchPlansDescriptor) IsServerStream() bool

func (*WatchPlansDescriptor) IsUnary

func (d *WatchPlansDescriptor) IsUnary() bool

func (*WatchPlansDescriptor) NewEmptyClientMsg

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

func (*WatchPlansDescriptor) NewEmptyServerMsg

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

func (*WatchPlansDescriptor) RequestHasResourceBody

func (d *WatchPlansDescriptor) RequestHasResourceBody() bool

type WatchPlansDescriptorClientMsgHandle

type WatchPlansDescriptorClientMsgHandle struct{}

func (*WatchPlansDescriptorClientMsgHandle) ExtractCollectionName

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

func (*WatchPlansDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchPlansDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchPlansDescriptorClientMsgHandle) ExtractResourceName

func (*WatchPlansDescriptorClientMsgHandle) ExtractResourceNames

type WatchPlansDescriptorServerMsgHandle

type WatchPlansDescriptorServerMsgHandle struct{}

func (*WatchPlansDescriptorServerMsgHandle) ExtractCollectionName

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

func (*WatchPlansDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchPlansDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchPlansDescriptorServerMsgHandle) ExtractResourceName

func (*WatchPlansDescriptorServerMsgHandle) ExtractResourceNames

type WatchPlansRequest

type WatchPlansRequest struct {

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

func (*WatchPlansRequest) Descriptor

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

Deprecated, Use WatchPlansRequest.ProtoReflect.Descriptor instead.

func (*WatchPlansRequest) GetFieldMask

func (m *WatchPlansRequest) GetFieldMask() *plan.Plan_FieldMask

func (*WatchPlansRequest) GetFilter

func (m *WatchPlansRequest) GetFilter() *plan.Filter

func (*WatchPlansRequest) GetMaxChunkSize

func (m *WatchPlansRequest) GetMaxChunkSize() int32

func (*WatchPlansRequest) GetOrderBy

func (m *WatchPlansRequest) GetOrderBy() *plan.OrderBy

func (*WatchPlansRequest) GetPageSize

func (m *WatchPlansRequest) GetPageSize() int32

func (*WatchPlansRequest) GetPageToken

func (m *WatchPlansRequest) GetPageToken() *plan.PagerCursor

func (*WatchPlansRequest) GetParent

func (m *WatchPlansRequest) GetParent() *plan.ParentName

func (*WatchPlansRequest) GetResumeToken

func (m *WatchPlansRequest) GetResumeToken() string

func (*WatchPlansRequest) GetStartingTime

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

func (*WatchPlansRequest) GetType

func (m *WatchPlansRequest) GetType() watch_type.WatchType

func (*WatchPlansRequest) GetView

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

func (*WatchPlansRequest) GotenMessage

func (*WatchPlansRequest) GotenMessage()

func (*WatchPlansRequest) GotenValidate

func (obj *WatchPlansRequest) GotenValidate() error

func (*WatchPlansRequest) Marshal

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

func (*WatchPlansRequest) MarshalJSON

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

func (*WatchPlansRequest) ProtoMessage

func (*WatchPlansRequest) ProtoMessage()

func (*WatchPlansRequest) ProtoReflect

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

func (*WatchPlansRequest) Reset

func (m *WatchPlansRequest) Reset()

func (*WatchPlansRequest) SetFieldMask

func (m *WatchPlansRequest) SetFieldMask(fv *plan.Plan_FieldMask)

func (*WatchPlansRequest) SetFilter

func (m *WatchPlansRequest) SetFilter(fv *plan.Filter)

func (*WatchPlansRequest) SetMaxChunkSize

func (m *WatchPlansRequest) SetMaxChunkSize(fv int32)

func (*WatchPlansRequest) SetOrderBy

func (m *WatchPlansRequest) SetOrderBy(fv *plan.OrderBy)

func (*WatchPlansRequest) SetPageSize

func (m *WatchPlansRequest) SetPageSize(fv int32)

func (*WatchPlansRequest) SetPageToken

func (m *WatchPlansRequest) SetPageToken(fv *plan.PagerCursor)

func (*WatchPlansRequest) SetParent

func (m *WatchPlansRequest) SetParent(fv *plan.ParentName)

func (*WatchPlansRequest) SetResumeToken

func (m *WatchPlansRequest) SetResumeToken(fv string)

func (*WatchPlansRequest) SetStartingTime

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

func (*WatchPlansRequest) SetType

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

func (*WatchPlansRequest) SetView

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

func (*WatchPlansRequest) String

func (m *WatchPlansRequest) String() string

func (*WatchPlansRequest) Unmarshal

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

func (*WatchPlansRequest) UnmarshalJSON

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

type WatchPlansResponse

type WatchPlansResponse struct {

	// Changes of Plans
	PlanChanges []*plan.PlanChange `protobuf:"bytes,2,rep,name=plan_changes,json=planChanges,proto3" json:"plan_changes,omitempty" firestore:"planChanges"`
	// 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 Plans 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 *WatchPlansResponse_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 (Plans 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 WatchPlans method.

func (*WatchPlansResponse) Descriptor

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

Deprecated, Use WatchPlansResponse.ProtoReflect.Descriptor instead.

func (*WatchPlansResponse) GetIsCurrent

func (m *WatchPlansResponse) GetIsCurrent() bool

func (*WatchPlansResponse) GetIsHardReset

func (m *WatchPlansResponse) GetIsHardReset() bool

func (*WatchPlansResponse) GetIsSoftReset

func (m *WatchPlansResponse) GetIsSoftReset() bool

func (*WatchPlansResponse) GetPageTokenChange

func (m *WatchPlansResponse) GetPageTokenChange() *WatchPlansResponse_PageTokenChange

func (*WatchPlansResponse) GetPlanChanges

func (m *WatchPlansResponse) GetPlanChanges() []*plan.PlanChange

func (*WatchPlansResponse) GetResumeToken

func (m *WatchPlansResponse) GetResumeToken() string

func (*WatchPlansResponse) GetSnapshotSize

func (m *WatchPlansResponse) GetSnapshotSize() int64

func (*WatchPlansResponse) GotenMessage

func (*WatchPlansResponse) GotenMessage()

func (*WatchPlansResponse) GotenValidate

func (obj *WatchPlansResponse) GotenValidate() error

func (*WatchPlansResponse) Marshal

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

func (*WatchPlansResponse) MarshalJSON

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

func (*WatchPlansResponse) ProtoMessage

func (*WatchPlansResponse) ProtoMessage()

func (*WatchPlansResponse) ProtoReflect

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

func (*WatchPlansResponse) Reset

func (m *WatchPlansResponse) Reset()

func (*WatchPlansResponse) SetIsCurrent

func (m *WatchPlansResponse) SetIsCurrent(fv bool)

func (*WatchPlansResponse) SetIsHardReset

func (m *WatchPlansResponse) SetIsHardReset(fv bool)

func (*WatchPlansResponse) SetIsSoftReset

func (m *WatchPlansResponse) SetIsSoftReset(fv bool)

func (*WatchPlansResponse) SetPageTokenChange

func (m *WatchPlansResponse) SetPageTokenChange(fv *WatchPlansResponse_PageTokenChange)

func (*WatchPlansResponse) SetPlanChanges

func (m *WatchPlansResponse) SetPlanChanges(fv []*plan.PlanChange)

func (*WatchPlansResponse) SetResumeToken

func (m *WatchPlansResponse) SetResumeToken(fv string)

func (*WatchPlansResponse) SetSnapshotSize

func (m *WatchPlansResponse) SetSnapshotSize(fv int64)

func (*WatchPlansResponse) String

func (m *WatchPlansResponse) String() string

func (*WatchPlansResponse) Unmarshal

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

func (*WatchPlansResponse) UnmarshalJSON

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

type WatchPlansResponse_PageTokenChange

type WatchPlansResponse_PageTokenChange struct {

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

func (*WatchPlansResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchPlansResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchPlansResponse_PageTokenChange) GetNextPageToken

func (m *WatchPlansResponse_PageTokenChange) GetNextPageToken() *plan.PagerCursor

func (*WatchPlansResponse_PageTokenChange) GetPrevPageToken

func (m *WatchPlansResponse_PageTokenChange) GetPrevPageToken() *plan.PagerCursor

func (*WatchPlansResponse_PageTokenChange) GotenMessage

func (*WatchPlansResponse_PageTokenChange) GotenMessage()

func (*WatchPlansResponse_PageTokenChange) GotenValidate

func (obj *WatchPlansResponse_PageTokenChange) GotenValidate() error

func (*WatchPlansResponse_PageTokenChange) Marshal

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

func (*WatchPlansResponse_PageTokenChange) MarshalJSON

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

func (*WatchPlansResponse_PageTokenChange) ProtoMessage

func (*WatchPlansResponse_PageTokenChange) ProtoMessage()

func (*WatchPlansResponse_PageTokenChange) ProtoReflect

func (*WatchPlansResponse_PageTokenChange) Reset

func (*WatchPlansResponse_PageTokenChange) SetNextPageToken

func (m *WatchPlansResponse_PageTokenChange) SetNextPageToken(fv *plan.PagerCursor)

func (*WatchPlansResponse_PageTokenChange) SetPrevPageToken

func (m *WatchPlansResponse_PageTokenChange) SetPrevPageToken(fv *plan.PagerCursor)

func (*WatchPlansResponse_PageTokenChange) String

func (*WatchPlansResponse_PageTokenChange) Unmarshal

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

func (*WatchPlansResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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