| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/branch.proto |
| |
| package chromiumos |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| 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.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // The types of branches that can be created. |
| type Branch_BranchType int32 |
| |
| const ( |
| Branch_UNSPECIFIED Branch_BranchType = 0 |
| Branch_RELEASE Branch_BranchType = 1 |
| Branch_FACTORY Branch_BranchType = 2 |
| Branch_FIRMWARE Branch_BranchType = 3 |
| Branch_STABILIZE Branch_BranchType = 4 |
| Branch_CUSTOM Branch_BranchType = 5 |
| ) |
| |
| var Branch_BranchType_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "RELEASE", |
| 2: "FACTORY", |
| 3: "FIRMWARE", |
| 4: "STABILIZE", |
| 5: "CUSTOM", |
| } |
| |
| var Branch_BranchType_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "RELEASE": 1, |
| "FACTORY": 2, |
| "FIRMWARE": 3, |
| "STABILIZE": 4, |
| "CUSTOM": 5, |
| } |
| |
| func (x Branch_BranchType) String() string { |
| return proto.EnumName(Branch_BranchType_name, int32(x)) |
| } |
| |
| func (Branch_BranchType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_5475cbd01bbee860, []int{0, 0} |
| } |
| |
| // A message to specify branches. |
| type Branch struct { |
| // Type of branch. |
| Type Branch_BranchType `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"` |
| // Name of branch. |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| // Branch descriptor (usually a build target or device name). |
| // Optional. |
| Descriptor_ string `protobuf:"bytes,3,opt,name=descriptor,proto3" json:"descriptor,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Branch) Reset() { *m = Branch{} } |
| func (m *Branch) String() string { return proto.CompactTextString(m) } |
| func (*Branch) ProtoMessage() {} |
| func (*Branch) Descriptor() ([]byte, []int) { |
| return fileDescriptor_5475cbd01bbee860, []int{0} |
| } |
| |
| func (m *Branch) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Branch.Unmarshal(m, b) |
| } |
| func (m *Branch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Branch.Marshal(b, m, deterministic) |
| } |
| func (m *Branch) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Branch.Merge(m, src) |
| } |
| func (m *Branch) XXX_Size() int { |
| return xxx_messageInfo_Branch.Size(m) |
| } |
| func (m *Branch) XXX_DiscardUnknown() { |
| xxx_messageInfo_Branch.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Branch proto.InternalMessageInfo |
| |
| func (m *Branch) GetType() Branch_BranchType { |
| if m != nil { |
| return m.Type |
| } |
| return Branch_UNSPECIFIED |
| } |
| |
| func (m *Branch) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Branch) GetDescriptor_() string { |
| if m != nil { |
| return m.Descriptor_ |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterEnum("chromiumos.Branch_BranchType", Branch_BranchType_name, Branch_BranchType_value) |
| proto.RegisterType((*Branch)(nil), "chromiumos.Branch") |
| } |
| |
| func init() { proto.RegisterFile("chromiumos/branch.proto", fileDescriptor_5475cbd01bbee860) } |
| |
| var fileDescriptor_5475cbd01bbee860 = []byte{ |
| // 249 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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