Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type GroupBy
- func (*GroupBy) Descriptor() ([]byte, []int)deprecated
- func (this *GroupBy) Equal(that interface{}) bool
- func (x *GroupBy) GetKey() GroupByKey
- func (x *GroupBy) GetValue() string
- func (val *GroupBy) Marshal() ([]byte, error)
- func (*GroupBy) ProtoMessage()
- func (x *GroupBy) ProtoReflect() protoreflect.Message
- func (x *GroupBy) Reset()
- func (val *GroupBy) Size() int
- func (x *GroupBy) String() string
- func (val *GroupBy) Unmarshal(buf []byte) error
- type GroupByKey
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (this *Record) Equal(that interface{}) bool
- func (x *Record) GetType() RecordType
- func (x *Record) GetUnit() RecordUnit
- func (x *Record) GetValue() float64
- func (val *Record) Marshal() ([]byte, error)
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (val *Record) Size() int
- func (x *Record) String() string
- func (val *Record) Unmarshal(buf []byte) error
- type RecordGroup
- func (*RecordGroup) Descriptor() ([]byte, []int)deprecated
- func (this *RecordGroup) Equal(that interface{}) bool
- func (x *RecordGroup) GetGroupBys() []*GroupBy
- func (x *RecordGroup) GetRecords() []*Record
- func (val *RecordGroup) Marshal() ([]byte, error)
- func (*RecordGroup) ProtoMessage()
- func (x *RecordGroup) ProtoReflect() protoreflect.Message
- func (x *RecordGroup) Reset()
- func (val *RecordGroup) Size() int
- func (x *RecordGroup) String() string
- func (val *RecordGroup) Unmarshal(buf []byte) error
- type RecordType
- type RecordUnit
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)deprecated
- func (this *Summary) Equal(that interface{}) bool
- func (x *Summary) GetEndTime() *timestamppb.Timestamp
- func (x *Summary) GetIncomplete() bool
- func (x *Summary) GetRecordGroups() []*RecordGroup
- func (x *Summary) GetStartTime() *timestamppb.Timestamp
- func (val *Summary) Marshal() ([]byte, error)
- func (*Summary) ProtoMessage()
- func (x *Summary) ProtoReflect() protoreflect.Message
- func (x *Summary) Reset()
- func (val *Summary) Size() int
- func (x *Summary) String() string
- func (val *Summary) Unmarshal(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( RecordType_name = map[int32]string{ 0: "RECORD_TYPE_UNSPECIFIED", 1: "RECORD_TYPE_ACTIONS", 2: "RECORD_TYPE_ACTIVE_STORAGE", 3: "RECORD_TYPE_RETAINED_STORAGE", } RecordType_value = map[string]int32{ "RECORD_TYPE_UNSPECIFIED": 0, "RECORD_TYPE_ACTIONS": 1, "RECORD_TYPE_ACTIVE_STORAGE": 2, "RECORD_TYPE_RETAINED_STORAGE": 3, } )
Enum value maps for RecordType.
var ( RecordUnit_name = map[int32]string{ 0: "RECORD_UNIT_UNSPECIFIED", 1: "RECORD_UNIT_NUMBER", 2: "RECORD_UNIT_BYTE_SECONDS", } RecordUnit_value = map[string]int32{ "RECORD_UNIT_UNSPECIFIED": 0, "RECORD_UNIT_NUMBER": 1, "RECORD_UNIT_BYTE_SECONDS": 2, } )
Enum value maps for RecordUnit.
var ( GroupByKey_name = map[int32]string{ 0: "GROUP_BY_KEY_UNSPECIFIED", 1: "GROUP_BY_KEY_NAMESPACE", } GroupByKey_value = map[string]int32{ "GROUP_BY_KEY_UNSPECIFIED": 0, "GROUP_BY_KEY_NAMESPACE": 1, } )
Enum value maps for GroupByKey.
var File_temporal_api_cloud_usage_v1_message_proto protoreflect.FileDescriptor
var (
GroupByKey_shorthandValue = map[string]int32{
"Unspecified": 0,
"Namespace": 1,
}
)
var (
RecordType_shorthandValue = map[string]int32{
"Unspecified": 0,
"Actions": 1,
"ActiveStorage": 2,
"RetainedStorage": 3,
}
)
var (
RecordUnit_shorthandValue = map[string]int32{
"Unspecified": 0,
"Number": 1,
"ByteSeconds": 2,
}
)
Functions ¶
This section is empty.
Types ¶
type GroupBy ¶
type GroupBy struct { Key GroupByKey `protobuf:"varint,1,opt,name=key,proto3,enum=temporal.api.cloud.usage.v1.GroupByKey" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GroupBy) Descriptor
deprecated
func (*GroupBy) Equal ¶
Equal returns whether two GroupBy values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*GroupBy) GetKey ¶
func (x *GroupBy) GetKey() GroupByKey
func (*GroupBy) ProtoMessage ¶
func (*GroupBy) ProtoMessage()
func (*GroupBy) ProtoReflect ¶
func (x *GroupBy) ProtoReflect() protoreflect.Message
type GroupByKey ¶
type GroupByKey int32
const ( GROUP_BY_KEY_UNSPECIFIED GroupByKey = 0 GROUP_BY_KEY_NAMESPACE GroupByKey = 1 )
func GroupByKeyFromString ¶
func GroupByKeyFromString(s string) (GroupByKey, error)
GroupByKeyFromString parses a GroupByKey value from either the protojson canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to GroupByKey
func (GroupByKey) Descriptor ¶
func (GroupByKey) Descriptor() protoreflect.EnumDescriptor
func (GroupByKey) Enum ¶
func (x GroupByKey) Enum() *GroupByKey
func (GroupByKey) EnumDescriptor
deprecated
func (GroupByKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use GroupByKey.Descriptor instead.
func (GroupByKey) Number ¶
func (x GroupByKey) Number() protoreflect.EnumNumber
func (GroupByKey) String ¶
func (x GroupByKey) String() string
func (GroupByKey) Type ¶
func (GroupByKey) Type() protoreflect.EnumType
type Record ¶
type Record struct { Type RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=temporal.api.cloud.usage.v1.RecordType" json:"type,omitempty"` Unit RecordUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=temporal.api.cloud.usage.v1.RecordUnit" json:"unit,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) Equal ¶
Equal returns whether two Record values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*Record) GetType ¶
func (x *Record) GetType() RecordType
func (*Record) GetUnit ¶
func (x *Record) GetUnit() RecordUnit
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RecordGroup ¶
type RecordGroup struct { // GroupBy keys and their values for this record group. Multiple fields are combined with logical AND. GroupBys []*GroupBy `protobuf:"bytes,1,rep,name=group_bys,json=groupBys,proto3" json:"group_bys,omitempty"` Records []*Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*RecordGroup) Descriptor
deprecated
func (*RecordGroup) Descriptor() ([]byte, []int)
Deprecated: Use RecordGroup.ProtoReflect.Descriptor instead.
func (*RecordGroup) Equal ¶
func (this *RecordGroup) Equal(that interface{}) bool
Equal returns whether two RecordGroup values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*RecordGroup) GetGroupBys ¶
func (x *RecordGroup) GetGroupBys() []*GroupBy
func (*RecordGroup) GetRecords ¶
func (x *RecordGroup) GetRecords() []*Record
func (*RecordGroup) Marshal ¶
func (val *RecordGroup) Marshal() ([]byte, error)
Marshal an object of type RecordGroup to the protobuf v3 wire format
func (*RecordGroup) ProtoMessage ¶
func (*RecordGroup) ProtoMessage()
func (*RecordGroup) ProtoReflect ¶
func (x *RecordGroup) ProtoReflect() protoreflect.Message
func (*RecordGroup) Reset ¶
func (x *RecordGroup) Reset()
func (*RecordGroup) Size ¶
func (val *RecordGroup) Size() int
Size returns the size of the object, in bytes, once serialized
func (*RecordGroup) String ¶
func (x *RecordGroup) String() string
func (*RecordGroup) Unmarshal ¶
func (val *RecordGroup) Unmarshal(buf []byte) error
Unmarshal an object of type RecordGroup from the protobuf v3 wire format
type RecordType ¶
type RecordType int32
const ( RECORD_TYPE_UNSPECIFIED RecordType = 0 RECORD_TYPE_ACTIONS RecordType = 1 RECORD_TYPE_ACTIVE_STORAGE RecordType = 2 RECORD_TYPE_RETAINED_STORAGE RecordType = 3 )
func RecordTypeFromString ¶
func RecordTypeFromString(s string) (RecordType, error)
RecordTypeFromString parses a RecordType value from either the protojson canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to RecordType
func (RecordType) Descriptor ¶
func (RecordType) Descriptor() protoreflect.EnumDescriptor
func (RecordType) Enum ¶
func (x RecordType) Enum() *RecordType
func (RecordType) EnumDescriptor
deprecated
func (RecordType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordType.Descriptor instead.
func (RecordType) Number ¶
func (x RecordType) Number() protoreflect.EnumNumber
func (RecordType) String ¶
func (x RecordType) String() string
func (RecordType) Type ¶
func (RecordType) Type() protoreflect.EnumType
type RecordUnit ¶
type RecordUnit int32
const ( RECORD_UNIT_UNSPECIFIED RecordUnit = 0 RECORD_UNIT_NUMBER RecordUnit = 1 RECORD_UNIT_BYTE_SECONDS RecordUnit = 2 )
func RecordUnitFromString ¶
func RecordUnitFromString(s string) (RecordUnit, error)
RecordUnitFromString parses a RecordUnit value from either the protojson canonical SCREAMING_CASE enum or the traditional temporal PascalCase enum to RecordUnit
func (RecordUnit) Descriptor ¶
func (RecordUnit) Descriptor() protoreflect.EnumDescriptor
func (RecordUnit) Enum ¶
func (x RecordUnit) Enum() *RecordUnit
func (RecordUnit) EnumDescriptor
deprecated
func (RecordUnit) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordUnit.Descriptor instead.
func (RecordUnit) Number ¶
func (x RecordUnit) Number() protoreflect.EnumNumber
func (RecordUnit) String ¶
func (x RecordUnit) String() string
func (RecordUnit) Type ¶
func (RecordUnit) Type() protoreflect.EnumType
type Summary ¶
type Summary struct { // Start of UTC day for now (inclusive) StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End of UTC day for now (exclusive) EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Records grouped by namespace RecordGroups []*RecordGroup `protobuf:"bytes,3,rep,name=record_groups,json=recordGroups,proto3" json:"record_groups,omitempty"` // True if data for given time window is not fully available yet (e.g. delays) // When true, records for the given time range could still be added/updated in the future (until false) Incomplete bool `protobuf:"varint,4,opt,name=incomplete,proto3" json:"incomplete,omitempty"` // contains filtered or unexported fields }
func (*Summary) Descriptor
deprecated
func (*Summary) Equal ¶
Equal returns whether two Summary values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*Summary) GetEndTime ¶
func (x *Summary) GetEndTime() *timestamppb.Timestamp
func (*Summary) GetIncomplete ¶
func (*Summary) GetRecordGroups ¶
func (x *Summary) GetRecordGroups() []*RecordGroup
func (*Summary) GetStartTime ¶
func (x *Summary) GetStartTime() *timestamppb.Timestamp
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) ProtoReflect ¶
func (x *Summary) ProtoReflect() protoreflect.Message