Documentation
¶
Index ¶
- Variables
- type Point
- func (*Point) Descriptor() ([]byte, []int)deprecated
- func (x *Point) GetDescription() string
- func (x *Point) GetHref() string
- func (x *Point) GetMillis() int64
- func (x *Point) GetPb() *anypb.Any
- func (x *Point) GetRange() *TimeRange
- func (m *Point) GetTimestamp() isPoint_Timestamp
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) String() string
- func (m *Point) Validate() error
- func (m *Point) ValidateAll() error
- type PointMultiError
- type PointValidationError
- type Point_Millis
- type Point_Range
- type TimeRange
- func (*TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimeRange) GetEndMillis() int64
- func (x *TimeRange) GetStartMillis() int64
- func (*TimeRange) ProtoMessage()
- func (x *TimeRange) ProtoReflect() protoreflect.Message
- func (x *TimeRange) Reset()
- func (x *TimeRange) String() string
- func (m *TimeRange) Validate() error
- func (m *TimeRange) ValidateAll() error
- type TimeRangeMultiError
- type TimeRangeValidationError
Constants ¶
This section is empty.
Variables ¶
var File_timeseries_v1_timeseries_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point struct { // Types that are assignable to Timestamp: // // *Point_Range // *Point_Millis Timestamp isPoint_Timestamp `protobuf_oneof:"timestamp"` Pb *anypb.Any `protobuf:"bytes,3,opt,name=pb,proto3" json:"pb,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Href string `protobuf:"bytes,5,opt,name=href,proto3" json:"href,omitempty"` // contains filtered or unexported fields }
A timeseries Point message is useful for organizing events to be displayed in a timeline view. Users can transform data into a timeseries format and be able to organize them.
func (*Point) Descriptor
deprecated
func (*Point) GetDescription ¶
func (*Point) GetTimestamp ¶
func (m *Point) GetTimestamp() isPoint_Timestamp
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
func (*Point) Validate ¶
Validate checks the field values on Point with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Point) ValidateAll ¶
ValidateAll checks the field values on Point with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PointMultiError, or nil if none found.
type PointMultiError ¶
type PointMultiError []error
PointMultiError is an error wrapping multiple validation errors returned by Point.ValidateAll() if the designated constraints aren't met.
func (PointMultiError) AllErrors ¶
func (m PointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PointMultiError) Error ¶
func (m PointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PointValidationError ¶
type PointValidationError struct {
// contains filtered or unexported fields
}
PointValidationError is the validation error returned by Point.Validate if the designated constraints aren't met.
func (PointValidationError) Cause ¶
func (e PointValidationError) Cause() error
Cause function returns cause value.
func (PointValidationError) Error ¶
func (e PointValidationError) Error() string
Error satisfies the builtin error interface
func (PointValidationError) ErrorName ¶
func (e PointValidationError) ErrorName() string
ErrorName returns error name.
func (PointValidationError) Field ¶
func (e PointValidationError) Field() string
Field function returns field value.
func (PointValidationError) Key ¶
func (e PointValidationError) Key() bool
Key function returns key value.
func (PointValidationError) Reason ¶
func (e PointValidationError) Reason() string
Reason function returns reason value.
type Point_Millis ¶
type Point_Millis struct {
Millis int64 `protobuf:"varint,2,opt,name=millis,proto3,oneof"`
}
type Point_Range ¶
type Point_Range struct {
Range *TimeRange `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}
type TimeRange ¶
type TimeRange struct { StartMillis int64 `protobuf:"varint,1,opt,name=start_millis,json=startMillis,proto3" json:"start_millis,omitempty"` EndMillis int64 `protobuf:"varint,2,opt,name=end_millis,json=endMillis,proto3" json:"end_millis,omitempty"` // contains filtered or unexported fields }
func (*TimeRange) Descriptor
deprecated
func (*TimeRange) GetEndMillis ¶
func (*TimeRange) GetStartMillis ¶
func (*TimeRange) ProtoMessage ¶
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶
func (x *TimeRange) ProtoReflect() protoreflect.Message
func (*TimeRange) Validate ¶
Validate checks the field values on TimeRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimeRange) ValidateAll ¶
ValidateAll checks the field values on TimeRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeRangeMultiError, or nil if none found.
type TimeRangeMultiError ¶
type TimeRangeMultiError []error
TimeRangeMultiError is an error wrapping multiple validation errors returned by TimeRange.ValidateAll() if the designated constraints aren't met.
func (TimeRangeMultiError) AllErrors ¶
func (m TimeRangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeRangeMultiError) Error ¶
func (m TimeRangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeRangeValidationError ¶
type TimeRangeValidationError struct {
// contains filtered or unexported fields
}
TimeRangeValidationError is the validation error returned by TimeRange.Validate if the designated constraints aren't met.
func (TimeRangeValidationError) Cause ¶
func (e TimeRangeValidationError) Cause() error
Cause function returns cause value.
func (TimeRangeValidationError) Error ¶
func (e TimeRangeValidationError) Error() string
Error satisfies the builtin error interface
func (TimeRangeValidationError) ErrorName ¶
func (e TimeRangeValidationError) ErrorName() string
ErrorName returns error name.
func (TimeRangeValidationError) Field ¶
func (e TimeRangeValidationError) Field() string
Field function returns field value.
func (TimeRangeValidationError) Key ¶
func (e TimeRangeValidationError) Key() bool
Key function returns key value.
func (TimeRangeValidationError) Reason ¶
func (e TimeRangeValidationError) Reason() string
Reason function returns reason value.