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 type
yamcs.protobuf.filetransfer.CreateTransferRequest
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.filetransfer.CreateTransferRequest
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<CreateTransferRequest>
Deprecated.static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
**Required** The bucket containing the local Yamcs object.com.google.protobuf.ByteString
**Required** The bucket containing the local Yamcs object.static CreateTransferRequest
static final com.google.protobuf.Descriptors.Descriptor
used to derive the destination entity idcom.google.protobuf.ByteString
used to derive the destination entity id**Required** One of ``UPLOAD`` or ``DOWNLOAD``.Yamcs instance namecom.google.protobuf.ByteString
Yamcs instance name**Required** The object name in Yamcs bucket storage.com.google.protobuf.ByteString
**Required** The object name in Yamcs bucket storage.com.google.protobuf.Struct
Options for the transfercom.google.protobuf.StructOrBuilder
Options for the transfercom.google.protobuf.Parser<CreateTransferRequest>
**Required** The path at the remote entity.com.google.protobuf.ByteString
**Required** The path at the remote entity.int
File transfer service namecom.google.protobuf.ByteString
File transfer service nameused to derive the source entity idcom.google.protobuf.ByteString
used to derive the source entity idfinal com.google.protobuf.UnknownFieldSet
boolean
**Required** The bucket containing the local Yamcs object.boolean
used to derive the destination entity idboolean
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.int
hashCode()
boolean
Yamcs instance nameboolean
**Required** The object name in Yamcs bucket storage.boolean
Options for the transferboolean
**Required** The path at the remote entity.boolean
File transfer service nameboolean
used to derive the source entity idprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(CreateTransferRequest prototype) protected CreateTransferRequest.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CreateTransferRequest
parseDelimitedFrom
(InputStream input) static CreateTransferRequest
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateTransferRequest
parseFrom
(byte[] data) static CreateTransferRequest
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateTransferRequest
parseFrom
(com.google.protobuf.ByteString data) static CreateTransferRequest
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateTransferRequest
parseFrom
(com.google.protobuf.CodedInputStream input) static CreateTransferRequest
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateTransferRequest
parseFrom
(InputStream input) static CreateTransferRequest
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateTransferRequest
parseFrom
(ByteBuffer data) static CreateTransferRequest
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateTransferRequest>
parser()
void
writeTo
(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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
SERVICENAME_FIELD_NUMBER
public static final int SERVICENAME_FIELD_NUMBER- See Also:
-
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER- See Also:
-
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER- See Also:
-
OBJECTNAME_FIELD_NUMBER
public static final int OBJECTNAME_FIELD_NUMBER- See Also:
-
REMOTEPATH_FIELD_NUMBER
public static final int REMOTEPATH_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for instance.
-
hasServiceName
public boolean hasServiceName()File transfer service name
optional string serviceName = 8;
- Specified by:
hasServiceName
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the serviceName field is set.
-
getServiceName
File transfer service name
optional string serviceName = 8;
- Specified by:
getServiceName
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()File transfer service name
optional string serviceName = 8;
- Specified by:
getServiceNameBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for serviceName.
-
hasDirection
public boolean hasDirection()**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;
- Specified by:
hasDirection
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the direction field is set.
-
getDirection
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;
- Specified by:
getDirection
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The direction.
-
hasBucket
public boolean hasBucket()**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;
- Specified by:
hasBucket
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the bucket field is set.
-
getBucket
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;
- Specified by:
getBucket
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bucket.
-
getBucketBytes
public com.google.protobuf.ByteString getBucketBytes()**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;
- Specified by:
getBucketBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for bucket.
-
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:
hasObjectName
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the objectName field is set.
-
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:
getObjectName
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The objectName.
-
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:
getObjectNameBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for objectName.
-
hasRemotePath
public boolean hasRemotePath()**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;
- Specified by:
hasRemotePath
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the remotePath field is set.
-
getRemotePath
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;
- Specified by:
getRemotePath
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The remotePath.
-
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:
getRemotePathBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for remotePath.
-
hasSource
public boolean hasSource()used to derive the source entity id
optional string source = 9;
- Specified by:
hasSource
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
used to derive the source entity id
optional string source = 9;
- Specified by:
getSource
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()used to derive the source entity id
optional string source = 9;
- Specified by:
getSourceBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for source.
-
hasDestination
public boolean hasDestination()used to derive the destination entity id
optional string destination = 10;
- Specified by:
hasDestination
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
used to derive the destination entity id
optional string destination = 10;
- Specified by:
getDestination
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()used to derive the destination entity id
optional string destination = 10;
- Specified by:
getDestinationBytes
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The bytes for destination.
-
hasOptions
public boolean hasOptions()Options for the transfer
optional .google.protobuf.Struct options = 11;
- Specified by:
hasOptions
in interfaceCreateTransferRequestOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
public com.google.protobuf.Struct getOptions()Options for the transfer
optional .google.protobuf.Struct options = 11;
- Specified by:
getOptions
in interfaceCreateTransferRequestOrBuilder
- Returns:
- The options.
-
getOptionsOrBuilder
public com.google.protobuf.StructOrBuilder getOptionsOrBuilder()Options for the transfer
optional .google.protobuf.Struct options = 11;
- Specified by:
getOptionsOrBuilder
in interfaceCreateTransferRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
- Throws:
IOException
-
parseFrom
public static CreateTransferRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateTransferRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-