1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/api/label.proto
5 Package label is a generated protocol buffer package.
7 It is generated from these files:
10 It has these top-level messages:
15 import proto "github.com/golang/protobuf/proto"
19 // Reference imports to suppress errors if they are not otherwise used.
24 // This is a compile-time assertion to ensure that this generated file
25 // is compatible with the proto package it is being compiled against.
26 // A compilation error at this line likely means your copy of the
27 // proto package needs to be updated.
28 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30 // Value types that can be used as label values.
31 type LabelDescriptor_ValueType int32
34 // A variable-length string. This is the default.
35 LabelDescriptor_STRING LabelDescriptor_ValueType = 0
36 // Boolean; true or false.
37 LabelDescriptor_BOOL LabelDescriptor_ValueType = 1
38 // A 64-bit signed integer.
39 LabelDescriptor_INT64 LabelDescriptor_ValueType = 2
42 var LabelDescriptor_ValueType_name = map[int32]string{
47 var LabelDescriptor_ValueType_value = map[string]int32{
53 func (x LabelDescriptor_ValueType) String() string {
54 return proto.EnumName(LabelDescriptor_ValueType_name, int32(x))
56 func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
58 // A description of a label.
59 type LabelDescriptor struct {
61 Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
62 // The type of data that can be assigned to the label.
63 ValueType LabelDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"`
64 // A human-readable description for the label.
65 Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
68 func (m *LabelDescriptor) Reset() { *m = LabelDescriptor{} }
69 func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) }
70 func (*LabelDescriptor) ProtoMessage() {}
71 func (*LabelDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
73 func (m *LabelDescriptor) GetKey() string {
80 func (m *LabelDescriptor) GetValueType() LabelDescriptor_ValueType {
84 return LabelDescriptor_STRING
87 func (m *LabelDescriptor) GetDescription() string {
95 proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor")
96 proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value)
99 func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor0) }
101 var fileDescriptor0 = []byte{
102 // 252 bytes of a gzipped FileDescriptorProto
103 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcf, 0xcf, 0x4f,
104 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0xd1, 0x2b, 0x28, 0xca,
105 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x88, 0xeb, 0x25, 0x16, 0x64, 0x2a, 0xed, 0x64, 0xe4, 0xe2, 0xf7,
106 0x01, 0xc9, 0xb9, 0xa4, 0x16, 0x27, 0x17, 0x65, 0x16, 0x94, 0xe4, 0x17, 0x09, 0x09, 0x70, 0x31,
107 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x2e, 0x5c, 0x5c,
108 0x65, 0x89, 0x39, 0xa5, 0xa9, 0xf1, 0x25, 0x95, 0x05, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x7c,
109 0x46, 0xaa, 0x7a, 0x08, 0x63, 0xf4, 0xd0, 0x8c, 0xd0, 0x0b, 0x03, 0xa9, 0x0e, 0xa9, 0x2c, 0x48,
110 0x0d, 0xe2, 0x2c, 0x83, 0x31, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xa0, 0x4a, 0x32, 0xf3, 0xf3, 0x24,
111 0x98, 0xc1, 0xe6, 0x23, 0x0b, 0x29, 0xe9, 0x70, 0x71, 0xc2, 0x75, 0x0a, 0x71, 0x71, 0xb1, 0x05,
112 0x87, 0x04, 0x79, 0xfa, 0xb9, 0x0b, 0x30, 0x08, 0x71, 0x70, 0xb1, 0x38, 0xf9, 0xfb, 0xfb, 0x08,
113 0x30, 0x0a, 0x71, 0x72, 0xb1, 0x7a, 0xfa, 0x85, 0x98, 0x99, 0x08, 0x30, 0x39, 0xc5, 0x73, 0xf1,
114 0x25, 0xe7, 0xe7, 0x22, 0x39, 0xc3, 0x89, 0x0b, 0xec, 0x8e, 0x00, 0x90, 0x2f, 0x03, 0x18, 0xa3,
115 0x4c, 0xa1, 0x32, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9,
116 0x79, 0xe0, 0x30, 0xd0, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0x23, 0x82, 0xc7, 0x1a, 0x4c, 0xfe,
117 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xe2, 0xee, 0x18, 0xe0, 0x99, 0xc4, 0x06, 0x56, 0x6b, 0x0c, 0x08,
118 0x00, 0x00, 0xff, 0xff, 0x57, 0x04, 0xaa, 0x1f, 0x49, 0x01, 0x00, 0x00,