1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/chromeos/moblab/v1beta1/resources.proto
3
4package moblab
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	_ "google.golang.org/genproto/googleapis/api/annotations"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24
25// Resource that represents a build target.
26type BuildTarget struct {
27	// The resource name of the build target.
28	// Format: buildTargets/{build_target}
29	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
30	XXX_NoUnkeyedLiteral struct{} `json:"-"`
31	XXX_unrecognized     []byte   `json:"-"`
32	XXX_sizecache        int32    `json:"-"`
33}
34
35func (m *BuildTarget) Reset()         { *m = BuildTarget{} }
36func (m *BuildTarget) String() string { return proto.CompactTextString(m) }
37func (*BuildTarget) ProtoMessage()    {}
38func (*BuildTarget) Descriptor() ([]byte, []int) {
39	return fileDescriptor_d17c8fac142feee0, []int{0}
40}
41
42func (m *BuildTarget) XXX_Unmarshal(b []byte) error {
43	return xxx_messageInfo_BuildTarget.Unmarshal(m, b)
44}
45func (m *BuildTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
46	return xxx_messageInfo_BuildTarget.Marshal(b, m, deterministic)
47}
48func (m *BuildTarget) XXX_Merge(src proto.Message) {
49	xxx_messageInfo_BuildTarget.Merge(m, src)
50}
51func (m *BuildTarget) XXX_Size() int {
52	return xxx_messageInfo_BuildTarget.Size(m)
53}
54func (m *BuildTarget) XXX_DiscardUnknown() {
55	xxx_messageInfo_BuildTarget.DiscardUnknown(m)
56}
57
58var xxx_messageInfo_BuildTarget proto.InternalMessageInfo
59
60func (m *BuildTarget) GetName() string {
61	if m != nil {
62		return m.Name
63	}
64	return ""
65}
66
67// Resource that represents a model. Each model belongs to a build target. For
68// non-unified build, the model name is the same as its build target name.
69type Model struct {
70	// The resource name of the model.
71	// Format: buildTargets/{build_target}/models/{model}
72	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
73	XXX_NoUnkeyedLiteral struct{} `json:"-"`
74	XXX_unrecognized     []byte   `json:"-"`
75	XXX_sizecache        int32    `json:"-"`
76}
77
78func (m *Model) Reset()         { *m = Model{} }
79func (m *Model) String() string { return proto.CompactTextString(m) }
80func (*Model) ProtoMessage()    {}
81func (*Model) Descriptor() ([]byte, []int) {
82	return fileDescriptor_d17c8fac142feee0, []int{1}
83}
84
85func (m *Model) XXX_Unmarshal(b []byte) error {
86	return xxx_messageInfo_Model.Unmarshal(m, b)
87}
88func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
89	return xxx_messageInfo_Model.Marshal(b, m, deterministic)
90}
91func (m *Model) XXX_Merge(src proto.Message) {
92	xxx_messageInfo_Model.Merge(m, src)
93}
94func (m *Model) XXX_Size() int {
95	return xxx_messageInfo_Model.Size(m)
96}
97func (m *Model) XXX_DiscardUnknown() {
98	xxx_messageInfo_Model.DiscardUnknown(m)
99}
100
101var xxx_messageInfo_Model proto.InternalMessageInfo
102
103func (m *Model) GetName() string {
104	if m != nil {
105		return m.Name
106	}
107	return ""
108}
109
110// Resource that represents a chrome OS milestone.
111type Milestone struct {
112	// The resource name of the milestone.
113	// Format: milestones/{milestone}
114	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
115	XXX_NoUnkeyedLiteral struct{} `json:"-"`
116	XXX_unrecognized     []byte   `json:"-"`
117	XXX_sizecache        int32    `json:"-"`
118}
119
120func (m *Milestone) Reset()         { *m = Milestone{} }
121func (m *Milestone) String() string { return proto.CompactTextString(m) }
122func (*Milestone) ProtoMessage()    {}
123func (*Milestone) Descriptor() ([]byte, []int) {
124	return fileDescriptor_d17c8fac142feee0, []int{2}
125}
126
127func (m *Milestone) XXX_Unmarshal(b []byte) error {
128	return xxx_messageInfo_Milestone.Unmarshal(m, b)
129}
130func (m *Milestone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
131	return xxx_messageInfo_Milestone.Marshal(b, m, deterministic)
132}
133func (m *Milestone) XXX_Merge(src proto.Message) {
134	xxx_messageInfo_Milestone.Merge(m, src)
135}
136func (m *Milestone) XXX_Size() int {
137	return xxx_messageInfo_Milestone.Size(m)
138}
139func (m *Milestone) XXX_DiscardUnknown() {
140	xxx_messageInfo_Milestone.DiscardUnknown(m)
141}
142
143var xxx_messageInfo_Milestone proto.InternalMessageInfo
144
145func (m *Milestone) GetName() string {
146	if m != nil {
147		return m.Name
148	}
149	return ""
150}
151
152// Resource that represents a build for the given build target, model, milestone
153// and build version.
154// NEXT_TAG: 4
155type Build struct {
156	// The resource name of the build.
157	// Format: buildTargets/{build_target}/models/{model}/builds/{build}
158	// Example: buildTargets/octopus/models/bobba/builds/1234.0.0
159	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
160	// The milestone that owns the build.
161	// Format: milestones/{milestone}
162	Milestone string `protobuf:"bytes,2,opt,name=milestone,proto3" json:"milestone,omitempty"`
163	// The build version of the build, e.g. 1234.0.0.
164	BuildVersion         string   `protobuf:"bytes,3,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
165	XXX_NoUnkeyedLiteral struct{} `json:"-"`
166	XXX_unrecognized     []byte   `json:"-"`
167	XXX_sizecache        int32    `json:"-"`
168}
169
170func (m *Build) Reset()         { *m = Build{} }
171func (m *Build) String() string { return proto.CompactTextString(m) }
172func (*Build) ProtoMessage()    {}
173func (*Build) Descriptor() ([]byte, []int) {
174	return fileDescriptor_d17c8fac142feee0, []int{3}
175}
176
177func (m *Build) XXX_Unmarshal(b []byte) error {
178	return xxx_messageInfo_Build.Unmarshal(m, b)
179}
180func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
181	return xxx_messageInfo_Build.Marshal(b, m, deterministic)
182}
183func (m *Build) XXX_Merge(src proto.Message) {
184	xxx_messageInfo_Build.Merge(m, src)
185}
186func (m *Build) XXX_Size() int {
187	return xxx_messageInfo_Build.Size(m)
188}
189func (m *Build) XXX_DiscardUnknown() {
190	xxx_messageInfo_Build.DiscardUnknown(m)
191}
192
193var xxx_messageInfo_Build proto.InternalMessageInfo
194
195func (m *Build) GetName() string {
196	if m != nil {
197		return m.Name
198	}
199	return ""
200}
201
202func (m *Build) GetMilestone() string {
203	if m != nil {
204		return m.Milestone
205	}
206	return ""
207}
208
209func (m *Build) GetBuildVersion() string {
210	if m != nil {
211		return m.BuildVersion
212	}
213	return ""
214}
215
216// Resource that represents a build artifact stored in Google Cloud Storage for
217// the given build target, model, build version and bucket. NEXT_TAG: 6
218type BuildArtifact struct {
219	// The resource name of the build artifact.
220	// Format:
221	// buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact}
222	// Example:
223	// buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging
224	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
225	// The build metadata of the build artifact.
226	Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
227	// The bucket that stores the build artifact.
228	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
229	// The path of the build artifact in the bucket.
230	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
231	// The number of objects in the build artifact folder. The object number can
232	// be used to calculated the stage progress by comparing the source build
233	// artifact with the destination build artifact.
234	ObjectCount          uint32   `protobuf:"varint,5,opt,name=object_count,json=objectCount,proto3" json:"object_count,omitempty"`
235	XXX_NoUnkeyedLiteral struct{} `json:"-"`
236	XXX_unrecognized     []byte   `json:"-"`
237	XXX_sizecache        int32    `json:"-"`
238}
239
240func (m *BuildArtifact) Reset()         { *m = BuildArtifact{} }
241func (m *BuildArtifact) String() string { return proto.CompactTextString(m) }
242func (*BuildArtifact) ProtoMessage()    {}
243func (*BuildArtifact) Descriptor() ([]byte, []int) {
244	return fileDescriptor_d17c8fac142feee0, []int{4}
245}
246
247func (m *BuildArtifact) XXX_Unmarshal(b []byte) error {
248	return xxx_messageInfo_BuildArtifact.Unmarshal(m, b)
249}
250func (m *BuildArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
251	return xxx_messageInfo_BuildArtifact.Marshal(b, m, deterministic)
252}
253func (m *BuildArtifact) XXX_Merge(src proto.Message) {
254	xxx_messageInfo_BuildArtifact.Merge(m, src)
255}
256func (m *BuildArtifact) XXX_Size() int {
257	return xxx_messageInfo_BuildArtifact.Size(m)
258}
259func (m *BuildArtifact) XXX_DiscardUnknown() {
260	xxx_messageInfo_BuildArtifact.DiscardUnknown(m)
261}
262
263var xxx_messageInfo_BuildArtifact proto.InternalMessageInfo
264
265func (m *BuildArtifact) GetName() string {
266	if m != nil {
267		return m.Name
268	}
269	return ""
270}
271
272func (m *BuildArtifact) GetBuild() string {
273	if m != nil {
274		return m.Build
275	}
276	return ""
277}
278
279func (m *BuildArtifact) GetBucket() string {
280	if m != nil {
281		return m.Bucket
282	}
283	return ""
284}
285
286func (m *BuildArtifact) GetPath() string {
287	if m != nil {
288		return m.Path
289	}
290	return ""
291}
292
293func (m *BuildArtifact) GetObjectCount() uint32 {
294	if m != nil {
295		return m.ObjectCount
296	}
297	return 0
298}
299
300func init() {
301	proto.RegisterType((*BuildTarget)(nil), "google.chromeos.moblab.v1beta1.BuildTarget")
302	proto.RegisterType((*Model)(nil), "google.chromeos.moblab.v1beta1.Model")
303	proto.RegisterType((*Milestone)(nil), "google.chromeos.moblab.v1beta1.Milestone")
304	proto.RegisterType((*Build)(nil), "google.chromeos.moblab.v1beta1.Build")
305	proto.RegisterType((*BuildArtifact)(nil), "google.chromeos.moblab.v1beta1.BuildArtifact")
306}
307
308func init() {
309	proto.RegisterFile("google/chromeos/moblab/v1beta1/resources.proto", fileDescriptor_d17c8fac142feee0)
310}
311
312var fileDescriptor_d17c8fac142feee0 = []byte{
313	// 462 bytes of a gzipped FileDescriptorProto
314	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6f, 0xd3, 0x30,
315	0x14, 0x57, 0xc6, 0x3a, 0xa9, 0x6f, 0x2b, 0x87, 0x1c, 0xa6, 0x00, 0x12, 0x1a, 0x99, 0x10, 0x1d,
316	0x20, 0x5b, 0x13, 0x27, 0x8a, 0x84, 0xe4, 0xb2, 0xc3, 0x04, 0x1a, 0x1a, 0xd1, 0xc4, 0x81, 0xcb,
317	0x70, 0x3c, 0x93, 0x05, 0x92, 0xbc, 0x62, 0xbb, 0xbb, 0x54, 0x41, 0x7c, 0x29, 0xbe, 0x54, 0x6e,
318	0x5c, 0x77, 0x42, 0xb1, 0x9d, 0x96, 0x43, 0x69, 0x2b, 0x4e, 0x7d, 0xef, 0xf9, 0xf7, 0xe7, 0xbd,
319	0xa7, 0xbe, 0x00, 0xc9, 0x10, 0xb3, 0x42, 0x52, 0x71, 0xad, 0xb0, 0x94, 0xa8, 0x69, 0x89, 0x69,
320	0xc1, 0x53, 0x7a, 0x73, 0x9c, 0x4a, 0xc3, 0x8f, 0xa9, 0x92, 0x1a, 0xa7, 0x4a, 0x48, 0x4d, 0x26,
321	0x0a, 0x0d, 0x86, 0x0f, 0x1d, 0x9e, 0x74, 0x78, 0xe2, 0xf0, 0xc4, 0xe3, 0xef, 0xdf, 0xf3, 0x7a,
322	0x7c, 0x92, 0xcf, 0xb9, 0x8e, 0x1a, 0x57, 0xb0, 0x3b, 0x9e, 0xe6, 0xc5, 0xd5, 0x05, 0x57, 0x99,
323	0x34, 0x61, 0x08, 0xdb, 0x15, 0x2f, 0x65, 0x14, 0x1c, 0x04, 0xc3, 0x7e, 0x62, 0xe3, 0xd1, 0xbb,
324	0x86, 0x9d, 0xc2, 0x51, 0xa7, 0xed, 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fa, 0xac, 0xf5, 0x9a, 0x70, 0x73, 0x1d, 0x6d, 0x3b,
336	0xaf, 0x36, 0x0e, 0x1f, 0xc1, 0x1e, 0xa6, 0x5f, 0xa5, 0x30, 0x97, 0x02, 0xa7, 0x95, 0x89, 0x7a,
337	0x07, 0xc1, 0x70, 0x90, 0xec, 0xba, 0xda, 0x9b, 0xb6, 0x34, 0xfa, 0x19, 0x34, 0xac, 0x86, 0x67,
338	0x1b, 0x34, 0x30, 0x9f, 0xea, 0xfd, 0x7f, 0xaf, 0x88, 0x72, 0xaf, 0xa1, 0xe9, 0xac, 0x0b, 0xeb,
339	0xf1, 0x0f, 0x88, 0x05, 0x96, 0x64, 0xf5, 0xd9, 0x8e, 0xef, 0x26, 0xdd, 0x9d, 0x9f, 0xb7, 0xb7,
340	0x7a, 0x1a, 0x9c, 0x07, 0x9f, 0x4e, 0x3c, 0x27, 0xc3, 0x82, 0x57, 0x19, 0x41, 0x95, 0xd1, 0x4c,
341	0x56, 0xf6, 0x96, 0xe9, 0x62, 0x84, 0x7f, 0x7d, 0x39, 0x5e, 0xb9, 0x34, 0xdd, 0xb1, 0x84, 0x17,
342	0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xb8, 0x99, 0x9a, 0x69, 0x04, 0x00, 0x00,
343}
344