This section is empty.


View Source
var (
	LabelDescriptor_ValueType_name = map[int32]string{
		0: "STRING",
		1: "BOOL",
		2: "INT64",
	LabelDescriptor_ValueType_value = map[string]int32{
		"STRING": 0,
		"BOOL":   1,
		"INT64":  2,

    Enum value maps for LabelDescriptor_ValueType.

    View Source
    var File_google_api_label_proto protoreflect.FileDescriptor


    This section is empty.


    type LabelDescriptor

    type LabelDescriptor struct {
    	// The label key.
    	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    	// The type of data that can be assigned to the label.
    	ValueType LabelDescriptor_ValueType `` /* 131-byte string literal not displayed */
    	// A human-readable description for the label.
    	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    	// contains filtered or unexported fields

      A description of a label.

      func (*LabelDescriptor) Descriptor

      func (*LabelDescriptor) Descriptor() ([]byte, []int)

        Deprecated: Use LabelDescriptor.ProtoReflect.Descriptor instead.

        func (*LabelDescriptor) GetDescription

        func (x *LabelDescriptor) GetDescription() string

        func (*LabelDescriptor) GetKey

        func (x *LabelDescriptor) GetKey() string

        func (*LabelDescriptor) GetValueType

        func (x *LabelDescriptor) GetValueType() LabelDescriptor_ValueType

        func (*LabelDescriptor) ProtoMessage

        func (*LabelDescriptor) ProtoMessage()

        func (*LabelDescriptor) ProtoReflect

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

        func (*LabelDescriptor) Reset

        func (x *LabelDescriptor) Reset()

        func (*LabelDescriptor) String

        func (x *LabelDescriptor) String() string

        type LabelDescriptor_ValueType

        type LabelDescriptor_ValueType int32

          Value types that can be used as label values.

          const (
          	// A variable-length string. This is the default.
          	LabelDescriptor_STRING LabelDescriptor_ValueType = 0
          	// Boolean; true or false.
          	LabelDescriptor_BOOL LabelDescriptor_ValueType = 1
          	// A 64-bit signed integer.
          	LabelDescriptor_INT64 LabelDescriptor_ValueType = 2

          func (LabelDescriptor_ValueType) Descriptor

          func (LabelDescriptor_ValueType) Enum

          func (LabelDescriptor_ValueType) EnumDescriptor

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

            Deprecated: Use LabelDescriptor_ValueType.Descriptor instead.

            func (LabelDescriptor_ValueType) Number

            func (LabelDescriptor_ValueType) String

            func (x LabelDescriptor_ValueType) String() string

            func (LabelDescriptor_ValueType) Type

            Source Files