| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: testing.proto |
| |
| package protocol |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| duration "github.com/golang/protobuf/ptypes/duration" |
| timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| 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 |
| |
| // EntityType represents a type of an entity. |
| type EntityType int32 |
| |
| const ( |
| EntityType_TEST EntityType = 0 |
| EntityType_FIXTURE EntityType = 1 |
| ) |
| |
| var EntityType_name = map[int32]string{ |
| 0: "TEST", |
| 1: "FIXTURE", |
| } |
| |
| var EntityType_value = map[string]int32{ |
| "TEST": 0, |
| "FIXTURE": 1, |
| } |
| |
| func (x EntityType) String() string { |
| return proto.EnumName(EntityType_name, int32(x)) |
| } |
| |
| func (EntityType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{0} |
| } |
| |
| // DownloadMode specifies a strategy to download external data files. |
| type DownloadMode int32 |
| |
| const ( |
| // BATCH specifies that test bundles should download external data files |
| // in batch before running tests. |
| DownloadMode_BATCH DownloadMode = 0 |
| // LAZY specifies that test bundles should download external data files |
| // as needed between tests. |
| DownloadMode_LAZY DownloadMode = 1 |
| ) |
| |
| var DownloadMode_name = map[int32]string{ |
| 0: "BATCH", |
| 1: "LAZY", |
| } |
| |
| var DownloadMode_value = map[string]int32{ |
| "BATCH": 0, |
| "LAZY": 1, |
| } |
| |
| func (x DownloadMode) String() string { |
| return proto.EnumName(DownloadMode_name, int32(x)) |
| } |
| |
| func (DownloadMode) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{1} |
| } |
| |
| type ListEntitiesRequest struct { |
| Features *Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListEntitiesRequest) Reset() { *m = ListEntitiesRequest{} } |
| func (m *ListEntitiesRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListEntitiesRequest) ProtoMessage() {} |
| func (*ListEntitiesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{0} |
| } |
| |
| func (m *ListEntitiesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListEntitiesRequest.Unmarshal(m, b) |
| } |
| func (m *ListEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListEntitiesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *ListEntitiesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListEntitiesRequest.Merge(m, src) |
| } |
| func (m *ListEntitiesRequest) XXX_Size() int { |
| return xxx_messageInfo_ListEntitiesRequest.Size(m) |
| } |
| func (m *ListEntitiesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListEntitiesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListEntitiesRequest proto.InternalMessageInfo |
| |
| func (m *ListEntitiesRequest) GetFeatures() *Features { |
| if m != nil { |
| return m.Features |
| } |
| return nil |
| } |
| |
| type ListEntitiesResponse struct { |
| // Entities is a list of entities available on the server. The order of |
| // entities is unspecified. |
| Entities []*ResolvedEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListEntitiesResponse) Reset() { *m = ListEntitiesResponse{} } |
| func (m *ListEntitiesResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListEntitiesResponse) ProtoMessage() {} |
| func (*ListEntitiesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{1} |
| } |
| |
| func (m *ListEntitiesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListEntitiesResponse.Unmarshal(m, b) |
| } |
| func (m *ListEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListEntitiesResponse.Marshal(b, m, deterministic) |
| } |
| func (m *ListEntitiesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListEntitiesResponse.Merge(m, src) |
| } |
| func (m *ListEntitiesResponse) XXX_Size() int { |
| return xxx_messageInfo_ListEntitiesResponse.Size(m) |
| } |
| func (m *ListEntitiesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListEntitiesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListEntitiesResponse proto.InternalMessageInfo |
| |
| func (m *ListEntitiesResponse) GetEntities() []*ResolvedEntity { |
| if m != nil { |
| return m.Entities |
| } |
| return nil |
| } |
| |
| type RunTestsRequest struct { |
| // Types that are valid to be assigned to Type: |
| // *RunTestsRequest_RunTestsInit |
| Type isRunTestsRequest_Type `protobuf_oneof:"type"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunTestsRequest) Reset() { *m = RunTestsRequest{} } |
| func (m *RunTestsRequest) String() string { return proto.CompactTextString(m) } |
| func (*RunTestsRequest) ProtoMessage() {} |
| func (*RunTestsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{2} |
| } |
| |
| func (m *RunTestsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunTestsRequest.Unmarshal(m, b) |
| } |
| func (m *RunTestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunTestsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *RunTestsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunTestsRequest.Merge(m, src) |
| } |
| func (m *RunTestsRequest) XXX_Size() int { |
| return xxx_messageInfo_RunTestsRequest.Size(m) |
| } |
| func (m *RunTestsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunTestsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunTestsRequest proto.InternalMessageInfo |
| |
| type isRunTestsRequest_Type interface { |
| isRunTestsRequest_Type() |
| } |
| |
| type RunTestsRequest_RunTestsInit struct { |
| RunTestsInit *RunTestsInit `protobuf:"bytes,1,opt,name=run_tests_init,json=runTestsInit,proto3,oneof"` |
| } |
| |
| func (*RunTestsRequest_RunTestsInit) isRunTestsRequest_Type() {} |
| |
| func (m *RunTestsRequest) GetType() isRunTestsRequest_Type { |
| if m != nil { |
| return m.Type |
| } |
| return nil |
| } |
| |
| func (m *RunTestsRequest) GetRunTestsInit() *RunTestsInit { |
| if x, ok := m.GetType().(*RunTestsRequest_RunTestsInit); ok { |
| return x.RunTestsInit |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*RunTestsRequest) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*RunTestsRequest_RunTestsInit)(nil), |
| } |
| } |
| |
| type RunTestsResponse struct { |
| // Types that are valid to be assigned to Type: |
| // *RunTestsResponse_RunLog |
| // *RunTestsResponse_EntityStart |
| // *RunTestsResponse_EntityLog |
| // *RunTestsResponse_EntityError |
| // *RunTestsResponse_EntityEnd |
| Type isRunTestsResponse_Type `protobuf_oneof:"type"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunTestsResponse) Reset() { *m = RunTestsResponse{} } |
| func (m *RunTestsResponse) String() string { return proto.CompactTextString(m) } |
| func (*RunTestsResponse) ProtoMessage() {} |
| func (*RunTestsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{3} |
| } |
| |
| func (m *RunTestsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunTestsResponse.Unmarshal(m, b) |
| } |
| func (m *RunTestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunTestsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *RunTestsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunTestsResponse.Merge(m, src) |
| } |
| func (m *RunTestsResponse) XXX_Size() int { |
| return xxx_messageInfo_RunTestsResponse.Size(m) |
| } |
| func (m *RunTestsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunTestsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunTestsResponse proto.InternalMessageInfo |
| |
| type isRunTestsResponse_Type interface { |
| isRunTestsResponse_Type() |
| } |
| |
| type RunTestsResponse_RunLog struct { |
| RunLog *RunLogEvent `protobuf:"bytes,1,opt,name=run_log,json=runLog,proto3,oneof"` |
| } |
| |
| type RunTestsResponse_EntityStart struct { |
| EntityStart *EntityStartEvent `protobuf:"bytes,2,opt,name=entity_start,json=entityStart,proto3,oneof"` |
| } |
| |
| type RunTestsResponse_EntityLog struct { |
| EntityLog *EntityLogEvent `protobuf:"bytes,3,opt,name=entity_log,json=entityLog,proto3,oneof"` |
| } |
| |
| type RunTestsResponse_EntityError struct { |
| EntityError *EntityErrorEvent `protobuf:"bytes,4,opt,name=entity_error,json=entityError,proto3,oneof"` |
| } |
| |
| type RunTestsResponse_EntityEnd struct { |
| EntityEnd *EntityEndEvent `protobuf:"bytes,5,opt,name=entity_end,json=entityEnd,proto3,oneof"` |
| } |
| |
| func (*RunTestsResponse_RunLog) isRunTestsResponse_Type() {} |
| |
| func (*RunTestsResponse_EntityStart) isRunTestsResponse_Type() {} |
| |
| func (*RunTestsResponse_EntityLog) isRunTestsResponse_Type() {} |
| |
| func (*RunTestsResponse_EntityError) isRunTestsResponse_Type() {} |
| |
| func (*RunTestsResponse_EntityEnd) isRunTestsResponse_Type() {} |
| |
| func (m *RunTestsResponse) GetType() isRunTestsResponse_Type { |
| if m != nil { |
| return m.Type |
| } |
| return nil |
| } |
| |
| func (m *RunTestsResponse) GetRunLog() *RunLogEvent { |
| if x, ok := m.GetType().(*RunTestsResponse_RunLog); ok { |
| return x.RunLog |
| } |
| return nil |
| } |
| |
| func (m *RunTestsResponse) GetEntityStart() *EntityStartEvent { |
| if x, ok := m.GetType().(*RunTestsResponse_EntityStart); ok { |
| return x.EntityStart |
| } |
| return nil |
| } |
| |
| func (m *RunTestsResponse) GetEntityLog() *EntityLogEvent { |
| if x, ok := m.GetType().(*RunTestsResponse_EntityLog); ok { |
| return x.EntityLog |
| } |
| return nil |
| } |
| |
| func (m *RunTestsResponse) GetEntityError() *EntityErrorEvent { |
| if x, ok := m.GetType().(*RunTestsResponse_EntityError); ok { |
| return x.EntityError |
| } |
| return nil |
| } |
| |
| func (m *RunTestsResponse) GetEntityEnd() *EntityEndEvent { |
| if x, ok := m.GetType().(*RunTestsResponse_EntityEnd); ok { |
| return x.EntityEnd |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*RunTestsResponse) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*RunTestsResponse_RunLog)(nil), |
| (*RunTestsResponse_EntityStart)(nil), |
| (*RunTestsResponse_EntityLog)(nil), |
| (*RunTestsResponse_EntityError)(nil), |
| (*RunTestsResponse_EntityEnd)(nil), |
| } |
| } |
| |
| type GetDUTInfoRequest struct { |
| // ExtraUseFlags lists USE flags that should be treated as being set in |
| // addition to the ones read from USEFlagsFile when computing the feature sets |
| // for GetDUTInfoResponse. |
| ExtraUseFlags []string `protobuf:"bytes,1,rep,name=extra_use_flags,json=extraUseFlags,proto3" json:"extra_use_flags,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDUTInfoRequest) Reset() { *m = GetDUTInfoRequest{} } |
| func (m *GetDUTInfoRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetDUTInfoRequest) ProtoMessage() {} |
| func (*GetDUTInfoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{4} |
| } |
| |
| func (m *GetDUTInfoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDUTInfoRequest.Unmarshal(m, b) |
| } |
| func (m *GetDUTInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDUTInfoRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetDUTInfoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDUTInfoRequest.Merge(m, src) |
| } |
| func (m *GetDUTInfoRequest) XXX_Size() int { |
| return xxx_messageInfo_GetDUTInfoRequest.Size(m) |
| } |
| func (m *GetDUTInfoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDUTInfoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDUTInfoRequest proto.InternalMessageInfo |
| |
| func (m *GetDUTInfoRequest) GetExtraUseFlags() []string { |
| if m != nil { |
| return m.ExtraUseFlags |
| } |
| return nil |
| } |
| |
| type GetDUTInfoResponse struct { |
| DutInfo *DUTInfo `protobuf:"bytes,1,opt,name=dut_info,json=dutInfo,proto3" json:"dut_info,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDUTInfoResponse) Reset() { *m = GetDUTInfoResponse{} } |
| func (m *GetDUTInfoResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetDUTInfoResponse) ProtoMessage() {} |
| func (*GetDUTInfoResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{5} |
| } |
| |
| func (m *GetDUTInfoResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDUTInfoResponse.Unmarshal(m, b) |
| } |
| func (m *GetDUTInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDUTInfoResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetDUTInfoResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDUTInfoResponse.Merge(m, src) |
| } |
| func (m *GetDUTInfoResponse) XXX_Size() int { |
| return xxx_messageInfo_GetDUTInfoResponse.Size(m) |
| } |
| func (m *GetDUTInfoResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDUTInfoResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDUTInfoResponse proto.InternalMessageInfo |
| |
| func (m *GetDUTInfoResponse) GetDutInfo() *DUTInfo { |
| if m != nil { |
| return m.DutInfo |
| } |
| return nil |
| } |
| |
| type GetSysInfoStateRequest struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetSysInfoStateRequest) Reset() { *m = GetSysInfoStateRequest{} } |
| func (m *GetSysInfoStateRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetSysInfoStateRequest) ProtoMessage() {} |
| func (*GetSysInfoStateRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{6} |
| } |
| |
| func (m *GetSysInfoStateRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetSysInfoStateRequest.Unmarshal(m, b) |
| } |
| func (m *GetSysInfoStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetSysInfoStateRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetSysInfoStateRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetSysInfoStateRequest.Merge(m, src) |
| } |
| func (m *GetSysInfoStateRequest) XXX_Size() int { |
| return xxx_messageInfo_GetSysInfoStateRequest.Size(m) |
| } |
| func (m *GetSysInfoStateRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetSysInfoStateRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetSysInfoStateRequest proto.InternalMessageInfo |
| |
| type GetSysInfoStateResponse struct { |
| // State contains the collected sysinfo state. |
| State *SysInfoState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetSysInfoStateResponse) Reset() { *m = GetSysInfoStateResponse{} } |
| func (m *GetSysInfoStateResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetSysInfoStateResponse) ProtoMessage() {} |
| func (*GetSysInfoStateResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{7} |
| } |
| |
| func (m *GetSysInfoStateResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetSysInfoStateResponse.Unmarshal(m, b) |
| } |
| func (m *GetSysInfoStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetSysInfoStateResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetSysInfoStateResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetSysInfoStateResponse.Merge(m, src) |
| } |
| func (m *GetSysInfoStateResponse) XXX_Size() int { |
| return xxx_messageInfo_GetSysInfoStateResponse.Size(m) |
| } |
| func (m *GetSysInfoStateResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetSysInfoStateResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetSysInfoStateResponse proto.InternalMessageInfo |
| |
| func (m *GetSysInfoStateResponse) GetState() *SysInfoState { |
| if m != nil { |
| return m.State |
| } |
| return nil |
| } |
| |
| type CollectSysInfoRequest struct { |
| // InitialState describes the pre-testing state of the DUT. It should be |
| // generated by the GetSysInfoState method executed before tests are run. |
| InitialState *SysInfoState `protobuf:"bytes,1,opt,name=initial_state,json=initialState,proto3" json:"initial_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CollectSysInfoRequest) Reset() { *m = CollectSysInfoRequest{} } |
| func (m *CollectSysInfoRequest) String() string { return proto.CompactTextString(m) } |
| func (*CollectSysInfoRequest) ProtoMessage() {} |
| func (*CollectSysInfoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{8} |
| } |
| |
| func (m *CollectSysInfoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CollectSysInfoRequest.Unmarshal(m, b) |
| } |
| func (m *CollectSysInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CollectSysInfoRequest.Marshal(b, m, deterministic) |
| } |
| func (m *CollectSysInfoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CollectSysInfoRequest.Merge(m, src) |
| } |
| func (m *CollectSysInfoRequest) XXX_Size() int { |
| return xxx_messageInfo_CollectSysInfoRequest.Size(m) |
| } |
| func (m *CollectSysInfoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CollectSysInfoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CollectSysInfoRequest proto.InternalMessageInfo |
| |
| func (m *CollectSysInfoRequest) GetInitialState() *SysInfoState { |
| if m != nil { |
| return m.InitialState |
| } |
| return nil |
| } |
| |
| type CollectSysInfoResponse struct { |
| // LogDir is the directory which log files were copied to. The caller should |
| // delete it. |
| LogDir string `protobuf:"bytes,1,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"` |
| // CrashDir is the directory which minidump crash files were copied to. The |
| // caller should delete it. |
| CrashDir string `protobuf:"bytes,2,opt,name=crash_dir,json=crashDir,proto3" json:"crash_dir,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CollectSysInfoResponse) Reset() { *m = CollectSysInfoResponse{} } |
| func (m *CollectSysInfoResponse) String() string { return proto.CompactTextString(m) } |
| func (*CollectSysInfoResponse) ProtoMessage() {} |
| func (*CollectSysInfoResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{9} |
| } |
| |
| func (m *CollectSysInfoResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CollectSysInfoResponse.Unmarshal(m, b) |
| } |
| func (m *CollectSysInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CollectSysInfoResponse.Marshal(b, m, deterministic) |
| } |
| func (m *CollectSysInfoResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CollectSysInfoResponse.Merge(m, src) |
| } |
| func (m *CollectSysInfoResponse) XXX_Size() int { |
| return xxx_messageInfo_CollectSysInfoResponse.Size(m) |
| } |
| func (m *CollectSysInfoResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_CollectSysInfoResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CollectSysInfoResponse proto.InternalMessageInfo |
| |
| func (m *CollectSysInfoResponse) GetLogDir() string { |
| if m != nil { |
| return m.LogDir |
| } |
| return "" |
| } |
| |
| func (m *CollectSysInfoResponse) GetCrashDir() string { |
| if m != nil { |
| return m.CrashDir |
| } |
| return "" |
| } |
| |
| type DownloadPrivateBundlesRequest struct { |
| // ServiceConfig contains information needed to connect to the service |
| // provided by infrastructure system. |
| ServiceConfig *ServiceConfig `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"` |
| // BuildArtifactsUrl is the URL of Google Cloud Storage directory, ending with |
| // a slash, containing build artifacts for the current Chrome OS image. |
| // If it is empty, DefaultBuildArtifactsURL in runner.Config is used. |
| BuildArtifactUrl string `protobuf:"bytes,2,opt,name=build_artifact_url,json=buildArtifactUrl,proto3" json:"build_artifact_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DownloadPrivateBundlesRequest) Reset() { *m = DownloadPrivateBundlesRequest{} } |
| func (m *DownloadPrivateBundlesRequest) String() string { return proto.CompactTextString(m) } |
| func (*DownloadPrivateBundlesRequest) ProtoMessage() {} |
| func (*DownloadPrivateBundlesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{10} |
| } |
| |
| func (m *DownloadPrivateBundlesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DownloadPrivateBundlesRequest.Unmarshal(m, b) |
| } |
| func (m *DownloadPrivateBundlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DownloadPrivateBundlesRequest.Marshal(b, m, deterministic) |
| } |
| func (m *DownloadPrivateBundlesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DownloadPrivateBundlesRequest.Merge(m, src) |
| } |
| func (m *DownloadPrivateBundlesRequest) XXX_Size() int { |
| return xxx_messageInfo_DownloadPrivateBundlesRequest.Size(m) |
| } |
| func (m *DownloadPrivateBundlesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DownloadPrivateBundlesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DownloadPrivateBundlesRequest proto.InternalMessageInfo |
| |
| func (m *DownloadPrivateBundlesRequest) GetServiceConfig() *ServiceConfig { |
| if m != nil { |
| return m.ServiceConfig |
| } |
| return nil |
| } |
| |
| func (m *DownloadPrivateBundlesRequest) GetBuildArtifactUrl() string { |
| if m != nil { |
| return m.BuildArtifactUrl |
| } |
| return "" |
| } |
| |
| type DownloadPrivateBundlesResponse struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DownloadPrivateBundlesResponse) Reset() { *m = DownloadPrivateBundlesResponse{} } |
| func (m *DownloadPrivateBundlesResponse) String() string { return proto.CompactTextString(m) } |
| func (*DownloadPrivateBundlesResponse) ProtoMessage() {} |
| func (*DownloadPrivateBundlesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{11} |
| } |
| |
| func (m *DownloadPrivateBundlesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DownloadPrivateBundlesResponse.Unmarshal(m, b) |
| } |
| func (m *DownloadPrivateBundlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DownloadPrivateBundlesResponse.Marshal(b, m, deterministic) |
| } |
| func (m *DownloadPrivateBundlesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DownloadPrivateBundlesResponse.Merge(m, src) |
| } |
| func (m *DownloadPrivateBundlesResponse) XXX_Size() int { |
| return xxx_messageInfo_DownloadPrivateBundlesResponse.Size(m) |
| } |
| func (m *DownloadPrivateBundlesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_DownloadPrivateBundlesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DownloadPrivateBundlesResponse proto.InternalMessageInfo |
| |
| // Entity describes an entity. |
| type Entity struct { |
| Type EntityType `protobuf:"varint,1,opt,name=type,proto3,enum=tast.core.EntityType" json:"type,omitempty"` |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"` |
| Attributes []string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` |
| Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| Fixture string `protobuf:"bytes,6,opt,name=fixture,proto3" json:"fixture,omitempty"` |
| Dependencies *EntityDependencies `protobuf:"bytes,7,opt,name=dependencies,proto3" json:"dependencies,omitempty"` |
| Contacts *EntityContacts `protobuf:"bytes,8,opt,name=contacts,proto3" json:"contacts,omitempty"` |
| LegacyData *EntityLegacyData `protobuf:"bytes,9,opt,name=legacy_data,json=legacyData,proto3" json:"legacy_data,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Entity) Reset() { *m = Entity{} } |
| func (m *Entity) String() string { return proto.CompactTextString(m) } |
| func (*Entity) ProtoMessage() {} |
| func (*Entity) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{12} |
| } |
| |
| func (m *Entity) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Entity.Unmarshal(m, b) |
| } |
| func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Entity.Marshal(b, m, deterministic) |
| } |
| func (m *Entity) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Entity.Merge(m, src) |
| } |
| func (m *Entity) XXX_Size() int { |
| return xxx_messageInfo_Entity.Size(m) |
| } |
| func (m *Entity) XXX_DiscardUnknown() { |
| xxx_messageInfo_Entity.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Entity proto.InternalMessageInfo |
| |
| func (m *Entity) GetType() EntityType { |
| if m != nil { |
| return m.Type |
| } |
| return EntityType_TEST |
| } |
| |
| func (m *Entity) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Entity) GetPackage() string { |
| if m != nil { |
| return m.Package |
| } |
| return "" |
| } |
| |
| func (m *Entity) GetAttributes() []string { |
| if m != nil { |
| return m.Attributes |
| } |
| return nil |
| } |
| |
| func (m *Entity) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func (m *Entity) GetFixture() string { |
| if m != nil { |
| return m.Fixture |
| } |
| return "" |
| } |
| |
| func (m *Entity) GetDependencies() *EntityDependencies { |
| if m != nil { |
| return m.Dependencies |
| } |
| return nil |
| } |
| |
| func (m *Entity) GetContacts() *EntityContacts { |
| if m != nil { |
| return m.Contacts |
| } |
| return nil |
| } |
| |
| func (m *Entity) GetLegacyData() *EntityLegacyData { |
| if m != nil { |
| return m.LegacyData |
| } |
| return nil |
| } |
| |
| // EntityContacts contains contact information of an entity. |
| type EntityContacts struct { |
| Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityContacts) Reset() { *m = EntityContacts{} } |
| func (m *EntityContacts) String() string { return proto.CompactTextString(m) } |
| func (*EntityContacts) ProtoMessage() {} |
| func (*EntityContacts) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{13} |
| } |
| |
| func (m *EntityContacts) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityContacts.Unmarshal(m, b) |
| } |
| func (m *EntityContacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityContacts.Marshal(b, m, deterministic) |
| } |
| func (m *EntityContacts) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityContacts.Merge(m, src) |
| } |
| func (m *EntityContacts) XXX_Size() int { |
| return xxx_messageInfo_EntityContacts.Size(m) |
| } |
| func (m *EntityContacts) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityContacts.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityContacts proto.InternalMessageInfo |
| |
| func (m *EntityContacts) GetEmails() []string { |
| if m != nil { |
| return m.Emails |
| } |
| return nil |
| } |
| |
| // EntityDependencies describes dependencies of an entity that need to be |
| // evaluated before running it. |
| type EntityDependencies struct { |
| DataFiles []string `protobuf:"bytes,1,rep,name=data_files,json=dataFiles,proto3" json:"data_files,omitempty"` |
| Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityDependencies) Reset() { *m = EntityDependencies{} } |
| func (m *EntityDependencies) String() string { return proto.CompactTextString(m) } |
| func (*EntityDependencies) ProtoMessage() {} |
| func (*EntityDependencies) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{14} |
| } |
| |
| func (m *EntityDependencies) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityDependencies.Unmarshal(m, b) |
| } |
| func (m *EntityDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityDependencies.Marshal(b, m, deterministic) |
| } |
| func (m *EntityDependencies) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityDependencies.Merge(m, src) |
| } |
| func (m *EntityDependencies) XXX_Size() int { |
| return xxx_messageInfo_EntityDependencies.Size(m) |
| } |
| func (m *EntityDependencies) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityDependencies.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityDependencies proto.InternalMessageInfo |
| |
| func (m *EntityDependencies) GetDataFiles() []string { |
| if m != nil { |
| return m.DataFiles |
| } |
| return nil |
| } |
| |
| func (m *EntityDependencies) GetServices() []string { |
| if m != nil { |
| return m.Services |
| } |
| return nil |
| } |
| |
| // EntityLegacyData contains extra information of an entity. |
| // Fields in this message are considered legacy because test bundles need to |
| // send these fields to Tast CLI just because they are made available in |
| // results.json for compatibility reasons. |
| type EntityLegacyData struct { |
| Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` |
| Variables []string `protobuf:"bytes,2,rep,name=variables,proto3" json:"variables,omitempty"` |
| VariableDeps []string `protobuf:"bytes,3,rep,name=variable_deps,json=variableDeps,proto3" json:"variable_deps,omitempty"` |
| SoftwareDeps []string `protobuf:"bytes,4,rep,name=software_deps,json=softwareDeps,proto3" json:"software_deps,omitempty"` |
| Bundle string `protobuf:"bytes,5,opt,name=bundle,proto3" json:"bundle,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityLegacyData) Reset() { *m = EntityLegacyData{} } |
| func (m *EntityLegacyData) String() string { return proto.CompactTextString(m) } |
| func (*EntityLegacyData) ProtoMessage() {} |
| func (*EntityLegacyData) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{15} |
| } |
| |
| func (m *EntityLegacyData) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityLegacyData.Unmarshal(m, b) |
| } |
| func (m *EntityLegacyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityLegacyData.Marshal(b, m, deterministic) |
| } |
| func (m *EntityLegacyData) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityLegacyData.Merge(m, src) |
| } |
| func (m *EntityLegacyData) XXX_Size() int { |
| return xxx_messageInfo_EntityLegacyData.Size(m) |
| } |
| func (m *EntityLegacyData) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityLegacyData.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityLegacyData proto.InternalMessageInfo |
| |
| func (m *EntityLegacyData) GetTimeout() *duration.Duration { |
| if m != nil { |
| return m.Timeout |
| } |
| return nil |
| } |
| |
| func (m *EntityLegacyData) GetVariables() []string { |
| if m != nil { |
| return m.Variables |
| } |
| return nil |
| } |
| |
| func (m *EntityLegacyData) GetVariableDeps() []string { |
| if m != nil { |
| return m.VariableDeps |
| } |
| return nil |
| } |
| |
| func (m *EntityLegacyData) GetSoftwareDeps() []string { |
| if m != nil { |
| return m.SoftwareDeps |
| } |
| return nil |
| } |
| |
| func (m *EntityLegacyData) GetBundle() string { |
| if m != nil { |
| return m.Bundle |
| } |
| return "" |
| } |
| |
| type RunTestsInit struct { |
| RunConfig *RunConfig `protobuf:"bytes,1,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunTestsInit) Reset() { *m = RunTestsInit{} } |
| func (m *RunTestsInit) String() string { return proto.CompactTextString(m) } |
| func (*RunTestsInit) ProtoMessage() {} |
| func (*RunTestsInit) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{16} |
| } |
| |
| func (m *RunTestsInit) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunTestsInit.Unmarshal(m, b) |
| } |
| func (m *RunTestsInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunTestsInit.Marshal(b, m, deterministic) |
| } |
| func (m *RunTestsInit) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunTestsInit.Merge(m, src) |
| } |
| func (m *RunTestsInit) XXX_Size() int { |
| return xxx_messageInfo_RunTestsInit.Size(m) |
| } |
| func (m *RunTestsInit) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunTestsInit.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunTestsInit proto.InternalMessageInfo |
| |
| func (m *RunTestsInit) GetRunConfig() *RunConfig { |
| if m != nil { |
| return m.RunConfig |
| } |
| return nil |
| } |
| |
| // RunConfig contains parameters needed to run tests in a test bundle. |
| type RunConfig struct { |
| // Tests is a list of test names to be run. Wildcards are not allowed. |
| Tests []string `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"` |
| Dirs *RunDirectories `protobuf:"bytes,2,opt,name=dirs,proto3" json:"dirs,omitempty"` |
| Features *Features `protobuf:"bytes,3,opt,name=features,proto3" json:"features,omitempty"` |
| ServiceConfig *ServiceConfig `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"` |
| DataFileConfig *DataFileConfig `protobuf:"bytes,5,opt,name=data_file_config,json=dataFileConfig,proto3" json:"data_file_config,omitempty"` |
| RemoteTestConfig *RemoteTestConfig `protobuf:"bytes,6,opt,name=remote_test_config,json=remoteTestConfig,proto3" json:"remote_test_config,omitempty"` |
| StartFixtureState *StartFixtureState `protobuf:"bytes,7,opt,name=start_fixture_state,json=startFixtureState,proto3" json:"start_fixture_state,omitempty"` |
| // HeartbeatInterval is the interval in seconds at which heartbeat messages |
| // are sent back periodically from runners (before running bundles) and |
| // bundles. If this value is not positive, heartbeat messages are not sent. |
| // TODO(crbug.com/1128259): Remove this field once we fully migrate to gRPC. |
| HeartbeatInterval *duration.Duration `protobuf:"bytes,8,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` |
| // WaitUntilReady indicates that the test bundle's "ready" function (see |
| // ReadyFunc) should be executed before any tests are executed. |
| // TODO(crbug.com/1128259): Remove this field once we fully migrate to gRPC. |
| WaitUntilReady bool `protobuf:"varint,9,opt,name=wait_until_ready,json=waitUntilReady,proto3" json:"wait_until_ready,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunConfig) Reset() { *m = RunConfig{} } |
| func (m *RunConfig) String() string { return proto.CompactTextString(m) } |
| func (*RunConfig) ProtoMessage() {} |
| func (*RunConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{17} |
| } |
| |
| func (m *RunConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunConfig.Unmarshal(m, b) |
| } |
| func (m *RunConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunConfig.Marshal(b, m, deterministic) |
| } |
| func (m *RunConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunConfig.Merge(m, src) |
| } |
| func (m *RunConfig) XXX_Size() int { |
| return xxx_messageInfo_RunConfig.Size(m) |
| } |
| func (m *RunConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunConfig proto.InternalMessageInfo |
| |
| func (m *RunConfig) GetTests() []string { |
| if m != nil { |
| return m.Tests |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetDirs() *RunDirectories { |
| if m != nil { |
| return m.Dirs |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetFeatures() *Features { |
| if m != nil { |
| return m.Features |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetServiceConfig() *ServiceConfig { |
| if m != nil { |
| return m.ServiceConfig |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetDataFileConfig() *DataFileConfig { |
| if m != nil { |
| return m.DataFileConfig |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetRemoteTestConfig() *RemoteTestConfig { |
| if m != nil { |
| return m.RemoteTestConfig |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetStartFixtureState() *StartFixtureState { |
| if m != nil { |
| return m.StartFixtureState |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetHeartbeatInterval() *duration.Duration { |
| if m != nil { |
| return m.HeartbeatInterval |
| } |
| return nil |
| } |
| |
| func (m *RunConfig) GetWaitUntilReady() bool { |
| if m != nil { |
| return m.WaitUntilReady |
| } |
| return false |
| } |
| |
| // RunDirectories holds several directory paths important for running tests. |
| type RunDirectories struct { |
| // DataDir is the path to the directory containing test data files. |
| DataDir string `protobuf:"bytes,1,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"` |
| // OutDir is the path to the base directory under which tests should write |
| // output files. |
| OutDir string `protobuf:"bytes,2,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"` |
| // TempDir is the path to the directory under which temporary files for tests |
| // are written. |
| TempDir string `protobuf:"bytes,3,opt,name=temp_dir,json=tempDir,proto3" json:"temp_dir,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunDirectories) Reset() { *m = RunDirectories{} } |
| func (m *RunDirectories) String() string { return proto.CompactTextString(m) } |
| func (*RunDirectories) ProtoMessage() {} |
| func (*RunDirectories) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{18} |
| } |
| |
| func (m *RunDirectories) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunDirectories.Unmarshal(m, b) |
| } |
| func (m *RunDirectories) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunDirectories.Marshal(b, m, deterministic) |
| } |
| func (m *RunDirectories) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunDirectories.Merge(m, src) |
| } |
| func (m *RunDirectories) XXX_Size() int { |
| return xxx_messageInfo_RunDirectories.Size(m) |
| } |
| func (m *RunDirectories) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunDirectories.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunDirectories proto.InternalMessageInfo |
| |
| func (m *RunDirectories) GetDataDir() string { |
| if m != nil { |
| return m.DataDir |
| } |
| return "" |
| } |
| |
| func (m *RunDirectories) GetOutDir() string { |
| if m != nil { |
| return m.OutDir |
| } |
| return "" |
| } |
| |
| func (m *RunDirectories) GetTempDir() string { |
| if m != nil { |
| return m.TempDir |
| } |
| return "" |
| } |
| |
| // ServiceConfig contains configurations of external services available to |
| // Tast framework and Tast tests. |
| type ServiceConfig struct { |
| // Devservers is a list of devserver URLs (e.g. "https://1.2.3.4:5678"). |
| // Devservers are used to download data files from Google Cloud Storage with |
| // cache. It is ignored if TlwServer is available. |
| Devservers []string `protobuf:"bytes,1,rep,name=devservers,proto3" json:"devservers,omitempty"` |
| // TlwServer is an address of a TLW server (e.g. "1.2.3.4:5678"). |
| // When this is set, it takes precedence over Devservers. |
| TlwServer string `protobuf:"bytes,2,opt,name=tlw_server,json=tlwServer,proto3" json:"tlw_server,omitempty"` |
| // TlwSelfName is a "DUT name" that identifies the current machine. |
| // It is empty for remote tests. |
| TlwSelfName string `protobuf:"bytes,3,opt,name=tlw_self_name,json=tlwSelfName,proto3" json:"tlw_self_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ServiceConfig) Reset() { *m = ServiceConfig{} } |
| func (m *ServiceConfig) String() string { return proto.CompactTextString(m) } |
| func (*ServiceConfig) ProtoMessage() {} |
| func (*ServiceConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{19} |
| } |
| |
| func (m *ServiceConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ServiceConfig.Unmarshal(m, b) |
| } |
| func (m *ServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ServiceConfig.Marshal(b, m, deterministic) |
| } |
| func (m *ServiceConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ServiceConfig.Merge(m, src) |
| } |
| func (m *ServiceConfig) XXX_Size() int { |
| return xxx_messageInfo_ServiceConfig.Size(m) |
| } |
| func (m *ServiceConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_ServiceConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ServiceConfig proto.InternalMessageInfo |
| |
| func (m *ServiceConfig) GetDevservers() []string { |
| if m != nil { |
| return m.Devservers |
| } |
| return nil |
| } |
| |
| func (m *ServiceConfig) GetTlwServer() string { |
| if m != nil { |
| return m.TlwServer |
| } |
| return "" |
| } |
| |
| func (m *ServiceConfig) GetTlwSelfName() string { |
| if m != nil { |
| return m.TlwSelfName |
| } |
| return "" |
| } |
| |
| // DataFileConfig contains configurations about data files. |
| type DataFileConfig struct { |
| DownloadMode DownloadMode `protobuf:"varint,1,opt,name=download_mode,json=downloadMode,proto3,enum=tast.core.DownloadMode" json:"download_mode,omitempty"` |
| // BuildArtifactsUrl is the URL of Google Cloud Storage directory, ending with |
| // a slash, containing build artifacts for the current Chrome OS image. |
| BuildArtifactsUrl string `protobuf:"bytes,2,opt,name=build_artifacts_url,json=buildArtifactsUrl,proto3" json:"build_artifacts_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DataFileConfig) Reset() { *m = DataFileConfig{} } |
| func (m *DataFileConfig) String() string { return proto.CompactTextString(m) } |
| func (*DataFileConfig) ProtoMessage() {} |
| func (*DataFileConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{20} |
| } |
| |
| func (m *DataFileConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DataFileConfig.Unmarshal(m, b) |
| } |
| func (m *DataFileConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DataFileConfig.Marshal(b, m, deterministic) |
| } |
| func (m *DataFileConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DataFileConfig.Merge(m, src) |
| } |
| func (m *DataFileConfig) XXX_Size() int { |
| return xxx_messageInfo_DataFileConfig.Size(m) |
| } |
| func (m *DataFileConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_DataFileConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DataFileConfig proto.InternalMessageInfo |
| |
| func (m *DataFileConfig) GetDownloadMode() DownloadMode { |
| if m != nil { |
| return m.DownloadMode |
| } |
| return DownloadMode_BATCH |
| } |
| |
| func (m *DataFileConfig) GetBuildArtifactsUrl() string { |
| if m != nil { |
| return m.BuildArtifactsUrl |
| } |
| return "" |
| } |
| |
| // RemoteTestConfig contains parameters needed by remote tests. |
| type RemoteTestConfig struct { |
| PrimaryDut *DUTConfig `protobuf:"bytes,1,opt,name=primary_dut,json=primaryDut,proto3" json:"primary_dut,omitempty"` |
| CompanionDuts map[string]*DUTConfig `protobuf:"bytes,2,rep,name=companion_duts,json=companionDuts,proto3" json:"companion_duts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // LocalBundleDir is the directory on the DUT where local test bundle |
| // executables are located. This path is used by remote tests to invoke gRPC |
| // services in local test bundles. |
| LocalBundleDir string `protobuf:"bytes,3,opt,name=local_bundle_dir,json=localBundleDir,proto3" json:"local_bundle_dir,omitempty"` |
| MetaTestConfig *MetaTestConfig `protobuf:"bytes,4,opt,name=meta_test_config,json=metaTestConfig,proto3" json:"meta_test_config,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RemoteTestConfig) Reset() { *m = RemoteTestConfig{} } |
| func (m *RemoteTestConfig) String() string { return proto.CompactTextString(m) } |
| func (*RemoteTestConfig) ProtoMessage() {} |
| func (*RemoteTestConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{21} |
| } |
| |
| func (m *RemoteTestConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RemoteTestConfig.Unmarshal(m, b) |
| } |
| func (m *RemoteTestConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RemoteTestConfig.Marshal(b, m, deterministic) |
| } |
| func (m *RemoteTestConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RemoteTestConfig.Merge(m, src) |
| } |
| func (m *RemoteTestConfig) XXX_Size() int { |
| return xxx_messageInfo_RemoteTestConfig.Size(m) |
| } |
| func (m *RemoteTestConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_RemoteTestConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RemoteTestConfig proto.InternalMessageInfo |
| |
| func (m *RemoteTestConfig) GetPrimaryDut() *DUTConfig { |
| if m != nil { |
| return m.PrimaryDut |
| } |
| return nil |
| } |
| |
| func (m *RemoteTestConfig) GetCompanionDuts() map[string]*DUTConfig { |
| if m != nil { |
| return m.CompanionDuts |
| } |
| return nil |
| } |
| |
| func (m *RemoteTestConfig) GetLocalBundleDir() string { |
| if m != nil { |
| return m.LocalBundleDir |
| } |
| return "" |
| } |
| |
| func (m *RemoteTestConfig) GetMetaTestConfig() *MetaTestConfig { |
| if m != nil { |
| return m.MetaTestConfig |
| } |
| return nil |
| } |
| |
| // DUTConfig describes a DUT. |
| type DUTConfig struct { |
| // SshConfig contains information needed to connect to the DUT via SSH. |
| SshConfig *SSHConfig `protobuf:"bytes,1,opt,name=ssh_config,json=sshConfig,proto3" json:"ssh_config,omitempty"` |
| // TlwName contains the name of the DUT recognized by the TLW service. |
| // This must be set when TLW API is used. |
| TlwName string `protobuf:"bytes,2,opt,name=tlw_name,json=tlwName,proto3" json:"tlw_name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DUTConfig) Reset() { *m = DUTConfig{} } |
| func (m *DUTConfig) String() string { return proto.CompactTextString(m) } |
| func (*DUTConfig) ProtoMessage() {} |
| func (*DUTConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{22} |
| } |
| |
| func (m *DUTConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DUTConfig.Unmarshal(m, b) |
| } |
| func (m *DUTConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DUTConfig.Marshal(b, m, deterministic) |
| } |
| func (m *DUTConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DUTConfig.Merge(m, src) |
| } |
| func (m *DUTConfig) XXX_Size() int { |
| return xxx_messageInfo_DUTConfig.Size(m) |
| } |
| func (m *DUTConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_DUTConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DUTConfig proto.InternalMessageInfo |
| |
| func (m *DUTConfig) GetSshConfig() *SSHConfig { |
| if m != nil { |
| return m.SshConfig |
| } |
| return nil |
| } |
| |
| func (m *DUTConfig) GetTlwName() string { |
| if m != nil { |
| return m.TlwName |
| } |
| return "" |
| } |
| |
| // SSHConfig contains information needed to connect to the DUT via SSH. |
| type SSHConfig struct { |
| // Target is a connection spec as [<user>@]host[:<port>]. |
| Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` |
| // KeyFile is a path to the SSH private key to use to connect to the target. |
| KeyFile string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"` |
| // KeyDir is a path to the directory containing SSH private keys |
| // (typically $HOME/.ssh). |
| KeyDir string `protobuf:"bytes,3,opt,name=key_dir,json=keyDir,proto3" json:"key_dir,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SSHConfig) Reset() { *m = SSHConfig{} } |
| func (m *SSHConfig) String() string { return proto.CompactTextString(m) } |
| func (*SSHConfig) ProtoMessage() {} |
| func (*SSHConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{23} |
| } |
| |
| func (m *SSHConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SSHConfig.Unmarshal(m, b) |
| } |
| func (m *SSHConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SSHConfig.Marshal(b, m, deterministic) |
| } |
| func (m *SSHConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SSHConfig.Merge(m, src) |
| } |
| func (m *SSHConfig) XXX_Size() int { |
| return xxx_messageInfo_SSHConfig.Size(m) |
| } |
| func (m *SSHConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_SSHConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SSHConfig proto.InternalMessageInfo |
| |
| func (m *SSHConfig) GetTarget() string { |
| if m != nil { |
| return m.Target |
| } |
| return "" |
| } |
| |
| func (m *SSHConfig) GetKeyFile() string { |
| if m != nil { |
| return m.KeyFile |
| } |
| return "" |
| } |
| |
| func (m *SSHConfig) GetKeyDir() string { |
| if m != nil { |
| return m.KeyDir |
| } |
| return "" |
| } |
| |
| // MetaTestConfig contains parameters needed by meta tests (tests that |
| // exercise Tast itself). |
| type MetaTestConfig struct { |
| // TastPath contains the path to the tast binary that was executed to initiate |
| // testing. |
| TastPath string `protobuf:"bytes,1,opt,name=tast_path,json=tastPath,proto3" json:"tast_path,omitempty"` |
| // RunFlags contains a subset of the flags that were passed to the "tast run" |
| // command. The included flags are ones that are necessary for core |
| // functionality, e.g. paths to binaries used by the tast process and |
| // credentials for reconnecting to the DUT. |
| RunFlags []string `protobuf:"bytes,2,rep,name=run_flags,json=runFlags,proto3" json:"run_flags,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MetaTestConfig) Reset() { *m = MetaTestConfig{} } |
| func (m *MetaTestConfig) String() string { return proto.CompactTextString(m) } |
| func (*MetaTestConfig) ProtoMessage() {} |
| func (*MetaTestConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{24} |
| } |
| |
| func (m *MetaTestConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MetaTestConfig.Unmarshal(m, b) |
| } |
| func (m *MetaTestConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MetaTestConfig.Marshal(b, m, deterministic) |
| } |
| func (m *MetaTestConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MetaTestConfig.Merge(m, src) |
| } |
| func (m *MetaTestConfig) XXX_Size() int { |
| return xxx_messageInfo_MetaTestConfig.Size(m) |
| } |
| func (m *MetaTestConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_MetaTestConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MetaTestConfig proto.InternalMessageInfo |
| |
| func (m *MetaTestConfig) GetTastPath() string { |
| if m != nil { |
| return m.TastPath |
| } |
| return "" |
| } |
| |
| func (m *MetaTestConfig) GetRunFlags() []string { |
| if m != nil { |
| return m.RunFlags |
| } |
| return nil |
| } |
| |
| // StartFixtureState contains information of a start fixture. |
| type StartFixtureState struct { |
| // Name is the name of a start fixture. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Errors contains errors reported on dependent fixture setup. If it is not |
| // empty, all fixtures and tests should fail immediately. |
| Errors []*Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *StartFixtureState) Reset() { *m = StartFixtureState{} } |
| func (m *StartFixtureState) String() string { return proto.CompactTextString(m) } |
| func (*StartFixtureState) ProtoMessage() {} |
| func (*StartFixtureState) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{25} |
| } |
| |
| func (m *StartFixtureState) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_StartFixtureState.Unmarshal(m, b) |
| } |
| func (m *StartFixtureState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_StartFixtureState.Marshal(b, m, deterministic) |
| } |
| func (m *StartFixtureState) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_StartFixtureState.Merge(m, src) |
| } |
| func (m *StartFixtureState) XXX_Size() int { |
| return xxx_messageInfo_StartFixtureState.Size(m) |
| } |
| func (m *StartFixtureState) XXX_DiscardUnknown() { |
| xxx_messageInfo_StartFixtureState.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_StartFixtureState proto.InternalMessageInfo |
| |
| func (m *StartFixtureState) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *StartFixtureState) GetErrors() []*Error { |
| if m != nil { |
| return m.Errors |
| } |
| return nil |
| } |
| |
| // Error describes details of an error reported by an entity. |
| type Error struct { |
| Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` |
| Location *ErrorLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Error) Reset() { *m = Error{} } |
| func (m *Error) String() string { return proto.CompactTextString(m) } |
| func (*Error) ProtoMessage() {} |
| func (*Error) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{26} |
| } |
| |
| func (m *Error) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Error.Unmarshal(m, b) |
| } |
| func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Error.Marshal(b, m, deterministic) |
| } |
| func (m *Error) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Error.Merge(m, src) |
| } |
| func (m *Error) XXX_Size() int { |
| return xxx_messageInfo_Error.Size(m) |
| } |
| func (m *Error) XXX_DiscardUnknown() { |
| xxx_messageInfo_Error.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Error proto.InternalMessageInfo |
| |
| func (m *Error) GetReason() string { |
| if m != nil { |
| return m.Reason |
| } |
| return "" |
| } |
| |
| func (m *Error) GetLocation() *ErrorLocation { |
| if m != nil { |
| return m.Location |
| } |
| return nil |
| } |
| |
| // ErrorLocation represents a code location where an error was reported. |
| type ErrorLocation struct { |
| File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` |
| Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` |
| Stack string `protobuf:"bytes,3,opt,name=stack,proto3" json:"stack,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ErrorLocation) Reset() { *m = ErrorLocation{} } |
| func (m *ErrorLocation) String() string { return proto.CompactTextString(m) } |
| func (*ErrorLocation) ProtoMessage() {} |
| func (*ErrorLocation) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{27} |
| } |
| |
| func (m *ErrorLocation) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ErrorLocation.Unmarshal(m, b) |
| } |
| func (m *ErrorLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ErrorLocation.Marshal(b, m, deterministic) |
| } |
| func (m *ErrorLocation) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ErrorLocation.Merge(m, src) |
| } |
| func (m *ErrorLocation) XXX_Size() int { |
| return xxx_messageInfo_ErrorLocation.Size(m) |
| } |
| func (m *ErrorLocation) XXX_DiscardUnknown() { |
| xxx_messageInfo_ErrorLocation.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ErrorLocation proto.InternalMessageInfo |
| |
| func (m *ErrorLocation) GetFile() string { |
| if m != nil { |
| return m.File |
| } |
| return "" |
| } |
| |
| func (m *ErrorLocation) GetLine() int64 { |
| if m != nil { |
| return m.Line |
| } |
| return 0 |
| } |
| |
| func (m *ErrorLocation) GetStack() string { |
| if m != nil { |
| return m.Stack |
| } |
| return "" |
| } |
| |
| // ResolvedEntity is similar to Entity, but contains additional fields computed |
| // from an original Entity and run time information. |
| type ResolvedEntity struct { |
| Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` |
| // Skips contains reasons why this test should be skipped. If it contains one |
| // or more reasons, the test should be skipped for unsatisfied dependencies. |
| // This field can be set only if the entity is a test. |
| Skip *Skip `protobuf:"bytes,2,opt,name=skip,proto3" json:"skip,omitempty"` |
| // Hops contains the number of remote connection hops from the current machine |
| // and the machine serving the entity. |
| // On the host machine, hops=0 means remote entities (on the host machine) and |
| // hops=1 means local entities (on the DUT). |
| Hops int32 `protobuf:"varint,3,opt,name=hops,proto3" json:"hops,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ResolvedEntity) Reset() { *m = ResolvedEntity{} } |
| func (m *ResolvedEntity) String() string { return proto.CompactTextString(m) } |
| func (*ResolvedEntity) ProtoMessage() {} |
| func (*ResolvedEntity) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{28} |
| } |
| |
| func (m *ResolvedEntity) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ResolvedEntity.Unmarshal(m, b) |
| } |
| func (m *ResolvedEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ResolvedEntity.Marshal(b, m, deterministic) |
| } |
| func (m *ResolvedEntity) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ResolvedEntity.Merge(m, src) |
| } |
| func (m *ResolvedEntity) XXX_Size() int { |
| return xxx_messageInfo_ResolvedEntity.Size(m) |
| } |
| func (m *ResolvedEntity) XXX_DiscardUnknown() { |
| xxx_messageInfo_ResolvedEntity.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ResolvedEntity proto.InternalMessageInfo |
| |
| func (m *ResolvedEntity) GetEntity() *Entity { |
| if m != nil { |
| return m.Entity |
| } |
| return nil |
| } |
| |
| func (m *ResolvedEntity) GetSkip() *Skip { |
| if m != nil { |
| return m.Skip |
| } |
| return nil |
| } |
| |
| func (m *ResolvedEntity) GetHops() int32 { |
| if m != nil { |
| return m.Hops |
| } |
| return 0 |
| } |
| |
| // TimingLog is a protobuf presentation of a timing.Log. |
| type TimingLog struct { |
| Root *TimingStage `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TimingLog) Reset() { *m = TimingLog{} } |
| func (m *TimingLog) String() string { return proto.CompactTextString(m) } |
| func (*TimingLog) ProtoMessage() {} |
| func (*TimingLog) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{29} |
| } |
| |
| func (m *TimingLog) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TimingLog.Unmarshal(m, b) |
| } |
| func (m *TimingLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TimingLog.Marshal(b, m, deterministic) |
| } |
| func (m *TimingLog) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TimingLog.Merge(m, src) |
| } |
| func (m *TimingLog) XXX_Size() int { |
| return xxx_messageInfo_TimingLog.Size(m) |
| } |
| func (m *TimingLog) XXX_DiscardUnknown() { |
| xxx_messageInfo_TimingLog.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TimingLog proto.InternalMessageInfo |
| |
| func (m *TimingLog) GetRoot() *TimingStage { |
| if m != nil { |
| return m.Root |
| } |
| return nil |
| } |
| |
| // TimingStage is a protobuf presentation of a completed timing.Stage. |
| type TimingStage struct { |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| Children []*TimingStage `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *TimingStage) Reset() { *m = TimingStage{} } |
| func (m *TimingStage) String() string { return proto.CompactTextString(m) } |
| func (*TimingStage) ProtoMessage() {} |
| func (*TimingStage) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{30} |
| } |
| |
| func (m *TimingStage) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_TimingStage.Unmarshal(m, b) |
| } |
| func (m *TimingStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_TimingStage.Marshal(b, m, deterministic) |
| } |
| func (m *TimingStage) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_TimingStage.Merge(m, src) |
| } |
| func (m *TimingStage) XXX_Size() int { |
| return xxx_messageInfo_TimingStage.Size(m) |
| } |
| func (m *TimingStage) XXX_DiscardUnknown() { |
| xxx_messageInfo_TimingStage.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_TimingStage proto.InternalMessageInfo |
| |
| func (m *TimingStage) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *TimingStage) GetStartTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.StartTime |
| } |
| return nil |
| } |
| |
| func (m *TimingStage) GetEndTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.EndTime |
| } |
| return nil |
| } |
| |
| func (m *TimingStage) GetChildren() []*TimingStage { |
| if m != nil { |
| return m.Children |
| } |
| return nil |
| } |
| |
| // RunLogEvent indicates that an informational log message not associated with |
| // an entity was produced. |
| type RunLogEvent struct { |
| Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RunLogEvent) Reset() { *m = RunLogEvent{} } |
| func (m *RunLogEvent) String() string { return proto.CompactTextString(m) } |
| func (*RunLogEvent) ProtoMessage() {} |
| func (*RunLogEvent) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{31} |
| } |
| |
| func (m *RunLogEvent) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RunLogEvent.Unmarshal(m, b) |
| } |
| func (m *RunLogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RunLogEvent.Marshal(b, m, deterministic) |
| } |
| func (m *RunLogEvent) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RunLogEvent.Merge(m, src) |
| } |
| func (m *RunLogEvent) XXX_Size() int { |
| return xxx_messageInfo_RunLogEvent.Size(m) |
| } |
| func (m *RunLogEvent) XXX_DiscardUnknown() { |
| xxx_messageInfo_RunLogEvent.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RunLogEvent proto.InternalMessageInfo |
| |
| func (m *RunLogEvent) GetTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.Time |
| } |
| return nil |
| } |
| |
| func (m *RunLogEvent) GetText() string { |
| if m != nil { |
| return m.Text |
| } |
| return "" |
| } |
| |
| // EntityStartEvent marks the start of an entity run. EntityStartEvent is sent |
| // even if an entity is to be skipped. |
| type EntityStartEvent struct { |
| Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| Entity *Entity `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` |
| OutDir string `protobuf:"bytes,3,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityStartEvent) Reset() { *m = EntityStartEvent{} } |
| func (m *EntityStartEvent) String() string { return proto.CompactTextString(m) } |
| func (*EntityStartEvent) ProtoMessage() {} |
| func (*EntityStartEvent) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{32} |
| } |
| |
| func (m *EntityStartEvent) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityStartEvent.Unmarshal(m, b) |
| } |
| func (m *EntityStartEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityStartEvent.Marshal(b, m, deterministic) |
| } |
| func (m *EntityStartEvent) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityStartEvent.Merge(m, src) |
| } |
| func (m *EntityStartEvent) XXX_Size() int { |
| return xxx_messageInfo_EntityStartEvent.Size(m) |
| } |
| func (m *EntityStartEvent) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityStartEvent.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityStartEvent proto.InternalMessageInfo |
| |
| func (m *EntityStartEvent) GetTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.Time |
| } |
| return nil |
| } |
| |
| func (m *EntityStartEvent) GetEntity() *Entity { |
| if m != nil { |
| return m.Entity |
| } |
| return nil |
| } |
| |
| func (m *EntityStartEvent) GetOutDir() string { |
| if m != nil { |
| return m.OutDir |
| } |
| return "" |
| } |
| |
| // EntityLogEvent indicates that an informational log message was produced by |
| // an entity. |
| type EntityLogEvent struct { |
| Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| EntityName string `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"` |
| Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityLogEvent) Reset() { *m = EntityLogEvent{} } |
| func (m *EntityLogEvent) String() string { return proto.CompactTextString(m) } |
| func (*EntityLogEvent) ProtoMessage() {} |
| func (*EntityLogEvent) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{33} |
| } |
| |
| func (m *EntityLogEvent) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityLogEvent.Unmarshal(m, b) |
| } |
| func (m *EntityLogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityLogEvent.Marshal(b, m, deterministic) |
| } |
| func (m *EntityLogEvent) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityLogEvent.Merge(m, src) |
| } |
| func (m *EntityLogEvent) XXX_Size() int { |
| return xxx_messageInfo_EntityLogEvent.Size(m) |
| } |
| func (m *EntityLogEvent) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityLogEvent.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityLogEvent proto.InternalMessageInfo |
| |
| func (m *EntityLogEvent) GetTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.Time |
| } |
| return nil |
| } |
| |
| func (m *EntityLogEvent) GetEntityName() string { |
| if m != nil { |
| return m.EntityName |
| } |
| return "" |
| } |
| |
| func (m *EntityLogEvent) GetText() string { |
| if m != nil { |
| return m.Text |
| } |
| return "" |
| } |
| |
| // EntityErrorEvent indicates that an error was produced by an entity. |
| // A consumer should treat an entity as failed when it sees one or more errors |
| // reported for it. |
| type EntityErrorEvent struct { |
| Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| EntityName string `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"` |
| Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityErrorEvent) Reset() { *m = EntityErrorEvent{} } |
| func (m *EntityErrorEvent) String() string { return proto.CompactTextString(m) } |
| func (*EntityErrorEvent) ProtoMessage() {} |
| func (*EntityErrorEvent) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{34} |
| } |
| |
| func (m *EntityErrorEvent) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityErrorEvent.Unmarshal(m, b) |
| } |
| func (m *EntityErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityErrorEvent.Marshal(b, m, deterministic) |
| } |
| func (m *EntityErrorEvent) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityErrorEvent.Merge(m, src) |
| } |
| func (m *EntityErrorEvent) XXX_Size() int { |
| return xxx_messageInfo_EntityErrorEvent.Size(m) |
| } |
| func (m *EntityErrorEvent) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityErrorEvent.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityErrorEvent proto.InternalMessageInfo |
| |
| func (m *EntityErrorEvent) GetTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.Time |
| } |
| return nil |
| } |
| |
| func (m *EntityErrorEvent) GetEntityName() string { |
| if m != nil { |
| return m.EntityName |
| } |
| return "" |
| } |
| |
| func (m *EntityErrorEvent) GetError() *Error { |
| if m != nil { |
| return m.Error |
| } |
| return nil |
| } |
| |
| // EntityEndEvent marks the end of an entity run. |
| type EntityEndEvent struct { |
| Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` |
| EntityName string `protobuf:"bytes,2,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"` |
| Skip *Skip `protobuf:"bytes,3,opt,name=skip,proto3" json:"skip,omitempty"` |
| TimingLog *TimingLog `protobuf:"bytes,4,opt,name=timing_log,json=timingLog,proto3" json:"timing_log,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EntityEndEvent) Reset() { *m = EntityEndEvent{} } |
| func (m *EntityEndEvent) String() string { return proto.CompactTextString(m) } |
| func (*EntityEndEvent) ProtoMessage() {} |
| func (*EntityEndEvent) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{35} |
| } |
| |
| func (m *EntityEndEvent) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EntityEndEvent.Unmarshal(m, b) |
| } |
| func (m *EntityEndEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EntityEndEvent.Marshal(b, m, deterministic) |
| } |
| func (m *EntityEndEvent) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EntityEndEvent.Merge(m, src) |
| } |
| func (m *EntityEndEvent) XXX_Size() int { |
| return xxx_messageInfo_EntityEndEvent.Size(m) |
| } |
| func (m *EntityEndEvent) XXX_DiscardUnknown() { |
| xxx_messageInfo_EntityEndEvent.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EntityEndEvent proto.InternalMessageInfo |
| |
| func (m *EntityEndEvent) GetTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.Time |
| } |
| return nil |
| } |
| |
| func (m *EntityEndEvent) GetEntityName() string { |
| if m != nil { |
| return m.EntityName |
| } |
| return "" |
| } |
| |
| func (m *EntityEndEvent) GetSkip() *Skip { |
| if m != nil { |
| return m.Skip |
| } |
| return nil |
| } |
| |
| func (m *EntityEndEvent) GetTimingLog() *TimingLog { |
| if m != nil { |
| return m.TimingLog |
| } |
| return nil |
| } |
| |
| // Skip describes the reasons why an entity is skipped. |
| type Skip struct { |
| Reasons []string `protobuf:"bytes,1,rep,name=reasons,proto3" json:"reasons,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Skip) Reset() { *m = Skip{} } |
| func (m *Skip) String() string { return proto.CompactTextString(m) } |
| func (*Skip) ProtoMessage() {} |
| func (*Skip) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{36} |
| } |
| |
| func (m *Skip) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Skip.Unmarshal(m, b) |
| } |
| func (m *Skip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Skip.Marshal(b, m, deterministic) |
| } |
| func (m *Skip) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Skip.Merge(m, src) |
| } |
| func (m *Skip) XXX_Size() int { |
| return xxx_messageInfo_Skip.Size(m) |
| } |
| func (m *Skip) XXX_DiscardUnknown() { |
| xxx_messageInfo_Skip.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Skip proto.InternalMessageInfo |
| |
| func (m *Skip) GetReasons() []string { |
| if m != nil { |
| return m.Reasons |
| } |
| return nil |
| } |
| |
| // DUTInfo holds DUT system information. |
| type DUTInfo struct { |
| // Features contains features available on the DUT. |
| Features *DUTFeatures `protobuf:"bytes,4,opt,name=features,proto3" json:"features,omitempty"` |
| // OsVersion contains the DUT's OS Version. |
| OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` |
| // DefaultBuildArtifactsUrl specifies the default URL of the build artifacts. |
| DefaultBuildArtifactsUrl string `protobuf:"bytes,3,opt,name=default_build_artifacts_url,json=defaultBuildArtifactsUrl,proto3" json:"default_build_artifacts_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DUTInfo) Reset() { *m = DUTInfo{} } |
| func (m *DUTInfo) String() string { return proto.CompactTextString(m) } |
| func (*DUTInfo) ProtoMessage() {} |
| func (*DUTInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{37} |
| } |
| |
| func (m *DUTInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DUTInfo.Unmarshal(m, b) |
| } |
| func (m *DUTInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DUTInfo.Marshal(b, m, deterministic) |
| } |
| func (m *DUTInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DUTInfo.Merge(m, src) |
| } |
| func (m *DUTInfo) XXX_Size() int { |
| return xxx_messageInfo_DUTInfo.Size(m) |
| } |
| func (m *DUTInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_DUTInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DUTInfo proto.InternalMessageInfo |
| |
| func (m *DUTInfo) GetFeatures() *DUTFeatures { |
| if m != nil { |
| return m.Features |
| } |
| return nil |
| } |
| |
| func (m *DUTInfo) GetOsVersion() string { |
| if m != nil { |
| return m.OsVersion |
| } |
| return "" |
| } |
| |
| func (m *DUTInfo) GetDefaultBuildArtifactsUrl() string { |
| if m != nil { |
| return m.DefaultBuildArtifactsUrl |
| } |
| return "" |
| } |
| |
| // SysInfoState contains the state of the DUT's system information. |
| type SysInfoState struct { |
| // LogInodeSizes maps from each log file's inode to its size in bytes. |
| LogInodeSizes map[uint64]int64 `protobuf:"bytes,1,rep,name=log_inode_sizes,json=logInodeSizes,proto3" json:"log_inode_sizes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| // UnifiedLogCursor contains an opaque cursor pointing at the current tip of |
| // unified system logs. |
| UnifiedLogCursor string `protobuf:"bytes,2,opt,name=unified_log_cursor,json=unifiedLogCursor,proto3" json:"unified_log_cursor,omitempty"` |
| // MinidumpPaths contains absolute paths to minidump crash files. |
| MinidumpPaths []string `protobuf:"bytes,3,rep,name=minidump_paths,json=minidumpPaths,proto3" json:"minidump_paths,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SysInfoState) Reset() { *m = SysInfoState{} } |
| func (m *SysInfoState) String() string { return proto.CompactTextString(m) } |
| func (*SysInfoState) ProtoMessage() {} |
| func (*SysInfoState) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7a0b3d6cfd712914, []int{38} |
| } |
| |
| func (m *SysInfoState) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SysInfoState.Unmarshal(m, b) |
| } |
| func (m *SysInfoState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SysInfoState.Marshal(b, m, deterministic) |
| } |
| func (m *SysInfoState) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SysInfoState.Merge(m, src) |
| } |
| func (m *SysInfoState) XXX_Size() int { |
| return xxx_messageInfo_SysInfoState.Size(m) |
| } |
| func (m *SysInfoState) XXX_DiscardUnknown() { |
| xxx_messageInfo_SysInfoState.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SysInfoState proto.InternalMessageInfo |
| |
| func (m *SysInfoState) GetLogInodeSizes() map[uint64]int64 { |
| if m != nil { |
| return m.LogInodeSizes |
| } |
| return nil |
| } |
| |
| func (m *SysInfoState) GetUnifiedLogCursor() string { |
| if m != nil { |
| return m.UnifiedLogCursor |
| } |
| return "" |
| } |
| |
| func (m *SysInfoState) GetMinidumpPaths() []string { |
| if m != nil { |
| return m.MinidumpPaths |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("tast.core.EntityType", EntityType_name, EntityType_value) |
| proto.RegisterEnum("tast.core.DownloadMode", DownloadMode_name, DownloadMode_value) |
| proto.RegisterType((*ListEntitiesRequest)(nil), "tast.core.ListEntitiesRequest") |
| proto.RegisterType((*ListEntitiesResponse)(nil), "tast.core.ListEntitiesResponse") |
| proto.RegisterType((*RunTestsRequest)(nil), "tast.core.RunTestsRequest") |
| proto.RegisterType((*RunTestsResponse)(nil), "tast.core.RunTestsResponse") |
| proto.RegisterType((*GetDUTInfoRequest)(nil), "tast.core.GetDUTInfoRequest") |
| proto.RegisterType((*GetDUTInfoResponse)(nil), "tast.core.GetDUTInfoResponse") |
| proto.RegisterType((*GetSysInfoStateRequest)(nil), "tast.core.GetSysInfoStateRequest") |
| proto.RegisterType((*GetSysInfoStateResponse)(nil), "tast.core.GetSysInfoStateResponse") |
| proto.RegisterType((*CollectSysInfoRequest)(nil), "tast.core.CollectSysInfoRequest") |
| proto.RegisterType((*CollectSysInfoResponse)(nil), "tast.core.CollectSysInfoResponse") |
| proto.RegisterType((*DownloadPrivateBundlesRequest)(nil), "tast.core.DownloadPrivateBundlesRequest") |
| proto.RegisterType((*DownloadPrivateBundlesResponse)(nil), "tast.core.DownloadPrivateBundlesResponse") |
| proto.RegisterType((*Entity)(nil), "tast.core.Entity") |
| proto.RegisterType((*EntityContacts)(nil), "tast.core.EntityContacts") |
| proto.RegisterType((*EntityDependencies)(nil), "tast.core.EntityDependencies") |
| proto.RegisterType((*EntityLegacyData)(nil), "tast.core.EntityLegacyData") |
| proto.RegisterType((*RunTestsInit)(nil), "tast.core.RunTestsInit") |
| proto.RegisterType((*RunConfig)(nil), "tast.core.RunConfig") |
| proto.RegisterType((*RunDirectories)(nil), "tast.core.RunDirectories") |
| proto.RegisterType((*ServiceConfig)(nil), "tast.core.ServiceConfig") |
| proto.RegisterType((*DataFileConfig)(nil), "tast.core.DataFileConfig") |
| proto.RegisterType((*RemoteTestConfig)(nil), "tast.core.RemoteTestConfig") |
| proto.RegisterMapType((map[string]*DUTConfig)(nil), "tast.core.RemoteTestConfig.CompanionDutsEntry") |
| proto.RegisterType((*DUTConfig)(nil), "tast.core.DUTConfig") |
| proto.RegisterType((*SSHConfig)(nil), "tast.core.SSHConfig") |
| proto.RegisterType((*MetaTestConfig)(nil), "tast.core.MetaTestConfig") |
| proto.RegisterType((*StartFixtureState)(nil), "tast.core.StartFixtureState") |
| proto.RegisterType((*Error)(nil), "tast.core.Error") |
| proto.RegisterType((*ErrorLocation)(nil), "tast.core.ErrorLocation") |
| proto.RegisterType((*ResolvedEntity)(nil), "tast.core.ResolvedEntity") |
| proto.RegisterType((*TimingLog)(nil), "tast.core.TimingLog") |
| proto.RegisterType((*TimingStage)(nil), "tast.core.TimingStage") |
| proto.RegisterType((*RunLogEvent)(nil), "tast.core.RunLogEvent") |
| proto.RegisterType((*EntityStartEvent)(nil), "tast.core.EntityStartEvent") |
| proto.RegisterType((*EntityLogEvent)(nil), "tast.core.EntityLogEvent") |
| proto.RegisterType((*EntityErrorEvent)(nil), "tast.core.EntityErrorEvent") |
| proto.RegisterType((*EntityEndEvent)(nil), "tast.core.EntityEndEvent") |
| proto.RegisterType((*Skip)(nil), "tast.core.Skip") |
| proto.RegisterType((*DUTInfo)(nil), "tast.core.DUTInfo") |
| proto.RegisterType((*SysInfoState)(nil), "tast.core.SysInfoState") |
| proto.RegisterMapType((map[uint64]int64)(nil), "tast.core.SysInfoState.LogInodeSizesEntry") |
| } |
| |
| func init() { proto.RegisterFile("testing.proto", fileDescriptor_7a0b3d6cfd712914) } |
| |
| var fileDescriptor_7a0b3d6cfd712914 = []byte{ |
| // 2198 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x38, 0x4d, 0x73, 0x1b, 0xb7, |
| 0xd9, 0xa6, 0x48, 0xf1, 0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3, 0x0b, 0x2c, 0xc9, |
| 0xb3, 0x2c, 0x8d, 0x13, 0xe2, 0xc7, 0x90, 0x20, 0xfc, 0x82, 0x0e, 0x49, 0x34, 0x64, 0xe9, 0x88, |
| 0x3a, 0x67, 0xef, 0xfa, 0x06, 0x1b, 0x86, 0x5d, 0x4d, 0x0f, 0xd7, 0x84, 0x0f, 0xa2, 0xff, 0x07, |
| 0x74, 0x9a, 0xd1, 0x24, 0x8e, 0x30, 0x97, 0x74, 0x84, 0x87, 0x32, 0xca, 0x78, 0x62, 0x0d, 0xe9, |
| 0x68, 0xca, 0x53, 0x4b, 0x38, 0xe1, 0x49, 0xb0, 0x05, 0xf7, 0x97, 0xd9, 0x63, 0x0e, 0x1a, 0xfc, |
| 0x7b, 0x05, 0xaa, 0xc6, 0xcf, 0xd0, 0x43, 0xe3, 0x52, 0xda, 0xa2, 0xf6, 0xce, 0x7b, 0x73, 0x8e, |
| 0x78, 0x3c, 0x9b, 0x92, 0x50, 0xb3, 0x20, 0x04, 0x95, 0x14, 0x4f, 0x88, 0xdd, 0x57, 0xaf, 0x51, |
| 0x17, 0x6a, 0x53, 0x3c, 0x3c, 0xc7, 0x63, 0xa2, 0x03, 0xa9, 0x11, 0x3a, 0x10, 0xdd, 0x07, 0xc0, |
| 0x52, 0x72, 0x7a, 0x9a, 0x49, 0x22, 0xba, 0x15, 0xed, 0x89, 0x1e, 0x06, 0x6d, 0x41, 0x33, 0x26, |
| 0x62, 0xc8, 0xe9, 0x54, 0x25, 0x52, 0x1d, 0x08, 0x8d, 0xd0, 0x47, 0x29, 0xdd, 0x23, 0xfa, 0x5a, |
| 0x25, 0xba, 0x6e, 0xd5, 0xe8, 0xb6, 0x20, 0x7a, 0x0a, 0xad, 0x98, 0x4c, 0x49, 0x1a, 0x93, 0x74, |
| 0xa8, 0x52, 0x5c, 0x4d, 0x5f, 0xe7, 0xbd, 0x39, 0xe3, 0x07, 0x1e, 0x53, 0x58, 0x10, 0x51, 0x19, |
| 0x72,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, 0x89, 0xc7, 0x4a, 0xf0, 0xb1, 0x1e, 0xbc, 0x52, 0x9c, 0x98, 0xbf, |
| 0xed, 0x21, 0x4b, 0x4e, 0xab, 0x7a, 0xf5, 0xe4, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x28, |
| 0x0d, 0x96, 0x2f, 0x17, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // TestServiceClient is the client API for TestService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type TestServiceClient interface { |
| // ListEntities requests all entities available on the server. |
| ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error) |
| // RunTests requests to run tests. |
| // A client must send an initial request message containing RunTestsInit to |
| // a server. Then a server starts running tests and report progress in |
| // streamed response messages. |
| RunTests(ctx context.Context, opts ...grpc.CallOption) (TestService_RunTestsClient, error) |
| // GetDUTInfo requests to collect DUT system information. |
| GetDUTInfo(ctx context.Context, in *GetDUTInfoRequest, opts ...grpc.CallOption) (*GetDUTInfoResponse, error) |
| // GetSysInfoState requests to collect the initial sysinfo state of the DUT. |
| GetSysInfoState(ctx context.Context, in *GetSysInfoStateRequest, opts ...grpc.CallOption) (*GetSysInfoStateResponse, error) |
| // CollectSysInfo requests to collect the sysinfo, considering diff from the |
| // given initial sysinfo state. |
| CollectSysInfo(ctx context.Context, in *CollectSysInfoRequest, opts ...grpc.CallOption) (*CollectSysInfoResponse, error) |
| // DownloadPrivateBundles requests to download private bundles and install |
| // them to the DUT. |
| DownloadPrivateBundles(ctx context.Context, in *DownloadPrivateBundlesRequest, opts ...grpc.CallOption) (*DownloadPrivateBundlesResponse, error) |
| } |
| |
| type testServiceClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { |
| return &testServiceClient{cc} |
| } |
| |
| func (c *testServiceClient) ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error) { |
| out := new(ListEntitiesResponse) |
| err := c.cc.Invoke(ctx, "/tast.core.TestService/ListEntities", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *testServiceClient) RunTests(ctx context.Context, opts ...grpc.CallOption) (TestService_RunTestsClient, error) { |
| stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[0], "/tast.core.TestService/RunTests", opts...) |
| if err != nil { |
| return nil, err |
| } |
| x := &testServiceRunTestsClient{stream} |
| return x, nil |
| } |
| |
| type TestService_RunTestsClient interface { |
| Send(*RunTestsRequest) error |
| Recv() (*RunTestsResponse, error) |
| grpc.ClientStream |
| } |
| |
| type testServiceRunTestsClient struct { |
| grpc.ClientStream |
| } |
| |
| func (x *testServiceRunTestsClient) Send(m *RunTestsRequest) error { |
| return x.ClientStream.SendMsg(m) |
| } |
| |
| func (x *testServiceRunTestsClient) Recv() (*RunTestsResponse, error) { |
| m := new(RunTestsResponse) |
| if err := x.ClientStream.RecvMsg(m); err != nil { |
| return nil, err |
| } |
| return m, nil |
| } |
| |
| func (c *testServiceClient) GetDUTInfo(ctx context.Context, in *GetDUTInfoRequest, opts ...grpc.CallOption) (*GetDUTInfoResponse, error) { |
| out := new(GetDUTInfoResponse) |
| err := c.cc.Invoke(ctx, "/tast.core.TestService/GetDUTInfo", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *testServiceClient) GetSysInfoState(ctx context.Context, in *GetSysInfoStateRequest, opts ...grpc.CallOption) (*GetSysInfoStateResponse, error) { |
| out := new(GetSysInfoStateResponse) |
| err := c.cc.Invoke(ctx, "/tast.core.TestService/GetSysInfoState", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *testServiceClient) CollectSysInfo(ctx context.Context, in *CollectSysInfoRequest, opts ...grpc.CallOption) (*CollectSysInfoResponse, error) { |
| out := new(CollectSysInfoResponse) |
| err := c.cc.Invoke(ctx, "/tast.core.TestService/CollectSysInfo", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *testServiceClient) DownloadPrivateBundles(ctx context.Context, in *DownloadPrivateBundlesRequest, opts ...grpc.CallOption) (*DownloadPrivateBundlesResponse, error) { |
| out := new(DownloadPrivateBundlesResponse) |
| err := c.cc.Invoke(ctx, "/tast.core.TestService/DownloadPrivateBundles", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // TestServiceServer is the server API for TestService service. |
| type TestServiceServer interface { |
| // ListEntities requests all entities available on the server. |
| ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error) |
| // RunTests requests to run tests. |
| // A client must send an initial request message containing RunTestsInit to |
| // a server. Then a server starts running tests and report progress in |
| // streamed response messages. |
| RunTests(TestService_RunTestsServer) error |
| // GetDUTInfo requests to collect DUT system information. |
| GetDUTInfo(context.Context, *GetDUTInfoRequest) (*GetDUTInfoResponse, error) |
| // GetSysInfoState requests to collect the initial sysinfo state of the DUT. |
| GetSysInfoState(context.Context, *GetSysInfoStateRequest) (*GetSysInfoStateResponse, error) |
| // CollectSysInfo requests to collect the sysinfo, considering diff from the |
| // given initial sysinfo state. |
| CollectSysInfo(context.Context, *CollectSysInfoRequest) (*CollectSysInfoResponse, error) |
| // DownloadPrivateBundles requests to download private bundles and install |
| // them to the DUT. |
| DownloadPrivateBundles(context.Context, *DownloadPrivateBundlesRequest) (*DownloadPrivateBundlesResponse, error) |
| } |
| |
| // UnimplementedTestServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedTestServiceServer struct { |
| } |
| |
| func (*UnimplementedTestServiceServer) ListEntities(ctx context.Context, req *ListEntitiesRequest) (*ListEntitiesResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListEntities not implemented") |
| } |
| func (*UnimplementedTestServiceServer) RunTests(srv TestService_RunTestsServer) error { |
| return status.Errorf(codes.Unimplemented, "method RunTests not implemented") |
| } |
| func (*UnimplementedTestServiceServer) GetDUTInfo(ctx context.Context, req *GetDUTInfoRequest) (*GetDUTInfoResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetDUTInfo not implemented") |
| } |
| func (*UnimplementedTestServiceServer) GetSysInfoState(ctx context.Context, req *GetSysInfoStateRequest) (*GetSysInfoStateResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetSysInfoState not implemented") |
| } |
| func (*UnimplementedTestServiceServer) CollectSysInfo(ctx context.Context, req *CollectSysInfoRequest) (*CollectSysInfoResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method CollectSysInfo not implemented") |
| } |
| func (*UnimplementedTestServiceServer) DownloadPrivateBundles(ctx context.Context, req *DownloadPrivateBundlesRequest) (*DownloadPrivateBundlesResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method DownloadPrivateBundles not implemented") |
| } |
| |
| func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) { |
| s.RegisterService(&_TestService_serviceDesc, srv) |
| } |
| |
| func _TestService_ListEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListEntitiesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(TestServiceServer).ListEntities(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/tast.core.TestService/ListEntities", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(TestServiceServer).ListEntities(ctx, req.(*ListEntitiesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _TestService_RunTests_Handler(srv interface{}, stream grpc.ServerStream) error { |
| return srv.(TestServiceServer).RunTests(&testServiceRunTestsServer{stream}) |
| } |
| |
| type TestService_RunTestsServer interface { |
| Send(*RunTestsResponse) error |
| Recv() (*RunTestsRequest, error) |
| grpc.ServerStream |
| } |
| |
| type testServiceRunTestsServer struct { |
| grpc.ServerStream |
| } |
| |
| func (x *testServiceRunTestsServer) Send(m *RunTestsResponse) error { |
| return x.ServerStream.SendMsg(m) |
| } |
| |
| func (x *testServiceRunTestsServer) Recv() (*RunTestsRequest, error) { |
| m := new(RunTestsRequest) |
| if err := x.ServerStream.RecvMsg(m); err != nil { |
| return nil, err |
| } |
| return m, nil |
| } |
| |
| func _TestService_GetDUTInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetDUTInfoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(TestServiceServer).GetDUTInfo(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/tast.core.TestService/GetDUTInfo", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(TestServiceServer).GetDUTInfo(ctx, req.(*GetDUTInfoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _TestService_GetSysInfoState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetSysInfoStateRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(TestServiceServer).GetSysInfoState(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/tast.core.TestService/GetSysInfoState", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(TestServiceServer).GetSysInfoState(ctx, req.(*GetSysInfoStateRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _TestService_CollectSysInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CollectSysInfoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(TestServiceServer).CollectSysInfo(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/tast.core.TestService/CollectSysInfo", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(TestServiceServer).CollectSysInfo(ctx, req.(*CollectSysInfoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _TestService_DownloadPrivateBundles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DownloadPrivateBundlesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(TestServiceServer).DownloadPrivateBundles(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/tast.core.TestService/DownloadPrivateBundles", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(TestServiceServer).DownloadPrivateBundles(ctx, req.(*DownloadPrivateBundlesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _TestService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "tast.core.TestService", |
| HandlerType: (*TestServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "ListEntities", |
| Handler: _TestService_ListEntities_Handler, |
| }, |
| { |
| MethodName: "GetDUTInfo", |
| Handler: _TestService_GetDUTInfo_Handler, |
| }, |
| { |
| MethodName: "GetSysInfoState", |
| Handler: _TestService_GetSysInfoState_Handler, |
| }, |
| { |
| MethodName: "CollectSysInfo", |
| Handler: _TestService_CollectSysInfo_Handler, |
| }, |
| { |
| MethodName: "DownloadPrivateBundles", |
| Handler: _TestService_DownloadPrivateBundles_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{ |
| { |
| StreamName: "RunTests", |
| Handler: _TestService_RunTests_Handler, |
| ServerStreams: true, |
| ClientStreams: true, |
| }, |
| }, |
| Metadata: "testing.proto", |
| } |