| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/skylab_tool/result.proto |
| |
| package skylab_tool |
| |
| 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 |
| |
| // WaitTaskResult describes the format returned by the `skylab wait-task` subcommand. |
| type WaitTaskResult struct { |
| Result *WaitTaskResult_Task `protobuf:"bytes,1,opt,name=result,json=task-result,proto3" json:"result,omitempty"` |
| Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` |
| ChildResults []*WaitTaskResult_Task `protobuf:"bytes,3,rep,name=child_results,json=child-results,proto3" json:"child_results,omitempty"` |
| LogDataUrl *WaitTaskResult_LogDataURL `protobuf:"bytes,4,opt,name=log_data_url,json=logDataUrl,proto3" json:"log_data_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WaitTaskResult) Reset() { *m = WaitTaskResult{} } |
| func (m *WaitTaskResult) String() string { return proto.CompactTextString(m) } |
| func (*WaitTaskResult) ProtoMessage() {} |
| func (*WaitTaskResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_febb2b9b7927acc2, []int{0} |
| } |
| |
| func (m *WaitTaskResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WaitTaskResult.Unmarshal(m, b) |
| } |
| func (m *WaitTaskResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WaitTaskResult.Marshal(b, m, deterministic) |
| } |
| func (m *WaitTaskResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WaitTaskResult.Merge(m, src) |
| } |
| func (m *WaitTaskResult) XXX_Size() int { |
| return xxx_messageInfo_WaitTaskResult.Size(m) |
| } |
| func (m *WaitTaskResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_WaitTaskResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WaitTaskResult proto.InternalMessageInfo |
| |
| func (m *WaitTaskResult) GetResult() *WaitTaskResult_Task { |
| if m != nil { |
| return m.Result |
| } |
| return nil |
| } |
| |
| func (m *WaitTaskResult) GetStdout() string { |
| if m != nil { |
| return m.Stdout |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult) GetChildResults() []*WaitTaskResult_Task { |
| if m != nil { |
| return m.ChildResults |
| } |
| return nil |
| } |
| |
| func (m *WaitTaskResult) GetLogDataUrl() *WaitTaskResult_LogDataURL { |
| if m != nil { |
| return m.LogDataUrl |
| } |
| return nil |
| } |
| |
| type WaitTaskResult_Task struct { |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` |
| // TODO(crbug.com/964573): Deprecate this field. |
| Failure bool `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty"` |
| Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` |
| // Note: These fields are a little problematic, because they are not independently |
| // meaningful to the caller; their meaning depends on the namespace (buildbucket vs. swarming) |
| // and, in the case of swarming, environment (dev vs. prod). |
| // Still, they are used by some clients, so preserved for now. |
| // Note the distinction between TaskRunID and TaskRequestID: in buildbucket runs, |
| // these will be equal. In swarming runs, they will differ in the last character |
| // (this is the difference between a swarming run id and request id). |
| TaskRunId string `protobuf:"bytes,5,opt,name=task_run_id,json=task-run-id,proto3" json:"task_run_id,omitempty"` |
| TaskRequestId string `protobuf:"bytes,6,opt,name=task_request_id,json=task-request-id,proto3" json:"task_request_id,omitempty"` |
| // Note: these URL fields are only populated for -bb runs; eventually, |
| // non-bb runs will be deprecated. |
| TaskRunUrl string `protobuf:"bytes,7,opt,name=task_run_url,json=task-run-url,proto3" json:"task_run_url,omitempty"` |
| TaskLogsUrl string `protobuf:"bytes,8,opt,name=task_logs_url,json=task-logs-url,proto3" json:"task_logs_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WaitTaskResult_Task) Reset() { *m = WaitTaskResult_Task{} } |
| func (m *WaitTaskResult_Task) String() string { return proto.CompactTextString(m) } |
| func (*WaitTaskResult_Task) ProtoMessage() {} |
| func (*WaitTaskResult_Task) Descriptor() ([]byte, []int) { |
| return fileDescriptor_febb2b9b7927acc2, []int{0, 0} |
| } |
| |
| func (m *WaitTaskResult_Task) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WaitTaskResult_Task.Unmarshal(m, b) |
| } |
| func (m *WaitTaskResult_Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WaitTaskResult_Task.Marshal(b, m, deterministic) |
| } |
| func (m *WaitTaskResult_Task) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WaitTaskResult_Task.Merge(m, src) |
| } |
| func (m *WaitTaskResult_Task) XXX_Size() int { |
| return xxx_messageInfo_WaitTaskResult_Task.Size(m) |
| } |
| func (m *WaitTaskResult_Task) XXX_DiscardUnknown() { |
| xxx_messageInfo_WaitTaskResult_Task.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WaitTaskResult_Task proto.InternalMessageInfo |
| |
| func (m *WaitTaskResult_Task) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult_Task) GetState() string { |
| if m != nil { |
| return m.State |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult_Task) GetFailure() bool { |
| if m != nil { |
| return m.Failure |
| } |
| return false |
| } |
| |
| func (m *WaitTaskResult_Task) GetSuccess() bool { |
| if m != nil { |
| return m.Success |
| } |
| return false |
| } |
| |
| func (m *WaitTaskResult_Task) GetTaskRunId() string { |
| if m != nil { |
| return m.TaskRunId |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult_Task) GetTaskRequestId() string { |
| if m != nil { |
| return m.TaskRequestId |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult_Task) GetTaskRunUrl() string { |
| if m != nil { |
| return m.TaskRunUrl |
| } |
| return "" |
| } |
| |
| func (m *WaitTaskResult_Task) GetTaskLogsUrl() string { |
| if m != nil { |
| return m.TaskLogsUrl |
| } |
| return "" |
| } |
| |
| type WaitTaskResult_LogDataURL struct { |
| IsolateUrl string `protobuf:"bytes,1,opt,name=isolate_url,json=isolateUrl,proto3" json:"isolate_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WaitTaskResult_LogDataURL) Reset() { *m = WaitTaskResult_LogDataURL{} } |
| func (m *WaitTaskResult_LogDataURL) String() string { return proto.CompactTextString(m) } |
| func (*WaitTaskResult_LogDataURL) ProtoMessage() {} |
| func (*WaitTaskResult_LogDataURL) Descriptor() ([]byte, []int) { |
| return fileDescriptor_febb2b9b7927acc2, []int{0, 1} |
| } |
| |
| func (m *WaitTaskResult_LogDataURL) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WaitTaskResult_LogDataURL.Unmarshal(m, b) |
| } |
| func (m *WaitTaskResult_LogDataURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WaitTaskResult_LogDataURL.Marshal(b, m, deterministic) |
| } |
| func (m *WaitTaskResult_LogDataURL) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WaitTaskResult_LogDataURL.Merge(m, src) |
| } |
| func (m *WaitTaskResult_LogDataURL) XXX_Size() int { |
| return xxx_messageInfo_WaitTaskResult_LogDataURL.Size(m) |
| } |
| func (m *WaitTaskResult_LogDataURL) XXX_DiscardUnknown() { |
| xxx_messageInfo_WaitTaskResult_LogDataURL.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WaitTaskResult_LogDataURL proto.InternalMessageInfo |
| |
| func (m *WaitTaskResult_LogDataURL) GetIsolateUrl() string { |
| if m != nil { |
| return m.IsolateUrl |
| } |
| return "" |
| } |
| |
| // WaitTasksResult describes the format returned by the `skylab wait-tasks` subcommand. |
| type WaitTasksResult struct { |
| Results []*WaitTaskResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` |
| // True if an error or timeout was encountered while waiting for tasks |
| // to complete. |
| Incomplete bool `protobuf:"varint,2,opt,name=incomplete,proto3" json:"incomplete,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WaitTasksResult) Reset() { *m = WaitTasksResult{} } |
| func (m *WaitTasksResult) String() string { return proto.CompactTextString(m) } |
| func (*WaitTasksResult) ProtoMessage() {} |
| func (*WaitTasksResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_febb2b9b7927acc2, []int{1} |
| } |
| |
| func (m *WaitTasksResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WaitTasksResult.Unmarshal(m, b) |
| } |
| func (m *WaitTasksResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WaitTasksResult.Marshal(b, m, deterministic) |
| } |
| func (m *WaitTasksResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WaitTasksResult.Merge(m, src) |
| } |
| func (m *WaitTasksResult) XXX_Size() int { |
| return xxx_messageInfo_WaitTasksResult.Size(m) |
| } |
| func (m *WaitTasksResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_WaitTasksResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WaitTasksResult proto.InternalMessageInfo |
| |
| func (m *WaitTasksResult) GetResults() []*WaitTaskResult { |
| if m != nil { |
| return m.Results |
| } |
| return nil |
| } |
| |
| func (m *WaitTasksResult) GetIncomplete() bool { |
| if m != nil { |
| return m.Incomplete |
| } |
| return false |
| } |
| |
| func init() { |
| proto.RegisterType((*WaitTaskResult)(nil), "test_platform.skylab_tool.WaitTaskResult") |
| proto.RegisterType((*WaitTaskResult_Task)(nil), "test_platform.skylab_tool.WaitTaskResult.Task") |
| proto.RegisterType((*WaitTaskResult_LogDataURL)(nil), "test_platform.skylab_tool.WaitTaskResult.LogDataURL") |
| proto.RegisterType((*WaitTasksResult)(nil), "test_platform.skylab_tool.WaitTasksResult") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/skylab_tool/result.proto", fileDescriptor_febb2b9b7927acc2) |
| } |
| |
| var fileDescriptor_febb2b9b7927acc2 = []byte{ |
| // 431 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6f, 0xd3, 0x30, |
| 0x14, 0xc7, 0x15, 0xda, 0xb5, 0xdd, 0x6b, 0x47, 0x25, 0x0b, 0xa1, 0xb0, 0x03, 0x44, 0x15, 0x42, |
| 0xe5, 0x10, 0x47, 0x02, 0x3e, 0x01, 0x83, 0x13, 0x3b, 0x59, 0x1b, 0x48, 0x5c, 0x22, 0x2f, 0x71, |
| 0x33, 0xab, 0x4e, 0x5c, 0xfc, 0x6c, 0x24, 0x3e, 0x25, 0xdf, 0x87, 0x13, 0xca, 0x8b, 0x33, 0xb6, |
| 0xc3, 0xa4, 0x8a, 0x9b, 0xdf, 0xeb, 0xef, 0xff, 0x77, 0xdf, 0xff, 0xc5, 0xf0, 0xc6, 0x2b, 0xf4, |
| 0xe5, 0xc1, 0x48, 0xbf, 0xb3, 0xae, 0x2d, 0x70, 0xff, 0xcb, 0xc8, 0x9b, 0xd2, 0x5b, 0x6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