Documentation ¶
Index ¶
- Variables
- type ActiveStateEnum
- func (ActiveStateEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ActiveStateEnum) Enum() *ActiveStateEnum
- func (ActiveStateEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActiveStateEnum) Number() protoreflect.EnumNumber
- func (x ActiveStateEnum) String() string
- func (ActiveStateEnum) Type() protoreflect.EnumType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *Metadata) GetLabels() map[string]string
- func (x *Metadata) GetUpdatedAt() *timestamppb.Timestamp
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MetadataMutable
- type MetadataUpdateEnum
- func (MetadataUpdateEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataUpdateEnum) Enum() *MetadataUpdateEnum
- func (MetadataUpdateEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataUpdateEnum) Number() protoreflect.EnumNumber
- func (x MetadataUpdateEnum) String() string
- func (MetadataUpdateEnum) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetadataUpdateEnum_name = map[int32]string{ 0: "METADATA_UPDATE_ENUM_UNSPECIFIED", 1: "METADATA_UPDATE_ENUM_EXTEND", 2: "METADATA_UPDATE_ENUM_REPLACE", } MetadataUpdateEnum_value = map[string]int32{ "METADATA_UPDATE_ENUM_UNSPECIFIED": 0, "METADATA_UPDATE_ENUM_EXTEND": 1, "METADATA_UPDATE_ENUM_REPLACE": 2, } )
Enum value maps for MetadataUpdateEnum.
View Source
var ( ActiveStateEnum_name = map[int32]string{ 0: "ACTIVE_STATE_ENUM_UNSPECIFIED", 1: "ACTIVE_STATE_ENUM_ACTIVE", 2: "ACTIVE_STATE_ENUM_INACTIVE", 3: "ACTIVE_STATE_ENUM_ANY", } ActiveStateEnum_value = map[string]int32{ "ACTIVE_STATE_ENUM_UNSPECIFIED": 0, "ACTIVE_STATE_ENUM_ACTIVE": 1, "ACTIVE_STATE_ENUM_INACTIVE": 2, "ACTIVE_STATE_ENUM_ANY": 3, } )
Enum value maps for ActiveStateEnum.
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActiveStateEnum ¶
type ActiveStateEnum int32
buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
const ( ActiveStateEnum_ACTIVE_STATE_ENUM_UNSPECIFIED ActiveStateEnum = 0 ActiveStateEnum_ACTIVE_STATE_ENUM_ACTIVE ActiveStateEnum = 1 ActiveStateEnum_ACTIVE_STATE_ENUM_INACTIVE ActiveStateEnum = 2 ActiveStateEnum_ACTIVE_STATE_ENUM_ANY ActiveStateEnum = 3 )
func (ActiveStateEnum) Descriptor ¶
func (ActiveStateEnum) Descriptor() protoreflect.EnumDescriptor
func (ActiveStateEnum) Enum ¶
func (x ActiveStateEnum) Enum() *ActiveStateEnum
func (ActiveStateEnum) EnumDescriptor
deprecated
func (ActiveStateEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActiveStateEnum.Descriptor instead.
func (ActiveStateEnum) Number ¶
func (x ActiveStateEnum) Number() protoreflect.EnumNumber
func (ActiveStateEnum) String ¶
func (x ActiveStateEnum) String() string
func (ActiveStateEnum) Type ¶
func (ActiveStateEnum) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { // created_at set by server (entity who created will recorded in an audit event) CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at set by server (entity who updated will recorded in an audit event) UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // optional short description Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Struct to uniquely identify a resource with optional additional metadata
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetCreatedAt ¶
func (x *Metadata) GetCreatedAt() *timestamppb.Timestamp
func (*Metadata) GetUpdatedAt ¶
func (x *Metadata) GetUpdatedAt() *timestamppb.Timestamp
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataMutable ¶
type MetadataMutable struct { // optional labels Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MetadataMutable) Descriptor
deprecated
func (*MetadataMutable) Descriptor() ([]byte, []int)
Deprecated: Use MetadataMutable.ProtoReflect.Descriptor instead.
func (*MetadataMutable) GetLabels ¶
func (x *MetadataMutable) GetLabels() map[string]string
func (*MetadataMutable) ProtoMessage ¶
func (*MetadataMutable) ProtoMessage()
func (*MetadataMutable) ProtoReflect ¶
func (x *MetadataMutable) ProtoReflect() protoreflect.Message
func (*MetadataMutable) Reset ¶
func (x *MetadataMutable) Reset()
func (*MetadataMutable) String ¶
func (x *MetadataMutable) String() string
type MetadataUpdateEnum ¶
type MetadataUpdateEnum int32
const ( // unspecified update type MetadataUpdateEnum_METADATA_UPDATE_ENUM_UNSPECIFIED MetadataUpdateEnum = 0 // only update the fields that are provided MetadataUpdateEnum_METADATA_UPDATE_ENUM_EXTEND MetadataUpdateEnum = 1 // replace the entire metadata with the provided metadata MetadataUpdateEnum_METADATA_UPDATE_ENUM_REPLACE MetadataUpdateEnum = 2 )
func (MetadataUpdateEnum) Descriptor ¶
func (MetadataUpdateEnum) Descriptor() protoreflect.EnumDescriptor
func (MetadataUpdateEnum) Enum ¶
func (x MetadataUpdateEnum) Enum() *MetadataUpdateEnum
func (MetadataUpdateEnum) EnumDescriptor
deprecated
func (MetadataUpdateEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataUpdateEnum.Descriptor instead.
func (MetadataUpdateEnum) Number ¶
func (x MetadataUpdateEnum) Number() protoreflect.EnumNumber
func (MetadataUpdateEnum) String ¶
func (x MetadataUpdateEnum) String() string
func (MetadataUpdateEnum) Type ¶
func (MetadataUpdateEnum) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.