time_serie_client

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTimeSeriesDescriptor added in v0.4.28

type CreateTimeSeriesDescriptor struct{}

func GetCreateTimeSeriesDescriptor added in v0.4.28

func GetCreateTimeSeriesDescriptor() *CreateTimeSeriesDescriptor

func (*CreateTimeSeriesDescriptor) GetApiDescriptor added in v0.4.28

func (*CreateTimeSeriesDescriptor) GetApiName added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetApiName() string

func (*CreateTimeSeriesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateTimeSeriesDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetFullMethodName() string

func (*CreateTimeSeriesDescriptor) GetMethodName added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetMethodName() string

func (*CreateTimeSeriesDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetProtoPkgName() string

func (*CreateTimeSeriesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateTimeSeriesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateTimeSeriesDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetServiceDomain() string

func (*CreateTimeSeriesDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetServiceVersion() string

func (*CreateTimeSeriesDescriptor) GetVerb added in v0.4.28

func (d *CreateTimeSeriesDescriptor) GetVerb() string

func (*CreateTimeSeriesDescriptor) HasResource added in v0.4.30

func (d *CreateTimeSeriesDescriptor) HasResource() bool

func (*CreateTimeSeriesDescriptor) IsClientStream added in v0.4.28

func (d *CreateTimeSeriesDescriptor) IsClientStream() bool

func (*CreateTimeSeriesDescriptor) IsCollection added in v0.4.30

func (d *CreateTimeSeriesDescriptor) IsCollection() bool

func (*CreateTimeSeriesDescriptor) IsPlural added in v0.4.30

func (d *CreateTimeSeriesDescriptor) IsPlural() bool

func (*CreateTimeSeriesDescriptor) IsServerStream added in v0.4.28

func (d *CreateTimeSeriesDescriptor) IsServerStream() bool

func (*CreateTimeSeriesDescriptor) IsUnary added in v0.4.28

func (d *CreateTimeSeriesDescriptor) IsUnary() bool

func (*CreateTimeSeriesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateTimeSeriesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateTimeSeriesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateTimeSeriesDescriptor) RequestHasResourceBody() bool

type CreateTimeSeriesDescriptorClientMsgHandle added in v0.4.28

type CreateTimeSeriesDescriptorClientMsgHandle struct{}

func (*CreateTimeSeriesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateTimeSeriesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateTimeSeriesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateTimeSeriesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateTimeSeriesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateTimeSeriesDescriptorServerMsgHandle added in v0.4.28

type CreateTimeSeriesDescriptorServerMsgHandle struct{}

func (*CreateTimeSeriesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateTimeSeriesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateTimeSeriesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateTimeSeriesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateTimeSeriesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateTimeSeriesError

type CreateTimeSeriesError struct {

	// The time series, including the `Metric`, `MonitoredResource`,
	// and `Point`s (including timestamp and value) that resulted
	// in the error. This field provides all of the context that
	// would be needed to retry the operation.
	TimeSeries *time_serie.TimeSerie `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty" firestore:"timeSeries"`
	// The status of the requested write operation.
	Status *rpc.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" firestore:"status"`
	// contains filtered or unexported fields
}

Describes the result of a failed request to write data to a time series.

func (*CreateTimeSeriesError) Descriptor

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

Deprecated, Use CreateTimeSeriesError.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesError) GetStatus

func (m *CreateTimeSeriesError) GetStatus() *rpc.Status

func (*CreateTimeSeriesError) GetTimeSeries

func (m *CreateTimeSeriesError) GetTimeSeries() *time_serie.TimeSerie

func (*CreateTimeSeriesError) GotenMessage

func (*CreateTimeSeriesError) GotenMessage()

func (*CreateTimeSeriesError) GotenValidate

func (obj *CreateTimeSeriesError) GotenValidate() error

func (*CreateTimeSeriesError) Marshal

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

func (*CreateTimeSeriesError) MarshalJSON

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

func (*CreateTimeSeriesError) ProtoMessage

func (*CreateTimeSeriesError) ProtoMessage()

func (*CreateTimeSeriesError) ProtoReflect

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

func (*CreateTimeSeriesError) Reset

func (m *CreateTimeSeriesError) Reset()

func (*CreateTimeSeriesError) SetStatus

func (m *CreateTimeSeriesError) SetStatus(fv *rpc.Status)

func (*CreateTimeSeriesError) SetTimeSeries

func (m *CreateTimeSeriesError) SetTimeSeries(fv *time_serie.TimeSerie)

func (*CreateTimeSeriesError) String

func (m *CreateTimeSeriesError) String() string

func (*CreateTimeSeriesError) Unmarshal

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

func (*CreateTimeSeriesError) UnmarshalJSON

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

type CreateTimeSeriesRequest

type CreateTimeSeriesRequest struct {

	// The project on which to execute the request. The format is
	// `"projects/{project_id_or_number}"`.
	Parent *project.Name `protobuf:"bytes,3,opt,customtype=Name,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// The new data to be added to a list of time series.
	// Adds at most one data point to each of several time series.  The new data
	// point must be more recent than any other point in its time series.  Each
	// `TimeSeries` value must fully specify a unique time series by supplying
	// all label values for the metric and the monitored resource.
	TimeSeries []*time_serie.TimeSerie `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty" firestore:"timeSeries"`
	// contains filtered or unexported fields
}

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

func (*CreateTimeSeriesRequest) Descriptor

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

Deprecated, Use CreateTimeSeriesRequest.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesRequest) GetParent

func (m *CreateTimeSeriesRequest) GetParent() *project.Name

func (*CreateTimeSeriesRequest) GetTimeSeries

func (m *CreateTimeSeriesRequest) GetTimeSeries() []*time_serie.TimeSerie

func (*CreateTimeSeriesRequest) GotenMessage

func (*CreateTimeSeriesRequest) GotenMessage()

func (*CreateTimeSeriesRequest) GotenValidate

func (obj *CreateTimeSeriesRequest) GotenValidate() error

func (*CreateTimeSeriesRequest) Marshal

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

func (*CreateTimeSeriesRequest) MarshalJSON

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

func (*CreateTimeSeriesRequest) ProtoMessage

func (*CreateTimeSeriesRequest) ProtoMessage()

func (*CreateTimeSeriesRequest) ProtoReflect

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

func (*CreateTimeSeriesRequest) Reset

func (m *CreateTimeSeriesRequest) Reset()

func (*CreateTimeSeriesRequest) SetParent

func (m *CreateTimeSeriesRequest) SetParent(fv *project.Name)

func (*CreateTimeSeriesRequest) SetTimeSeries

func (m *CreateTimeSeriesRequest) SetTimeSeries(fv []*time_serie.TimeSerie)

func (*CreateTimeSeriesRequest) String

func (m *CreateTimeSeriesRequest) String() string

func (*CreateTimeSeriesRequest) Unmarshal

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

func (*CreateTimeSeriesRequest) UnmarshalJSON

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

type CreateTimeSeriesResponse

type CreateTimeSeriesResponse struct {

	// Time Serie keys indexed by Create position - present only when given
	// TimeSerie didn't use Key field
	TimeSerieKeys map[uint32][]byte `` /* 218-byte string literal not displayed */
	// Time series that failed to be created
	FailedTimeSeries []*CreateTimeSeriesError `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*CreateTimeSeriesResponse) Descriptor

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

Deprecated, Use CreateTimeSeriesResponse.ProtoReflect.Descriptor instead.

func (*CreateTimeSeriesResponse) GetFailedTimeSeries

func (m *CreateTimeSeriesResponse) GetFailedTimeSeries() []*CreateTimeSeriesError

func (*CreateTimeSeriesResponse) GetTimeSerieKeys

func (m *CreateTimeSeriesResponse) GetTimeSerieKeys() map[uint32][]byte

func (*CreateTimeSeriesResponse) GotenMessage

func (*CreateTimeSeriesResponse) GotenMessage()

func (*CreateTimeSeriesResponse) GotenValidate

func (obj *CreateTimeSeriesResponse) GotenValidate() error

func (*CreateTimeSeriesResponse) Marshal

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

func (*CreateTimeSeriesResponse) MarshalJSON

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

func (*CreateTimeSeriesResponse) ProtoMessage

func (*CreateTimeSeriesResponse) ProtoMessage()

func (*CreateTimeSeriesResponse) ProtoReflect

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

func (*CreateTimeSeriesResponse) Reset

func (m *CreateTimeSeriesResponse) Reset()

func (*CreateTimeSeriesResponse) SetFailedTimeSeries

func (m *CreateTimeSeriesResponse) SetFailedTimeSeries(fv []*CreateTimeSeriesError)

func (*CreateTimeSeriesResponse) SetTimeSerieKeys

func (m *CreateTimeSeriesResponse) SetTimeSerieKeys(fv map[uint32][]byte)

func (*CreateTimeSeriesResponse) String

func (m *CreateTimeSeriesResponse) String() string

func (*CreateTimeSeriesResponse) Unmarshal

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

func (*CreateTimeSeriesResponse) UnmarshalJSON

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

type ListTimeSeriesDescriptor added in v0.4.28

type ListTimeSeriesDescriptor struct{}

func GetListTimeSeriesDescriptor added in v0.4.28

func GetListTimeSeriesDescriptor() *ListTimeSeriesDescriptor

func (*ListTimeSeriesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListTimeSeriesDescriptor) GetApiName added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetApiName() string

func (*ListTimeSeriesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListTimeSeriesDescriptor) GetFullMethodName added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetFullMethodName() string

func (*ListTimeSeriesDescriptor) GetMethodName added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetMethodName() string

func (*ListTimeSeriesDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetProtoPkgName() string

func (*ListTimeSeriesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListTimeSeriesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListTimeSeriesDescriptor) GetServiceDomain added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetServiceDomain() string

func (*ListTimeSeriesDescriptor) GetServiceVersion added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetServiceVersion() string

func (*ListTimeSeriesDescriptor) GetVerb added in v0.4.28

func (d *ListTimeSeriesDescriptor) GetVerb() string

func (*ListTimeSeriesDescriptor) HasResource added in v0.4.30

func (d *ListTimeSeriesDescriptor) HasResource() bool

func (*ListTimeSeriesDescriptor) IsClientStream added in v0.4.28

func (d *ListTimeSeriesDescriptor) IsClientStream() bool

func (*ListTimeSeriesDescriptor) IsCollection added in v0.4.30

func (d *ListTimeSeriesDescriptor) IsCollection() bool

func (*ListTimeSeriesDescriptor) IsPlural added in v0.4.30

func (d *ListTimeSeriesDescriptor) IsPlural() bool

func (*ListTimeSeriesDescriptor) IsServerStream added in v0.4.28

func (d *ListTimeSeriesDescriptor) IsServerStream() bool

func (*ListTimeSeriesDescriptor) IsUnary added in v0.4.28

func (d *ListTimeSeriesDescriptor) IsUnary() bool

func (*ListTimeSeriesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListTimeSeriesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListTimeSeriesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListTimeSeriesDescriptor) RequestHasResourceBody() bool

type ListTimeSeriesDescriptorClientMsgHandle added in v0.4.28

type ListTimeSeriesDescriptorClientMsgHandle struct{}

func (*ListTimeSeriesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListTimeSeriesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListTimeSeriesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListTimeSeriesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListTimeSeriesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListTimeSeriesDescriptorServerMsgHandle added in v0.4.28

type ListTimeSeriesDescriptorServerMsgHandle struct{}

func (*ListTimeSeriesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListTimeSeriesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListTimeSeriesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListTimeSeriesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListTimeSeriesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListTimeSeriesRequest

type ListTimeSeriesRequest struct {

	// The project on which to execute the request. The format is
	// "projects/{project_id_or_number}".
	Parent *project.Name `protobuf:"bytes,10,opt,customtype=Name,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// A monitoring filter that specifies which time
	// series should be returned.  The filter must specify a single metric type,
	// and can additionally specify metric labels and other information. For
	// example:
	//
	//     metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
	//         metric.label.instance_name = "my-instance-name"
	Filter *time_serie.Filter `protobuf:"bytes,2,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// The time interval for which results should be returned. Only time series
	// that contain data points in the specified interval are included
	// in the response.
	Interval *common.TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty" firestore:"interval"`
	// By default, the raw time series data is returned.
	// Use this field to combine multiple time series for different
	// views of the data.
	Aggregation *common.Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty" firestore:"aggregation"`
	// Picks paginated time series according to pre-defined (in metric descriptor)
	// view and function. Cannot be used with aggregation, because pagination
	// view and function determines time series transformation and sorting.
	Pagination *common.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty" firestore:"pagination"`
	// Specifies which information is returned about the time series.
	View common.TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=ntt.monitoring.v3.TimeSeriesView" json:"view,omitempty" firestore:"view"`
	// view list mask. Optimize network usage and limit returned header fields to
	// a required subset. example fields in field mask:
	// - "key": for later caching,
	// - "resource.labels.project_id", "resource.labels.instance_name", etc -
	// specific labels only
	// - "resource", "metric": all resource labels, reduced_labels and type
	// NOTE: points are added implicitly
	FieldMask *time_serie.TimeSerie_FieldMask `` /* 142-byte string literal not displayed */
	// A positive number that is the maximum number of Points to return. If
	// `points_cap` is empty or more than 100,000 results, the effective
	// `points_cap` is 100,000 results. If `view` is set to `HEADERS`, this is
	// the maximum number of `TimeSeries` returned.
	PointsCap int32 `protobuf:"varint,8,opt,name=points_cap,json=pointsCap,proto3" json:"points_cap,omitempty" firestore:"pointsCap"`
	// If this field is not empty then it must contain the `continuation_token`
	// value returned by a previous call to this method.  Using this field causes
	// the method to return additional results from the previous method call.
	ContinuationToken string `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ListTimeSeriesRequest) Descriptor

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

Deprecated, Use ListTimeSeriesRequest.ProtoReflect.Descriptor instead.

func (*ListTimeSeriesRequest) GetAggregation

func (m *ListTimeSeriesRequest) GetAggregation() *common.Aggregation

func (*ListTimeSeriesRequest) GetContinuationToken added in v1.5.1

func (m *ListTimeSeriesRequest) GetContinuationToken() string

func (*ListTimeSeriesRequest) GetFieldMask

func (*ListTimeSeriesRequest) GetFilter

func (m *ListTimeSeriesRequest) GetFilter() *time_serie.Filter

func (*ListTimeSeriesRequest) GetInterval

func (m *ListTimeSeriesRequest) GetInterval() *common.TimeInterval

func (*ListTimeSeriesRequest) GetPagination added in v1.5.1

func (m *ListTimeSeriesRequest) GetPagination() *common.Pagination

func (*ListTimeSeriesRequest) GetParent

func (m *ListTimeSeriesRequest) GetParent() *project.Name

func (*ListTimeSeriesRequest) GetPointsCap added in v1.5.1

func (m *ListTimeSeriesRequest) GetPointsCap() int32

func (*ListTimeSeriesRequest) GetView

func (*ListTimeSeriesRequest) GotenMessage

func (*ListTimeSeriesRequest) GotenMessage()

func (*ListTimeSeriesRequest) GotenValidate

func (obj *ListTimeSeriesRequest) GotenValidate() error

func (*ListTimeSeriesRequest) Marshal

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

func (*ListTimeSeriesRequest) MarshalJSON

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

func (*ListTimeSeriesRequest) ProtoMessage

func (*ListTimeSeriesRequest) ProtoMessage()

func (*ListTimeSeriesRequest) ProtoReflect

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

func (*ListTimeSeriesRequest) Reset

func (m *ListTimeSeriesRequest) Reset()

func (*ListTimeSeriesRequest) SetAggregation

func (m *ListTimeSeriesRequest) SetAggregation(fv *common.Aggregation)

func (*ListTimeSeriesRequest) SetContinuationToken added in v1.5.1

func (m *ListTimeSeriesRequest) SetContinuationToken(fv string)

func (*ListTimeSeriesRequest) SetFieldMask

func (*ListTimeSeriesRequest) SetFilter

func (m *ListTimeSeriesRequest) SetFilter(fv *time_serie.Filter)

func (*ListTimeSeriesRequest) SetInterval

func (m *ListTimeSeriesRequest) SetInterval(fv *common.TimeInterval)

func (*ListTimeSeriesRequest) SetPagination added in v1.5.1

func (m *ListTimeSeriesRequest) SetPagination(fv *common.Pagination)

func (*ListTimeSeriesRequest) SetParent

func (m *ListTimeSeriesRequest) SetParent(fv *project.Name)

func (*ListTimeSeriesRequest) SetPointsCap added in v1.5.1

func (m *ListTimeSeriesRequest) SetPointsCap(fv int32)

func (*ListTimeSeriesRequest) SetView

func (*ListTimeSeriesRequest) String

func (m *ListTimeSeriesRequest) String() string

func (*ListTimeSeriesRequest) Unmarshal

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

func (*ListTimeSeriesRequest) UnmarshalJSON

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

type ListTimeSeriesResponse

type ListTimeSeriesResponse struct {

	// One or more time series that match the filter included in the request.
	TimeSeries []*time_serie.TimeSerie `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty" firestore:"timeSeries"`
	// 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 `continuation_token` in the next call to this method.
	ContinuationToken string `` /* 142-byte string literal not displayed */
	// Special time series with total amount of records available for pagination
	// by given time series key. Metric/Resource labels will contain "common"
	// values shared by all ranked time series. ValueType will be always INT64 and
	// metricKind GAUGE. In a sense, this time series is execution of
	// ListTimeSeries with Aggregation = {groupByFields: [<viewPaginatedLabels>],
	// REDUCER: REDUCE_COUNT} This field is only populated for paginated queries
	// (pagination in ListTimeSeries is specified).
	TotalPointCounters []*time_serie.TimeSerie `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ListTimeSeriesResponse) Descriptor

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

Deprecated, Use ListTimeSeriesResponse.ProtoReflect.Descriptor instead.

func (*ListTimeSeriesResponse) GetContinuationToken added in v1.5.1

func (m *ListTimeSeriesResponse) GetContinuationToken() string

func (*ListTimeSeriesResponse) GetTimeSeries

func (m *ListTimeSeriesResponse) GetTimeSeries() []*time_serie.TimeSerie

func (*ListTimeSeriesResponse) GetTotalPointCounters added in v1.5.1

func (m *ListTimeSeriesResponse) GetTotalPointCounters() []*time_serie.TimeSerie

func (*ListTimeSeriesResponse) GotenMessage

func (*ListTimeSeriesResponse) GotenMessage()

func (*ListTimeSeriesResponse) GotenValidate

func (obj *ListTimeSeriesResponse) GotenValidate() error

func (*ListTimeSeriesResponse) Marshal

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

func (*ListTimeSeriesResponse) MarshalJSON

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

func (*ListTimeSeriesResponse) ProtoMessage

func (*ListTimeSeriesResponse) ProtoMessage()

func (*ListTimeSeriesResponse) ProtoReflect

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

func (*ListTimeSeriesResponse) Reset

func (m *ListTimeSeriesResponse) Reset()

func (*ListTimeSeriesResponse) SetContinuationToken added in v1.5.1

func (m *ListTimeSeriesResponse) SetContinuationToken(fv string)

func (*ListTimeSeriesResponse) SetTimeSeries

func (m *ListTimeSeriesResponse) SetTimeSeries(fv []*time_serie.TimeSerie)

func (*ListTimeSeriesResponse) SetTotalPointCounters added in v1.5.1

func (m *ListTimeSeriesResponse) SetTotalPointCounters(fv []*time_serie.TimeSerie)

func (*ListTimeSeriesResponse) String

func (m *ListTimeSeriesResponse) String() string

func (*ListTimeSeriesResponse) Unmarshal

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

func (*ListTimeSeriesResponse) UnmarshalJSON

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

type ListTimeSeriesResponse_ErrorDetails

type ListTimeSeriesResponse_ErrorDetails struct {

	// region id which failed to give results.
	RegionId string `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty" firestore:"regionId"`
	// contains filtered or unexported fields
}

ErrorDetails is used when one of the queried regions fails to produce results. It is used in execution_errors field (see subfield ntt.rpc.Status.details).

func (*ListTimeSeriesResponse_ErrorDetails) Descriptor

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

Deprecated, Use ListTimeSeriesResponse_ErrorDetails.ProtoReflect.Descriptor instead.

func (*ListTimeSeriesResponse_ErrorDetails) GetRegionId

func (*ListTimeSeriesResponse_ErrorDetails) GotenMessage

func (*ListTimeSeriesResponse_ErrorDetails) GotenMessage()

func (*ListTimeSeriesResponse_ErrorDetails) GotenValidate

func (obj *ListTimeSeriesResponse_ErrorDetails) GotenValidate() error

func (*ListTimeSeriesResponse_ErrorDetails) Marshal

func (*ListTimeSeriesResponse_ErrorDetails) MarshalJSON

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

func (*ListTimeSeriesResponse_ErrorDetails) ProtoMessage

func (*ListTimeSeriesResponse_ErrorDetails) ProtoMessage()

func (*ListTimeSeriesResponse_ErrorDetails) ProtoReflect

func (*ListTimeSeriesResponse_ErrorDetails) Reset

func (*ListTimeSeriesResponse_ErrorDetails) SetRegionId

func (m *ListTimeSeriesResponse_ErrorDetails) SetRegionId(fv string)

func (*ListTimeSeriesResponse_ErrorDetails) String

func (*ListTimeSeriesResponse_ErrorDetails) Unmarshal

func (*ListTimeSeriesResponse_ErrorDetails) UnmarshalJSON

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

type TimeSerieServiceClient

type TimeSerieServiceClient interface {
	ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error)
	CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*CreateTimeSeriesResponse, error)
}

TimeSerieServiceClient is the client API for TimeSerieService.

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

type TimeSerieServiceDescriptor added in v0.4.28

type TimeSerieServiceDescriptor struct{}

func GetTimeSerieServiceDescriptor added in v0.4.28

func GetTimeSerieServiceDescriptor() *TimeSerieServiceDescriptor

func (*TimeSerieServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*TimeSerieServiceDescriptor) GetApiName added in v0.4.28

func (d *TimeSerieServiceDescriptor) GetApiName() string

func (*TimeSerieServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *TimeSerieServiceDescriptor) GetFullAPIName() string

func (*TimeSerieServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *TimeSerieServiceDescriptor) GetProtoPkgName() string

func (*TimeSerieServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *TimeSerieServiceDescriptor) GetServiceDomain() string

func (*TimeSerieServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *TimeSerieServiceDescriptor) GetServiceVersion() string

Jump to

Keyboard shortcuts

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