public static final class TransferTypes.TransferOptions extends com.google.protobuf.GeneratedMessageV3 implements TransferTypes.TransferOptionsOrBuilder
TransferOptions define the actions to be performed on objects in a transfer.Protobuf type
google.storagetransfer.v1.TransferOptions| Modifier and Type | Class and Description |
|---|---|
static class |
TransferTypes.TransferOptions.Builder
TransferOptions define the actions to be performed on objects in a transfer.
|
static class |
TransferTypes.TransferOptions.OverwriteWhen
Specifies when to overwrite an object in the sink when an object with
matching name is found in the source.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER |
static int |
DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER |
static int |
METADATA_OPTIONS_FIELD_NUMBER |
static int |
OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER |
static int |
OVERWRITE_WHEN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TransferTypes.TransferOptions |
getDefaultInstance() |
TransferTypes.TransferOptions |
getDefaultInstanceForType() |
boolean |
getDeleteObjectsFromSourceAfterTransfer()
Whether objects should be deleted from the source after they are
transferred to the sink.
|
boolean |
getDeleteObjectsUniqueInSink()
Whether objects that exist only in the sink should be deleted.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TransferTypes.MetadataOptions |
getMetadataOptions()
Represents the selected metadata options for a transfer job.
|
TransferTypes.MetadataOptionsOrBuilder |
getMetadataOptionsOrBuilder()
Represents the selected metadata options for a transfer job.
|
boolean |
getOverwriteObjectsAlreadyExistingInSink()
When to overwrite objects that already exist in the sink.
|
TransferTypes.TransferOptions.OverwriteWhen |
getOverwriteWhen()
When to overwrite objects that already exist in the sink.
|
int |
getOverwriteWhenValue()
When to overwrite objects that already exist in the sink.
|
com.google.protobuf.Parser<TransferTypes.TransferOptions> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMetadataOptions()
Represents the selected metadata options for a transfer job.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferTypes.TransferOptions.Builder |
newBuilder() |
static TransferTypes.TransferOptions.Builder |
newBuilder(TransferTypes.TransferOptions prototype) |
TransferTypes.TransferOptions.Builder |
newBuilderForType() |
protected TransferTypes.TransferOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferTypes.TransferOptions |
parseDelimitedFrom(InputStream input) |
static TransferTypes.TransferOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.TransferOptions |
parseFrom(byte[] data) |
static TransferTypes.TransferOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.TransferOptions |
parseFrom(ByteBuffer data) |
static TransferTypes.TransferOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.TransferOptions |
parseFrom(com.google.protobuf.ByteString data) |
static TransferTypes.TransferOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.TransferOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferTypes.TransferOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.TransferOptions |
parseFrom(InputStream input) |
static TransferTypes.TransferOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferTypes.TransferOptions> |
parser() |
TransferTypes.TransferOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER
public static final int DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER
public static final int DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER
public static final int OVERWRITE_WHEN_FIELD_NUMBER
public static final int METADATA_OPTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getOverwriteObjectsAlreadyExistingInSink()
When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
bool overwrite_objects_already_existing_in_sink = 1;getOverwriteObjectsAlreadyExistingInSink in interface TransferTypes.TransferOptionsOrBuilderpublic boolean getDeleteObjectsUniqueInSink()
Whether objects that exist only in the sink should be deleted. **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are mutually exclusive.
bool delete_objects_unique_in_sink = 2;getDeleteObjectsUniqueInSink in interface TransferTypes.TransferOptionsOrBuilderpublic boolean getDeleteObjectsFromSourceAfterTransfer()
Whether objects should be deleted from the source after they are transferred to the sink. **Note:** This option and [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink] are mutually exclusive.
bool delete_objects_from_source_after_transfer = 3;getDeleteObjectsFromSourceAfterTransfer in interface TransferTypes.TransferOptionsOrBuilderpublic int getOverwriteWhenValue()
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
.google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4;getOverwriteWhenValue in interface TransferTypes.TransferOptionsOrBuilderpublic TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen()
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
.google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4;getOverwriteWhen in interface TransferTypes.TransferOptionsOrBuilderpublic boolean hasMetadataOptions()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;hasMetadataOptions in interface TransferTypes.TransferOptionsOrBuilderpublic TransferTypes.MetadataOptions getMetadataOptions()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;getMetadataOptions in interface TransferTypes.TransferOptionsOrBuilderpublic TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;getMetadataOptionsOrBuilder in interface TransferTypes.TransferOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferTypes.TransferOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.TransferOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.TransferOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.TransferOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.TransferOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.TransferOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferTypes.TransferOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferTypes.TransferOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferTypes.TransferOptions.Builder newBuilder()
public static TransferTypes.TransferOptions.Builder newBuilder(TransferTypes.TransferOptions prototype)
public TransferTypes.TransferOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferTypes.TransferOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferTypes.TransferOptions getDefaultInstance()
public static com.google.protobuf.Parser<TransferTypes.TransferOptions> parser()
public com.google.protobuf.Parser<TransferTypes.TransferOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferTypes.TransferOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.