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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.filetransfer.CreateTransferRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<CreateTransferRequest>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields 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 CreateTransferRequeststatic final com.google.protobuf.Descriptors.Descriptorused to derive the destination entity idcom.google.protobuf.ByteStringused to derive the destination entity id**Required** One of ``UPLOAD`` or ``DOWNLOAD``.Yamcs instance namecom.google.protobuf.ByteStringYamcs 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.StructOptions for the transfercom.google.protobuf.StructOrBuilderOptions 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.intFile transfer service namecom.google.protobuf.ByteStringFile transfer service nameused to derive the source entity idcom.google.protobuf.ByteStringused to derive the source entity idfinal com.google.protobuf.UnknownFieldSetboolean**Required** The bucket containing the local Yamcs object.booleanused to derive the destination entity idboolean**Required** One of ``UPLOAD`` or ``DOWNLOAD``.inthashCode()booleanYamcs instance nameboolean**Required** The object name in Yamcs bucket storage.booleanOptions for the transferboolean**Required** The path at the remote entity.booleanFile transfer service namebooleanused to derive the source entity idprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(CreateTransferRequest prototype) protected CreateTransferRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceCreateTransferRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceCreateTransferRequestOrBuilder- Returns:
- The bytes for instance.
-
hasServiceName
public boolean hasServiceName()File transfer service name
optional string serviceName = 8;- Specified by:
hasServiceNamein interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the serviceName field is set.
-
getServiceName
File transfer service name
optional string serviceName = 8;- Specified by:
getServiceNamein interfaceCreateTransferRequestOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()File transfer service name
optional string serviceName = 8;- Specified by:
getServiceNameBytesin 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:
hasDirectionin interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the direction field is set.
-
getDirection
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;- Specified by:
getDirectionin interfaceCreateTransferRequestOrBuilder- Returns:
- The direction.
-
hasBucket
public boolean hasBucket()**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Specified by:
hasBucketin interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the bucket field is set.
-
getBucket
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Specified by:
getBucketin 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:
getBucketBytesin 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:
hasObjectNamein 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:
getObjectNamein 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:
getObjectNameBytesin 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:
hasRemotePathin 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:
getRemotePathin 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:
getRemotePathBytesin interfaceCreateTransferRequestOrBuilder- Returns:
- The bytes for remotePath.
-
hasSource
public boolean hasSource()used to derive the source entity id
optional string source = 9;- Specified by:
hasSourcein interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
used to derive the source entity id
optional string source = 9;- Specified by:
getSourcein interfaceCreateTransferRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()used to derive the source entity id
optional string source = 9;- Specified by:
getSourceBytesin interfaceCreateTransferRequestOrBuilder- Returns:
- The bytes for source.
-
hasDestination
public boolean hasDestination()used to derive the destination entity id
optional string destination = 10;- Specified by:
hasDestinationin interfaceCreateTransferRequestOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
used to derive the destination entity id
optional string destination = 10;- Specified by:
getDestinationin interfaceCreateTransferRequestOrBuilder- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()used to derive the destination entity id
optional string destination = 10;- Specified by:
getDestinationBytesin interfaceCreateTransferRequestOrBuilder- Returns:
- The bytes for destination.
-
hasOptions
public boolean hasOptions()Options for the transfer
optional .google.protobuf.Struct options = 11;- Specified by:
hasOptionsin 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:
getOptionsin interfaceCreateTransferRequestOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
public com.google.protobuf.StructOrBuilder getOptionsOrBuilder()Options for the transfer
optional .google.protobuf.Struct options = 11;- Specified by:
getOptionsOrBuilderin interfaceCreateTransferRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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
- 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-