limit_client

package
v1.5.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetLimitsDescriptor

type BatchGetLimitsDescriptor struct{}

func GetBatchGetLimitsDescriptor

func GetBatchGetLimitsDescriptor() *BatchGetLimitsDescriptor

func (*BatchGetLimitsDescriptor) GetApiDescriptor

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

func (*BatchGetLimitsDescriptor) GetApiName

func (d *BatchGetLimitsDescriptor) GetApiName() string

func (*BatchGetLimitsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetLimitsDescriptor) GetFullMethodName

func (d *BatchGetLimitsDescriptor) GetFullMethodName() string

func (*BatchGetLimitsDescriptor) GetMethodName

func (d *BatchGetLimitsDescriptor) GetMethodName() string

func (*BatchGetLimitsDescriptor) GetProtoPkgName

func (d *BatchGetLimitsDescriptor) GetProtoPkgName() string

func (*BatchGetLimitsDescriptor) GetResourceDescriptor

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

func (*BatchGetLimitsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetLimitsDescriptor) GetServiceDomain

func (d *BatchGetLimitsDescriptor) GetServiceDomain() string

func (*BatchGetLimitsDescriptor) GetServiceVersion

func (d *BatchGetLimitsDescriptor) GetServiceVersion() string

func (*BatchGetLimitsDescriptor) GetVerb

func (d *BatchGetLimitsDescriptor) GetVerb() string

func (*BatchGetLimitsDescriptor) HasResource

func (d *BatchGetLimitsDescriptor) HasResource() bool

func (*BatchGetLimitsDescriptor) IsClientStream

func (d *BatchGetLimitsDescriptor) IsClientStream() bool

func (*BatchGetLimitsDescriptor) IsCollection

func (d *BatchGetLimitsDescriptor) IsCollection() bool

func (*BatchGetLimitsDescriptor) IsPlural

func (d *BatchGetLimitsDescriptor) IsPlural() bool

func (*BatchGetLimitsDescriptor) IsServerStream

func (d *BatchGetLimitsDescriptor) IsServerStream() bool

func (*BatchGetLimitsDescriptor) IsUnary

func (d *BatchGetLimitsDescriptor) IsUnary() bool

func (*BatchGetLimitsDescriptor) NewEmptyClientMsg

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

func (*BatchGetLimitsDescriptor) NewEmptyServerMsg

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

func (*BatchGetLimitsDescriptor) RequestHasResourceBody

func (d *BatchGetLimitsDescriptor) RequestHasResourceBody() bool

type BatchGetLimitsDescriptorClientMsgHandle

type BatchGetLimitsDescriptorClientMsgHandle struct{}

func (*BatchGetLimitsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetLimitsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetLimitsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetLimitsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetLimitsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetLimitsDescriptorServerMsgHandle

type BatchGetLimitsDescriptorServerMsgHandle struct{}

func (*BatchGetLimitsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetLimitsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetLimitsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetLimitsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetLimitsDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetLimitsRequest

type BatchGetLimitsRequest struct {

	// Names of Limits
	Names []*limit.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 *limit.Limit_FieldMask `` /* 137-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 BatchGetLimits method.

func (*BatchGetLimitsRequest) Descriptor

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

Deprecated, Use BatchGetLimitsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetLimitsRequest) GetFieldMask

func (m *BatchGetLimitsRequest) GetFieldMask() *limit.Limit_FieldMask

func (*BatchGetLimitsRequest) GetNames

func (m *BatchGetLimitsRequest) GetNames() []*limit.Name

func (*BatchGetLimitsRequest) GetView

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

func (*BatchGetLimitsRequest) GotenMessage

func (*BatchGetLimitsRequest) GotenMessage()

func (*BatchGetLimitsRequest) GotenValidate

func (obj *BatchGetLimitsRequest) GotenValidate() error

func (*BatchGetLimitsRequest) Marshal

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

func (*BatchGetLimitsRequest) MarshalJSON

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

func (*BatchGetLimitsRequest) ProtoMessage

func (*BatchGetLimitsRequest) ProtoMessage()

func (*BatchGetLimitsRequest) ProtoReflect

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

func (*BatchGetLimitsRequest) Reset

func (m *BatchGetLimitsRequest) Reset()

func (*BatchGetLimitsRequest) SetFieldMask

func (m *BatchGetLimitsRequest) SetFieldMask(fv *limit.Limit_FieldMask)

func (*BatchGetLimitsRequest) SetNames

func (m *BatchGetLimitsRequest) SetNames(fv []*limit.Name)

func (*BatchGetLimitsRequest) SetView

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

func (*BatchGetLimitsRequest) String

func (m *BatchGetLimitsRequest) String() string

func (*BatchGetLimitsRequest) Unmarshal

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

func (*BatchGetLimitsRequest) UnmarshalJSON

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

type BatchGetLimitsResponse

type BatchGetLimitsResponse struct {

	// found Limits
	Limits []*limit.Limit `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" firestore:"limits"`
	// list of not found Limits
	Missing []*limit.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 BatchGetLimits method.

func (*BatchGetLimitsResponse) Descriptor

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

Deprecated, Use BatchGetLimitsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetLimitsResponse) GetLimits

func (m *BatchGetLimitsResponse) GetLimits() []*limit.Limit

func (*BatchGetLimitsResponse) GetMissing

func (m *BatchGetLimitsResponse) GetMissing() []*limit.Name

func (*BatchGetLimitsResponse) GotenMessage

func (*BatchGetLimitsResponse) GotenMessage()

func (*BatchGetLimitsResponse) GotenValidate

func (obj *BatchGetLimitsResponse) GotenValidate() error

func (*BatchGetLimitsResponse) Marshal

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

func (*BatchGetLimitsResponse) MarshalJSON

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

func (*BatchGetLimitsResponse) ProtoMessage

func (*BatchGetLimitsResponse) ProtoMessage()

func (*BatchGetLimitsResponse) ProtoReflect

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

func (*BatchGetLimitsResponse) Reset

func (m *BatchGetLimitsResponse) Reset()

func (*BatchGetLimitsResponse) SetLimits

func (m *BatchGetLimitsResponse) SetLimits(fv []*limit.Limit)

func (*BatchGetLimitsResponse) SetMissing

func (m *BatchGetLimitsResponse) SetMissing(fv []*limit.Name)

func (*BatchGetLimitsResponse) String

func (m *BatchGetLimitsResponse) String() string

func (*BatchGetLimitsResponse) Unmarshal

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

func (*BatchGetLimitsResponse) UnmarshalJSON

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

type DeleteLimitDescriptor added in v0.8.0

type DeleteLimitDescriptor struct{}

func GetDeleteLimitDescriptor added in v0.8.0

func GetDeleteLimitDescriptor() *DeleteLimitDescriptor

func (*DeleteLimitDescriptor) GetApiDescriptor added in v0.8.0

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

func (*DeleteLimitDescriptor) GetApiName added in v0.8.0

func (d *DeleteLimitDescriptor) GetApiName() string

func (*DeleteLimitDescriptor) GetClientMsgReflectHandle added in v0.8.0

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

func (*DeleteLimitDescriptor) GetFullMethodName added in v0.8.0

func (d *DeleteLimitDescriptor) GetFullMethodName() string

func (*DeleteLimitDescriptor) GetMethodName added in v0.8.0

func (d *DeleteLimitDescriptor) GetMethodName() string

func (*DeleteLimitDescriptor) GetProtoPkgName added in v0.8.0

func (d *DeleteLimitDescriptor) GetProtoPkgName() string

func (*DeleteLimitDescriptor) GetResourceDescriptor added in v0.8.0

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

func (*DeleteLimitDescriptor) GetServerMsgReflectHandle added in v0.8.0

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

func (*DeleteLimitDescriptor) GetServiceDomain added in v0.8.0

func (d *DeleteLimitDescriptor) GetServiceDomain() string

func (*DeleteLimitDescriptor) GetServiceVersion added in v0.8.0

func (d *DeleteLimitDescriptor) GetServiceVersion() string

func (*DeleteLimitDescriptor) GetVerb added in v0.8.0

func (d *DeleteLimitDescriptor) GetVerb() string

func (*DeleteLimitDescriptor) HasResource added in v0.8.0

func (d *DeleteLimitDescriptor) HasResource() bool

func (*DeleteLimitDescriptor) IsClientStream added in v0.8.0

func (d *DeleteLimitDescriptor) IsClientStream() bool

func (*DeleteLimitDescriptor) IsCollection added in v0.8.0

func (d *DeleteLimitDescriptor) IsCollection() bool

func (*DeleteLimitDescriptor) IsPlural added in v0.8.0

func (d *DeleteLimitDescriptor) IsPlural() bool

func (*DeleteLimitDescriptor) IsServerStream added in v0.8.0

func (d *DeleteLimitDescriptor) IsServerStream() bool

func (*DeleteLimitDescriptor) IsUnary added in v0.8.0

func (d *DeleteLimitDescriptor) IsUnary() bool

func (*DeleteLimitDescriptor) NewEmptyClientMsg added in v0.8.0

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

func (*DeleteLimitDescriptor) NewEmptyServerMsg added in v0.8.0

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

func (*DeleteLimitDescriptor) RequestHasResourceBody added in v0.8.0

func (d *DeleteLimitDescriptor) RequestHasResourceBody() bool

type DeleteLimitDescriptorClientMsgHandle added in v0.8.0

type DeleteLimitDescriptorClientMsgHandle struct{}

func (*DeleteLimitDescriptorClientMsgHandle) ExtractCollectionName added in v0.8.0

func (*DeleteLimitDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteLimitDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteLimitDescriptorClientMsgHandle) ExtractResourceName added in v0.8.0

func (*DeleteLimitDescriptorClientMsgHandle) ExtractResourceNames added in v0.8.0

type DeleteLimitDescriptorServerMsgHandle added in v0.8.0

type DeleteLimitDescriptorServerMsgHandle struct{}

func (*DeleteLimitDescriptorServerMsgHandle) ExtractCollectionName added in v0.8.0

func (*DeleteLimitDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteLimitDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteLimitDescriptorServerMsgHandle) ExtractResourceName added in v0.8.0

func (*DeleteLimitDescriptorServerMsgHandle) ExtractResourceNames added in v0.8.0

type DeleteLimitRequest added in v0.8.0

type DeleteLimitRequest struct {

	// Name of ntt.limits.v1alpha2.Limit
	Name *limit.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 DeleteLimit method.

func (*DeleteLimitRequest) Descriptor added in v0.8.0

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

Deprecated, Use DeleteLimitRequest.ProtoReflect.Descriptor instead.

func (*DeleteLimitRequest) GetName added in v0.8.0

func (m *DeleteLimitRequest) GetName() *limit.Name

func (*DeleteLimitRequest) GotenMessage added in v0.8.0

func (*DeleteLimitRequest) GotenMessage()

func (*DeleteLimitRequest) GotenValidate added in v0.8.0

func (obj *DeleteLimitRequest) GotenValidate() error

func (*DeleteLimitRequest) Marshal added in v0.8.0

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

func (*DeleteLimitRequest) MarshalJSON added in v0.8.0

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

func (*DeleteLimitRequest) ProtoMessage added in v0.8.0

func (*DeleteLimitRequest) ProtoMessage()

func (*DeleteLimitRequest) ProtoReflect added in v0.8.0

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

func (*DeleteLimitRequest) Reset added in v0.8.0

func (m *DeleteLimitRequest) Reset()

func (*DeleteLimitRequest) SetName added in v0.8.0

func (m *DeleteLimitRequest) SetName(fv *limit.Name)

func (*DeleteLimitRequest) String added in v0.8.0

func (m *DeleteLimitRequest) String() string

func (*DeleteLimitRequest) Unmarshal added in v0.8.0

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

func (*DeleteLimitRequest) UnmarshalJSON added in v0.8.0

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

type GetLimitDescriptor

type GetLimitDescriptor struct{}

func GetGetLimitDescriptor

func GetGetLimitDescriptor() *GetLimitDescriptor

func (*GetLimitDescriptor) GetApiDescriptor

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

func (*GetLimitDescriptor) GetApiName

func (d *GetLimitDescriptor) GetApiName() string

func (*GetLimitDescriptor) GetClientMsgReflectHandle

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

func (*GetLimitDescriptor) GetFullMethodName

func (d *GetLimitDescriptor) GetFullMethodName() string

func (*GetLimitDescriptor) GetMethodName

func (d *GetLimitDescriptor) GetMethodName() string

func (*GetLimitDescriptor) GetProtoPkgName

func (d *GetLimitDescriptor) GetProtoPkgName() string

func (*GetLimitDescriptor) GetResourceDescriptor

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

func (*GetLimitDescriptor) GetServerMsgReflectHandle

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

func (*GetLimitDescriptor) GetServiceDomain

func (d *GetLimitDescriptor) GetServiceDomain() string

func (*GetLimitDescriptor) GetServiceVersion

func (d *GetLimitDescriptor) GetServiceVersion() string

func (*GetLimitDescriptor) GetVerb

func (d *GetLimitDescriptor) GetVerb() string

func (*GetLimitDescriptor) HasResource

func (d *GetLimitDescriptor) HasResource() bool

func (*GetLimitDescriptor) IsClientStream

func (d *GetLimitDescriptor) IsClientStream() bool

func (*GetLimitDescriptor) IsCollection

func (d *GetLimitDescriptor) IsCollection() bool

func (*GetLimitDescriptor) IsPlural

func (d *GetLimitDescriptor) IsPlural() bool

func (*GetLimitDescriptor) IsServerStream

func (d *GetLimitDescriptor) IsServerStream() bool

func (*GetLimitDescriptor) IsUnary

func (d *GetLimitDescriptor) IsUnary() bool

func (*GetLimitDescriptor) NewEmptyClientMsg

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

func (*GetLimitDescriptor) NewEmptyServerMsg

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

func (*GetLimitDescriptor) RequestHasResourceBody

func (d *GetLimitDescriptor) RequestHasResourceBody() bool

type GetLimitDescriptorClientMsgHandle

type GetLimitDescriptorClientMsgHandle struct{}

func (*GetLimitDescriptorClientMsgHandle) ExtractCollectionName

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

func (*GetLimitDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetLimitDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetLimitDescriptorClientMsgHandle) ExtractResourceName

func (*GetLimitDescriptorClientMsgHandle) ExtractResourceNames

type GetLimitDescriptorServerMsgHandle

type GetLimitDescriptorServerMsgHandle struct{}

func (*GetLimitDescriptorServerMsgHandle) ExtractCollectionName

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

func (*GetLimitDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetLimitDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetLimitDescriptorServerMsgHandle) ExtractResourceName

func (*GetLimitDescriptorServerMsgHandle) ExtractResourceNames

type GetLimitRequest

type GetLimitRequest struct {

	// Name of ntt.limits.v1alpha2.Limit
	Name *limit.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 *limit.Limit_FieldMask `` /* 137-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 GetLimit method.

func (*GetLimitRequest) Descriptor

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

Deprecated, Use GetLimitRequest.ProtoReflect.Descriptor instead.

func (*GetLimitRequest) GetFieldMask

func (m *GetLimitRequest) GetFieldMask() *limit.Limit_FieldMask

func (*GetLimitRequest) GetName

func (m *GetLimitRequest) GetName() *limit.Name

func (*GetLimitRequest) GetView

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

func (*GetLimitRequest) GotenMessage

func (*GetLimitRequest) GotenMessage()

func (*GetLimitRequest) GotenValidate

func (obj *GetLimitRequest) GotenValidate() error

func (*GetLimitRequest) Marshal

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

func (*GetLimitRequest) MarshalJSON

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

func (*GetLimitRequest) ProtoMessage

func (*GetLimitRequest) ProtoMessage()

func (*GetLimitRequest) ProtoReflect

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

func (*GetLimitRequest) Reset

func (m *GetLimitRequest) Reset()

func (*GetLimitRequest) SetFieldMask

func (m *GetLimitRequest) SetFieldMask(fv *limit.Limit_FieldMask)

func (*GetLimitRequest) SetName

func (m *GetLimitRequest) SetName(fv *limit.Name)

func (*GetLimitRequest) SetView

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

func (*GetLimitRequest) String

func (m *GetLimitRequest) String() string

func (*GetLimitRequest) Unmarshal

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

func (*GetLimitRequest) UnmarshalJSON

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

type LimitServiceClient

type LimitServiceClient interface {
	GetLimit(ctx context.Context, in *GetLimitRequest, opts ...grpc.CallOption) (*limit.Limit, error)
	BatchGetLimits(ctx context.Context, in *BatchGetLimitsRequest, opts ...grpc.CallOption) (*BatchGetLimitsResponse, error)
	ListLimits(ctx context.Context, in *ListLimitsRequest, opts ...grpc.CallOption) (*ListLimitsResponse, error)
	WatchLimit(ctx context.Context, in *WatchLimitRequest, opts ...grpc.CallOption) (WatchLimitClientStream, error)
	WatchLimits(ctx context.Context, in *WatchLimitsRequest, opts ...grpc.CallOption) (WatchLimitsClientStream, error)
	UpdateLimit(ctx context.Context, in *UpdateLimitRequest, opts ...grpc.CallOption) (*limit.Limit, error)
	DeleteLimit(ctx context.Context, in *DeleteLimitRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	MigrateLimitSource(ctx context.Context, in *MigrateLimitSourceRequest, opts ...grpc.CallOption) (*limit.Limit, error)
}

LimitServiceClient is the client API for LimitService.

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

type LimitServiceDescriptor

type LimitServiceDescriptor struct{}

func GetLimitServiceDescriptor

func GetLimitServiceDescriptor() *LimitServiceDescriptor

func (*LimitServiceDescriptor) AllMethodDescriptors

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

func (*LimitServiceDescriptor) GetApiName

func (d *LimitServiceDescriptor) GetApiName() string

func (*LimitServiceDescriptor) GetFullAPIName

func (d *LimitServiceDescriptor) GetFullAPIName() string

func (*LimitServiceDescriptor) GetProtoPkgName

func (d *LimitServiceDescriptor) GetProtoPkgName() string

func (*LimitServiceDescriptor) GetServiceDomain

func (d *LimitServiceDescriptor) GetServiceDomain() string

func (*LimitServiceDescriptor) GetServiceVersion

func (d *LimitServiceDescriptor) GetServiceVersion() string

type ListLimitsDescriptor

type ListLimitsDescriptor struct{}

func GetListLimitsDescriptor

func GetListLimitsDescriptor() *ListLimitsDescriptor

func (*ListLimitsDescriptor) GetApiDescriptor

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

func (*ListLimitsDescriptor) GetApiName

func (d *ListLimitsDescriptor) GetApiName() string

func (*ListLimitsDescriptor) GetClientMsgReflectHandle

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

func (*ListLimitsDescriptor) GetFullMethodName

func (d *ListLimitsDescriptor) GetFullMethodName() string

func (*ListLimitsDescriptor) GetMethodName

func (d *ListLimitsDescriptor) GetMethodName() string

func (*ListLimitsDescriptor) GetProtoPkgName

func (d *ListLimitsDescriptor) GetProtoPkgName() string

func (*ListLimitsDescriptor) GetResourceDescriptor

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

func (*ListLimitsDescriptor) GetServerMsgReflectHandle

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

func (*ListLimitsDescriptor) GetServiceDomain

func (d *ListLimitsDescriptor) GetServiceDomain() string

func (*ListLimitsDescriptor) GetServiceVersion

func (d *ListLimitsDescriptor) GetServiceVersion() string

func (*ListLimitsDescriptor) GetVerb

func (d *ListLimitsDescriptor) GetVerb() string

func (*ListLimitsDescriptor) HasResource

func (d *ListLimitsDescriptor) HasResource() bool

func (*ListLimitsDescriptor) IsClientStream

func (d *ListLimitsDescriptor) IsClientStream() bool

func (*ListLimitsDescriptor) IsCollection

func (d *ListLimitsDescriptor) IsCollection() bool

func (*ListLimitsDescriptor) IsPlural

func (d *ListLimitsDescriptor) IsPlural() bool

func (*ListLimitsDescriptor) IsServerStream

func (d *ListLimitsDescriptor) IsServerStream() bool

func (*ListLimitsDescriptor) IsUnary

func (d *ListLimitsDescriptor) IsUnary() bool

func (*ListLimitsDescriptor) NewEmptyClientMsg

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

func (*ListLimitsDescriptor) NewEmptyServerMsg

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

func (*ListLimitsDescriptor) RequestHasResourceBody

func (d *ListLimitsDescriptor) RequestHasResourceBody() bool

type ListLimitsDescriptorClientMsgHandle

type ListLimitsDescriptorClientMsgHandle struct{}

func (*ListLimitsDescriptorClientMsgHandle) ExtractCollectionName

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

func (*ListLimitsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListLimitsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListLimitsDescriptorClientMsgHandle) ExtractResourceName

func (*ListLimitsDescriptorClientMsgHandle) ExtractResourceNames

type ListLimitsDescriptorServerMsgHandle

type ListLimitsDescriptorServerMsgHandle struct{}

func (*ListLimitsDescriptorServerMsgHandle) ExtractCollectionName

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

func (*ListLimitsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListLimitsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListLimitsDescriptorServerMsgHandle) ExtractResourceName

func (*ListLimitsDescriptorServerMsgHandle) ExtractResourceNames

type ListLimitsRequest

type ListLimitsRequest struct {

	// Parent name of ntt.limits.v1alpha2.Limit
	Parent *limit.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Limits 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
	// ListLimitsResponse.next_page_token.
	PageToken *limit.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 *limit.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 *limit.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 *limit.Limit_FieldMask `` /* 137-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 ListLimits method.

func (*ListLimitsRequest) Descriptor

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

Deprecated, Use ListLimitsRequest.ProtoReflect.Descriptor instead.

func (*ListLimitsRequest) GetFieldMask

func (m *ListLimitsRequest) GetFieldMask() *limit.Limit_FieldMask

func (*ListLimitsRequest) GetFilter

func (m *ListLimitsRequest) GetFilter() *limit.Filter

func (*ListLimitsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListLimitsRequest) GetIncludePagingInfo() bool

func (*ListLimitsRequest) GetOrderBy

func (m *ListLimitsRequest) GetOrderBy() *limit.OrderBy

func (*ListLimitsRequest) GetPageSize

func (m *ListLimitsRequest) GetPageSize() int32

func (*ListLimitsRequest) GetPageToken

func (m *ListLimitsRequest) GetPageToken() *limit.PagerCursor

func (*ListLimitsRequest) GetParent

func (m *ListLimitsRequest) GetParent() *limit.ParentName

func (*ListLimitsRequest) GetView

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

func (*ListLimitsRequest) GotenMessage

func (*ListLimitsRequest) GotenMessage()

func (*ListLimitsRequest) GotenValidate

func (obj *ListLimitsRequest) GotenValidate() error

func (*ListLimitsRequest) Marshal

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

func (*ListLimitsRequest) MarshalJSON

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

func (*ListLimitsRequest) ProtoMessage

func (*ListLimitsRequest) ProtoMessage()

func (*ListLimitsRequest) ProtoReflect

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

func (*ListLimitsRequest) Reset

func (m *ListLimitsRequest) Reset()

func (*ListLimitsRequest) SetFieldMask

func (m *ListLimitsRequest) SetFieldMask(fv *limit.Limit_FieldMask)

func (*ListLimitsRequest) SetFilter

func (m *ListLimitsRequest) SetFilter(fv *limit.Filter)

func (*ListLimitsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListLimitsRequest) SetIncludePagingInfo(fv bool)

func (*ListLimitsRequest) SetOrderBy

func (m *ListLimitsRequest) SetOrderBy(fv *limit.OrderBy)

func (*ListLimitsRequest) SetPageSize

func (m *ListLimitsRequest) SetPageSize(fv int32)

func (*ListLimitsRequest) SetPageToken

func (m *ListLimitsRequest) SetPageToken(fv *limit.PagerCursor)

func (*ListLimitsRequest) SetParent

func (m *ListLimitsRequest) SetParent(fv *limit.ParentName)

func (*ListLimitsRequest) SetView

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

func (*ListLimitsRequest) String

func (m *ListLimitsRequest) String() string

func (*ListLimitsRequest) Unmarshal

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

func (*ListLimitsRequest) UnmarshalJSON

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

type ListLimitsResponse

type ListLimitsResponse struct {

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

func (*ListLimitsResponse) Descriptor

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

Deprecated, Use ListLimitsResponse.ProtoReflect.Descriptor instead.

func (*ListLimitsResponse) GetCurrentOffset added in v0.10.1

func (m *ListLimitsResponse) GetCurrentOffset() int32

func (*ListLimitsResponse) GetLimits

func (m *ListLimitsResponse) GetLimits() []*limit.Limit

func (*ListLimitsResponse) GetNextPageToken

func (m *ListLimitsResponse) GetNextPageToken() *limit.PagerCursor

func (*ListLimitsResponse) GetPrevPageToken

func (m *ListLimitsResponse) GetPrevPageToken() *limit.PagerCursor

func (*ListLimitsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListLimitsResponse) GetTotalResultsCount() int32

func (*ListLimitsResponse) GotenMessage

func (*ListLimitsResponse) GotenMessage()

func (*ListLimitsResponse) GotenValidate

func (obj *ListLimitsResponse) GotenValidate() error

func (*ListLimitsResponse) Marshal

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

func (*ListLimitsResponse) MarshalJSON

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

func (*ListLimitsResponse) ProtoMessage

func (*ListLimitsResponse) ProtoMessage()

func (*ListLimitsResponse) ProtoReflect

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

func (*ListLimitsResponse) Reset

func (m *ListLimitsResponse) Reset()

func (*ListLimitsResponse) SetCurrentOffset added in v0.10.1

func (m *ListLimitsResponse) SetCurrentOffset(fv int32)

func (*ListLimitsResponse) SetLimits

func (m *ListLimitsResponse) SetLimits(fv []*limit.Limit)

func (*ListLimitsResponse) SetNextPageToken

func (m *ListLimitsResponse) SetNextPageToken(fv *limit.PagerCursor)

func (*ListLimitsResponse) SetPrevPageToken

func (m *ListLimitsResponse) SetPrevPageToken(fv *limit.PagerCursor)

func (*ListLimitsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListLimitsResponse) SetTotalResultsCount(fv int32)

func (*ListLimitsResponse) String

func (m *ListLimitsResponse) String() string

func (*ListLimitsResponse) Unmarshal

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

func (*ListLimitsResponse) UnmarshalJSON

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

type MigrateLimitSourceDescriptor added in v0.10.0

type MigrateLimitSourceDescriptor struct{}

func GetMigrateLimitSourceDescriptor added in v0.10.0

func GetMigrateLimitSourceDescriptor() *MigrateLimitSourceDescriptor

func (*MigrateLimitSourceDescriptor) GetApiDescriptor added in v0.10.0

func (*MigrateLimitSourceDescriptor) GetApiName added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetApiName() string

func (*MigrateLimitSourceDescriptor) GetClientMsgReflectHandle added in v0.10.0

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

func (*MigrateLimitSourceDescriptor) GetFullMethodName added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetFullMethodName() string

func (*MigrateLimitSourceDescriptor) GetMethodName added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetMethodName() string

func (*MigrateLimitSourceDescriptor) GetProtoPkgName added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetProtoPkgName() string

func (*MigrateLimitSourceDescriptor) GetResourceDescriptor added in v0.10.0

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

func (*MigrateLimitSourceDescriptor) GetServerMsgReflectHandle added in v0.10.0

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

func (*MigrateLimitSourceDescriptor) GetServiceDomain added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetServiceDomain() string

func (*MigrateLimitSourceDescriptor) GetServiceVersion added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetServiceVersion() string

func (*MigrateLimitSourceDescriptor) GetVerb added in v0.10.0

func (d *MigrateLimitSourceDescriptor) GetVerb() string

func (*MigrateLimitSourceDescriptor) HasResource added in v0.10.0

func (d *MigrateLimitSourceDescriptor) HasResource() bool

func (*MigrateLimitSourceDescriptor) IsClientStream added in v0.10.0

func (d *MigrateLimitSourceDescriptor) IsClientStream() bool

func (*MigrateLimitSourceDescriptor) IsCollection added in v0.10.0

func (d *MigrateLimitSourceDescriptor) IsCollection() bool

func (*MigrateLimitSourceDescriptor) IsPlural added in v0.10.0

func (d *MigrateLimitSourceDescriptor) IsPlural() bool

func (*MigrateLimitSourceDescriptor) IsServerStream added in v0.10.0

func (d *MigrateLimitSourceDescriptor) IsServerStream() bool

func (*MigrateLimitSourceDescriptor) IsUnary added in v0.10.0

func (d *MigrateLimitSourceDescriptor) IsUnary() bool

func (*MigrateLimitSourceDescriptor) NewEmptyClientMsg added in v0.10.0

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

func (*MigrateLimitSourceDescriptor) NewEmptyServerMsg added in v0.10.0

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

func (*MigrateLimitSourceDescriptor) RequestHasResourceBody added in v0.10.0

func (d *MigrateLimitSourceDescriptor) RequestHasResourceBody() bool

type MigrateLimitSourceDescriptorClientMsgHandle added in v0.10.0

type MigrateLimitSourceDescriptorClientMsgHandle struct{}

func (*MigrateLimitSourceDescriptorClientMsgHandle) ExtractCollectionName added in v0.10.0

func (*MigrateLimitSourceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*MigrateLimitSourceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*MigrateLimitSourceDescriptorClientMsgHandle) ExtractResourceName added in v0.10.0

func (*MigrateLimitSourceDescriptorClientMsgHandle) ExtractResourceNames added in v0.10.0

type MigrateLimitSourceDescriptorServerMsgHandle added in v0.10.0

type MigrateLimitSourceDescriptorServerMsgHandle struct{}

func (*MigrateLimitSourceDescriptorServerMsgHandle) ExtractCollectionName added in v0.10.0

func (*MigrateLimitSourceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*MigrateLimitSourceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*MigrateLimitSourceDescriptorServerMsgHandle) ExtractResourceName added in v0.10.0

func (*MigrateLimitSourceDescriptorServerMsgHandle) ExtractResourceNames added in v0.10.0

type MigrateLimitSourceRequest added in v0.10.0

type MigrateLimitSourceRequest struct {

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

Request message for method [MigrateLimitSource][ntt.limits.v1alpha2.MigrateLimitSource]

func (*MigrateLimitSourceRequest) Descriptor added in v0.10.0

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

Deprecated, Use MigrateLimitSourceRequest.ProtoReflect.Descriptor instead.

func (*MigrateLimitSourceRequest) GetName added in v0.10.0

func (m *MigrateLimitSourceRequest) GetName() *limit.Name

func (*MigrateLimitSourceRequest) GotenMessage added in v0.10.0

func (*MigrateLimitSourceRequest) GotenMessage()

func (*MigrateLimitSourceRequest) GotenValidate added in v0.10.0

func (obj *MigrateLimitSourceRequest) GotenValidate() error

func (*MigrateLimitSourceRequest) Marshal added in v0.10.0

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

func (*MigrateLimitSourceRequest) MarshalJSON added in v0.10.0

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

func (*MigrateLimitSourceRequest) ProtoMessage added in v0.10.0

func (*MigrateLimitSourceRequest) ProtoMessage()

func (*MigrateLimitSourceRequest) ProtoReflect added in v0.10.0

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

func (*MigrateLimitSourceRequest) Reset added in v0.10.0

func (m *MigrateLimitSourceRequest) Reset()

func (*MigrateLimitSourceRequest) SetName added in v0.10.0

func (m *MigrateLimitSourceRequest) SetName(fv *limit.Name)

func (*MigrateLimitSourceRequest) String added in v0.10.0

func (m *MigrateLimitSourceRequest) String() string

func (*MigrateLimitSourceRequest) Unmarshal added in v0.10.0

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

func (*MigrateLimitSourceRequest) UnmarshalJSON added in v0.10.0

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

type UpdateLimitDescriptor

type UpdateLimitDescriptor struct{}

func GetUpdateLimitDescriptor

func GetUpdateLimitDescriptor() *UpdateLimitDescriptor

func (*UpdateLimitDescriptor) GetApiDescriptor

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

func (*UpdateLimitDescriptor) GetApiName

func (d *UpdateLimitDescriptor) GetApiName() string

func (*UpdateLimitDescriptor) GetClientMsgReflectHandle

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

func (*UpdateLimitDescriptor) GetFullMethodName

func (d *UpdateLimitDescriptor) GetFullMethodName() string

func (*UpdateLimitDescriptor) GetMethodName

func (d *UpdateLimitDescriptor) GetMethodName() string

func (*UpdateLimitDescriptor) GetProtoPkgName

func (d *UpdateLimitDescriptor) GetProtoPkgName() string

func (*UpdateLimitDescriptor) GetResourceDescriptor

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

func (*UpdateLimitDescriptor) GetServerMsgReflectHandle

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

func (*UpdateLimitDescriptor) GetServiceDomain

func (d *UpdateLimitDescriptor) GetServiceDomain() string

func (*UpdateLimitDescriptor) GetServiceVersion

func (d *UpdateLimitDescriptor) GetServiceVersion() string

func (*UpdateLimitDescriptor) GetVerb

func (d *UpdateLimitDescriptor) GetVerb() string

func (*UpdateLimitDescriptor) HasResource

func (d *UpdateLimitDescriptor) HasResource() bool

func (*UpdateLimitDescriptor) IsClientStream

func (d *UpdateLimitDescriptor) IsClientStream() bool

func (*UpdateLimitDescriptor) IsCollection

func (d *UpdateLimitDescriptor) IsCollection() bool

func (*UpdateLimitDescriptor) IsPlural

func (d *UpdateLimitDescriptor) IsPlural() bool

func (*UpdateLimitDescriptor) IsServerStream

func (d *UpdateLimitDescriptor) IsServerStream() bool

func (*UpdateLimitDescriptor) IsUnary

func (d *UpdateLimitDescriptor) IsUnary() bool

func (*UpdateLimitDescriptor) NewEmptyClientMsg

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

func (*UpdateLimitDescriptor) NewEmptyServerMsg

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

func (*UpdateLimitDescriptor) RequestHasResourceBody

func (d *UpdateLimitDescriptor) RequestHasResourceBody() bool

type UpdateLimitDescriptorClientMsgHandle

type UpdateLimitDescriptorClientMsgHandle struct{}

func (*UpdateLimitDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateLimitDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateLimitDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateLimitDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateLimitDescriptorClientMsgHandle) ExtractResourceNames

type UpdateLimitDescriptorServerMsgHandle

type UpdateLimitDescriptorServerMsgHandle struct{}

func (*UpdateLimitDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateLimitDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateLimitDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateLimitDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateLimitDescriptorServerMsgHandle) ExtractResourceNames

type UpdateLimitRequest

type UpdateLimitRequest struct {

	// Limit resource body
	Limit *limit.Limit `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty" firestore:"limit"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *limit.Limit_FieldMask `` /* 141-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 *UpdateLimitRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// contains filtered or unexported fields
}

A request message of the UpdateLimit method.

func (*UpdateLimitRequest) Descriptor

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

Deprecated, Use UpdateLimitRequest.ProtoReflect.Descriptor instead.

func (*UpdateLimitRequest) GetCas

func (*UpdateLimitRequest) GetLimit

func (m *UpdateLimitRequest) GetLimit() *limit.Limit

func (*UpdateLimitRequest) GetUpdateMask

func (m *UpdateLimitRequest) GetUpdateMask() *limit.Limit_FieldMask

func (*UpdateLimitRequest) GotenMessage

func (*UpdateLimitRequest) GotenMessage()

func (*UpdateLimitRequest) GotenValidate

func (obj *UpdateLimitRequest) GotenValidate() error

func (*UpdateLimitRequest) Marshal

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

func (*UpdateLimitRequest) MarshalJSON

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

func (*UpdateLimitRequest) ProtoMessage

func (*UpdateLimitRequest) ProtoMessage()

func (*UpdateLimitRequest) ProtoReflect

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

func (*UpdateLimitRequest) Reset

func (m *UpdateLimitRequest) Reset()

func (*UpdateLimitRequest) SetCas

func (*UpdateLimitRequest) SetLimit

func (m *UpdateLimitRequest) SetLimit(fv *limit.Limit)

func (*UpdateLimitRequest) SetUpdateMask

func (m *UpdateLimitRequest) SetUpdateMask(fv *limit.Limit_FieldMask)

func (*UpdateLimitRequest) String

func (m *UpdateLimitRequest) String() string

func (*UpdateLimitRequest) Unmarshal

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

func (*UpdateLimitRequest) UnmarshalJSON

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

type UpdateLimitRequest_CAS

type UpdateLimitRequest_CAS struct {

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

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

Deprecated, Use UpdateLimitRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateLimitRequest_CAS) GetConditionalState

func (m *UpdateLimitRequest_CAS) GetConditionalState() *limit.Limit

func (*UpdateLimitRequest_CAS) GetFieldMask

func (m *UpdateLimitRequest_CAS) GetFieldMask() *limit.Limit_FieldMask

func (*UpdateLimitRequest_CAS) GotenMessage

func (*UpdateLimitRequest_CAS) GotenMessage()

func (*UpdateLimitRequest_CAS) GotenValidate

func (obj *UpdateLimitRequest_CAS) GotenValidate() error

func (*UpdateLimitRequest_CAS) Marshal

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

func (*UpdateLimitRequest_CAS) MarshalJSON

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

func (*UpdateLimitRequest_CAS) ProtoMessage

func (*UpdateLimitRequest_CAS) ProtoMessage()

func (*UpdateLimitRequest_CAS) ProtoReflect

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

func (*UpdateLimitRequest_CAS) Reset

func (m *UpdateLimitRequest_CAS) Reset()

func (*UpdateLimitRequest_CAS) SetConditionalState

func (m *UpdateLimitRequest_CAS) SetConditionalState(fv *limit.Limit)

func (*UpdateLimitRequest_CAS) SetFieldMask

func (m *UpdateLimitRequest_CAS) SetFieldMask(fv *limit.Limit_FieldMask)

func (*UpdateLimitRequest_CAS) String

func (m *UpdateLimitRequest_CAS) String() string

func (*UpdateLimitRequest_CAS) Unmarshal

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

func (*UpdateLimitRequest_CAS) UnmarshalJSON

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

type WatchLimitClientStream

type WatchLimitClientStream interface {
	Recv() (*WatchLimitResponse, error)
	grpc.ClientStream
}

type WatchLimitDescriptor

type WatchLimitDescriptor struct{}

func GetWatchLimitDescriptor

func GetWatchLimitDescriptor() *WatchLimitDescriptor

func (*WatchLimitDescriptor) GetApiDescriptor

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

func (*WatchLimitDescriptor) GetApiName

func (d *WatchLimitDescriptor) GetApiName() string

func (*WatchLimitDescriptor) GetClientMsgReflectHandle

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

func (*WatchLimitDescriptor) GetFullMethodName

func (d *WatchLimitDescriptor) GetFullMethodName() string

func (*WatchLimitDescriptor) GetMethodName

func (d *WatchLimitDescriptor) GetMethodName() string

func (*WatchLimitDescriptor) GetProtoPkgName

func (d *WatchLimitDescriptor) GetProtoPkgName() string

func (*WatchLimitDescriptor) GetResourceDescriptor

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

func (*WatchLimitDescriptor) GetServerMsgReflectHandle

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

func (*WatchLimitDescriptor) GetServiceDomain

func (d *WatchLimitDescriptor) GetServiceDomain() string

func (*WatchLimitDescriptor) GetServiceVersion

func (d *WatchLimitDescriptor) GetServiceVersion() string

func (*WatchLimitDescriptor) GetVerb

func (d *WatchLimitDescriptor) GetVerb() string

func (*WatchLimitDescriptor) HasResource

func (d *WatchLimitDescriptor) HasResource() bool

func (*WatchLimitDescriptor) IsClientStream

func (d *WatchLimitDescriptor) IsClientStream() bool

func (*WatchLimitDescriptor) IsCollection

func (d *WatchLimitDescriptor) IsCollection() bool

func (*WatchLimitDescriptor) IsPlural

func (d *WatchLimitDescriptor) IsPlural() bool

func (*WatchLimitDescriptor) IsServerStream

func (d *WatchLimitDescriptor) IsServerStream() bool

func (*WatchLimitDescriptor) IsUnary

func (d *WatchLimitDescriptor) IsUnary() bool

func (*WatchLimitDescriptor) NewEmptyClientMsg

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

func (*WatchLimitDescriptor) NewEmptyServerMsg

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

func (*WatchLimitDescriptor) RequestHasResourceBody

func (d *WatchLimitDescriptor) RequestHasResourceBody() bool

type WatchLimitDescriptorClientMsgHandle

type WatchLimitDescriptorClientMsgHandle struct{}

func (*WatchLimitDescriptorClientMsgHandle) ExtractCollectionName

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

func (*WatchLimitDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchLimitDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchLimitDescriptorClientMsgHandle) ExtractResourceName

func (*WatchLimitDescriptorClientMsgHandle) ExtractResourceNames

type WatchLimitDescriptorServerMsgHandle

type WatchLimitDescriptorServerMsgHandle struct{}

func (*WatchLimitDescriptorServerMsgHandle) ExtractCollectionName

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

func (*WatchLimitDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchLimitDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchLimitDescriptorServerMsgHandle) ExtractResourceName

func (*WatchLimitDescriptorServerMsgHandle) ExtractResourceNames

type WatchLimitRequest

type WatchLimitRequest struct {

	// Name of ntt.limits.v1alpha2.Limit
	Name *limit.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 *limit.Limit_FieldMask `` /* 137-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 WatchLimit method.

func (*WatchLimitRequest) Descriptor

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

Deprecated, Use WatchLimitRequest.ProtoReflect.Descriptor instead.

func (*WatchLimitRequest) GetFieldMask

func (m *WatchLimitRequest) GetFieldMask() *limit.Limit_FieldMask

func (*WatchLimitRequest) GetName

func (m *WatchLimitRequest) GetName() *limit.Name

func (*WatchLimitRequest) GetView

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

func (*WatchLimitRequest) GotenMessage

func (*WatchLimitRequest) GotenMessage()

func (*WatchLimitRequest) GotenValidate

func (obj *WatchLimitRequest) GotenValidate() error

func (*WatchLimitRequest) Marshal

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

func (*WatchLimitRequest) MarshalJSON

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

func (*WatchLimitRequest) ProtoMessage

func (*WatchLimitRequest) ProtoMessage()

func (*WatchLimitRequest) ProtoReflect

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

func (*WatchLimitRequest) Reset

func (m *WatchLimitRequest) Reset()

func (*WatchLimitRequest) SetFieldMask

func (m *WatchLimitRequest) SetFieldMask(fv *limit.Limit_FieldMask)

func (*WatchLimitRequest) SetName

func (m *WatchLimitRequest) SetName(fv *limit.Name)

func (*WatchLimitRequest) SetView

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

func (*WatchLimitRequest) String

func (m *WatchLimitRequest) String() string

func (*WatchLimitRequest) Unmarshal

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

func (*WatchLimitRequest) UnmarshalJSON

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

type WatchLimitResponse

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

A response message of the WatchLimit method.

func (*WatchLimitResponse) Descriptor

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

Deprecated, Use WatchLimitResponse.ProtoReflect.Descriptor instead.

func (*WatchLimitResponse) GetChange

func (m *WatchLimitResponse) GetChange() *limit.LimitChange

func (*WatchLimitResponse) GotenMessage

func (*WatchLimitResponse) GotenMessage()

func (*WatchLimitResponse) GotenValidate

func (obj *WatchLimitResponse) GotenValidate() error

func (*WatchLimitResponse) Marshal

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

func (*WatchLimitResponse) MarshalJSON

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

func (*WatchLimitResponse) ProtoMessage

func (*WatchLimitResponse) ProtoMessage()

func (*WatchLimitResponse) ProtoReflect

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

func (*WatchLimitResponse) Reset

func (m *WatchLimitResponse) Reset()

func (*WatchLimitResponse) SetChange

func (m *WatchLimitResponse) SetChange(fv *limit.LimitChange)

func (*WatchLimitResponse) String

func (m *WatchLimitResponse) String() string

func (*WatchLimitResponse) Unmarshal

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

func (*WatchLimitResponse) UnmarshalJSON

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

type WatchLimitsClientStream

type WatchLimitsClientStream interface {
	Recv() (*WatchLimitsResponse, error)
	grpc.ClientStream
}

type WatchLimitsDescriptor

type WatchLimitsDescriptor struct{}

func GetWatchLimitsDescriptor

func GetWatchLimitsDescriptor() *WatchLimitsDescriptor

func (*WatchLimitsDescriptor) GetApiDescriptor

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

func (*WatchLimitsDescriptor) GetApiName

func (d *WatchLimitsDescriptor) GetApiName() string

func (*WatchLimitsDescriptor) GetClientMsgReflectHandle

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

func (*WatchLimitsDescriptor) GetFullMethodName

func (d *WatchLimitsDescriptor) GetFullMethodName() string

func (*WatchLimitsDescriptor) GetMethodName

func (d *WatchLimitsDescriptor) GetMethodName() string

func (*WatchLimitsDescriptor) GetProtoPkgName

func (d *WatchLimitsDescriptor) GetProtoPkgName() string

func (*WatchLimitsDescriptor) GetResourceDescriptor

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

func (*WatchLimitsDescriptor) GetServerMsgReflectHandle

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

func (*WatchLimitsDescriptor) GetServiceDomain

func (d *WatchLimitsDescriptor) GetServiceDomain() string

func (*WatchLimitsDescriptor) GetServiceVersion

func (d *WatchLimitsDescriptor) GetServiceVersion() string

func (*WatchLimitsDescriptor) GetVerb

func (d *WatchLimitsDescriptor) GetVerb() string

func (*WatchLimitsDescriptor) HasResource

func (d *WatchLimitsDescriptor) HasResource() bool

func (*WatchLimitsDescriptor) IsClientStream

func (d *WatchLimitsDescriptor) IsClientStream() bool

func (*WatchLimitsDescriptor) IsCollection

func (d *WatchLimitsDescriptor) IsCollection() bool

func (*WatchLimitsDescriptor) IsPlural

func (d *WatchLimitsDescriptor) IsPlural() bool

func (*WatchLimitsDescriptor) IsServerStream

func (d *WatchLimitsDescriptor) IsServerStream() bool

func (*WatchLimitsDescriptor) IsUnary

func (d *WatchLimitsDescriptor) IsUnary() bool

func (*WatchLimitsDescriptor) NewEmptyClientMsg

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

func (*WatchLimitsDescriptor) NewEmptyServerMsg

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

func (*WatchLimitsDescriptor) RequestHasResourceBody

func (d *WatchLimitsDescriptor) RequestHasResourceBody() bool

type WatchLimitsDescriptorClientMsgHandle

type WatchLimitsDescriptorClientMsgHandle struct{}

func (*WatchLimitsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchLimitsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchLimitsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchLimitsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchLimitsDescriptorClientMsgHandle) ExtractResourceNames

type WatchLimitsDescriptorServerMsgHandle

type WatchLimitsDescriptorServerMsgHandle struct{}

func (*WatchLimitsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchLimitsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchLimitsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchLimitsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchLimitsDescriptorServerMsgHandle) ExtractResourceNames

type WatchLimitsRequest

type WatchLimitsRequest 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.v1alpha2.Limit
	Parent *limit.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Limits 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 *limit.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 *limit.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 *limit.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 Limit that don't affect any
	// of masked fields won't be sent back.
	FieldMask *limit.Limit_FieldMask `` /* 137-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
	// Limit 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 WatchLimits method.

func (*WatchLimitsRequest) Descriptor

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

Deprecated, Use WatchLimitsRequest.ProtoReflect.Descriptor instead.

func (*WatchLimitsRequest) GetFieldMask

func (m *WatchLimitsRequest) GetFieldMask() *limit.Limit_FieldMask

func (*WatchLimitsRequest) GetFilter

func (m *WatchLimitsRequest) GetFilter() *limit.Filter

func (*WatchLimitsRequest) GetMaxChunkSize

func (m *WatchLimitsRequest) GetMaxChunkSize() int32

func (*WatchLimitsRequest) GetOrderBy

func (m *WatchLimitsRequest) GetOrderBy() *limit.OrderBy

func (*WatchLimitsRequest) GetPageSize

func (m *WatchLimitsRequest) GetPageSize() int32

func (*WatchLimitsRequest) GetPageToken

func (m *WatchLimitsRequest) GetPageToken() *limit.PagerCursor

func (*WatchLimitsRequest) GetParent

func (m *WatchLimitsRequest) GetParent() *limit.ParentName

func (*WatchLimitsRequest) GetResumeToken

func (m *WatchLimitsRequest) GetResumeToken() string

func (*WatchLimitsRequest) GetStartingTime added in v0.9.0

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

func (*WatchLimitsRequest) GetType

func (*WatchLimitsRequest) GetView

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

func (*WatchLimitsRequest) GotenMessage

func (*WatchLimitsRequest) GotenMessage()

func (*WatchLimitsRequest) GotenValidate

func (obj *WatchLimitsRequest) GotenValidate() error

func (*WatchLimitsRequest) Marshal

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

func (*WatchLimitsRequest) MarshalJSON

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

func (*WatchLimitsRequest) ProtoMessage

func (*WatchLimitsRequest) ProtoMessage()

func (*WatchLimitsRequest) ProtoReflect

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

func (*WatchLimitsRequest) Reset

func (m *WatchLimitsRequest) Reset()

func (*WatchLimitsRequest) SetFieldMask

func (m *WatchLimitsRequest) SetFieldMask(fv *limit.Limit_FieldMask)

func (*WatchLimitsRequest) SetFilter

func (m *WatchLimitsRequest) SetFilter(fv *limit.Filter)

func (*WatchLimitsRequest) SetMaxChunkSize

func (m *WatchLimitsRequest) SetMaxChunkSize(fv int32)

func (*WatchLimitsRequest) SetOrderBy

func (m *WatchLimitsRequest) SetOrderBy(fv *limit.OrderBy)

func (*WatchLimitsRequest) SetPageSize

func (m *WatchLimitsRequest) SetPageSize(fv int32)

func (*WatchLimitsRequest) SetPageToken

func (m *WatchLimitsRequest) SetPageToken(fv *limit.PagerCursor)

func (*WatchLimitsRequest) SetParent

func (m *WatchLimitsRequest) SetParent(fv *limit.ParentName)

func (*WatchLimitsRequest) SetResumeToken

func (m *WatchLimitsRequest) SetResumeToken(fv string)

func (*WatchLimitsRequest) SetStartingTime added in v0.9.0

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

func (*WatchLimitsRequest) SetType

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

func (*WatchLimitsRequest) SetView

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

func (*WatchLimitsRequest) String

func (m *WatchLimitsRequest) String() string

func (*WatchLimitsRequest) Unmarshal

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

func (*WatchLimitsRequest) UnmarshalJSON

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

type WatchLimitsResponse

type WatchLimitsResponse struct {

	// Changes of Limits
	LimitChanges []*limit.LimitChange `protobuf:"bytes,2,rep,name=limit_changes,json=limitChanges,proto3" json:"limit_changes,omitempty" firestore:"limitChanges"`
	// 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 Limits 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 *WatchLimitsResponse_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 (Limits 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 WatchLimits method.

func (*WatchLimitsResponse) Descriptor

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

Deprecated, Use WatchLimitsResponse.ProtoReflect.Descriptor instead.

func (*WatchLimitsResponse) GetIsCurrent

func (m *WatchLimitsResponse) GetIsCurrent() bool

func (*WatchLimitsResponse) GetIsHardReset

func (m *WatchLimitsResponse) GetIsHardReset() bool

func (*WatchLimitsResponse) GetIsSoftReset

func (m *WatchLimitsResponse) GetIsSoftReset() bool

func (*WatchLimitsResponse) GetLimitChanges

func (m *WatchLimitsResponse) GetLimitChanges() []*limit.LimitChange

func (*WatchLimitsResponse) GetPageTokenChange

func (*WatchLimitsResponse) GetResumeToken

func (m *WatchLimitsResponse) GetResumeToken() string

func (*WatchLimitsResponse) GetSnapshotSize

func (m *WatchLimitsResponse) GetSnapshotSize() int64

func (*WatchLimitsResponse) GotenMessage

func (*WatchLimitsResponse) GotenMessage()

func (*WatchLimitsResponse) GotenValidate

func (obj *WatchLimitsResponse) GotenValidate() error

func (*WatchLimitsResponse) Marshal

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

func (*WatchLimitsResponse) MarshalJSON

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

func (*WatchLimitsResponse) ProtoMessage

func (*WatchLimitsResponse) ProtoMessage()

func (*WatchLimitsResponse) ProtoReflect

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

func (*WatchLimitsResponse) Reset

func (m *WatchLimitsResponse) Reset()

func (*WatchLimitsResponse) SetIsCurrent

func (m *WatchLimitsResponse) SetIsCurrent(fv bool)

func (*WatchLimitsResponse) SetIsHardReset

func (m *WatchLimitsResponse) SetIsHardReset(fv bool)

func (*WatchLimitsResponse) SetIsSoftReset

func (m *WatchLimitsResponse) SetIsSoftReset(fv bool)

func (*WatchLimitsResponse) SetLimitChanges

func (m *WatchLimitsResponse) SetLimitChanges(fv []*limit.LimitChange)

func (*WatchLimitsResponse) SetPageTokenChange

func (m *WatchLimitsResponse) SetPageTokenChange(fv *WatchLimitsResponse_PageTokenChange)

func (*WatchLimitsResponse) SetResumeToken

func (m *WatchLimitsResponse) SetResumeToken(fv string)

func (*WatchLimitsResponse) SetSnapshotSize

func (m *WatchLimitsResponse) SetSnapshotSize(fv int64)

func (*WatchLimitsResponse) String

func (m *WatchLimitsResponse) String() string

func (*WatchLimitsResponse) Unmarshal

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

func (*WatchLimitsResponse) UnmarshalJSON

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

type WatchLimitsResponse_PageTokenChange

type WatchLimitsResponse_PageTokenChange struct {

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

func (*WatchLimitsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchLimitsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchLimitsResponse_PageTokenChange) GetNextPageToken

func (m *WatchLimitsResponse_PageTokenChange) GetNextPageToken() *limit.PagerCursor

func (*WatchLimitsResponse_PageTokenChange) GetPrevPageToken

func (m *WatchLimitsResponse_PageTokenChange) GetPrevPageToken() *limit.PagerCursor

func (*WatchLimitsResponse_PageTokenChange) GotenMessage

func (*WatchLimitsResponse_PageTokenChange) GotenMessage()

func (*WatchLimitsResponse_PageTokenChange) GotenValidate

func (obj *WatchLimitsResponse_PageTokenChange) GotenValidate() error

func (*WatchLimitsResponse_PageTokenChange) Marshal

func (*WatchLimitsResponse_PageTokenChange) MarshalJSON

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

func (*WatchLimitsResponse_PageTokenChange) ProtoMessage

func (*WatchLimitsResponse_PageTokenChange) ProtoMessage()

func (*WatchLimitsResponse_PageTokenChange) ProtoReflect

func (*WatchLimitsResponse_PageTokenChange) Reset

func (*WatchLimitsResponse_PageTokenChange) SetNextPageToken

func (m *WatchLimitsResponse_PageTokenChange) SetNextPageToken(fv *limit.PagerCursor)

func (*WatchLimitsResponse_PageTokenChange) SetPrevPageToken

func (m *WatchLimitsResponse_PageTokenChange) SetPrevPageToken(fv *limit.PagerCursor)

func (*WatchLimitsResponse_PageTokenChange) String

func (*WatchLimitsResponse_PageTokenChange) Unmarshal

func (*WatchLimitsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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