java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
org.yamcs.protobuf.CreateTransferRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CreateTransferRequestOrBuilder
- Enclosing class:
- CreateTransferRequest
public static final class CreateTransferRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
implements CreateTransferRequestOrBuilder
Protobuf type
yamcs.protobuf.filetransfer.CreateTransferRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()**Required** The bucket containing the local Yamcs object.used to derive the destination entity id**Required** One of ``UPLOAD`` or ``DOWNLOAD``.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Yamcs instance name**Required** The object name in Yamcs bucket storage.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Options for the transfer**Required** The path at the remote entity.File transfer service nameused to derive the source entity idclone()**Required** The bucket containing the local Yamcs object.com.google.protobuf.ByteString**Required** The bucket containing the local Yamcs object.static final com.google.protobuf.Descriptors.Descriptorcom.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.Struct.BuilderOptions for the transfercom.google.protobuf.StructOrBuilderOptions for the transfer**Required** The path at the remote entity.com.google.protobuf.ByteString**Required** The path at the remote entity.File transfer service namecom.google.protobuf.ByteStringFile transfer service nameused to derive the source entity idcom.google.protobuf.ByteStringused to derive the source entity idboolean**Required** The bucket containing the local Yamcs object.booleanused to derive the destination entity idboolean**Required** One of ``UPLOAD`` or ``DOWNLOAD``.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateTransferRequest other) mergeOptions(com.google.protobuf.Struct value) Options for the transfermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) **Required** The bucket containing the local Yamcs object.setBucketBytes(com.google.protobuf.ByteString value) **Required** The bucket containing the local Yamcs object.setDestination(String value) used to derive the destination entity idsetDestinationBytes(com.google.protobuf.ByteString value) used to derive the destination entity idsetDirection(TransferDirection value) **Required** One of ``UPLOAD`` or ``DOWNLOAD``.setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance namesetObjectName(String value) **Required** The object name in Yamcs bucket storage.setObjectNameBytes(com.google.protobuf.ByteString value) **Required** The object name in Yamcs bucket storage.setOptions(com.google.protobuf.Struct value) Options for the transfersetOptions(com.google.protobuf.Struct.Builder builderForValue) Options for the transfersetRemotePath(String value) **Required** The path at the remote entity.setRemotePathBytes(com.google.protobuf.ByteString value) **Required** The path at the remote entity.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceName(String value) File transfer service namesetServiceNameBytes(com.google.protobuf.ByteString value) File transfer service nameused to derive the source entity idsetSourceBytes(com.google.protobuf.ByteString value) used to derive the source entity idsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<CreateTransferRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
setField
public CreateTransferRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
clearField
public CreateTransferRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
clearOneof
public CreateTransferRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
setRepeatedField
public CreateTransferRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
addRepeatedField
public CreateTransferRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTransferRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
mergeFrom
public CreateTransferRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTransferRequest.Builder>- Throws:
IOException
-
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.
-
setInstance
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
Yamcs instance name
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
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.
-
setServiceName
File transfer service name
optional string serviceName = 8;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
File transfer service name
optional string serviceName = 8;- Returns:
- This builder for chaining.
-
setServiceNameBytes
File transfer service name
optional string serviceName = 8;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
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.
-
setDirection
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;- Parameters:
value- The direction to set.- Returns:
- This builder for chaining.
-
clearDirection
**Required** One of ``UPLOAD`` or ``DOWNLOAD``.
optional .yamcs.protobuf.filetransfer.TransferDirection direction = 2;- Returns:
- This builder for chaining.
-
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.
-
setBucket
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Parameters:
value- The bucket to set.- Returns:
- This builder for chaining.
-
clearBucket
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Returns:
- This builder for chaining.
-
setBucketBytes
**Required** The bucket containing the local Yamcs object.
optional string bucket = 3;- Parameters:
value- The bytes for bucket to set.- Returns:
- This builder for chaining.
-
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.
-
setObjectName
**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;- Parameters:
value- The objectName to set.- Returns:
- This builder for chaining.
-
clearObjectName
**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;- Returns:
- This builder for chaining.
-
setObjectNameBytes
**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;- Parameters:
value- The bytes for objectName to set.- Returns:
- This builder for chaining.
-
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.
-
setRemotePath
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Parameters:
value- The remotePath to set.- Returns:
- This builder for chaining.
-
clearRemotePath
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Returns:
- This builder for chaining.
-
setRemotePathBytes
**Required** The path at the remote entity. Example: ``a/local/path/some_filename``.
optional string remotePath = 5;- Parameters:
value- The bytes for remotePath to set.- Returns:
- This builder for chaining.
-
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.
-
setSource
used to derive the source entity id
optional string source = 9;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
used to derive the source entity id
optional string source = 9;- Returns:
- This builder for chaining.
-
setSourceBytes
used to derive the source entity id
optional string source = 9;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
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.
-
setDestination
used to derive the destination entity id
optional string destination = 10;- Parameters:
value- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
used to derive the destination entity id
optional string destination = 10;- Returns:
- This builder for chaining.
-
setDestinationBytes
used to derive the destination entity id
optional string destination = 10;- Parameters:
value- The bytes for destination to set.- Returns:
- This builder for chaining.
-
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.
-
setOptions
Options for the transfer
optional .google.protobuf.Struct options = 11; -
setOptions
Options for the transfer
optional .google.protobuf.Struct options = 11; -
mergeOptions
Options for the transfer
optional .google.protobuf.Struct options = 11; -
clearOptions
Options for the transfer
optional .google.protobuf.Struct options = 11; -
getOptionsBuilder
public com.google.protobuf.Struct.Builder getOptionsBuilder()Options for the transfer
optional .google.protobuf.Struct options = 11; -
getOptionsOrBuilder
public com.google.protobuf.StructOrBuilder getOptionsOrBuilder()Options for the transfer
optional .google.protobuf.Struct options = 11;- Specified by:
getOptionsOrBuilderin interfaceCreateTransferRequestOrBuilder
-
setUnknownFields
public final CreateTransferRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-
mergeUnknownFields
public final CreateTransferRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTransferRequest.Builder>
-