Package org.yamcs.protobuf
Class CreateTransferRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.CreateTransferRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,CreateTransferRequestOrBuilder
public final class CreateTransferRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateTransferRequestOrBuilder
Protobuf typeyamcs.protobuf.filetransfer.CreateTransferRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTransferRequest.BuilderProtobuf typeyamcs.protobuf.filetransfer.CreateTransferRequeststatic classCreateTransferRequest.DownloadOptionsProtobuf typeyamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptionsstatic interfaceCreateTransferRequest.DownloadOptionsOrBuilderstatic classCreateTransferRequest.UploadOptionsProtobuf typeyamcs.protobuf.filetransfer.CreateTransferRequest.UploadOptionsstatic interfaceCreateTransferRequest.UploadOptionsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static intBUCKET_FIELD_NUMBERstatic intDESTINATION_FIELD_NUMBERstatic intDIRECTION_FIELD_NUMBERstatic intDOWNLOADOPTIONS_FIELD_NUMBERstatic intINSTANCE_FIELD_NUMBERstatic intOBJECTNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<CreateTransferRequest>PARSERDeprecated.static intREMOTEPATH_FIELD_NUMBERstatic intSERVICENAME_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intUPLOADOPTIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBucket()**Required** The bucket containing the local Yamcs object.com.google.protobuf.ByteStringgetBucketBytes()**Required** The bucket containing the local Yamcs object.static CreateTransferRequestgetDefaultInstance()CreateTransferRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDestination()used to derive the destination entity idcom.google.protobuf.ByteStringgetDestinationBytes()used to derive the destination entity idTransferDirectiongetDirection()**Required** One of ``UPLOAD`` or ``DOWNLOAD``.CreateTransferRequest.DownloadOptionsgetDownloadOptions()optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;CreateTransferRequest.DownloadOptionsOrBuildergetDownloadOptionsOrBuilder()optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;StringgetInstance()optional string instance = 1;com.google.protobuf.ByteStringgetInstanceBytes()optional string instance = 1;StringgetObjectName()**Required** The object name in Yamcs bucket storage.com.google.protobuf.ByteStringgetObjectNameBytes()**Required** The object name in Yamcs bucket storage.com.google.protobuf.Parser<CreateTransferRequest>getParserForType()StringgetRemotePath()**Required** The path at the remote entity.com.google.protobuf.ByteStringgetRemotePathBytes()**Required** The path at the remote entity.intgetSerializedSize()StringgetServiceName()service namecom.google.protobuf.ByteStringgetServiceNameBytes()service nameStringgetSource()used to derive the source entity idcom.google.protobuf.ByteStringgetSourceBytes()used to derive the source entity idcom.google.protobuf.UnknownFieldSetgetUnknownFields()CreateTransferRequest.UploadOptionsgetUploadOptions()Configuration options specific to ``UPLOAD`` transfers.CreateTransferRequest.UploadOptionsOrBuildergetUploadOptionsOrBuilder()Configuration options specific to ``UPLOAD`` transfers.booleanhasBucket()**Required** The bucket containing the local Yamcs object.booleanhasDestination()used to derive the destination entity idbooleanhasDirection()**Required** One of ``UPLOAD`` or ``DOWNLOAD``.booleanhasDownloadOptions()optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;inthashCode()booleanhasInstance()optional string instance = 1;booleanhasObjectName()**Required** The object name in Yamcs bucket storage.booleanhasRemotePath()**Required** The path at the remote entity.booleanhasServiceName()service namebooleanhasSource()used to derive the source entity idbooleanhasUploadOptions()Configuration options specific to ``UPLOAD`` transfers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CreateTransferRequest.BuildernewBuilder()static CreateTransferRequest.BuildernewBuilder(CreateTransferRequest prototype)CreateTransferRequest.BuildernewBuilderForType()protected CreateTransferRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static CreateTransferRequestparseDelimitedFrom(InputStream input)static CreateTransferRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateTransferRequestparseFrom(byte[] data)static CreateTransferRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateTransferRequestparseFrom(com.google.protobuf.ByteString data)static CreateTransferRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateTransferRequestparseFrom(com.google.protobuf.CodedInputStream input)static CreateTransferRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateTransferRequestparseFrom(InputStream input)static CreateTransferRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateTransferRequestparseFrom(ByteBuffer data)static CreateTransferRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CreateTransferRequest>parser()CreateTransferRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICENAME_FIELD_NUMBER
public static final int SERVICENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECTNAME_FIELD_NUMBER
public static final int OBJECTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTEPATH_FIELD_NUMBER
public static final int REMOTEPATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOWNLOADOPTIONS_FIELD_NUMBER
public static final int DOWNLOADOPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPLOADOPTIONS_FIELD_NUMBER
public static final int UPLOADOPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<CreateTransferRequest> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()
optional string instance = 1;- Specified by:
hasInstancein interfaceCreateTransferRequestOrBuilder
-
getInstance
public String getInstance()
optional string instance = 1;- Specified by:
getInstancein interfaceCreateTransferRequestOrBuilder
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceCreateTransferRequestOrBuilder
-
hasServiceName
public boolean hasServiceName()
service name
optional string serviceName = 8;- Specified by:
hasServiceNamein interfaceCreateTransferRequestOrBuilder
-
getServiceName
public String getServiceName()
service name
optional string serviceName = 8;- Specified by:
getServiceNamein interfaceCreateTransferRequestOrBuilder
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
service name
optional string serviceName = 8;- Specified by:
getServiceNameBytesin interfaceCreateTransferRequestOrBuilder
-
hasDirection
public boolean hasDirection()
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;- Specified by:
hasDirectionin interfaceCreateTransferRequestOrBuilder
-
getDirection
public TransferDirection getDirection()
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;- Specified by:
getDirectionin interfaceCreateTransferRequestOrBuilder
-
hasBucket
public boolean hasBucket()
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Specified by:
hasBucketin interfaceCreateTransferRequestOrBuilder
-
getBucket
public String getBucket()
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Specified by:
getBucketin interfaceCreateTransferRequestOrBuilder
-
getBucketBytes
public com.google.protobuf.ByteString getBucketBytes()
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Specified by:
getBucketBytesin interfaceCreateTransferRequestOrBuilder
-
hasObjectName
public boolean hasObjectName()
**Required** The object name in Yamcs bucket storage. For UPLOAD transfers, this object must exist and is what Yamcs will transfer to the remote entity. For DOWNLOAD transfers, it refers to the object that Yamcs will write to when downloading from a remote entity.
optional string objectName = 4;- Specified by:
hasObjectNamein interfaceCreateTransferRequestOrBuilder
-
getObjectName
public String getObjectName()
**Required** The object name in Yamcs bucket storage. For UPLOAD transfers, this object must exist and is what Yamcs will transfer to the remote entity. For DOWNLOAD transfers, it refers to the object that Yamcs will write to when downloading from a remote entity.
optional string objectName = 4;- Specified by:
getObjectNamein interfaceCreateTransferRequestOrBuilder
-
getObjectNameBytes
public com.google.protobuf.ByteString getObjectNameBytes()
**Required** The object name in Yamcs bucket storage. For UPLOAD transfers, this object must exist and is what Yamcs will transfer to the remote entity. For DOWNLOAD transfers, it refers to the object that Yamcs will write to when downloading from a remote entity.
optional string objectName = 4;- Specified by:
getObjectNameBytesin interfaceCreateTransferRequestOrBuilder
-
hasRemotePath
public boolean hasRemotePath()
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Specified by:
hasRemotePathin interfaceCreateTransferRequestOrBuilder
-
getRemotePath
public String getRemotePath()
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Specified by:
getRemotePathin interfaceCreateTransferRequestOrBuilder
-
getRemotePathBytes
public com.google.protobuf.ByteString getRemotePathBytes()
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Specified by:
getRemotePathBytesin interfaceCreateTransferRequestOrBuilder
-
hasDownloadOptions
public boolean hasDownloadOptions()
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;- Specified by:
hasDownloadOptionsin interfaceCreateTransferRequestOrBuilder
-
getDownloadOptions
public CreateTransferRequest.DownloadOptions getDownloadOptions()
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;- Specified by:
getDownloadOptionsin interfaceCreateTransferRequestOrBuilder
-
getDownloadOptionsOrBuilder
public CreateTransferRequest.DownloadOptionsOrBuilder getDownloadOptionsOrBuilder()
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.DownloadOptions downloadOptions = 6;- Specified by:
getDownloadOptionsOrBuilderin interfaceCreateTransferRequestOrBuilder
-
hasUploadOptions
public boolean hasUploadOptions()
Configuration options specific to ``UPLOAD`` transfers.
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.UploadOptions uploadOptions = 7;- Specified by:
hasUploadOptionsin interfaceCreateTransferRequestOrBuilder
-
getUploadOptions
public CreateTransferRequest.UploadOptions getUploadOptions()
Configuration options specific to ``UPLOAD`` transfers.
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.UploadOptions uploadOptions = 7;- Specified by:
getUploadOptionsin interfaceCreateTransferRequestOrBuilder
-
getUploadOptionsOrBuilder
public CreateTransferRequest.UploadOptionsOrBuilder getUploadOptionsOrBuilder()
Configuration options specific to ``UPLOAD`` transfers.
optional .yamcs.protobuf.filetransfer.CreateTransferRequest.UploadOptions uploadOptions = 7;- Specified by:
getUploadOptionsOrBuilderin interfaceCreateTransferRequestOrBuilder
-
hasSource
public boolean hasSource()
used to derive the source entity id
optional string source = 9;- Specified by:
hasSourcein interfaceCreateTransferRequestOrBuilder
-
getSource
public String getSource()
used to derive the source entity id
optional string source = 9;- Specified by:
getSourcein interfaceCreateTransferRequestOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
used to derive the source entity id
optional string source = 9;- Specified by:
getSourceBytesin interfaceCreateTransferRequestOrBuilder
-
hasDestination
public boolean hasDestination()
used to derive the destination entity id
optional string destination = 10;- Specified by:
hasDestinationin interfaceCreateTransferRequestOrBuilder
-
getDestination
public String getDestination()
used to derive the destination entity id
optional string destination = 10;- Specified by:
getDestinationin interfaceCreateTransferRequestOrBuilder
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()
used to derive the destination entity id
optional string destination = 10;- Specified by:
getDestinationBytesin interfaceCreateTransferRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateTransferRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateTransferRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateTransferRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CreateTransferRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CreateTransferRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateTransferRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateTransferRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CreateTransferRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CreateTransferRequest.Builder newBuilder()
-
newBuilder
public static CreateTransferRequest.Builder newBuilder(CreateTransferRequest prototype)
-
toBuilder
public CreateTransferRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateTransferRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CreateTransferRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CreateTransferRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<CreateTransferRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CreateTransferRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-