public static final class TransferTypes.ObjectConditions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder> implements TransferTypes.ObjectConditionsOrBuilder
Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. Transfers with a [PosixFilesystem][google.storagetransfer.v1.PosixFilesystem] source or destination don't support `ObjectConditions`.Protobuf type
google.storagetransfer.v1.ObjectConditions| Modifier and Type | Method and Description |
|---|---|
TransferTypes.ObjectConditions.Builder |
addAllExcludePrefixes(Iterable<String> values)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
TransferTypes.ObjectConditions.Builder |
addAllIncludePrefixes(Iterable<String> values)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
TransferTypes.ObjectConditions.Builder |
addExcludePrefixes(String value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
TransferTypes.ObjectConditions.Builder |
addExcludePrefixesBytes(com.google.protobuf.ByteString value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
TransferTypes.ObjectConditions.Builder |
addIncludePrefixes(String value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
TransferTypes.ObjectConditions.Builder |
addIncludePrefixesBytes(com.google.protobuf.ByteString value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
TransferTypes.ObjectConditions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransferTypes.ObjectConditions |
build() |
TransferTypes.ObjectConditions |
buildPartial() |
TransferTypes.ObjectConditions.Builder |
clear() |
TransferTypes.ObjectConditions.Builder |
clearExcludePrefixes()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
TransferTypes.ObjectConditions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransferTypes.ObjectConditions.Builder |
clearIncludePrefixes()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
TransferTypes.ObjectConditions.Builder |
clearLastModifiedBefore()
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
clearLastModifiedSince()
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
clearMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
clearMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransferTypes.ObjectConditions.Builder |
clone() |
TransferTypes.ObjectConditions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExcludePrefixes(int index)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
com.google.protobuf.ByteString |
getExcludePrefixesBytes(int index)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
int |
getExcludePrefixesCount()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
com.google.protobuf.ProtocolStringList |
getExcludePrefixesList()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
String |
getIncludePrefixes(int index)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
com.google.protobuf.ByteString |
getIncludePrefixesBytes(int index)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
int |
getIncludePrefixesCount()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
com.google.protobuf.ProtocolStringList |
getIncludePrefixesList()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
com.google.protobuf.Timestamp |
getLastModifiedBefore()
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.Timestamp.Builder |
getLastModifiedBeforeBuilder()
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.TimestampOrBuilder |
getLastModifiedBeforeOrBuilder()
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.Timestamp |
getLastModifiedSince()
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.Timestamp.Builder |
getLastModifiedSinceBuilder()
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.TimestampOrBuilder |
getLastModifiedSinceOrBuilder()
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
com.google.protobuf.Duration |
getMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
com.google.protobuf.Duration.Builder |
getMaxTimeElapsedSinceLastModificationBuilder()
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
com.google.protobuf.DurationOrBuilder |
getMaxTimeElapsedSinceLastModificationOrBuilder()
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
com.google.protobuf.Duration |
getMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
com.google.protobuf.Duration.Builder |
getMinTimeElapsedSinceLastModificationBuilder()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
com.google.protobuf.DurationOrBuilder |
getMinTimeElapsedSinceLastModificationOrBuilder()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
boolean |
hasLastModifiedBefore()
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
boolean |
hasLastModifiedSince()
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
boolean |
hasMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
boolean |
hasMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransferTypes.ObjectConditions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransferTypes.ObjectConditions.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransferTypes.ObjectConditions.Builder |
mergeFrom(TransferTypes.ObjectConditions other) |
TransferTypes.ObjectConditions.Builder |
mergeLastModifiedBefore(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
mergeLastModifiedSince(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransferTypes.ObjectConditions.Builder |
setExcludePrefixes(int index,
String value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer.
|
TransferTypes.ObjectConditions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransferTypes.ObjectConditions.Builder |
setIncludePrefixes(int index,
String value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer.
|
TransferTypes.ObjectConditions.Builder |
setLastModifiedBefore(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
setLastModifiedBefore(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" before this
timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
setLastModifiedSince(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
setLastModifiedSince(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" on or after
this timestamp and objects that don't have a "last modification time" are
transferred.
|
TransferTypes.ObjectConditions.Builder |
setMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration.Builder builderForValue)
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
setMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
setMinTimeElapsedSinceLastModification(com.google.protobuf.Duration.Builder builderForValue)
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
setMinTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
TransferTypes.ObjectConditions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransferTypes.ObjectConditions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransferTypes.ObjectConditions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransferTypes.ObjectConditions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransferTypes.ObjectConditions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder mergeFrom(TransferTypes.ObjectConditions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public TransferTypes.ObjectConditions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.ObjectConditions.Builder>IOExceptionpublic boolean hasMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;hasMinTimeElapsedSinceLastModification in interface TransferTypes.ObjectConditionsOrBuilderpublic com.google.protobuf.Duration getMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;getMinTimeElapsedSinceLastModification in interface TransferTypes.ObjectConditionsOrBuilderpublic TransferTypes.ObjectConditions.Builder setMinTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;public TransferTypes.ObjectConditions.Builder setMinTimeElapsedSinceLastModification(com.google.protobuf.Duration.Builder builderForValue)
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;public TransferTypes.ObjectConditions.Builder mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;public TransferTypes.ObjectConditions.Builder clearMinTimeElapsedSinceLastModification()
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificationBuilder()
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder()
Ensures that objects are not transferred until a specific minimum time has elapsed after the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` and the "last modification time" of the object is equal to or greater than the value of min_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration min_time_elapsed_since_last_modification = 1;getMinTimeElapsedSinceLastModificationOrBuilder in interface TransferTypes.ObjectConditionsOrBuilderpublic boolean hasMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;hasMaxTimeElapsedSinceLastModification in interface TransferTypes.ObjectConditionsOrBuilderpublic com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;getMaxTimeElapsedSinceLastModification in interface TransferTypes.ObjectConditionsOrBuilderpublic TransferTypes.ObjectConditions.Builder setMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;public TransferTypes.ObjectConditions.Builder setMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration.Builder builderForValue)
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;public TransferTypes.ObjectConditions.Builder mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Duration value)
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;public TransferTypes.ObjectConditions.Builder clearMaxTimeElapsedSinceLastModification()
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificationBuilder()
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder()
Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are transferred only if the elapsed time between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
.google.protobuf.Duration max_time_elapsed_since_last_modification = 2;getMaxTimeElapsedSinceLastModificationOrBuilder in interface TransferTypes.ObjectConditionsOrBuilderpublic com.google.protobuf.ProtocolStringList getIncludePrefixesList()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;getIncludePrefixesList in interface TransferTypes.ObjectConditionsOrBuilderpublic int getIncludePrefixesCount()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;getIncludePrefixesCount in interface TransferTypes.ObjectConditionsOrBuilderpublic String getIncludePrefixes(int index)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;getIncludePrefixes in interface TransferTypes.ObjectConditionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIncludePrefixesBytes(int index)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;getIncludePrefixesBytes in interface TransferTypes.ObjectConditionsOrBuilderindex - The index of the value to return.public TransferTypes.ObjectConditions.Builder setIncludePrefixes(int index, String value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;index - The index to set the value at.value - The includePrefixes to set.public TransferTypes.ObjectConditions.Builder addIncludePrefixes(String value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;value - The includePrefixes to add.public TransferTypes.ObjectConditions.Builder addAllIncludePrefixes(Iterable<String> values)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;values - The includePrefixes to add.public TransferTypes.ObjectConditions.Builder clearIncludePrefixes()
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;public TransferTypes.ObjectConditions.Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value)
If you specify `include_prefixes`, Storage Transfer Service uses the items
in the `include_prefixes` array to determine which objects to include in a
transfer. Objects must start with one of the matching `include_prefixes`
for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
objects must not start with any of the `exclude_prefixes` specified for
inclusion in the transfer.
The following are requirements of `include_prefixes`:
* Each include-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each include-prefix must omit the leading slash. For example, to
include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the include-prefix as `logs/y=2015/requests.gz`.
* None of the include-prefix values can be empty, if specified.
* Each include-prefix must include a distinct portion of the object
namespace. No include-prefix may be a prefix of another
include-prefix.
The max size of `include_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string include_prefixes = 3;value - The bytes of the includePrefixes to add.public com.google.protobuf.ProtocolStringList getExcludePrefixesList()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;getExcludePrefixesList in interface TransferTypes.ObjectConditionsOrBuilderpublic int getExcludePrefixesCount()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;getExcludePrefixesCount in interface TransferTypes.ObjectConditionsOrBuilderpublic String getExcludePrefixes(int index)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;getExcludePrefixes in interface TransferTypes.ObjectConditionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludePrefixesBytes(int index)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;getExcludePrefixesBytes in interface TransferTypes.ObjectConditionsOrBuilderindex - The index of the value to return.public TransferTypes.ObjectConditions.Builder setExcludePrefixes(int index, String value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;index - The index to set the value at.value - The excludePrefixes to set.public TransferTypes.ObjectConditions.Builder addExcludePrefixes(String value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;value - The excludePrefixes to add.public TransferTypes.ObjectConditions.Builder addAllExcludePrefixes(Iterable<String> values)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;values - The excludePrefixes to add.public TransferTypes.ObjectConditions.Builder clearExcludePrefixes()
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;public TransferTypes.ObjectConditions.Builder addExcludePrefixesBytes(com.google.protobuf.ByteString value)
If you specify `exclude_prefixes`, Storage Transfer Service uses the items
in the `exclude_prefixes` array to determine which objects to exclude from
a transfer. Objects must not start with one of the matching
`exclude_prefixes` for inclusion in a transfer.
The following are requirements of `exclude_prefixes`:
* Each exclude-prefix can contain any sequence of Unicode characters, to
a max length of 1024 bytes when UTF8-encoded, and must not contain
Carriage Return or Line Feed characters. Wildcard matching and regular
expression matching are not supported.
* Each exclude-prefix must omit the leading slash. For example, to
exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
specify the exclude-prefix as `logs/y=2015/requests.gz`.
* None of the exclude-prefix values can be empty, if specified.
* Each exclude-prefix must exclude a distinct portion of the object
namespace. No exclude-prefix may be a prefix of another
exclude-prefix.
* If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must
start with the value of a path explicitly included by `include_prefixes`.
The max size of `exclude_prefixes` is 1000.
For more information, see [Filtering objects from
transfers](/storage-transfer/docs/filtering-objects-from-transfers).
repeated string exclude_prefixes = 4;value - The bytes of the excludePrefixes to add.public boolean hasLastModifiedSince()
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;hasLastModifiedSince in interface TransferTypes.ObjectConditionsOrBuilderpublic com.google.protobuf.Timestamp getLastModifiedSince()
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;getLastModifiedSince in interface TransferTypes.ObjectConditionsOrBuilderpublic TransferTypes.ObjectConditions.Builder setLastModifiedSince(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;public TransferTypes.ObjectConditions.Builder setLastModifiedSince(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;public TransferTypes.ObjectConditions.Builder mergeLastModifiedSince(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;public TransferTypes.ObjectConditions.Builder clearLastModifiedSince()
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;public com.google.protobuf.Timestamp.Builder getLastModifiedSinceBuilder()
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder()
If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
.google.protobuf.Timestamp last_modified_since = 5;getLastModifiedSinceOrBuilder in interface TransferTypes.ObjectConditionsOrBuilderpublic boolean hasLastModifiedBefore()
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;hasLastModifiedBefore in interface TransferTypes.ObjectConditionsOrBuilderpublic com.google.protobuf.Timestamp getLastModifiedBefore()
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;getLastModifiedBefore in interface TransferTypes.ObjectConditionsOrBuilderpublic TransferTypes.ObjectConditions.Builder setLastModifiedBefore(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;public TransferTypes.ObjectConditions.Builder setLastModifiedBefore(com.google.protobuf.Timestamp.Builder builderForValue)
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;public TransferTypes.ObjectConditions.Builder mergeLastModifiedBefore(com.google.protobuf.Timestamp value)
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;public TransferTypes.ObjectConditions.Builder clearLastModifiedBefore()
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;public com.google.protobuf.Timestamp.Builder getLastModifiedBeforeBuilder()
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder()
If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred.
.google.protobuf.Timestamp last_modified_before = 6;getLastModifiedBeforeOrBuilder in interface TransferTypes.ObjectConditionsOrBuilderpublic final TransferTypes.ObjectConditions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>public final TransferTypes.ObjectConditions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransferTypes.ObjectConditions.Builder>Copyright © 2022 Google LLC. All rights reserved.