metric_descriptor_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: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetMetricDescriptorsDescriptor added in v0.4.28

type BatchGetMetricDescriptorsDescriptor struct{}

func GetBatchGetMetricDescriptorsDescriptor added in v0.4.28

func GetBatchGetMetricDescriptorsDescriptor() *BatchGetMetricDescriptorsDescriptor

func (*BatchGetMetricDescriptorsDescriptor) GetApiDescriptor added in v0.4.28

func (*BatchGetMetricDescriptorsDescriptor) GetApiName added in v0.4.28

func (*BatchGetMetricDescriptorsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetMetricDescriptorsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) GetFullMethodName() string

func (*BatchGetMetricDescriptorsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) GetMethodName() string

func (*BatchGetMetricDescriptorsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) GetProtoPkgName() string

func (*BatchGetMetricDescriptorsDescriptor) GetResourceDescriptor added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetMetricDescriptorsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) GetServiceDomain() string

func (*BatchGetMetricDescriptorsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) GetServiceVersion() string

func (*BatchGetMetricDescriptorsDescriptor) GetVerb added in v0.4.28

func (*BatchGetMetricDescriptorsDescriptor) HasResource added in v0.4.30

func (d *BatchGetMetricDescriptorsDescriptor) HasResource() bool

func (*BatchGetMetricDescriptorsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) IsClientStream() bool

func (*BatchGetMetricDescriptorsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetMetricDescriptorsDescriptor) IsCollection() bool

func (*BatchGetMetricDescriptorsDescriptor) IsPlural added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) IsServerStream() bool

func (*BatchGetMetricDescriptorsDescriptor) IsUnary added in v0.4.28

func (*BatchGetMetricDescriptorsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetMetricDescriptorsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetMetricDescriptorsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetMetricDescriptorsDescriptor) RequestHasResourceBody() bool

type BatchGetMetricDescriptorsDescriptorClientMsgHandle added in v0.4.28

type BatchGetMetricDescriptorsDescriptorClientMsgHandle struct{}

func (*BatchGetMetricDescriptorsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetMetricDescriptorsDescriptorServerMsgHandle added in v0.4.28

type BatchGetMetricDescriptorsDescriptorServerMsgHandle struct{}

func (*BatchGetMetricDescriptorsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetMetricDescriptorsRequest

type BatchGetMetricDescriptorsRequest struct {

	// Names of MetricDescriptors
	Names []*metric_descriptor.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 *metric_descriptor.MetricDescriptor_FieldMask `` /* 148-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 BatchGetMetricDescriptors method.

func (*BatchGetMetricDescriptorsRequest) Descriptor

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

Deprecated, Use BatchGetMetricDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetMetricDescriptorsRequest) GetFieldMask

func (*BatchGetMetricDescriptorsRequest) GetNames

func (*BatchGetMetricDescriptorsRequest) GetView

func (*BatchGetMetricDescriptorsRequest) GotenMessage

func (*BatchGetMetricDescriptorsRequest) GotenMessage()

func (*BatchGetMetricDescriptorsRequest) GotenValidate

func (obj *BatchGetMetricDescriptorsRequest) GotenValidate() error

func (*BatchGetMetricDescriptorsRequest) Marshal

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

func (*BatchGetMetricDescriptorsRequest) MarshalJSON

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

func (*BatchGetMetricDescriptorsRequest) ProtoMessage

func (*BatchGetMetricDescriptorsRequest) ProtoMessage()

func (*BatchGetMetricDescriptorsRequest) ProtoReflect

func (*BatchGetMetricDescriptorsRequest) Reset

func (*BatchGetMetricDescriptorsRequest) SetFieldMask

func (*BatchGetMetricDescriptorsRequest) SetNames

func (*BatchGetMetricDescriptorsRequest) SetView

func (*BatchGetMetricDescriptorsRequest) String

func (*BatchGetMetricDescriptorsRequest) Unmarshal

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

func (*BatchGetMetricDescriptorsRequest) UnmarshalJSON

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

type BatchGetMetricDescriptorsResponse

type BatchGetMetricDescriptorsResponse struct {

	// found MetricDescriptors
	MetricDescriptors []*metric_descriptor.MetricDescriptor `` /* 142-byte string literal not displayed */
	// list of not found MetricDescriptors
	Missing []*metric_descriptor.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 BatchGetMetricDescriptors method.

func (*BatchGetMetricDescriptorsResponse) Descriptor

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

Deprecated, Use BatchGetMetricDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetMetricDescriptorsResponse) GetMetricDescriptors

func (*BatchGetMetricDescriptorsResponse) GetMissing

func (*BatchGetMetricDescriptorsResponse) GotenMessage

func (*BatchGetMetricDescriptorsResponse) GotenMessage()

func (*BatchGetMetricDescriptorsResponse) GotenValidate

func (obj *BatchGetMetricDescriptorsResponse) GotenValidate() error

func (*BatchGetMetricDescriptorsResponse) Marshal

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

func (*BatchGetMetricDescriptorsResponse) MarshalJSON

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

func (*BatchGetMetricDescriptorsResponse) ProtoMessage

func (*BatchGetMetricDescriptorsResponse) ProtoMessage()

func (*BatchGetMetricDescriptorsResponse) ProtoReflect

func (*BatchGetMetricDescriptorsResponse) Reset

func (*BatchGetMetricDescriptorsResponse) SetMetricDescriptors

func (*BatchGetMetricDescriptorsResponse) SetMissing

func (*BatchGetMetricDescriptorsResponse) String

func (*BatchGetMetricDescriptorsResponse) Unmarshal

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

func (*BatchGetMetricDescriptorsResponse) UnmarshalJSON

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

type CreateMetricDescriptorDescriptor added in v0.4.28

type CreateMetricDescriptorDescriptor struct{}

func GetCreateMetricDescriptorDescriptor added in v0.4.28

func GetCreateMetricDescriptorDescriptor() *CreateMetricDescriptorDescriptor

func (*CreateMetricDescriptorDescriptor) GetApiDescriptor added in v0.4.28

func (*CreateMetricDescriptorDescriptor) GetApiName added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetApiName() string

func (*CreateMetricDescriptorDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateMetricDescriptorDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetFullMethodName() string

func (*CreateMetricDescriptorDescriptor) GetMethodName added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetMethodName() string

func (*CreateMetricDescriptorDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetProtoPkgName() string

func (*CreateMetricDescriptorDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateMetricDescriptorDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateMetricDescriptorDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetServiceDomain() string

func (*CreateMetricDescriptorDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) GetServiceVersion() string

func (*CreateMetricDescriptorDescriptor) GetVerb added in v0.4.28

func (*CreateMetricDescriptorDescriptor) HasResource added in v0.4.30

func (d *CreateMetricDescriptorDescriptor) HasResource() bool

func (*CreateMetricDescriptorDescriptor) IsClientStream added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) IsClientStream() bool

func (*CreateMetricDescriptorDescriptor) IsCollection added in v0.4.30

func (d *CreateMetricDescriptorDescriptor) IsCollection() bool

func (*CreateMetricDescriptorDescriptor) IsPlural added in v0.4.30

func (d *CreateMetricDescriptorDescriptor) IsPlural() bool

func (*CreateMetricDescriptorDescriptor) IsServerStream added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) IsServerStream() bool

func (*CreateMetricDescriptorDescriptor) IsUnary added in v0.4.28

func (*CreateMetricDescriptorDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateMetricDescriptorDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateMetricDescriptorDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateMetricDescriptorDescriptor) RequestHasResourceBody() bool

type CreateMetricDescriptorDescriptorClientMsgHandle added in v0.4.28

type CreateMetricDescriptorDescriptorClientMsgHandle struct{}

func (*CreateMetricDescriptorDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateMetricDescriptorDescriptorServerMsgHandle added in v0.4.28

type CreateMetricDescriptorDescriptorServerMsgHandle struct{}

func (*CreateMetricDescriptorDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateMetricDescriptorRequest

type CreateMetricDescriptorRequest struct {

	// The project on which to execute the request. The format is
	// `"projects/{project_id_or_number}"`.
	Parent *metric_descriptor.ParentName `protobuf:"bytes,3,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// The new [custom metric](/monitoring/custom-metrics)
	// descriptor.
	MetricDescriptor *metric_descriptor.MetricDescriptor `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [CreateMetricDescriptor][ntt.monitoring.v3.CreateMetricDescriptor]

func (*CreateMetricDescriptorRequest) Descriptor

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

Deprecated, Use CreateMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*CreateMetricDescriptorRequest) GetMetricDescriptor

func (*CreateMetricDescriptorRequest) GetParent

func (*CreateMetricDescriptorRequest) GotenMessage

func (*CreateMetricDescriptorRequest) GotenMessage()

func (*CreateMetricDescriptorRequest) GotenValidate

func (obj *CreateMetricDescriptorRequest) GotenValidate() error

func (*CreateMetricDescriptorRequest) Marshal

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

func (*CreateMetricDescriptorRequest) MarshalJSON

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

func (*CreateMetricDescriptorRequest) ProtoMessage

func (*CreateMetricDescriptorRequest) ProtoMessage()

func (*CreateMetricDescriptorRequest) ProtoReflect

func (*CreateMetricDescriptorRequest) Reset

func (m *CreateMetricDescriptorRequest) Reset()

func (*CreateMetricDescriptorRequest) SetMetricDescriptor

func (*CreateMetricDescriptorRequest) SetParent

func (*CreateMetricDescriptorRequest) String

func (*CreateMetricDescriptorRequest) Unmarshal

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

func (*CreateMetricDescriptorRequest) UnmarshalJSON

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

type DeleteMetricDescriptorDescriptor added in v0.4.28

type DeleteMetricDescriptorDescriptor struct{}

func GetDeleteMetricDescriptorDescriptor added in v0.4.28

func GetDeleteMetricDescriptorDescriptor() *DeleteMetricDescriptorDescriptor

func (*DeleteMetricDescriptorDescriptor) GetApiDescriptor added in v0.4.28

func (*DeleteMetricDescriptorDescriptor) GetApiName added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetApiName() string

func (*DeleteMetricDescriptorDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*DeleteMetricDescriptorDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetFullMethodName() string

func (*DeleteMetricDescriptorDescriptor) GetMethodName added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetMethodName() string

func (*DeleteMetricDescriptorDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetProtoPkgName() string

func (*DeleteMetricDescriptorDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*DeleteMetricDescriptorDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*DeleteMetricDescriptorDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetServiceDomain() string

func (*DeleteMetricDescriptorDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) GetServiceVersion() string

func (*DeleteMetricDescriptorDescriptor) GetVerb added in v0.4.28

func (*DeleteMetricDescriptorDescriptor) HasResource added in v0.4.30

func (d *DeleteMetricDescriptorDescriptor) HasResource() bool

func (*DeleteMetricDescriptorDescriptor) IsClientStream added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) IsClientStream() bool

func (*DeleteMetricDescriptorDescriptor) IsCollection added in v0.4.30

func (d *DeleteMetricDescriptorDescriptor) IsCollection() bool

func (*DeleteMetricDescriptorDescriptor) IsPlural added in v0.4.30

func (d *DeleteMetricDescriptorDescriptor) IsPlural() bool

func (*DeleteMetricDescriptorDescriptor) IsServerStream added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) IsServerStream() bool

func (*DeleteMetricDescriptorDescriptor) IsUnary added in v0.4.28

func (*DeleteMetricDescriptorDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*DeleteMetricDescriptorDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*DeleteMetricDescriptorDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteMetricDescriptorDescriptor) RequestHasResourceBody() bool

type DeleteMetricDescriptorDescriptorClientMsgHandle added in v0.4.28

type DeleteMetricDescriptorDescriptorClientMsgHandle struct{}

func (*DeleteMetricDescriptorDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteMetricDescriptorDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteMetricDescriptorDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteMetricDescriptorDescriptorServerMsgHandle added in v0.4.28

type DeleteMetricDescriptorDescriptorServerMsgHandle struct{}

func (*DeleteMetricDescriptorDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteMetricDescriptorDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteMetricDescriptorDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteMetricDescriptorRequest

type DeleteMetricDescriptorRequest struct {

	// The metric descriptor on which to execute the request. The format is
	// `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
	// An example of `{metric_id}` is:
	// `"custom.googleapis.com/my_test_metric"`.
	Name *metric_descriptor.Name `protobuf:"bytes,3,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

Request message for method [DeleteMetricDescriptor][ntt.monitoring.v3.DeleteMetricDescriptor]

func (*DeleteMetricDescriptorRequest) Descriptor

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

Deprecated, Use DeleteMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*DeleteMetricDescriptorRequest) GetName

func (*DeleteMetricDescriptorRequest) GotenMessage

func (*DeleteMetricDescriptorRequest) GotenMessage()

func (*DeleteMetricDescriptorRequest) GotenValidate

func (obj *DeleteMetricDescriptorRequest) GotenValidate() error

func (*DeleteMetricDescriptorRequest) Marshal

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

func (*DeleteMetricDescriptorRequest) MarshalJSON

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

func (*DeleteMetricDescriptorRequest) ProtoMessage

func (*DeleteMetricDescriptorRequest) ProtoMessage()

func (*DeleteMetricDescriptorRequest) ProtoReflect

func (*DeleteMetricDescriptorRequest) Reset

func (m *DeleteMetricDescriptorRequest) Reset()

func (*DeleteMetricDescriptorRequest) SetName

func (*DeleteMetricDescriptorRequest) String

func (*DeleteMetricDescriptorRequest) Unmarshal

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

func (*DeleteMetricDescriptorRequest) UnmarshalJSON

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

type GetMetricDescriptorDescriptor added in v0.4.28

type GetMetricDescriptorDescriptor struct{}

func GetGetMetricDescriptorDescriptor added in v0.4.28

func GetGetMetricDescriptorDescriptor() *GetMetricDescriptorDescriptor

func (*GetMetricDescriptorDescriptor) GetApiDescriptor added in v0.4.28

func (*GetMetricDescriptorDescriptor) GetApiName added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetApiName() string

func (*GetMetricDescriptorDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetMetricDescriptorDescriptor) GetFullMethodName added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetFullMethodName() string

func (*GetMetricDescriptorDescriptor) GetMethodName added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetMethodName() string

func (*GetMetricDescriptorDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetProtoPkgName() string

func (*GetMetricDescriptorDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetMetricDescriptorDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetMetricDescriptorDescriptor) GetServiceDomain added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetServiceDomain() string

func (*GetMetricDescriptorDescriptor) GetServiceVersion added in v0.4.28

func (d *GetMetricDescriptorDescriptor) GetServiceVersion() string

func (*GetMetricDescriptorDescriptor) GetVerb added in v0.4.28

func (*GetMetricDescriptorDescriptor) HasResource added in v0.4.30

func (d *GetMetricDescriptorDescriptor) HasResource() bool

func (*GetMetricDescriptorDescriptor) IsClientStream added in v0.4.28

func (d *GetMetricDescriptorDescriptor) IsClientStream() bool

func (*GetMetricDescriptorDescriptor) IsCollection added in v0.4.30

func (d *GetMetricDescriptorDescriptor) IsCollection() bool

func (*GetMetricDescriptorDescriptor) IsPlural added in v0.4.30

func (d *GetMetricDescriptorDescriptor) IsPlural() bool

func (*GetMetricDescriptorDescriptor) IsServerStream added in v0.4.28

func (d *GetMetricDescriptorDescriptor) IsServerStream() bool

func (*GetMetricDescriptorDescriptor) IsUnary added in v0.4.28

func (d *GetMetricDescriptorDescriptor) IsUnary() bool

func (*GetMetricDescriptorDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetMetricDescriptorDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetMetricDescriptorDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetMetricDescriptorDescriptor) RequestHasResourceBody() bool

type GetMetricDescriptorDescriptorClientMsgHandle added in v0.4.28

type GetMetricDescriptorDescriptorClientMsgHandle struct{}

func (*GetMetricDescriptorDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetMetricDescriptorDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetMetricDescriptorDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetMetricDescriptorDescriptorServerMsgHandle added in v0.4.28

type GetMetricDescriptorDescriptorServerMsgHandle struct{}

func (*GetMetricDescriptorDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetMetricDescriptorDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetMetricDescriptorDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetMetricDescriptorRequest

type GetMetricDescriptorRequest struct {

	// The metric descriptor on which to execute the request. The format is
	// `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
	// An example value of `{metric_id}` is
	// `"compute.googleapis.com/instance/disk/read_bytes_count"`.
	Name *metric_descriptor.Name `protobuf:"bytes,3,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 *metric_descriptor.MetricDescriptor_FieldMask `` /* 148-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,5,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [GetMetricDescriptor][ntt.monitoring.v3.GetMetricDescriptor]

func (*GetMetricDescriptorRequest) Descriptor

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

Deprecated, Use GetMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*GetMetricDescriptorRequest) GetFieldMask

func (*GetMetricDescriptorRequest) GetName

func (*GetMetricDescriptorRequest) GetView

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

func (*GetMetricDescriptorRequest) GotenMessage

func (*GetMetricDescriptorRequest) GotenMessage()

func (*GetMetricDescriptorRequest) GotenValidate

func (obj *GetMetricDescriptorRequest) GotenValidate() error

func (*GetMetricDescriptorRequest) Marshal

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

func (*GetMetricDescriptorRequest) MarshalJSON

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

func (*GetMetricDescriptorRequest) ProtoMessage

func (*GetMetricDescriptorRequest) ProtoMessage()

func (*GetMetricDescriptorRequest) ProtoReflect

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

func (*GetMetricDescriptorRequest) Reset

func (m *GetMetricDescriptorRequest) Reset()

func (*GetMetricDescriptorRequest) SetFieldMask

func (*GetMetricDescriptorRequest) SetName

func (*GetMetricDescriptorRequest) SetView

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

func (*GetMetricDescriptorRequest) String

func (m *GetMetricDescriptorRequest) String() string

func (*GetMetricDescriptorRequest) Unmarshal

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

func (*GetMetricDescriptorRequest) UnmarshalJSON

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

type ListMetricDescriptorsDescriptor added in v0.4.28

type ListMetricDescriptorsDescriptor struct{}

func GetListMetricDescriptorsDescriptor added in v0.4.28

func GetListMetricDescriptorsDescriptor() *ListMetricDescriptorsDescriptor

func (*ListMetricDescriptorsDescriptor) GetApiDescriptor added in v0.4.28

func (*ListMetricDescriptorsDescriptor) GetApiName added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetApiName() string

func (*ListMetricDescriptorsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListMetricDescriptorsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetFullMethodName() string

func (*ListMetricDescriptorsDescriptor) GetMethodName added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetMethodName() string

func (*ListMetricDescriptorsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetProtoPkgName() string

func (*ListMetricDescriptorsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListMetricDescriptorsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListMetricDescriptorsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetServiceDomain() string

func (*ListMetricDescriptorsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) GetServiceVersion() string

func (*ListMetricDescriptorsDescriptor) GetVerb added in v0.4.28

func (*ListMetricDescriptorsDescriptor) HasResource added in v0.4.30

func (d *ListMetricDescriptorsDescriptor) HasResource() bool

func (*ListMetricDescriptorsDescriptor) IsClientStream added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) IsClientStream() bool

func (*ListMetricDescriptorsDescriptor) IsCollection added in v0.4.30

func (d *ListMetricDescriptorsDescriptor) IsCollection() bool

func (*ListMetricDescriptorsDescriptor) IsPlural added in v0.4.30

func (d *ListMetricDescriptorsDescriptor) IsPlural() bool

func (*ListMetricDescriptorsDescriptor) IsServerStream added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) IsServerStream() bool

func (*ListMetricDescriptorsDescriptor) IsUnary added in v0.4.28

func (*ListMetricDescriptorsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListMetricDescriptorsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListMetricDescriptorsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListMetricDescriptorsDescriptor) RequestHasResourceBody() bool

type ListMetricDescriptorsDescriptorClientMsgHandle added in v0.4.28

type ListMetricDescriptorsDescriptorClientMsgHandle struct{}

func (*ListMetricDescriptorsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListMetricDescriptorsDescriptorServerMsgHandle added in v0.4.28

type ListMetricDescriptorsDescriptorServerMsgHandle struct{}

func (*ListMetricDescriptorsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListMetricDescriptorsRequest

type ListMetricDescriptorsRequest struct {

	// The project on which to execute the request. The format is
	// `"projects/{project_id_or_number}"`.
	Parent *metric_descriptor.ParentName `protobuf:"bytes,5,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// If this field is empty, all custom and
	// system-defined metric descriptors are returned.
	// Otherwise, the [filter](/monitoring/api/v3/filters)
	// specifies which metric descriptors are to be
	// returned. For example, the following filter matches all
	// [custom metrics](/monitoring/custom-metrics):
	//
	//     metric.type = starts_with("custom.googleapis.com/")
	Filter *metric_descriptor.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A positive number that is the maximum number of results to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// If this field is not empty then it must contain the `nextPageToken` value
	// returned by a previous call to this method.  Using this field causes the
	// method to return additional results from the previous method call.
	PageToken *metric_descriptor.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination
	OrderBy *metric_descriptor.OrderBy `protobuf:"bytes,666,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *metric_descriptor.MetricDescriptor_FieldMask `` /* 148-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ListMetricDescriptors][ntt.monitoring.v3.ListMetricDescriptors]

func (*ListMetricDescriptorsRequest) Descriptor

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

Deprecated, Use ListMetricDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*ListMetricDescriptorsRequest) GetFieldMask

func (*ListMetricDescriptorsRequest) GetFilter

func (*ListMetricDescriptorsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListMetricDescriptorsRequest) GetIncludePagingInfo() bool

func (*ListMetricDescriptorsRequest) GetOrderBy

func (*ListMetricDescriptorsRequest) GetPageSize

func (m *ListMetricDescriptorsRequest) GetPageSize() int32

func (*ListMetricDescriptorsRequest) GetPageToken

func (*ListMetricDescriptorsRequest) GetParent

func (*ListMetricDescriptorsRequest) GetView

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

func (*ListMetricDescriptorsRequest) GotenMessage

func (*ListMetricDescriptorsRequest) GotenMessage()

func (*ListMetricDescriptorsRequest) GotenValidate

func (obj *ListMetricDescriptorsRequest) GotenValidate() error

func (*ListMetricDescriptorsRequest) Marshal

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

func (*ListMetricDescriptorsRequest) MarshalJSON

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

func (*ListMetricDescriptorsRequest) ProtoMessage

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) ProtoReflect

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

func (*ListMetricDescriptorsRequest) Reset

func (m *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) SetFieldMask

func (*ListMetricDescriptorsRequest) SetFilter

func (*ListMetricDescriptorsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListMetricDescriptorsRequest) SetIncludePagingInfo(fv bool)

func (*ListMetricDescriptorsRequest) SetOrderBy

func (*ListMetricDescriptorsRequest) SetPageSize

func (m *ListMetricDescriptorsRequest) SetPageSize(fv int32)

func (*ListMetricDescriptorsRequest) SetPageToken

func (*ListMetricDescriptorsRequest) SetParent

func (*ListMetricDescriptorsRequest) SetView

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

func (*ListMetricDescriptorsRequest) String

func (*ListMetricDescriptorsRequest) Unmarshal

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

func (*ListMetricDescriptorsRequest) UnmarshalJSON

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

type ListMetricDescriptorsResponse

type ListMetricDescriptorsResponse struct {

	// The metric descriptors that are available to the project
	// and that match the value of `filter`, if present.
	MetricDescriptors []*metric_descriptor.MetricDescriptor `` /* 142-byte string literal not displayed */
	// If there are more results than have been returned, then this field is set
	// to a non-empty value.  To see the additional results,
	// use that value as `pageToken` in the next call to this method.
	NextPageToken *metric_descriptor.PagerCursor `` /* 151-byte string literal not displayed */
	PrevPageToken *metric_descriptor.PagerCursor `` /* 153-byte string literal not displayed */
	// Current offset from the first page (0 if no page tokens were given or
	// paging info was not requested). Page index can be computed from offset and
	// limit provided in a request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total MetricDescriptors across all pages or 0, if there are no
	// items or paging info was not requested.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for method [ListMetricDescriptors][ntt.monitoring.v3.ListMetricDescriptors]

func (*ListMetricDescriptorsResponse) Descriptor

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

Deprecated, Use ListMetricDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*ListMetricDescriptorsResponse) GetCurrentOffset added in v0.10.1

func (m *ListMetricDescriptorsResponse) GetCurrentOffset() int32

func (*ListMetricDescriptorsResponse) GetMetricDescriptors

func (*ListMetricDescriptorsResponse) GetNextPageToken

func (*ListMetricDescriptorsResponse) GetPrevPageToken

func (*ListMetricDescriptorsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListMetricDescriptorsResponse) GetTotalResultsCount() int32

func (*ListMetricDescriptorsResponse) GotenMessage

func (*ListMetricDescriptorsResponse) GotenMessage()

func (*ListMetricDescriptorsResponse) GotenValidate

func (obj *ListMetricDescriptorsResponse) GotenValidate() error

func (*ListMetricDescriptorsResponse) Marshal

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

func (*ListMetricDescriptorsResponse) MarshalJSON

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

func (*ListMetricDescriptorsResponse) ProtoMessage

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) ProtoReflect

func (*ListMetricDescriptorsResponse) Reset

func (m *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) SetCurrentOffset added in v0.10.1

func (m *ListMetricDescriptorsResponse) SetCurrentOffset(fv int32)

func (*ListMetricDescriptorsResponse) SetMetricDescriptors

func (m *ListMetricDescriptorsResponse) SetMetricDescriptors(fv []*metric_descriptor.MetricDescriptor)

func (*ListMetricDescriptorsResponse) SetNextPageToken

func (*ListMetricDescriptorsResponse) SetPrevPageToken

func (*ListMetricDescriptorsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListMetricDescriptorsResponse) SetTotalResultsCount(fv int32)

func (*ListMetricDescriptorsResponse) String

func (*ListMetricDescriptorsResponse) Unmarshal

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

func (*ListMetricDescriptorsResponse) UnmarshalJSON

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

type MetricDescriptorServiceClient

MetricDescriptorServiceClient is the client API for MetricDescriptorService.

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

type MetricDescriptorServiceDescriptor added in v0.4.28

type MetricDescriptorServiceDescriptor struct{}

func GetMetricDescriptorServiceDescriptor added in v0.4.28

func GetMetricDescriptorServiceDescriptor() *MetricDescriptorServiceDescriptor

func (*MetricDescriptorServiceDescriptor) AllMethodDescriptors added in v0.4.28

func (*MetricDescriptorServiceDescriptor) GetApiName added in v0.4.28

func (d *MetricDescriptorServiceDescriptor) GetApiName() string

func (*MetricDescriptorServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *MetricDescriptorServiceDescriptor) GetFullAPIName() string

func (*MetricDescriptorServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *MetricDescriptorServiceDescriptor) GetProtoPkgName() string

func (*MetricDescriptorServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *MetricDescriptorServiceDescriptor) GetServiceDomain() string

func (*MetricDescriptorServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *MetricDescriptorServiceDescriptor) GetServiceVersion() string

type UpdateMetricDescriptorDescriptor added in v0.4.28

type UpdateMetricDescriptorDescriptor struct{}

func GetUpdateMetricDescriptorDescriptor added in v0.4.28

func GetUpdateMetricDescriptorDescriptor() *UpdateMetricDescriptorDescriptor

func (*UpdateMetricDescriptorDescriptor) GetApiDescriptor added in v0.4.28

func (*UpdateMetricDescriptorDescriptor) GetApiName added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetApiName() string

func (*UpdateMetricDescriptorDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*UpdateMetricDescriptorDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetFullMethodName() string

func (*UpdateMetricDescriptorDescriptor) GetMethodName added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetMethodName() string

func (*UpdateMetricDescriptorDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetProtoPkgName() string

func (*UpdateMetricDescriptorDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*UpdateMetricDescriptorDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*UpdateMetricDescriptorDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetServiceDomain() string

func (*UpdateMetricDescriptorDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) GetServiceVersion() string

func (*UpdateMetricDescriptorDescriptor) GetVerb added in v0.4.28

func (*UpdateMetricDescriptorDescriptor) HasResource added in v0.4.30

func (d *UpdateMetricDescriptorDescriptor) HasResource() bool

func (*UpdateMetricDescriptorDescriptor) IsClientStream added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) IsClientStream() bool

func (*UpdateMetricDescriptorDescriptor) IsCollection added in v0.4.30

func (d *UpdateMetricDescriptorDescriptor) IsCollection() bool

func (*UpdateMetricDescriptorDescriptor) IsPlural added in v0.4.30

func (d *UpdateMetricDescriptorDescriptor) IsPlural() bool

func (*UpdateMetricDescriptorDescriptor) IsServerStream added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) IsServerStream() bool

func (*UpdateMetricDescriptorDescriptor) IsUnary added in v0.4.28

func (*UpdateMetricDescriptorDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*UpdateMetricDescriptorDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*UpdateMetricDescriptorDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateMetricDescriptorDescriptor) RequestHasResourceBody() bool

type UpdateMetricDescriptorDescriptorClientMsgHandle added in v0.4.28

type UpdateMetricDescriptorDescriptorClientMsgHandle struct{}

func (*UpdateMetricDescriptorDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateMetricDescriptorDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateMetricDescriptorDescriptorServerMsgHandle added in v0.4.28

type UpdateMetricDescriptorDescriptorServerMsgHandle struct{}

func (*UpdateMetricDescriptorDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateMetricDescriptorDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateMetricDescriptorRequest

type UpdateMetricDescriptorRequest struct {

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

Request message for method [UpdateMetricDescriptor][ntt.monitoring.v3.UpdateMetricDescriptor]

func (*UpdateMetricDescriptorRequest) Descriptor

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

Deprecated, Use UpdateMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*UpdateMetricDescriptorRequest) GetAllowMissing added in v0.12.33

func (m *UpdateMetricDescriptorRequest) GetAllowMissing() bool

func (*UpdateMetricDescriptorRequest) GetCas

func (*UpdateMetricDescriptorRequest) GetMetricDescriptor

func (*UpdateMetricDescriptorRequest) GetUpdateMask

func (*UpdateMetricDescriptorRequest) GotenMessage

func (*UpdateMetricDescriptorRequest) GotenMessage()

func (*UpdateMetricDescriptorRequest) GotenValidate

func (obj *UpdateMetricDescriptorRequest) GotenValidate() error

func (*UpdateMetricDescriptorRequest) Marshal

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

func (*UpdateMetricDescriptorRequest) MarshalJSON

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

func (*UpdateMetricDescriptorRequest) ProtoMessage

func (*UpdateMetricDescriptorRequest) ProtoMessage()

func (*UpdateMetricDescriptorRequest) ProtoReflect

func (*UpdateMetricDescriptorRequest) Reset

func (m *UpdateMetricDescriptorRequest) Reset()

func (*UpdateMetricDescriptorRequest) SetAllowMissing added in v0.12.33

func (m *UpdateMetricDescriptorRequest) SetAllowMissing(fv bool)

func (*UpdateMetricDescriptorRequest) SetCas

func (*UpdateMetricDescriptorRequest) SetMetricDescriptor

func (*UpdateMetricDescriptorRequest) SetUpdateMask

func (*UpdateMetricDescriptorRequest) String

func (*UpdateMetricDescriptorRequest) Unmarshal

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

func (*UpdateMetricDescriptorRequest) UnmarshalJSON

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

type UpdateMetricDescriptorRequest_CAS

type UpdateMetricDescriptorRequest_CAS struct {

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

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

Deprecated, Use UpdateMetricDescriptorRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateMetricDescriptorRequest_CAS) GetConditionalState

func (*UpdateMetricDescriptorRequest_CAS) GetFieldMask

func (*UpdateMetricDescriptorRequest_CAS) GotenMessage

func (*UpdateMetricDescriptorRequest_CAS) GotenMessage()

func (*UpdateMetricDescriptorRequest_CAS) GotenValidate

func (obj *UpdateMetricDescriptorRequest_CAS) GotenValidate() error

func (*UpdateMetricDescriptorRequest_CAS) Marshal

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

func (*UpdateMetricDescriptorRequest_CAS) MarshalJSON

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

func (*UpdateMetricDescriptorRequest_CAS) ProtoMessage

func (*UpdateMetricDescriptorRequest_CAS) ProtoMessage()

func (*UpdateMetricDescriptorRequest_CAS) ProtoReflect

func (*UpdateMetricDescriptorRequest_CAS) Reset

func (*UpdateMetricDescriptorRequest_CAS) SetConditionalState

func (*UpdateMetricDescriptorRequest_CAS) SetFieldMask

func (*UpdateMetricDescriptorRequest_CAS) String

func (*UpdateMetricDescriptorRequest_CAS) Unmarshal

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

func (*UpdateMetricDescriptorRequest_CAS) UnmarshalJSON

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

type WatchMetricDescriptorClientStream

type WatchMetricDescriptorClientStream interface {
	Recv() (*WatchMetricDescriptorResponse, error)
	grpc.ClientStream
}

type WatchMetricDescriptorDescriptor added in v0.4.28

type WatchMetricDescriptorDescriptor struct{}

func GetWatchMetricDescriptorDescriptor added in v0.4.28

func GetWatchMetricDescriptorDescriptor() *WatchMetricDescriptorDescriptor

func (*WatchMetricDescriptorDescriptor) GetApiDescriptor added in v0.4.28

func (*WatchMetricDescriptorDescriptor) GetApiName added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetApiName() string

func (*WatchMetricDescriptorDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchMetricDescriptorDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetFullMethodName() string

func (*WatchMetricDescriptorDescriptor) GetMethodName added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetMethodName() string

func (*WatchMetricDescriptorDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetProtoPkgName() string

func (*WatchMetricDescriptorDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchMetricDescriptorDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchMetricDescriptorDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetServiceDomain() string

func (*WatchMetricDescriptorDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) GetServiceVersion() string

func (*WatchMetricDescriptorDescriptor) GetVerb added in v0.4.28

func (*WatchMetricDescriptorDescriptor) HasResource added in v0.4.30

func (d *WatchMetricDescriptorDescriptor) HasResource() bool

func (*WatchMetricDescriptorDescriptor) IsClientStream added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) IsClientStream() bool

func (*WatchMetricDescriptorDescriptor) IsCollection added in v0.4.30

func (d *WatchMetricDescriptorDescriptor) IsCollection() bool

func (*WatchMetricDescriptorDescriptor) IsPlural added in v0.4.30

func (d *WatchMetricDescriptorDescriptor) IsPlural() bool

func (*WatchMetricDescriptorDescriptor) IsServerStream added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) IsServerStream() bool

func (*WatchMetricDescriptorDescriptor) IsUnary added in v0.4.28

func (*WatchMetricDescriptorDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchMetricDescriptorDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchMetricDescriptorDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchMetricDescriptorDescriptor) RequestHasResourceBody() bool

type WatchMetricDescriptorDescriptorClientMsgHandle added in v0.4.28

type WatchMetricDescriptorDescriptorClientMsgHandle struct{}

func (*WatchMetricDescriptorDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchMetricDescriptorDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchMetricDescriptorDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchMetricDescriptorDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchMetricDescriptorDescriptorServerMsgHandle added in v0.4.28

type WatchMetricDescriptorDescriptorServerMsgHandle struct{}

func (*WatchMetricDescriptorDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchMetricDescriptorDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchMetricDescriptorDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchMetricDescriptorDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchMetricDescriptorRequest

type WatchMetricDescriptorRequest struct {

	// Name of ntt.monitoring.v3.MetricDescriptor
	Name *metric_descriptor.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 *metric_descriptor.MetricDescriptor_FieldMask `` /* 148-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 WatchMetricDescriptor method.

func (*WatchMetricDescriptorRequest) Descriptor

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

Deprecated, Use WatchMetricDescriptorRequest.ProtoReflect.Descriptor instead.

func (*WatchMetricDescriptorRequest) GetFieldMask

func (*WatchMetricDescriptorRequest) GetName

func (*WatchMetricDescriptorRequest) GetView

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

func (*WatchMetricDescriptorRequest) GotenMessage

func (*WatchMetricDescriptorRequest) GotenMessage()

func (*WatchMetricDescriptorRequest) GotenValidate

func (obj *WatchMetricDescriptorRequest) GotenValidate() error

func (*WatchMetricDescriptorRequest) Marshal

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

func (*WatchMetricDescriptorRequest) MarshalJSON

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

func (*WatchMetricDescriptorRequest) ProtoMessage

func (*WatchMetricDescriptorRequest) ProtoMessage()

func (*WatchMetricDescriptorRequest) ProtoReflect

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

func (*WatchMetricDescriptorRequest) Reset

func (m *WatchMetricDescriptorRequest) Reset()

func (*WatchMetricDescriptorRequest) SetFieldMask

func (*WatchMetricDescriptorRequest) SetName

func (*WatchMetricDescriptorRequest) SetView

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

func (*WatchMetricDescriptorRequest) String

func (*WatchMetricDescriptorRequest) Unmarshal

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

func (*WatchMetricDescriptorRequest) UnmarshalJSON

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

type WatchMetricDescriptorResponse

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

A response message of the WatchMetricDescriptor method.

func (*WatchMetricDescriptorResponse) Descriptor

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

Deprecated, Use WatchMetricDescriptorResponse.ProtoReflect.Descriptor instead.

func (*WatchMetricDescriptorResponse) GetChange

func (*WatchMetricDescriptorResponse) GotenMessage

func (*WatchMetricDescriptorResponse) GotenMessage()

func (*WatchMetricDescriptorResponse) GotenValidate

func (obj *WatchMetricDescriptorResponse) GotenValidate() error

func (*WatchMetricDescriptorResponse) Marshal

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

func (*WatchMetricDescriptorResponse) MarshalJSON

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

func (*WatchMetricDescriptorResponse) ProtoMessage

func (*WatchMetricDescriptorResponse) ProtoMessage()

func (*WatchMetricDescriptorResponse) ProtoReflect

func (*WatchMetricDescriptorResponse) Reset

func (m *WatchMetricDescriptorResponse) Reset()

func (*WatchMetricDescriptorResponse) SetChange

func (*WatchMetricDescriptorResponse) String

func (*WatchMetricDescriptorResponse) Unmarshal

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

func (*WatchMetricDescriptorResponse) UnmarshalJSON

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

type WatchMetricDescriptorsClientStream

type WatchMetricDescriptorsClientStream interface {
	Recv() (*WatchMetricDescriptorsResponse, error)
	grpc.ClientStream
}

type WatchMetricDescriptorsDescriptor added in v0.4.28

type WatchMetricDescriptorsDescriptor struct{}

func GetWatchMetricDescriptorsDescriptor added in v0.4.28

func GetWatchMetricDescriptorsDescriptor() *WatchMetricDescriptorsDescriptor

func (*WatchMetricDescriptorsDescriptor) GetApiDescriptor added in v0.4.28

func (*WatchMetricDescriptorsDescriptor) GetApiName added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetApiName() string

func (*WatchMetricDescriptorsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchMetricDescriptorsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetFullMethodName() string

func (*WatchMetricDescriptorsDescriptor) GetMethodName added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetMethodName() string

func (*WatchMetricDescriptorsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetProtoPkgName() string

func (*WatchMetricDescriptorsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchMetricDescriptorsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchMetricDescriptorsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetServiceDomain() string

func (*WatchMetricDescriptorsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) GetServiceVersion() string

func (*WatchMetricDescriptorsDescriptor) GetVerb added in v0.4.28

func (*WatchMetricDescriptorsDescriptor) HasResource added in v0.4.30

func (d *WatchMetricDescriptorsDescriptor) HasResource() bool

func (*WatchMetricDescriptorsDescriptor) IsClientStream added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) IsClientStream() bool

func (*WatchMetricDescriptorsDescriptor) IsCollection added in v0.4.30

func (d *WatchMetricDescriptorsDescriptor) IsCollection() bool

func (*WatchMetricDescriptorsDescriptor) IsPlural added in v0.4.30

func (d *WatchMetricDescriptorsDescriptor) IsPlural() bool

func (*WatchMetricDescriptorsDescriptor) IsServerStream added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) IsServerStream() bool

func (*WatchMetricDescriptorsDescriptor) IsUnary added in v0.4.28

func (*WatchMetricDescriptorsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchMetricDescriptorsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchMetricDescriptorsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchMetricDescriptorsDescriptor) RequestHasResourceBody() bool

type WatchMetricDescriptorsDescriptorClientMsgHandle added in v0.4.28

type WatchMetricDescriptorsDescriptorClientMsgHandle struct{}

func (*WatchMetricDescriptorsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchMetricDescriptorsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchMetricDescriptorsDescriptorServerMsgHandle added in v0.4.28

type WatchMetricDescriptorsDescriptorServerMsgHandle struct{}

func (*WatchMetricDescriptorsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchMetricDescriptorsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchMetricDescriptorsRequest

type WatchMetricDescriptorsRequest 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.monitoring.v3.MetricDescriptor
	Parent *metric_descriptor.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer MetricDescriptors 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 *metric_descriptor.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 *metric_descriptor.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 *metric_descriptor.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 MetricDescriptor that don't
	// affect any of masked fields won't be sent back.
	FieldMask *metric_descriptor.MetricDescriptor_FieldMask `` /* 148-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
	// MetricDescriptor 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 WatchMetricDescriptors method.

func (*WatchMetricDescriptorsRequest) Descriptor

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

Deprecated, Use WatchMetricDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*WatchMetricDescriptorsRequest) GetFieldMask

func (*WatchMetricDescriptorsRequest) GetFilter

func (*WatchMetricDescriptorsRequest) GetMaxChunkSize

func (m *WatchMetricDescriptorsRequest) GetMaxChunkSize() int32

func (*WatchMetricDescriptorsRequest) GetOrderBy

func (*WatchMetricDescriptorsRequest) GetPageSize

func (m *WatchMetricDescriptorsRequest) GetPageSize() int32

func (*WatchMetricDescriptorsRequest) GetPageToken

func (*WatchMetricDescriptorsRequest) GetParent

func (*WatchMetricDescriptorsRequest) GetResumeToken

func (m *WatchMetricDescriptorsRequest) GetResumeToken() string

func (*WatchMetricDescriptorsRequest) GetStartingTime added in v0.9.0

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

func (*WatchMetricDescriptorsRequest) GetType

func (*WatchMetricDescriptorsRequest) GetView

func (*WatchMetricDescriptorsRequest) GotenMessage

func (*WatchMetricDescriptorsRequest) GotenMessage()

func (*WatchMetricDescriptorsRequest) GotenValidate

func (obj *WatchMetricDescriptorsRequest) GotenValidate() error

func (*WatchMetricDescriptorsRequest) Marshal

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

func (*WatchMetricDescriptorsRequest) MarshalJSON

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

func (*WatchMetricDescriptorsRequest) ProtoMessage

func (*WatchMetricDescriptorsRequest) ProtoMessage()

func (*WatchMetricDescriptorsRequest) ProtoReflect

func (*WatchMetricDescriptorsRequest) Reset

func (m *WatchMetricDescriptorsRequest) Reset()

func (*WatchMetricDescriptorsRequest) SetFieldMask

func (*WatchMetricDescriptorsRequest) SetFilter

func (*WatchMetricDescriptorsRequest) SetMaxChunkSize

func (m *WatchMetricDescriptorsRequest) SetMaxChunkSize(fv int32)

func (*WatchMetricDescriptorsRequest) SetOrderBy

func (*WatchMetricDescriptorsRequest) SetPageSize

func (m *WatchMetricDescriptorsRequest) SetPageSize(fv int32)

func (*WatchMetricDescriptorsRequest) SetPageToken

func (*WatchMetricDescriptorsRequest) SetParent

func (*WatchMetricDescriptorsRequest) SetResumeToken

func (m *WatchMetricDescriptorsRequest) SetResumeToken(fv string)

func (*WatchMetricDescriptorsRequest) SetStartingTime added in v0.9.0

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

func (*WatchMetricDescriptorsRequest) SetType

func (*WatchMetricDescriptorsRequest) SetView

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

func (*WatchMetricDescriptorsRequest) String

func (*WatchMetricDescriptorsRequest) Unmarshal

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

func (*WatchMetricDescriptorsRequest) UnmarshalJSON

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

type WatchMetricDescriptorsResponse

type WatchMetricDescriptorsResponse struct {

	// Changes of MetricDescriptors
	MetricDescriptorChanges []*metric_descriptor.MetricDescriptorChange `` /* 168-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All MetricDescriptors 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 *WatchMetricDescriptorsResponse_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 (MetricDescriptors 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 WatchMetricDescriptors method.

func (*WatchMetricDescriptorsResponse) Descriptor

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

Deprecated, Use WatchMetricDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*WatchMetricDescriptorsResponse) GetIsCurrent

func (m *WatchMetricDescriptorsResponse) GetIsCurrent() bool

func (*WatchMetricDescriptorsResponse) GetIsHardReset

func (m *WatchMetricDescriptorsResponse) GetIsHardReset() bool

func (*WatchMetricDescriptorsResponse) GetIsSoftReset

func (m *WatchMetricDescriptorsResponse) GetIsSoftReset() bool

func (*WatchMetricDescriptorsResponse) GetMetricDescriptorChanges

func (m *WatchMetricDescriptorsResponse) GetMetricDescriptorChanges() []*metric_descriptor.MetricDescriptorChange

func (*WatchMetricDescriptorsResponse) GetPageTokenChange

func (*WatchMetricDescriptorsResponse) GetResumeToken

func (m *WatchMetricDescriptorsResponse) GetResumeToken() string

func (*WatchMetricDescriptorsResponse) GetSnapshotSize

func (m *WatchMetricDescriptorsResponse) GetSnapshotSize() int64

func (*WatchMetricDescriptorsResponse) GotenMessage

func (*WatchMetricDescriptorsResponse) GotenMessage()

func (*WatchMetricDescriptorsResponse) GotenValidate

func (obj *WatchMetricDescriptorsResponse) GotenValidate() error

func (*WatchMetricDescriptorsResponse) Marshal

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

func (*WatchMetricDescriptorsResponse) MarshalJSON

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

func (*WatchMetricDescriptorsResponse) ProtoMessage

func (*WatchMetricDescriptorsResponse) ProtoMessage()

func (*WatchMetricDescriptorsResponse) ProtoReflect

func (*WatchMetricDescriptorsResponse) Reset

func (m *WatchMetricDescriptorsResponse) Reset()

func (*WatchMetricDescriptorsResponse) SetIsCurrent

func (m *WatchMetricDescriptorsResponse) SetIsCurrent(fv bool)

func (*WatchMetricDescriptorsResponse) SetIsHardReset

func (m *WatchMetricDescriptorsResponse) SetIsHardReset(fv bool)

func (*WatchMetricDescriptorsResponse) SetIsSoftReset

func (m *WatchMetricDescriptorsResponse) SetIsSoftReset(fv bool)

func (*WatchMetricDescriptorsResponse) SetMetricDescriptorChanges

func (m *WatchMetricDescriptorsResponse) SetMetricDescriptorChanges(fv []*metric_descriptor.MetricDescriptorChange)

func (*WatchMetricDescriptorsResponse) SetPageTokenChange

func (*WatchMetricDescriptorsResponse) SetResumeToken

func (m *WatchMetricDescriptorsResponse) SetResumeToken(fv string)

func (*WatchMetricDescriptorsResponse) SetSnapshotSize

func (m *WatchMetricDescriptorsResponse) SetSnapshotSize(fv int64)

func (*WatchMetricDescriptorsResponse) String

func (*WatchMetricDescriptorsResponse) Unmarshal

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

func (*WatchMetricDescriptorsResponse) UnmarshalJSON

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

type WatchMetricDescriptorsResponse_PageTokenChange

type WatchMetricDescriptorsResponse_PageTokenChange struct {

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

func (*WatchMetricDescriptorsResponse_PageTokenChange) Descriptor

Deprecated, Use WatchMetricDescriptorsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchMetricDescriptorsResponse_PageTokenChange) GetNextPageToken

func (*WatchMetricDescriptorsResponse_PageTokenChange) GetPrevPageToken

func (*WatchMetricDescriptorsResponse_PageTokenChange) GotenMessage

func (*WatchMetricDescriptorsResponse_PageTokenChange) GotenValidate

func (*WatchMetricDescriptorsResponse_PageTokenChange) Marshal

func (*WatchMetricDescriptorsResponse_PageTokenChange) MarshalJSON

func (*WatchMetricDescriptorsResponse_PageTokenChange) ProtoMessage

func (*WatchMetricDescriptorsResponse_PageTokenChange) ProtoReflect

func (*WatchMetricDescriptorsResponse_PageTokenChange) Reset

func (*WatchMetricDescriptorsResponse_PageTokenChange) SetNextPageToken

func (*WatchMetricDescriptorsResponse_PageTokenChange) SetPrevPageToken

func (*WatchMetricDescriptorsResponse_PageTokenChange) String

func (*WatchMetricDescriptorsResponse_PageTokenChange) Unmarshal

func (*WatchMetricDescriptorsResponse_PageTokenChange) UnmarshalJSON

Jump to

Keyboard shortcuts

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