common

package
v0.0.0-...-1ac4089 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause-Clear Imports: 5 Imported by: 1

Documentation

Index

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

func (x ActiveStateEnum) Enum() *ActiveStateEnum

func (ActiveStateEnum) EnumDescriptor deprecated

func (ActiveStateEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActiveStateEnum.Descriptor instead.

func (ActiveStateEnum) Number

func (ActiveStateEnum) String

func (x ActiveStateEnum) String() string

func (ActiveStateEnum) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetCreatedAt

func (x *Metadata) GetCreatedAt() *timestamppb.Timestamp

func (*Metadata) GetLabels

func (x *Metadata) GetLabels() map[string]string

func (*Metadata) GetUpdatedAt

func (x *Metadata) GetUpdatedAt() *timestamppb.Timestamp

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

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

func (MetadataUpdateEnum) EnumDescriptor deprecated

func (MetadataUpdateEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetadataUpdateEnum.Descriptor instead.

func (MetadataUpdateEnum) Number

func (MetadataUpdateEnum) String

func (x MetadataUpdateEnum) String() string

func (MetadataUpdateEnum) Type

Jump to

Keyboard shortcuts

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