| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.32.0 |
| // protoc v3.21.12 |
| // source: cabe/proto/v1/service.proto |
| |
| package proto |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| ) |
| |
| 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 GetAnalysisRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| PinpointJobId string `protobuf:"bytes,1,opt,name=pinpoint_job_id,json=pinpointJobId,proto3" json:"pinpoint_job_id,omitempty"` |
| // experiment_spec defines the experiment arms as well as which specific |
| // benchmarks and workloads it should expect to find in task result output |
| // files. If reality doesn't match the spec, CABE returns an error with |
| // some information about what didn't match the provided ExperimentSpec. |
| // |
| // If experiment_spec isn't set, CABE will infer one based on heuristics* |
| // and data available from Swarming and RBE-CAS at the time of the request. |
| // Note that this is best-effort and not guaranteed to do what the caller |
| // expects. If you have specific benchmarks and workloads that need to be |
| // either analyzed or cause errors if they are missing, you should specify an |
| // explicit experiment_spec value. |
| // |
| // *See infer_specs.go and infer_specs_test.go for implementation details. |
| ExperimentSpec *ExperimentSpec `protobuf:"bytes,2,opt,name=experiment_spec,json=experimentSpec,proto3" json:"experiment_spec,omitempty"` |
| } |
| |
| func (x *GetAnalysisRequest) Reset() { |
| *x = GetAnalysisRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_cabe_proto_v1_service_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetAnalysisRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetAnalysisRequest) ProtoMessage() {} |
| |
| func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_cabe_proto_v1_service_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 GetAnalysisRequest.ProtoReflect.Descriptor instead. |
| func (*GetAnalysisRequest) Descriptor() ([]byte, []int) { |
| return file_cabe_proto_v1_service_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *GetAnalysisRequest) GetPinpointJobId() string { |
| if x != nil { |
| return x.PinpointJobId |
| } |
| return "" |
| } |
| |
| func (x *GetAnalysisRequest) GetExperimentSpec() *ExperimentSpec { |
| if x != nil { |
| return x.ExperimentSpec |
| } |
| return nil |
| } |
| |
| type GetAnalysisResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Results []*AnalysisResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` |
| // If an experiment_spec was not included in the GetAnalysisRequest, |
| // cabe will apply some best-effort heuristics to infer an experiment |
| // specification based on swarming task metadata and contents of task |
| // output json files. The GetAnalysis method will attach whatever |
| // it was able to infer the experiment to this field. |
| InferredExperimentSpec *ExperimentSpec `protobuf:"bytes,2,opt,name=inferred_experiment_spec,json=inferredExperimentSpec,proto3" json:"inferred_experiment_spec,omitempty"` |
| // Extra information about the analysis and/or the process of generating |
| // the results. |
| Metadata *AnalysisMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| } |
| |
| func (x *GetAnalysisResponse) Reset() { |
| *x = GetAnalysisResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_cabe_proto_v1_service_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetAnalysisResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetAnalysisResponse) ProtoMessage() {} |
| |
| func (x *GetAnalysisResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_cabe_proto_v1_service_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 GetAnalysisResponse.ProtoReflect.Descriptor instead. |
| func (*GetAnalysisResponse) Descriptor() ([]byte, []int) { |
| return file_cabe_proto_v1_service_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *GetAnalysisResponse) GetResults() []*AnalysisResult { |
| if x != nil { |
| return x.Results |
| } |
| return nil |
| } |
| |
| func (x *GetAnalysisResponse) GetInferredExperimentSpec() *ExperimentSpec { |
| if x != nil { |
| return x.InferredExperimentSpec |
| } |
| return nil |
| } |
| |
| func (x *GetAnalysisResponse) GetMetadata() *AnalysisMetadata { |
| if x != nil { |
| return x.Metadata |
| } |
| return nil |
| } |
| |
| var File_cabe_proto_v1_service_proto protoreflect.FileDescriptor |
| |
| var file_cabe_proto_v1_service_proto_rawDesc = []byte{ |
| 0x0a, 0x1b, 0x63, 0x61, 0x62, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, |
| 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, |
| 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x61, 0x62, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x61, 0x62, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, |
| 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x12, |
| 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x69, 0x6e, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6a, |
| 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x69, 0x6e, |
| 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x65, 0x78, |
| 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, |
| 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, 0x65, 0x78, |
| 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x22, 0xd2, 0x01, 0x0a, |
| 0x13, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, |
| 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, |
| 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x18, 0x69, 0x6e, 0x66, 0x65, 0x72, |
| 0x72, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, |
| 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x61, 0x62, 0x65, |
| 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, |
| 0x65, 0x63, 0x52, 0x16, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x45, 0x78, 0x70, 0x65, |
| 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, |
| 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, |
| 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d, |
| 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, |
| 0x61, 0x32, 0x7b, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x6f, 0x0a, |
| 0x0b, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x1b, 0x2e, 0x63, |
| 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, |
| 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x62, 0x65, |
| 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, |
| 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, |
| 0x1d, 0x2f, 0x63, 0x61, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, |
| 0x69, 0x73, 0x2f, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x42, 0x21, |
| 0x5a, 0x1f, 0x67, 0x6f, 0x2e, 0x73, 0x6b, 0x69, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x69, 0x6e, |
| 0x66, 0x72, 0x61, 0x2f, 0x63, 0x61, 0x62, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_cabe_proto_v1_service_proto_rawDescOnce sync.Once |
| file_cabe_proto_v1_service_proto_rawDescData = file_cabe_proto_v1_service_proto_rawDesc |
| ) |
| |
| func file_cabe_proto_v1_service_proto_rawDescGZIP() []byte { |
| file_cabe_proto_v1_service_proto_rawDescOnce.Do(func() { |
| file_cabe_proto_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_cabe_proto_v1_service_proto_rawDescData) |
| }) |
| return file_cabe_proto_v1_service_proto_rawDescData |
| } |
| |
| var file_cabe_proto_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_cabe_proto_v1_service_proto_goTypes = []interface{}{ |
| (*GetAnalysisRequest)(nil), // 0: cabe.v1.GetAnalysisRequest |
| (*GetAnalysisResponse)(nil), // 1: cabe.v1.GetAnalysisResponse |
| (*ExperimentSpec)(nil), // 2: cabe.v1.ExperimentSpec |
| (*AnalysisResult)(nil), // 3: cabe.v1.AnalysisResult |
| (*AnalysisMetadata)(nil), // 4: cabe.v1.AnalysisMetadata |
| } |
| var file_cabe_proto_v1_service_proto_depIdxs = []int32{ |
| 2, // 0: cabe.v1.GetAnalysisRequest.experiment_spec:type_name -> cabe.v1.ExperimentSpec |
| 3, // 1: cabe.v1.GetAnalysisResponse.results:type_name -> cabe.v1.AnalysisResult |
| 2, // 2: cabe.v1.GetAnalysisResponse.inferred_experiment_spec:type_name -> cabe.v1.ExperimentSpec |
| 4, // 3: cabe.v1.GetAnalysisResponse.metadata:type_name -> cabe.v1.AnalysisMetadata |
| 0, // 4: cabe.v1.Analysis.GetAnalysis:input_type -> cabe.v1.GetAnalysisRequest |
| 1, // 5: cabe.v1.Analysis.GetAnalysis:output_type -> cabe.v1.GetAnalysisResponse |
| 5, // [5:6] is the sub-list for method output_type |
| 4, // [4:5] is the sub-list for method input_type |
| 4, // [4:4] is the sub-list for extension type_name |
| 4, // [4:4] is the sub-list for extension extendee |
| 0, // [0:4] is the sub-list for field type_name |
| } |
| |
| func init() { file_cabe_proto_v1_service_proto_init() } |
| func file_cabe_proto_v1_service_proto_init() { |
| if File_cabe_proto_v1_service_proto != nil { |
| return |
| } |
| file_cabe_proto_v1_analysis_proto_init() |
| file_cabe_proto_v1_spec_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_cabe_proto_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetAnalysisRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_cabe_proto_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetAnalysisResponse); 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_cabe_proto_v1_service_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_cabe_proto_v1_service_proto_goTypes, |
| DependencyIndexes: file_cabe_proto_v1_service_proto_depIdxs, |
| MessageInfos: file_cabe_proto_v1_service_proto_msgTypes, |
| }.Build() |
| File_cabe_proto_v1_service_proto = out.File |
| file_cabe_proto_v1_service_proto_rawDesc = nil |
| file_cabe_proto_v1_service_proto_goTypes = nil |
| file_cabe_proto_v1_service_proto_depIdxs = nil |
| } |