blob: 55cd98bdde30525b8929aabddac42626418a8900 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/repo_cache_state.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 state of the tree.
type RepoState_State int32
const (
// Unknown: Treated as if it was DIRTY.
RepoState_STATE_UNSPECIFIED RepoState_State = 0
// Clean. The tree is clean.
RepoState_STATE_CLEAN RepoState_State = 1
// Dirty. The tree is in the process of being updated.
RepoState_STATE_DIRTY RepoState_State = 2
// Recovery. Recovery from DIRTY is in progress.
RepoState_STATE_RECOVERY RepoState_State = 3
)
var RepoState_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_CLEAN",
2: "STATE_DIRTY",
3: "STATE_RECOVERY",
}
var RepoState_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_CLEAN": 1,
"STATE_DIRTY": 2,
"STATE_RECOVERY": 3,
}
func (x RepoState_State) String() string {
return proto.EnumName(RepoState_State_name, int32(x))
}
func (RepoState_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_89fc521bebffa778, []int{0, 0}
}
type RepoState struct {
State RepoState_State `protobuf:"varint,1,opt,name=state,proto3,enum=chromiumos.RepoState_State" json:"state,omitempty"`
// The checked out branch.
ManifestBranch string `protobuf:"bytes,2,opt,name=manifest_branch,json=manifestBranch,proto3" json:"manifest_branch,omitempty"`
// The manifest URL.
ManifestUrl string `protobuf:"bytes,3,opt,name=manifest_url,json=manifestUrl,proto3" json:"manifest_url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RepoState) Reset() { *m = RepoState{} }
func (m *RepoState) String() string { return proto.CompactTextString(m) }
func (*RepoState) ProtoMessage() {}
func (*RepoState) Descriptor() ([]byte, []int) {
return fileDescriptor_89fc521bebffa778, []int{0}
}
func (m *RepoState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepoState.Unmarshal(m, b)
}
func (m *RepoState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepoState.Marshal(b, m, deterministic)
}
func (m *RepoState) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepoState.Merge(m, src)
}
func (m *RepoState) XXX_Size() int {
return xxx_messageInfo_RepoState.Size(m)
}
func (m *RepoState) XXX_DiscardUnknown() {
xxx_messageInfo_RepoState.DiscardUnknown(m)
}
var xxx_messageInfo_RepoState proto.InternalMessageInfo
func (m *RepoState) GetState() RepoState_State {
if m != nil {
return m.State
}
return RepoState_STATE_UNSPECIFIED
}
func (m *RepoState) GetManifestBranch() string {
if m != nil {
return m.ManifestBranch
}
return ""
}
func (m *RepoState) GetManifestUrl() string {
if m != nil {
return m.ManifestUrl
}
return ""
}
func init() {
proto.RegisterEnum("chromiumos.RepoState_State", RepoState_State_name, RepoState_State_value)
proto.RegisterType((*RepoState)(nil), "chromiumos.RepoState")
}
func init() { proto.RegisterFile("chromiumos/repo_cache_state.proto", fileDescriptor_89fc521bebffa778) }
var fileDescriptor_89fc521bebffa778 = []byte{
// 250 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xd0, 0xcf, 0x6b, 0xc2, 0x30,
0x14, 0xc0, 0xf1, 0x45, 0x71, 0xe0, 0x73, 0xd4, 0x2e, 0x30, 0x28, 0xec, 0xa2, 0x5e, 0xe6, 0x29,
0x65, 0x3f, 0xd8, 0x5d, 0x6b, 0x06, 0x85, 0xe1, 0x46, 0x5a, 0x07, 0xee, 0x52, 0x62, 0x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