| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.28.1 |
| // protoc v3.21.12 |
| // source: proto/input.proto |
| |
| package proto |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type InputProperties struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Name of the test being run. |
| Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` |
| // Whether this test should run in the Google internal or external infrastructure. |
| External bool `protobuf:"varint,7,opt,name=external,proto3" json:"external,omitempty"` |
| // CAS digest containing all of the inputs needed to both prepare targets |
| // and run tests. |
| InputArtifactsDigest string `protobuf:"bytes,1,opt,name=input_artifacts_digest,json=inputArtifactsDigest,proto3" json:"input_artifacts_digest,omitempty"` |
| // Any CIPD packages needed to run the test task. |
| CipdPackages []*CIPDPackage `protobuf:"bytes,2,rep,name=cipd_packages,json=cipdPackages,proto3" json:"cipd_packages,omitempty"` |
| // Parameters controlling how the test target and the test environment are prepared. |
| PreprationParams *PreparationParams `protobuf:"bytes,3,opt,name=prepration_params,json=preprationParams,proto3" json:"prepration_params,omitempty"` |
| // The test command to run. The test binary should be in the input artifacts. |
| TestCommand string `protobuf:"bytes,4,opt,name=test_command,json=testCommand,proto3" json:"test_command,omitempty"` |
| // Test targeting metadata used to select devices/emulators to run on. |
| // These will be discussed more comprehensively later. |
| TargetDimensions map[string]string `protobuf:"bytes,5,rep,name=target_dimensions,json=targetDimensions,proto3" json:"target_dimensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| } |
| |
| func (x *InputProperties) Reset() { |
| *x = InputProperties{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_proto_input_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *InputProperties) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*InputProperties) ProtoMessage() {} |
| |
| func (x *InputProperties) ProtoReflect() protoreflect.Message { |
| mi := &file_proto_input_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use InputProperties.ProtoReflect.Descriptor instead. |
| func (*InputProperties) Descriptor() ([]byte, []int) { |
| return file_proto_input_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *InputProperties) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *InputProperties) GetExternal() bool { |
| if x != nil { |
| return x.External |
| } |
| return false |
| } |
| |
| func (x *InputProperties) GetInputArtifactsDigest() string { |
| if x != nil { |
| return x.InputArtifactsDigest |
| } |
| return "" |
| } |
| |
| func (x *InputProperties) GetCipdPackages() []*CIPDPackage { |
| if x != nil { |
| return x.CipdPackages |
| } |
| return nil |
| } |
| |
| func (x *InputProperties) GetPreprationParams() *PreparationParams { |
| if x != nil { |
| return x.PreprationParams |
| } |
| return nil |
| } |
| |
| func (x *InputProperties) GetTestCommand() string { |
| if x != nil { |
| return x.TestCommand |
| } |
| return "" |
| } |
| |
| func (x *InputProperties) GetTargetDimensions() map[string]string { |
| if x != nil { |
| return x.TargetDimensions |
| } |
| return nil |
| } |
| |
| type CIPDPackage struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` |
| } |
| |
| func (x *CIPDPackage) Reset() { |
| *x = CIPDPackage{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_proto_input_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CIPDPackage) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CIPDPackage) ProtoMessage() {} |
| |
| func (x *CIPDPackage) ProtoReflect() protoreflect.Message { |
| mi := &file_proto_input_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CIPDPackage.ProtoReflect.Descriptor instead. |
| func (*CIPDPackage) Descriptor() ([]byte, []int) { |
| return file_proto_input_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *CIPDPackage) GetPath() string { |
| if x != nil { |
| return x.Path |
| } |
| return "" |
| } |
| |
| func (x *CIPDPackage) GetTag() string { |
| if x != nil { |
| return x.Tag |
| } |
| return "" |
| } |
| |
| type PreparationParams struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Flash bool `protobuf:"varint,1,opt,name=flash,proto3" json:"flash,omitempty"` |
| Pave bool `protobuf:"varint,2,opt,name=pave,proto3" json:"pave,omitempty"` |
| Ramboot bool `protobuf:"varint,3,opt,name=ramboot,proto3" json:"ramboot,omitempty"` |
| RunPackageServer bool `protobuf:"varint,4,opt,name=run_package_server,json=runPackageServer,proto3" json:"run_package_server,omitempty"` |
| CaptureLogs bool `protobuf:"varint,5,opt,name=capture_logs,json=captureLogs,proto3" json:"capture_logs,omitempty"` |
| } |
| |
| func (x *PreparationParams) Reset() { |
| *x = PreparationParams{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_proto_input_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *PreparationParams) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PreparationParams) ProtoMessage() {} |
| |
| func (x *PreparationParams) ProtoReflect() protoreflect.Message { |
| mi := &file_proto_input_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use PreparationParams.ProtoReflect.Descriptor instead. |
| func (*PreparationParams) Descriptor() ([]byte, []int) { |
| return file_proto_input_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *PreparationParams) GetFlash() bool { |
| if x != nil { |
| return x.Flash |
| } |
| return false |
| } |
| |
| func (x *PreparationParams) GetPave() bool { |
| if x != nil { |
| return x.Pave |
| } |
| return false |
| } |
| |
| func (x *PreparationParams) GetRamboot() bool { |
| if x != nil { |
| return x.Ramboot |
| } |
| return false |
| } |
| |
| func (x *PreparationParams) GetRunPackageServer() bool { |
| if x != nil { |
| return x.RunPackageServer |
| } |
| return false |
| } |
| |
| func (x *PreparationParams) GetCaptureLogs() bool { |
| if x != nil { |
| return x.CaptureLogs |
| } |
| return false |
| } |
| |
| var File_proto_input_proto protoreflect.FileDescriptor |
| |
| var file_proto_input_proto_rawDesc = []byte{ |
| 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x03, 0x0a, 0x0f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, |
| 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, |
| 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, |
| 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, |
| 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x72, |
| 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, |
| 0x0d, 0x63, 0x69, 0x70, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, |
| 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x49, 0x50, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, |
| 0x67, 0x65, 0x52, 0x0c, 0x63, 0x69, 0x70, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, |
| 0x12, 0x3f, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, |
| 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x50, 0x72, |
| 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, |
| 0x10, 0x70, 0x72, 0x65, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, |
| 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, |
| 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, |
| 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x53, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, |
| 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 0x26, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, |
| 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, |
| 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x54, 0x61, 0x72, |
| 0x67, 0x65, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, |
| 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, |
| 0x0a, 0x0b, 0x43, 0x49, 0x50, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, |
| 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, |
| 0x68, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| 0x74, 0x61, 0x67, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, |
| 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, |
| 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x73, 0x68, 0x12, |
| 0x12, 0x0a, 0x04, 0x70, 0x61, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, |
| 0x61, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x61, 0x6d, 0x62, 0x6f, 0x6f, 0x74, 0x18, 0x03, |
| 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x61, 0x6d, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x2c, 0x0a, |
| 0x12, 0x72, 0x75, 0x6e, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x72, |
| 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x50, 0x61, |
| 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, |
| 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 0x08, 0x52, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x42, 0x28, |
| 0x5a, 0x26, 0x67, 0x6f, 0x2e, 0x66, 0x75, 0x63, 0x68, 0x73, 0x69, 0x61, 0x2e, 0x64, 0x65, 0x76, |
| 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x66, 0x74, 0x78, 0x74, 0x65, |
| 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_proto_input_proto_rawDescOnce sync.Once |
| file_proto_input_proto_rawDescData = file_proto_input_proto_rawDesc |
| ) |
| |
| func file_proto_input_proto_rawDescGZIP() []byte { |
| file_proto_input_proto_rawDescOnce.Do(func() { |
| file_proto_input_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_input_proto_rawDescData) |
| }) |
| return file_proto_input_proto_rawDescData |
| } |
| |
| var file_proto_input_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| var file_proto_input_proto_goTypes = []interface{}{ |
| (*InputProperties)(nil), // 0: InputProperties |
| (*CIPDPackage)(nil), // 1: CIPDPackage |
| (*PreparationParams)(nil), // 2: PreparationParams |
| nil, // 3: InputProperties.TargetDimensionsEntry |
| } |
| var file_proto_input_proto_depIdxs = []int32{ |
| 1, // 0: InputProperties.cipd_packages:type_name -> CIPDPackage |
| 2, // 1: InputProperties.prepration_params:type_name -> PreparationParams |
| 3, // 2: InputProperties.target_dimensions:type_name -> InputProperties.TargetDimensionsEntry |
| 3, // [3:3] is the sub-list for method output_type |
| 3, // [3:3] is the sub-list for method input_type |
| 3, // [3:3] is the sub-list for extension type_name |
| 3, // [3:3] is the sub-list for extension extendee |
| 0, // [0:3] is the sub-list for field type_name |
| } |
| |
| func init() { file_proto_input_proto_init() } |
| func file_proto_input_proto_init() { |
| if File_proto_input_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_proto_input_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*InputProperties); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_proto_input_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CIPDPackage); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_proto_input_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*PreparationParams); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_proto_input_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 4, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_proto_input_proto_goTypes, |
| DependencyIndexes: file_proto_input_proto_depIdxs, |
| MessageInfos: file_proto_input_proto_msgTypes, |
| }.Build() |
| File_proto_input_proto = out.File |
| file_proto_input_proto_rawDesc = nil |
| file_proto_input_proto_goTypes = nil |
| file_proto_input_proto_depIdxs = nil |
| } |