time_serie_client

package
v1.0.44 Latest Latest
Warning

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

Go to latest
Published: May 7, 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"`
	// Unsupported: must be left blank. The points in each time series are
	// returned in reverse time order.
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// 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 results to return. If
	// `page_size` is empty or more than 100,000 results, the effective
	// `page_size` is 100,000 results. If `view` is set to `FULL`, this is the
	// maximum number of `Points` returned. If `view` is set to `HEADERS`, this is
	// the maximum number of `TimeSeries` returned.
	PageSize int32 `protobuf:"varint,8,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 string `protobuf:"bytes,9,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty" firestore:"pageToken"`
	// 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) GetFieldMask

func (*ListTimeSeriesRequest) GetFilter

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

func (*ListTimeSeriesRequest) GetInterval

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

func (*ListTimeSeriesRequest) GetOrderBy

func (m *ListTimeSeriesRequest) GetOrderBy() string

func (*ListTimeSeriesRequest) GetPageSize

func (m *ListTimeSeriesRequest) GetPageSize() int32

func (*ListTimeSeriesRequest) GetPageToken

func (m *ListTimeSeriesRequest) GetPageToken() string

func (*ListTimeSeriesRequest) GetParent

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

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

func (*ListTimeSeriesRequest) SetFilter

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

func (*ListTimeSeriesRequest) SetInterval

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

func (*ListTimeSeriesRequest) SetOrderBy

func (m *ListTimeSeriesRequest) SetOrderBy(fv string)

func (*ListTimeSeriesRequest) SetPageSize

func (m *ListTimeSeriesRequest) SetPageSize(fv int32)

func (*ListTimeSeriesRequest) SetPageToken

func (m *ListTimeSeriesRequest) SetPageToken(fv string)

func (*ListTimeSeriesRequest) SetParent

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

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 `pageToken` in the next call to this method.
	NextPageToken string `` /* 128-byte string literal not displayed */
	// Query execution errors that may have caused the time series data returned
	// to be incomplete.
	ExecutionErrors []*rpc.Status `` /* 134-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) GetExecutionErrors

func (m *ListTimeSeriesResponse) GetExecutionErrors() []*rpc.Status

func (*ListTimeSeriesResponse) GetNextPageToken

func (m *ListTimeSeriesResponse) GetNextPageToken() string

func (*ListTimeSeriesResponse) GetTimeSeries

func (m *ListTimeSeriesResponse) GetTimeSeries() []*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) SetExecutionErrors

func (m *ListTimeSeriesResponse) SetExecutionErrors(fv []*rpc.Status)

func (*ListTimeSeriesResponse) SetNextPageToken

func (m *ListTimeSeriesResponse) SetNextPageToken(fv string)

func (*ListTimeSeriesResponse) SetTimeSeries

func (m *ListTimeSeriesResponse) SetTimeSeries(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