...

Source file src/google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1/resources.pb.go

Documentation: google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/chromeos/moblab/v1beta1/resources.proto
    20  
    21  package moblab
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // The build status types.
    40  type Build_BuildStatus int32
    41  
    42  const (
    43  	// No build status is specified.
    44  	Build_BUILD_STATUS_UNSPECIFIED Build_BuildStatus = 0
    45  	// Complete Status: The build passed.
    46  	Build_PASS Build_BuildStatus = 1
    47  	// Complete Status: The build failed.
    48  	Build_FAIL Build_BuildStatus = 2
    49  	// Intermediate Status: The build is still running.
    50  	Build_RUNNING Build_BuildStatus = 3
    51  	// Complete Status: The build was aborted.
    52  	Build_ABORTED Build_BuildStatus = 4
    53  )
    54  
    55  // Enum value maps for Build_BuildStatus.
    56  var (
    57  	Build_BuildStatus_name = map[int32]string{
    58  		0: "BUILD_STATUS_UNSPECIFIED",
    59  		1: "PASS",
    60  		2: "FAIL",
    61  		3: "RUNNING",
    62  		4: "ABORTED",
    63  	}
    64  	Build_BuildStatus_value = map[string]int32{
    65  		"BUILD_STATUS_UNSPECIFIED": 0,
    66  		"PASS":                     1,
    67  		"FAIL":                     2,
    68  		"RUNNING":                  3,
    69  		"ABORTED":                  4,
    70  	}
    71  )
    72  
    73  func (x Build_BuildStatus) Enum() *Build_BuildStatus {
    74  	p := new(Build_BuildStatus)
    75  	*p = x
    76  	return p
    77  }
    78  
    79  func (x Build_BuildStatus) String() string {
    80  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    81  }
    82  
    83  func (Build_BuildStatus) Descriptor() protoreflect.EnumDescriptor {
    84  	return file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes[0].Descriptor()
    85  }
    86  
    87  func (Build_BuildStatus) Type() protoreflect.EnumType {
    88  	return &file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes[0]
    89  }
    90  
    91  func (x Build_BuildStatus) Number() protoreflect.EnumNumber {
    92  	return protoreflect.EnumNumber(x)
    93  }
    94  
    95  // Deprecated: Use Build_BuildStatus.Descriptor instead.
    96  func (Build_BuildStatus) EnumDescriptor() ([]byte, []int) {
    97  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{3, 0}
    98  }
    99  
   100  // The build types.
   101  type Build_BuildType int32
   102  
   103  const (
   104  	// Invalid build type.
   105  	Build_BUILD_TYPE_UNSPECIFIED Build_BuildType = 0
   106  	// The release build.
   107  	Build_RELEASE Build_BuildType = 1
   108  	// The firmware build.
   109  	Build_FIRMWARE Build_BuildType = 2
   110  )
   111  
   112  // Enum value maps for Build_BuildType.
   113  var (
   114  	Build_BuildType_name = map[int32]string{
   115  		0: "BUILD_TYPE_UNSPECIFIED",
   116  		1: "RELEASE",
   117  		2: "FIRMWARE",
   118  	}
   119  	Build_BuildType_value = map[string]int32{
   120  		"BUILD_TYPE_UNSPECIFIED": 0,
   121  		"RELEASE":                1,
   122  		"FIRMWARE":               2,
   123  	}
   124  )
   125  
   126  func (x Build_BuildType) Enum() *Build_BuildType {
   127  	p := new(Build_BuildType)
   128  	*p = x
   129  	return p
   130  }
   131  
   132  func (x Build_BuildType) String() string {
   133  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   134  }
   135  
   136  func (Build_BuildType) Descriptor() protoreflect.EnumDescriptor {
   137  	return file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes[1].Descriptor()
   138  }
   139  
   140  func (Build_BuildType) Type() protoreflect.EnumType {
   141  	return &file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes[1]
   142  }
   143  
   144  func (x Build_BuildType) Number() protoreflect.EnumNumber {
   145  	return protoreflect.EnumNumber(x)
   146  }
   147  
   148  // Deprecated: Use Build_BuildType.Descriptor instead.
   149  func (Build_BuildType) EnumDescriptor() ([]byte, []int) {
   150  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{3, 1}
   151  }
   152  
   153  // Resource that represents a build target.
   154  // -- NEXT_TAG: 2 --
   155  type BuildTarget struct {
   156  	state         protoimpl.MessageState
   157  	sizeCache     protoimpl.SizeCache
   158  	unknownFields protoimpl.UnknownFields
   159  
   160  	// The resource name of the build target.
   161  	// Format: buildTargets/{build_target}
   162  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   163  }
   164  
   165  func (x *BuildTarget) Reset() {
   166  	*x = BuildTarget{}
   167  	if protoimpl.UnsafeEnabled {
   168  		mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[0]
   169  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   170  		ms.StoreMessageInfo(mi)
   171  	}
   172  }
   173  
   174  func (x *BuildTarget) String() string {
   175  	return protoimpl.X.MessageStringOf(x)
   176  }
   177  
   178  func (*BuildTarget) ProtoMessage() {}
   179  
   180  func (x *BuildTarget) ProtoReflect() protoreflect.Message {
   181  	mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[0]
   182  	if protoimpl.UnsafeEnabled && x != nil {
   183  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   184  		if ms.LoadMessageInfo() == nil {
   185  			ms.StoreMessageInfo(mi)
   186  		}
   187  		return ms
   188  	}
   189  	return mi.MessageOf(x)
   190  }
   191  
   192  // Deprecated: Use BuildTarget.ProtoReflect.Descriptor instead.
   193  func (*BuildTarget) Descriptor() ([]byte, []int) {
   194  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{0}
   195  }
   196  
   197  func (x *BuildTarget) GetName() string {
   198  	if x != nil {
   199  		return x.Name
   200  	}
   201  	return ""
   202  }
   203  
   204  // Resource that represents a model. Each model belongs to a build target. For
   205  // non-unified build, the model name is the same as its build target name.
   206  // -- NEXT_TAG: 2 --
   207  type Model struct {
   208  	state         protoimpl.MessageState
   209  	sizeCache     protoimpl.SizeCache
   210  	unknownFields protoimpl.UnknownFields
   211  
   212  	// The resource name of the model.
   213  	// Format: buildTargets/{build_target}/models/{model}
   214  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   215  }
   216  
   217  func (x *Model) Reset() {
   218  	*x = Model{}
   219  	if protoimpl.UnsafeEnabled {
   220  		mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[1]
   221  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   222  		ms.StoreMessageInfo(mi)
   223  	}
   224  }
   225  
   226  func (x *Model) String() string {
   227  	return protoimpl.X.MessageStringOf(x)
   228  }
   229  
   230  func (*Model) ProtoMessage() {}
   231  
   232  func (x *Model) ProtoReflect() protoreflect.Message {
   233  	mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[1]
   234  	if protoimpl.UnsafeEnabled && x != nil {
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		if ms.LoadMessageInfo() == nil {
   237  			ms.StoreMessageInfo(mi)
   238  		}
   239  		return ms
   240  	}
   241  	return mi.MessageOf(x)
   242  }
   243  
   244  // Deprecated: Use Model.ProtoReflect.Descriptor instead.
   245  func (*Model) Descriptor() ([]byte, []int) {
   246  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{1}
   247  }
   248  
   249  func (x *Model) GetName() string {
   250  	if x != nil {
   251  		return x.Name
   252  	}
   253  	return ""
   254  }
   255  
   256  // Resource that represents a chrome OS milestone.
   257  // -- NEXT_TAG: 2 --
   258  type Milestone struct {
   259  	state         protoimpl.MessageState
   260  	sizeCache     protoimpl.SizeCache
   261  	unknownFields protoimpl.UnknownFields
   262  
   263  	// The resource name of the milestone.
   264  	// Format: milestones/{milestone}
   265  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   266  }
   267  
   268  func (x *Milestone) Reset() {
   269  	*x = Milestone{}
   270  	if protoimpl.UnsafeEnabled {
   271  		mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[2]
   272  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   273  		ms.StoreMessageInfo(mi)
   274  	}
   275  }
   276  
   277  func (x *Milestone) String() string {
   278  	return protoimpl.X.MessageStringOf(x)
   279  }
   280  
   281  func (*Milestone) ProtoMessage() {}
   282  
   283  func (x *Milestone) ProtoReflect() protoreflect.Message {
   284  	mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[2]
   285  	if protoimpl.UnsafeEnabled && x != nil {
   286  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   287  		if ms.LoadMessageInfo() == nil {
   288  			ms.StoreMessageInfo(mi)
   289  		}
   290  		return ms
   291  	}
   292  	return mi.MessageOf(x)
   293  }
   294  
   295  // Deprecated: Use Milestone.ProtoReflect.Descriptor instead.
   296  func (*Milestone) Descriptor() ([]byte, []int) {
   297  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{2}
   298  }
   299  
   300  func (x *Milestone) GetName() string {
   301  	if x != nil {
   302  		return x.Name
   303  	}
   304  	return ""
   305  }
   306  
   307  // Resource that represents a build for the given build target, model, milestone
   308  // and build version.
   309  // -- NEXT_TAG: 9 --
   310  type Build struct {
   311  	state         protoimpl.MessageState
   312  	sizeCache     protoimpl.SizeCache
   313  	unknownFields protoimpl.UnknownFields
   314  
   315  	// The resource name of the build.
   316  	// Format: buildTargets/{build_target}/models/{model}/builds/{build}
   317  	// Example: buildTargets/octopus/models/bobba/builds/1234.0.0
   318  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   319  	// The milestone that owns the build.
   320  	// Format: milestones/{milestone}
   321  	Milestone string `protobuf:"bytes,2,opt,name=milestone,proto3" json:"milestone,omitempty"`
   322  	// The build version of the build, e.g. 1234.0.0.
   323  	BuildVersion string `protobuf:"bytes,3,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
   324  	// The status of the build.
   325  	Status Build_BuildStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.chromeos.moblab.v1beta1.Build_BuildStatus" json:"status,omitempty"`
   326  	// The type of the build.
   327  	Type Build_BuildType `protobuf:"varint,5,opt,name=type,proto3,enum=google.chromeos.moblab.v1beta1.Build_BuildType" json:"type,omitempty"`
   328  	// The branch of the build.
   329  	Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
   330  	// The firmware version of the software that is flashed to the chip on the
   331  	// Chrome OS device.
   332  	RwFirmwareVersion string `protobuf:"bytes,7,opt,name=rw_firmware_version,json=rwFirmwareVersion,proto3" json:"rw_firmware_version,omitempty"`
   333  	// The labels of the build.
   334  	Labels []string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"`
   335  }
   336  
   337  func (x *Build) Reset() {
   338  	*x = Build{}
   339  	if protoimpl.UnsafeEnabled {
   340  		mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[3]
   341  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   342  		ms.StoreMessageInfo(mi)
   343  	}
   344  }
   345  
   346  func (x *Build) String() string {
   347  	return protoimpl.X.MessageStringOf(x)
   348  }
   349  
   350  func (*Build) ProtoMessage() {}
   351  
   352  func (x *Build) ProtoReflect() protoreflect.Message {
   353  	mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[3]
   354  	if protoimpl.UnsafeEnabled && x != nil {
   355  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   356  		if ms.LoadMessageInfo() == nil {
   357  			ms.StoreMessageInfo(mi)
   358  		}
   359  		return ms
   360  	}
   361  	return mi.MessageOf(x)
   362  }
   363  
   364  // Deprecated: Use Build.ProtoReflect.Descriptor instead.
   365  func (*Build) Descriptor() ([]byte, []int) {
   366  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{3}
   367  }
   368  
   369  func (x *Build) GetName() string {
   370  	if x != nil {
   371  		return x.Name
   372  	}
   373  	return ""
   374  }
   375  
   376  func (x *Build) GetMilestone() string {
   377  	if x != nil {
   378  		return x.Milestone
   379  	}
   380  	return ""
   381  }
   382  
   383  func (x *Build) GetBuildVersion() string {
   384  	if x != nil {
   385  		return x.BuildVersion
   386  	}
   387  	return ""
   388  }
   389  
   390  func (x *Build) GetStatus() Build_BuildStatus {
   391  	if x != nil {
   392  		return x.Status
   393  	}
   394  	return Build_BUILD_STATUS_UNSPECIFIED
   395  }
   396  
   397  func (x *Build) GetType() Build_BuildType {
   398  	if x != nil {
   399  		return x.Type
   400  	}
   401  	return Build_BUILD_TYPE_UNSPECIFIED
   402  }
   403  
   404  func (x *Build) GetBranch() string {
   405  	if x != nil {
   406  		return x.Branch
   407  	}
   408  	return ""
   409  }
   410  
   411  func (x *Build) GetRwFirmwareVersion() string {
   412  	if x != nil {
   413  		return x.RwFirmwareVersion
   414  	}
   415  	return ""
   416  }
   417  
   418  func (x *Build) GetLabels() []string {
   419  	if x != nil {
   420  		return x.Labels
   421  	}
   422  	return nil
   423  }
   424  
   425  // Resource that represents a build artifact stored in Google Cloud Storage for
   426  // the given build target, model, build version and bucket.
   427  // -- NEXT_TAG: 6 --
   428  type BuildArtifact struct {
   429  	state         protoimpl.MessageState
   430  	sizeCache     protoimpl.SizeCache
   431  	unknownFields protoimpl.UnknownFields
   432  
   433  	// The resource name of the build artifact.
   434  	// Format:
   435  	// buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact}
   436  	// Example:
   437  	// buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging
   438  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   439  	// The build metadata of the build artifact.
   440  	Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
   441  	// The bucket that stores the build artifact.
   442  	Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
   443  	// The path of the build artifact in the bucket.
   444  	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
   445  	// The number of objects in the build artifact folder. The object number can
   446  	// be used to calculated the stage progress by comparing the source build
   447  	// artifact with the destination build artifact.
   448  	ObjectCount uint32 `protobuf:"varint,5,opt,name=object_count,json=objectCount,proto3" json:"object_count,omitempty"`
   449  }
   450  
   451  func (x *BuildArtifact) Reset() {
   452  	*x = BuildArtifact{}
   453  	if protoimpl.UnsafeEnabled {
   454  		mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[4]
   455  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   456  		ms.StoreMessageInfo(mi)
   457  	}
   458  }
   459  
   460  func (x *BuildArtifact) String() string {
   461  	return protoimpl.X.MessageStringOf(x)
   462  }
   463  
   464  func (*BuildArtifact) ProtoMessage() {}
   465  
   466  func (x *BuildArtifact) ProtoReflect() protoreflect.Message {
   467  	mi := &file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[4]
   468  	if protoimpl.UnsafeEnabled && x != nil {
   469  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   470  		if ms.LoadMessageInfo() == nil {
   471  			ms.StoreMessageInfo(mi)
   472  		}
   473  		return ms
   474  	}
   475  	return mi.MessageOf(x)
   476  }
   477  
   478  // Deprecated: Use BuildArtifact.ProtoReflect.Descriptor instead.
   479  func (*BuildArtifact) Descriptor() ([]byte, []int) {
   480  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP(), []int{4}
   481  }
   482  
   483  func (x *BuildArtifact) GetName() string {
   484  	if x != nil {
   485  		return x.Name
   486  	}
   487  	return ""
   488  }
   489  
   490  func (x *BuildArtifact) GetBuild() string {
   491  	if x != nil {
   492  		return x.Build
   493  	}
   494  	return ""
   495  }
   496  
   497  func (x *BuildArtifact) GetBucket() string {
   498  	if x != nil {
   499  		return x.Bucket
   500  	}
   501  	return ""
   502  }
   503  
   504  func (x *BuildArtifact) GetPath() string {
   505  	if x != nil {
   506  		return x.Path
   507  	}
   508  	return ""
   509  }
   510  
   511  func (x *BuildArtifact) GetObjectCount() uint32 {
   512  	if x != nil {
   513  		return x.ObjectCount
   514  	}
   515  	return 0
   516  }
   517  
   518  var File_google_chromeos_moblab_v1beta1_resources_proto protoreflect.FileDescriptor
   519  
   520  var file_google_chromeos_moblab_v1beta1_resources_proto_rawDesc = []byte{
   521  	0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
   522  	0x73, 0x2f, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
   523  	0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   524  	0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f,
   525  	0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
   526  	0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
   527  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x0b, 0x42,
   528  	0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
   529  	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x4b,
   530  	0xea, 0x41, 0x48, 0x0a, 0x29, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62,
   531  	0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
   532  	0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1b,
   533  	0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x75,
   534  	0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x22, 0x71, 0x0a, 0x05, 0x4d,
   535  	0x6f, 0x64, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   536  	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x54, 0xea, 0x41, 0x51, 0x0a, 0x23, 0x63,
   537  	0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f,
   538  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64,
   539  	0x65, 0x6c, 0x12, 0x2a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73,
   540  	0x2f, 0x7b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x2f,
   541  	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x22, 0x65,
   542  	0x0a, 0x09, 0x4d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   543  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a,
   544  	0x44, 0xea, 0x41, 0x41, 0x0a, 0x27, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f,
   545  	0x62, 0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
   546  	0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x16, 0x6d,
   547  	0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x6d, 0x69, 0x6c, 0x65, 0x73,
   548  	0x74, 0x6f, 0x6e, 0x65, 0x7d, 0x22, 0x80, 0x05, 0x0a, 0x05, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12,
   549  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
   550  	0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65,
   551  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x63, 0x68, 0x72,
   552  	0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   553  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x69, 0x6c, 0x65, 0x73,
   554  	0x74, 0x6f, 0x6e, 0x65, 0x52, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12,
   555  	0x23, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   556  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72,
   557  	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04,
   558  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68,
   559  	0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31,
   560  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x42, 0x75, 0x69, 0x6c,
   561  	0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
   562  	0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e,
   563  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e,
   564  	0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42,
   565  	0x75, 0x69, 0x6c, 0x64, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
   566  	0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06,
   567  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x2e, 0x0a, 0x13,
   568  	0x72, 0x77, 0x5f, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
   569  	0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x77, 0x46, 0x69, 0x72,
   570  	0x6d, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
   571  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61,
   572  	0x62, 0x65, 0x6c, 0x73, 0x22, 0x59, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61,
   573  	0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41,
   574  	0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
   575  	0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x53, 0x53, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46,
   576  	0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47,
   577  	0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x04, 0x22,
   578  	0x42, 0x0a, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16,
   579  	0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
   580  	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4c, 0x45,
   581  	0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x52, 0x4d, 0x57, 0x41, 0x52,
   582  	0x45, 0x10, 0x02, 0x3a, 0x63, 0xea, 0x41, 0x60, 0x0a, 0x23, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65,
   583  	0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   584  	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x39, 0x62,
   585  	0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x75, 0x69,
   586  	0x6c, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
   587  	0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x73,
   588  	0x2f, 0x7b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x7d, 0x22, 0xb5, 0x02, 0x0a, 0x0d, 0x42, 0x75, 0x69,
   589  	0x6c, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
   590  	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e,
   591  	0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xfa,
   592  	0x41, 0x25, 0x0a, 0x23, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62, 0x6c,
   593  	0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
   594  	0x6d, 0x2f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x16,
   595  	0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
   596  	0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04,
   597  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x62,
   598  	0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
   599  	0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x80, 0x01,
   600  	0xea, 0x41, 0x7d, 0x0a, 0x2b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x6d, 0x6f, 0x62,
   601  	0x6c, 0x61, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
   602  	0x6f, 0x6d, 0x2f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   603  	0x12, 0x4e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b,
   604  	0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x2f, 0x6d, 0x6f,
   605  	0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x2f, 0x62, 0x75, 0x69,
   606  	0x6c, 0x64, 0x73, 0x2f, 0x7b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x7d, 0x2f, 0x61, 0x72, 0x74, 0x69,
   607  	0x66, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x7d,
   608  	0x42, 0x7e, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   609  	0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2e, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62, 0x2e, 0x76,
   610  	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   611  	0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x01, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67,
   612  	0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
   613  	0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
   614  	0x73, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x73, 0x2f, 0x6d, 0x6f, 0x62, 0x6c, 0x61,
   615  	0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x6d, 0x6f, 0x62, 0x6c, 0x61, 0x62,
   616  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   617  }
   618  
   619  var (
   620  	file_google_chromeos_moblab_v1beta1_resources_proto_rawDescOnce sync.Once
   621  	file_google_chromeos_moblab_v1beta1_resources_proto_rawDescData = file_google_chromeos_moblab_v1beta1_resources_proto_rawDesc
   622  )
   623  
   624  func file_google_chromeos_moblab_v1beta1_resources_proto_rawDescGZIP() []byte {
   625  	file_google_chromeos_moblab_v1beta1_resources_proto_rawDescOnce.Do(func() {
   626  		file_google_chromeos_moblab_v1beta1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_chromeos_moblab_v1beta1_resources_proto_rawDescData)
   627  	})
   628  	return file_google_chromeos_moblab_v1beta1_resources_proto_rawDescData
   629  }
   630  
   631  var file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   632  var file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   633  var file_google_chromeos_moblab_v1beta1_resources_proto_goTypes = []interface{}{
   634  	(Build_BuildStatus)(0), // 0: google.chromeos.moblab.v1beta1.Build.BuildStatus
   635  	(Build_BuildType)(0),   // 1: google.chromeos.moblab.v1beta1.Build.BuildType
   636  	(*BuildTarget)(nil),    // 2: google.chromeos.moblab.v1beta1.BuildTarget
   637  	(*Model)(nil),          // 3: google.chromeos.moblab.v1beta1.Model
   638  	(*Milestone)(nil),      // 4: google.chromeos.moblab.v1beta1.Milestone
   639  	(*Build)(nil),          // 5: google.chromeos.moblab.v1beta1.Build
   640  	(*BuildArtifact)(nil),  // 6: google.chromeos.moblab.v1beta1.BuildArtifact
   641  }
   642  var file_google_chromeos_moblab_v1beta1_resources_proto_depIdxs = []int32{
   643  	0, // 0: google.chromeos.moblab.v1beta1.Build.status:type_name -> google.chromeos.moblab.v1beta1.Build.BuildStatus
   644  	1, // 1: google.chromeos.moblab.v1beta1.Build.type:type_name -> google.chromeos.moblab.v1beta1.Build.BuildType
   645  	2, // [2:2] is the sub-list for method output_type
   646  	2, // [2:2] is the sub-list for method input_type
   647  	2, // [2:2] is the sub-list for extension type_name
   648  	2, // [2:2] is the sub-list for extension extendee
   649  	0, // [0:2] is the sub-list for field type_name
   650  }
   651  
   652  func init() { file_google_chromeos_moblab_v1beta1_resources_proto_init() }
   653  func file_google_chromeos_moblab_v1beta1_resources_proto_init() {
   654  	if File_google_chromeos_moblab_v1beta1_resources_proto != nil {
   655  		return
   656  	}
   657  	if !protoimpl.UnsafeEnabled {
   658  		file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   659  			switch v := v.(*BuildTarget); i {
   660  			case 0:
   661  				return &v.state
   662  			case 1:
   663  				return &v.sizeCache
   664  			case 2:
   665  				return &v.unknownFields
   666  			default:
   667  				return nil
   668  			}
   669  		}
   670  		file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   671  			switch v := v.(*Model); i {
   672  			case 0:
   673  				return &v.state
   674  			case 1:
   675  				return &v.sizeCache
   676  			case 2:
   677  				return &v.unknownFields
   678  			default:
   679  				return nil
   680  			}
   681  		}
   682  		file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   683  			switch v := v.(*Milestone); i {
   684  			case 0:
   685  				return &v.state
   686  			case 1:
   687  				return &v.sizeCache
   688  			case 2:
   689  				return &v.unknownFields
   690  			default:
   691  				return nil
   692  			}
   693  		}
   694  		file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   695  			switch v := v.(*Build); i {
   696  			case 0:
   697  				return &v.state
   698  			case 1:
   699  				return &v.sizeCache
   700  			case 2:
   701  				return &v.unknownFields
   702  			default:
   703  				return nil
   704  			}
   705  		}
   706  		file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   707  			switch v := v.(*BuildArtifact); i {
   708  			case 0:
   709  				return &v.state
   710  			case 1:
   711  				return &v.sizeCache
   712  			case 2:
   713  				return &v.unknownFields
   714  			default:
   715  				return nil
   716  			}
   717  		}
   718  	}
   719  	type x struct{}
   720  	out := protoimpl.TypeBuilder{
   721  		File: protoimpl.DescBuilder{
   722  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   723  			RawDescriptor: file_google_chromeos_moblab_v1beta1_resources_proto_rawDesc,
   724  			NumEnums:      2,
   725  			NumMessages:   5,
   726  			NumExtensions: 0,
   727  			NumServices:   0,
   728  		},
   729  		GoTypes:           file_google_chromeos_moblab_v1beta1_resources_proto_goTypes,
   730  		DependencyIndexes: file_google_chromeos_moblab_v1beta1_resources_proto_depIdxs,
   731  		EnumInfos:         file_google_chromeos_moblab_v1beta1_resources_proto_enumTypes,
   732  		MessageInfos:      file_google_chromeos_moblab_v1beta1_resources_proto_msgTypes,
   733  	}.Build()
   734  	File_google_chromeos_moblab_v1beta1_resources_proto = out.File
   735  	file_google_chromeos_moblab_v1beta1_resources_proto_rawDesc = nil
   736  	file_google_chromeos_moblab_v1beta1_resources_proto_goTypes = nil
   737  	file_google_chromeos_moblab_v1beta1_resources_proto_depIdxs = nil
   738  }
   739  

View as plain text