|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/api/label.proto
-
- package label // import "google.golang.org/genproto/googleapis/api/label"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Value types that can be used as label values.
- type LabelDescriptor_ValueType int32
-
- 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
- )
-
- 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,
- }
-
- func (x LabelDescriptor_ValueType) String() string {
- return proto.EnumName(LabelDescriptor_ValueType_name, int32(x))
- }
- func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_label_c8bdbc08202d09f7, []int{0, 0}
- }
-
- // A description of a label.
- 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:"-"`
- }
-
- func (m *LabelDescriptor) Reset() { *m = LabelDescriptor{} }
- func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) }
- func (*LabelDescriptor) ProtoMessage() {}
- func (*LabelDescriptor) Descriptor() ([]byte, []int) {
- return fileDescriptor_label_c8bdbc08202d09f7, []int{0}
- }
- func (m *LabelDescriptor) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LabelDescriptor.Unmarshal(m, b)
- }
- func (m *LabelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LabelDescriptor.Marshal(b, m, deterministic)
- }
- func (dst *LabelDescriptor) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LabelDescriptor.Merge(dst, src)
- }
- func (m *LabelDescriptor) XXX_Size() int {
- return xxx_messageInfo_LabelDescriptor.Size(m)
- }
- func (m *LabelDescriptor) XXX_DiscardUnknown() {
- xxx_messageInfo_LabelDescriptor.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_LabelDescriptor proto.InternalMessageInfo
-
- func (m *LabelDescriptor) GetKey() string {
- if m != nil {
- return m.Key
- }
- return ""
- }
-
- func (m *LabelDescriptor) GetValueType() LabelDescriptor_ValueType {
- if m != nil {
- return m.ValueType
- }
- return LabelDescriptor_STRING
- }
-
- func (m *LabelDescriptor) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
- }
-
- func init() {
- proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor")
- proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value)
- }
-
- func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_label_c8bdbc08202d09f7) }
-
- var fileDescriptor_label_c8bdbc08202d09f7 = []byte{
- // 252 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcf, 0xcf, 0x4f,
- 0xcf, 0x49, 0xd5,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