| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/phosphorus/upload_to_gs.proto |
| |
| package phosphorus |
| |
| 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 |
| |
| // UploadToGSRequest defines the input of `phosphorus upload-to-gs`, for |
| // uploading to Google Storage. |
| type UploadToGSRequest struct { |
| // Deprecated in favor of local_directory, which is the only thing it's used |
| // for. Assembling that directory is moving to the 'callers'. |
| Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Deprecated: Do not use. |
| // GS path to upload to, e.g. gs://foo/bar/baz/ |
| GsDirectory string `protobuf:"bytes,2,opt,name=gs_directory,json=gsDirectory,proto3" json:"gs_directory,omitempty"` |
| // Absolute path to local directory to upload to GS, e.g. /usr/local/foo/bar |
| LocalDirectory string `protobuf:"bytes,4,opt,name=local_directory,json=localDirectory,proto3" json:"local_directory,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UploadToGSRequest) Reset() { *m = UploadToGSRequest{} } |
| func (m *UploadToGSRequest) String() string { return proto.CompactTextString(m) } |
| func (*UploadToGSRequest) ProtoMessage() {} |
| func (*UploadToGSRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_9d97044d32bb5390, []int{0} |
| } |
| |
| func (m *UploadToGSRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UploadToGSRequest.Unmarshal(m, b) |
| } |
| func (m *UploadToGSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UploadToGSRequest.Marshal(b, m, deterministic) |
| } |
| func (m *UploadToGSRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UploadToGSRequest.Merge(m, src) |
| } |
| func (m *UploadToGSRequest) XXX_Size() int { |
| return xxx_messageInfo_UploadToGSRequest.Size(m) |
| } |
| func (m *UploadToGSRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UploadToGSRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UploadToGSRequest proto.InternalMessageInfo |
| |
| // Deprecated: Do not use. |
| func (m *UploadToGSRequest) GetConfig() *Config { |
| if m != nil { |
| return m.Config |
| } |
| return nil |
| } |
| |
| func (m *UploadToGSRequest) GetGsDirectory() string { |
| if m != nil { |
| return m.GsDirectory |
| } |
| return "" |
| } |
| |
| func (m *UploadToGSRequest) GetLocalDirectory() string { |
| if m != nil { |
| return m.LocalDirectory |
| } |
| return "" |
| } |
| |
| type UploadToGSResponse struct { |
| // URL of Google Storage location containing offloaded files |
| GsUrl string `protobuf:"bytes,1,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UploadToGSResponse) Reset() { *m = UploadToGSResponse{} } |
| func (m *UploadToGSResponse) String() string { return proto.CompactTextString(m) } |
| func (*UploadToGSResponse) ProtoMessage() {} |
| func (*UploadToGSResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_9d97044d32bb5390, []int{1} |
| } |
| |
| func (m *UploadToGSResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UploadToGSResponse.Unmarshal(m, b) |
| } |
| func (m *UploadToGSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UploadToGSResponse.Marshal(b, m, deterministic) |
| } |
| func (m *UploadToGSResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UploadToGSResponse.Merge(m, src) |
| } |
| func (m *UploadToGSResponse) XXX_Size() int { |
| return xxx_messageInfo_UploadToGSResponse.Size(m) |
| } |
| func (m *UploadToGSResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_UploadToGSResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UploadToGSResponse proto.InternalMessageInfo |
| |
| func (m *UploadToGSResponse) GetGsUrl() string { |
| if m != nil { |
| return m.GsUrl |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*UploadToGSRequest)(nil), "test_platform.phosphorus.UploadToGSRequest") |
| proto.RegisterType((*UploadToGSResponse)(nil), "test_platform.phosphorus.UploadToGSResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/phosphorus/upload_to_gs.proto", fileDescriptor_9d97044d32bb5390) |
| } |
| |
| var fileDescriptor_9d97044d32bb5390 = []byte{ |
| // 260 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xcf, 0x4b, 0xc3, 0x30, |
| 0x14, 0x07, 0x70, 0x3a, 0x67, 0x71, 0x99, 0xf8, 0x23, 0x20, 0x14, 0x4f, 0x75, 0x20, 0x0e, 0x06, |
| 0x09, 0xe8, 0xd5, 0x53, 0x1d, 0x08, 0x1e, 0xab, 0xbb, 0x78, 0x29, 0xb5, 0x4b, 0xd3, 0x42, 0xd2, |
| 0x17, 0xdf, 0x4b, 0x0e, 0xfe, 0x3d, 0xfe, 0xa3, 0x42, 0x74, 0x3a, 0x0f, 0x3d, 0xe6, 0xf1, 0xc9, |
| 0x37, 0xdf, 0x3c, 0xb6, 0xf2, 0x8a, 0x7c, 0xe5, 0x4c, 0xed, 0x5b, 0x40, 0x2b, 0x5d, 0x07, 0xe4, |
| 0x3a, 0xc0, 0x40, 0x32, 0x38, 0x03, 0xf5, 0xb6, 0xf2, 0x50, 0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