| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/multibot/common.proto |
| |
| package test_platform_multibot |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| test_platform "go.chromium.org/chromiumos/infra/proto/go/test_platform" |
| skylab_local_state "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_local_state" |
| skylab_test_runner "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner" |
| 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 |
| |
| // Stable configuration settings needed for multi-bot tasks, shared by leader |
| // and followers |
| type MultiBotConfig struct { |
| // Pub/Sub topic name |
| Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MultiBotConfig) Reset() { *m = MultiBotConfig{} } |
| func (m *MultiBotConfig) String() string { return proto.CompactTextString(m) } |
| func (*MultiBotConfig) ProtoMessage() {} |
| func (*MultiBotConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_e86bfc91e5868b4d, []int{0} |
| } |
| |
| func (m *MultiBotConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MultiBotConfig.Unmarshal(m, b) |
| } |
| func (m *MultiBotConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MultiBotConfig.Marshal(b, m, deterministic) |
| } |
| func (m *MultiBotConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MultiBotConfig.Merge(m, src) |
| } |
| func (m *MultiBotConfig) XXX_Size() int { |
| return xxx_messageInfo_MultiBotConfig.Size(m) |
| } |
| func (m *MultiBotConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_MultiBotConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MultiBotConfig proto.InternalMessageInfo |
| |
| func (m *MultiBotConfig) GetTopic() string { |
| if m != nil { |
| return m.Topic |
| } |
| return "" |
| } |
| |
| // HostInfoStore stores Autotest host info blobs keyed by DUT name |
| type HostInfoStore struct { |
| HostInfos map[string]*skylab_local_state.AutotestHostInfo `protobuf:"bytes,1,rep,name=host_infos,json=hostInfos,proto3" json:"host_infos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *HostInfoStore) Reset() { *m = HostInfoStore{} } |
| func (m *HostInfoStore) String() string { return proto.CompactTextString(m) } |
| func (*HostInfoStore) ProtoMessage() {} |
| func (*HostInfoStore) Descriptor() ([]byte, []int) { |
| return fileDescriptor_e86bfc91e5868b4d, []int{1} |
| } |
| |
| func (m *HostInfoStore) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_HostInfoStore.Unmarshal(m, b) |
| } |
| func (m *HostInfoStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_HostInfoStore.Marshal(b, m, deterministic) |
| } |
| func (m *HostInfoStore) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_HostInfoStore.Merge(m, src) |
| } |
| func (m *HostInfoStore) XXX_Size() int { |
| return xxx_messageInfo_HostInfoStore.Size(m) |
| } |
| func (m *HostInfoStore) XXX_DiscardUnknown() { |
| xxx_messageInfo_HostInfoStore.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_HostInfoStore proto.InternalMessageInfo |
| |
| func (m *HostInfoStore) GetHostInfos() map[string]*skylab_local_state.AutotestHostInfo { |
| if m != nil { |
| return m.HostInfos |
| } |
| return nil |
| } |
| |
| // FollowerSpec contains the provisionable and nonprovisionable attributes for a |
| // follower swarming task. |
| type FollowerSpec struct { |
| StaticAttributes *FollowerSpec_StaticAttributes `protobuf:"bytes,1,opt,name=static_attributes,json=staticAttributes,proto3" json:"static_attributes,omitempty"` |
| // Prejob work required, primarily provisionable attributes to ensure |
| Prejob *skylab_test_runner.Request_Prejob `protobuf:"bytes,2,opt,name=prejob,proto3" json:"prejob,omitempty"` |
| // Number of followers with these attributes, default to 1. |
| Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *FollowerSpec) Reset() { *m = FollowerSpec{} } |
| func (m *FollowerSpec) String() string { return proto.CompactTextString(m) } |
| func (*FollowerSpec) ProtoMessage() {} |
| func (*FollowerSpec) Descriptor() ([]byte, []int) { |
| return fileDescriptor_e86bfc91e5868b4d, []int{2} |
| } |
| |
| func (m *FollowerSpec) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FollowerSpec.Unmarshal(m, b) |
| } |
| func (m *FollowerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FollowerSpec.Marshal(b, m, deterministic) |
| } |
| func (m *FollowerSpec) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FollowerSpec.Merge(m, src) |
| } |
| func (m *FollowerSpec) XXX_Size() int { |
| return xxx_messageInfo_FollowerSpec.Size(m) |
| } |
| func (m *FollowerSpec) XXX_DiscardUnknown() { |
| xxx_messageInfo_FollowerSpec.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FollowerSpec proto.InternalMessageInfo |
| |
| func (m *FollowerSpec) GetStaticAttributes() *FollowerSpec_StaticAttributes { |
| if m != nil { |
| return m.StaticAttributes |
| } |
| return nil |
| } |
| |
| func (m *FollowerSpec) GetPrejob() *skylab_test_runner.Request_Prejob { |
| if m != nil { |
| return m.Prejob |
| } |
| return nil |
| } |
| |
| func (m *FollowerSpec) GetCount() int32 { |
| if m != nil { |
| return m.Count |
| } |
| return 0 |
| } |
| |
| // Nonprovisionable labels for followers |
| type FollowerSpec_StaticAttributes struct { |
| HardwareAttributes *test_platform.Request_Params_HardwareAttributes `protobuf:"bytes,1,opt,name=hardware_attributes,json=hardwareAttributes,proto3" json:"hardware_attributes,omitempty"` |
| SoftwareAttributes *test_platform.Request_Params_SoftwareAttributes `protobuf:"bytes,2,opt,name=software_attributes,json=softwareAttributes,proto3" json:"software_attributes,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *FollowerSpec_StaticAttributes) Reset() { *m = FollowerSpec_StaticAttributes{} } |
| func (m *FollowerSpec_StaticAttributes) String() string { return proto.CompactTextString(m) } |
| func (*FollowerSpec_StaticAttributes) ProtoMessage() {} |
| func (*FollowerSpec_StaticAttributes) Descriptor() ([]byte, []int) { |
| return fileDescriptor_e86bfc91e5868b4d, []int{2, 0} |
| } |
| |
| func (m *FollowerSpec_StaticAttributes) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_FollowerSpec_StaticAttributes.Unmarshal(m, b) |
| } |
| func (m *FollowerSpec_StaticAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_FollowerSpec_StaticAttributes.Marshal(b, m, deterministic) |
| } |
| func (m *FollowerSpec_StaticAttributes) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FollowerSpec_StaticAttributes.Merge(m, src) |
| } |
| func (m *FollowerSpec_StaticAttributes) XXX_Size() int { |
| return xxx_messageInfo_FollowerSpec_StaticAttributes.Size(m) |
| } |
| func (m *FollowerSpec_StaticAttributes) XXX_DiscardUnknown() { |
| xxx_messageInfo_FollowerSpec_StaticAttributes.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FollowerSpec_StaticAttributes proto.InternalMessageInfo |
| |
| func (m *FollowerSpec_StaticAttributes) GetHardwareAttributes() *test_platform.Request_Params_HardwareAttributes { |
| if m != nil { |
| return m.HardwareAttributes |
| } |
| return nil |
| } |
| |
| func (m *FollowerSpec_StaticAttributes) GetSoftwareAttributes() *test_platform.Request_Params_SoftwareAttributes { |
| if m != nil { |
| return m.SoftwareAttributes |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*MultiBotConfig)(nil), "test_platform.multibot.MultiBotConfig") |
| proto.RegisterType((*HostInfoStore)(nil), "test_platform.multibot.HostInfoStore") |
| proto.RegisterMapType((map[string]*skylab_local_state.AutotestHostInfo)(nil), "test_platform.multibot.HostInfoStore.HostInfosEntry") |
| proto.RegisterType((*FollowerSpec)(nil), "test_platform.multibot.FollowerSpec") |
| proto.RegisterType((*FollowerSpec_StaticAttributes)(nil), "test_platform.multibot.FollowerSpec.StaticAttributes") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/multibot/common.proto", fileDescriptor_e86bfc91e5868b4d) |
| } |
| |
| var fileDescriptor_e86bfc91e5868b4d = []byte{ |
| // 407 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdd, 0x8a, 0xd3, 0x40, |
| 0x14, 0xc7, 0x99, 0x96, 0x2e, 0xec, 0x54, 0x97, 0x3a, 0x8a, 0x94, 0x7a, 0x13, 0x2a, 0x48, 0xae, |
| 0xa6, 0x4b, 0x54, 0x10, 0xef, 0x56, 0x51, 0xe2, 0x85, 0x20, 0xc9, 0x03, 0x84, 0x49, 0x9c, 0x98, |
| 0xb8, 0x93, 0x39, 0x71, 0xe6, 0xc4, 0xd2, 0x87, 0xf2, 0x75, 0xc4, 0xc7, 0x91, 0x7c, 0x34, 0xe4, |
| 0x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