genproto: google.golang.org/genproto/googleapis/api/label Index | Files

package label

import "google.golang.org/genproto/googleapis/api/label"

Index

Package Files

label.pb.go

Variables

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

type LabelDescriptor Uses

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 `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"`
    // A human-readable description for the label.
    Description          string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A description of a label.

func (*LabelDescriptor) Descriptor Uses

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

func (*LabelDescriptor) GetDescription Uses

func (m *LabelDescriptor) GetDescription() string

func (*LabelDescriptor) GetKey Uses

func (m *LabelDescriptor) GetKey() string

func (*LabelDescriptor) GetValueType Uses

func (m *LabelDescriptor) GetValueType() LabelDescriptor_ValueType

func (*LabelDescriptor) ProtoMessage Uses

func (*LabelDescriptor) ProtoMessage()

func (*LabelDescriptor) Reset Uses

func (m *LabelDescriptor) Reset()

func (*LabelDescriptor) String Uses

func (m *LabelDescriptor) String() string

func (*LabelDescriptor) XXX_DiscardUnknown Uses

func (m *LabelDescriptor) XXX_DiscardUnknown()

func (*LabelDescriptor) XXX_Marshal Uses

func (m *LabelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelDescriptor) XXX_Merge Uses

func (m *LabelDescriptor) XXX_Merge(src proto.Message)

func (*LabelDescriptor) XXX_Size Uses

func (m *LabelDescriptor) XXX_Size() int

func (*LabelDescriptor) XXX_Unmarshal Uses

func (m *LabelDescriptor) XXX_Unmarshal(b []byte) error

type LabelDescriptor_ValueType Uses

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) EnumDescriptor Uses

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

func (LabelDescriptor_ValueType) String Uses

func (x LabelDescriptor_ValueType) String() string

Package label imports 3 packages (graph) and is imported by 14 packages. Updated 2019-10-03. Refresh now. Tools for package owners.