mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
101 lines
4.3 KiB
Go
101 lines
4.3 KiB
Go
![]() |
// Code generated by protoc-gen-go.
|
||
|
// source: google.golang.org/genproto/googleapis/api/label/label.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package google_api is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
google.golang.org/genproto/googleapis/api/label/label.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
LabelDescriptor
|
||
|
*/
|
||
|
package google_api // 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 fileDescriptor0, []int{0, 0} }
|
||
|
|
||
|
// A description of a label.
|
||
|
type LabelDescriptor struct {
|
||
|
// The label key.
|
||
|
Key string `protobuf:"bytes,1,opt,name=key" 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,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"`
|
||
|
// A human-readable description for the label.
|
||
|
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *LabelDescriptor) Reset() { *m = LabelDescriptor{} }
|
||
|
func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) }
|
||
|
func (*LabelDescriptor) ProtoMessage() {}
|
||
|
func (*LabelDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
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.golang.org/genproto/googleapis/api/label/label.proto", fileDescriptor0)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 240 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xb2, 0x4e, 0xcf, 0xcf, 0x4f,
|
||
|
0xcf, 0x49, 0xd5, 0x4b, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f,
|
||
|
0xcd, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0xeb, 0x03, 0x09,
|
||
|
0xfd, 0x9c, 0xc4, 0xa4, 0xd4, 0x1c, 0x08, 0xa9, 0x07, 0x56, 0x20, 0xc4, 0x05, 0xd5, 0x0c, 0x94,
|
||
|
0x55, 0xda, 0xc9, 0xc8, 0xc5, 0xef, 0x03, 0x92, 0x73, 0x49, 0x2d, 0x4e, 0x2e, 0xca, 0x2c, 0x28,
|
||
|
0xc9, 0x2f, 0x12, 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c,
|
||
|
0x02, 0x31, 0x85, 0x5c, 0xb8, 0xb8, 0xca, 0x12, 0x73, 0x4a, 0x53, 0xe3, 0x4b, 0x2a, 0x0b, 0x52,
|
||
|
0x25, 0x98, 0x80, 0x12, 0x7c, 0x46, 0xaa, 0x7a, 0x08, 0x63, 0xf4, 0xd0, 0x8c, 0xd0, 0x0b, 0x03,
|
||
|
0xa9, 0x0e, 0x01, 0x2a, 0x0e, 0xe2, 0x2c, 0x83, 0x31, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xa0, 0x4a,
|
||
|
0x32, 0xf3, 0xf3, 0x24, 0x98, 0xc1, 0xe6, 0x23, 0x0b, 0x29, 0xe9, 0x70, 0x71, 0xc2, 0x75, 0x0a,
|
||
|
0x71, 0x71, 0xb1, 0x05, 0x87, 0x04, 0x79, 0xfa, 0xb9, 0x0b, 0x30, 0x08, 0x71, 0x70, 0xb1, 0x38,
|
||
|
0xf9, 0xfb, 0xfb, 0x08, 0x30, 0x0a, 0x71, 0x72, 0xb1, 0x7a, 0xfa, 0x85, 0x98, 0x99, 0x08, 0x30,
|
||
|
0x39, 0x69, 0x70, 0xf1, 0x25, 0xe7, 0xe7, 0x22, 0x39, 0xc3, 0x89, 0x0b, 0xec, 0x8e, 0x00, 0x90,
|
||
|
0x2f, 0x03, 0x18, 0x7f, 0x30, 0x32, 0x2e, 0x62, 0x62, 0x71, 0x77, 0x0c, 0xf0, 0x4c, 0x62, 0x03,
|
||
|
0x7b, 0xdc, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xca, 0x32, 0x56, 0x5f, 0x37, 0x01, 0x00, 0x00,
|
||
|
}
|