| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: chromiumos/storage_path.proto |
| |
| package _go |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type StoragePath_HostType int32 |
| |
| const ( |
| StoragePath_HOSTTYPE_UNSPECIFIED StoragePath_HostType = 0 |
| // The resources are hosted locally. |
| StoragePath_LOCAL StoragePath_HostType = 1 |
| // The resources are hosted in Google Storage. |
| StoragePath_GS StoragePath_HostType = 2 |
| ) |
| |
| var StoragePath_HostType_name = map[int32]string{ |
| 0: "HOSTTYPE_UNSPECIFIED", |
| 1: "LOCAL", |
| 2: "GS", |
| } |
| |
| var StoragePath_HostType_value = map[string]int32{ |
| "HOSTTYPE_UNSPECIFIED": 0, |
| "LOCAL": 1, |
| "GS": 2, |
| } |
| |
| func (x StoragePath_HostType) String() string { |
| return proto.EnumName(StoragePath_HostType_name, int32(x)) |
| } |
| |
| func (StoragePath_HostType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_78c417772ea43845, []int{0, 0} |
| } |
| |
| // Defines remote/local path to storage resources |
| // E.g. build/test artifacts, logs, telemetry, etc... |
| // |
| // This abstraction enables consistent API usage regardless of test |
| // execution environment (local dev, managed labs, ...). |
| type StoragePath struct { |
| // Host of the storage resources. |
| HostType StoragePath_HostType `protobuf:"varint,1,opt,name=host_type,json=hostType,proto3,enum=chromiumos.StoragePath_HostType" json:"host_type,omitempty"` |
| // Path to a directory on the host containing the resources. |
| Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *StoragePath) Reset() { *m = StoragePath{} } |
| func (m *StoragePath) String() string { return proto.CompactTextString(m) } |
| func (*StoragePath) ProtoMessage() {} |
| func (*StoragePath) Descriptor() ([]byte, []int) { |
| return fileDescriptor_78c417772ea43845, []int{0} |
| } |
| |
| func (m *StoragePath) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_StoragePath.Unmarshal(m, b) |
| } |
| func (m *StoragePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_StoragePath.Marshal(b, m, deterministic) |
| } |
| func (m *StoragePath) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_StoragePath.Merge(m, src) |
| } |
| func (m *StoragePath) XXX_Size() int { |
| return xxx_messageInfo_StoragePath.Size(m) |
| } |
| func (m *StoragePath) XXX_DiscardUnknown() { |
| xxx_messageInfo_StoragePath.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_StoragePath proto.InternalMessageInfo |
| |
| func (m *StoragePath) GetHostType() StoragePath_HostType { |
| if m != nil { |
| return m.HostType |
| } |
| return StoragePath_HOSTTYPE_UNSPECIFIED |
| } |
| |
| func (m *StoragePath) GetPath() string { |
| if m != nil { |
| return m.Path |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterEnum("chromiumos.StoragePath_HostType", StoragePath_HostType_name, StoragePath_HostType_value) |
| proto.RegisterType((*StoragePath)(nil), "chromiumos.StoragePath") |
| } |
| |
| func init() { proto.RegisterFile("chromiumos/storage_path.proto", fileDescriptor_78c417772ea43845) } |
| |
| var fileDescriptor_78c417772ea43845 = []byte{ |
| // 212 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xce, 0x28, 0xca, |
| 0xcf, 0xcd, 0x2c, 0xcd, 0xcd, 0x2f, 0xd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