Class TransferTypes.ReplicationSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferTypes.ReplicationSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.ReplicationSpecOrBuilder,Serializable
- Enclosing class:
- TransferTypes
public static final class TransferTypes.ReplicationSpec
extends com.google.protobuf.GeneratedMessage
implements TransferTypes.ReplicationSpecOrBuilder
Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket. Existing objects in the source bucket are not copied by a new cross-bucket replication job.Protobuf type
google.storagetransfer.v1.ReplicationSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecifies the configuration for a cross-bucket replication job.static enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorThe Cloud Storage bucket to which to replicate objects.The Cloud Storage bucket to which to replicate objects.The Cloud Storage bucket from which to replicate objects.The Cloud Storage bucket from which to replicate objects.Object conditions that determine which objects are transferred.Object conditions that determine which objects are transferred.com.google.protobuf.Parser<TransferTypes.ReplicationSpec>intSpecifies the metadata options to be applied during replication.Specifies the metadata options to be applied during replication.booleanThe Cloud Storage bucket to which to replicate objects.booleanThe Cloud Storage bucket from which to replicate objects.inthashCode()booleanObject conditions that determine which objects are transferred.booleanSpecifies the metadata options to be applied during replication.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(TransferTypes.ReplicationSpec prototype) protected TransferTypes.ReplicationSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransferTypes.ReplicationSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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, getUnknownFields, hasField, hasOneof
-
Field Details
-
GCS_DATA_SOURCE_FIELD_NUMBER
public static final int GCS_DATA_SOURCE_FIELD_NUMBER- See Also:
-
GCS_DATA_SINK_FIELD_NUMBER
public static final int GCS_DATA_SINK_FIELD_NUMBER- See Also:
-
OBJECT_CONDITIONS_FIELD_NUMBER
public static final int OBJECT_CONDITIONS_FIELD_NUMBER- See Also:
-
TRANSFER_OPTIONS_FIELD_NUMBER
public static final int TRANSFER_OPTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDataSourceCase
- Specified by:
getDataSourceCasein interfaceTransferTypes.ReplicationSpecOrBuilder
-
getDataSinkCase
- Specified by:
getDataSinkCasein interfaceTransferTypes.ReplicationSpecOrBuilder
-
hasGcsDataSource
public boolean hasGcsDataSource()The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;- Specified by:
hasGcsDataSourcein interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- Whether the gcsDataSource field is set.
-
getGcsDataSource
The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;- Specified by:
getGcsDataSourcein interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- The gcsDataSource.
-
getGcsDataSourceOrBuilder
The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;- Specified by:
getGcsDataSourceOrBuilderin interfaceTransferTypes.ReplicationSpecOrBuilder
-
hasGcsDataSink
public boolean hasGcsDataSink()The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2;- Specified by:
hasGcsDataSinkin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- Whether the gcsDataSink field is set.
-
getGcsDataSink
The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2;- Specified by:
getGcsDataSinkin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- The gcsDataSink.
-
getGcsDataSinkOrBuilder
The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2;- Specified by:
getGcsDataSinkOrBuilderin interfaceTransferTypes.ReplicationSpecOrBuilder
-
hasObjectConditions
public boolean hasObjectConditions()Object conditions that determine which objects are transferred. For replication jobs, only `include_prefixes` and `exclude_prefixes` are supported.
.google.storagetransfer.v1.ObjectConditions object_conditions = 3;- Specified by:
hasObjectConditionsin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- Whether the objectConditions field is set.
-
getObjectConditions
Object conditions that determine which objects are transferred. For replication jobs, only `include_prefixes` and `exclude_prefixes` are supported.
.google.storagetransfer.v1.ObjectConditions object_conditions = 3;- Specified by:
getObjectConditionsin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- The objectConditions.
-
getObjectConditionsOrBuilder
Object conditions that determine which objects are transferred. For replication jobs, only `include_prefixes` and `exclude_prefixes` are supported.
.google.storagetransfer.v1.ObjectConditions object_conditions = 3;- Specified by:
getObjectConditionsOrBuilderin interfaceTransferTypes.ReplicationSpecOrBuilder
-
hasTransferOptions
public boolean hasTransferOptions()Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4;- Specified by:
hasTransferOptionsin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- Whether the transferOptions field is set.
-
getTransferOptions
Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4;- Specified by:
getTransferOptionsin interfaceTransferTypes.ReplicationSpecOrBuilder- Returns:
- The transferOptions.
-
getTransferOptionsOrBuilder
Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4;- Specified by:
getTransferOptionsOrBuilderin interfaceTransferTypes.ReplicationSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 TransferTypes.ReplicationSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TransferTypes.ReplicationSpec parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TransferTypes.ReplicationSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TransferTypes.ReplicationSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TransferTypes.ReplicationSpec 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
public static TransferTypes.ReplicationSpec.Builder newBuilder(TransferTypes.ReplicationSpec prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferTypes.ReplicationSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-