public static final class TransferTypes.ObjectConditions extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
TransferTypes.ObjectConditions.Builder
Conditions that determine which objects are transferred.
|
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 |
EXCLUDE_PREFIXES_FIELD_NUMBER |
static int |
INCLUDE_PREFIXES_FIELD_NUMBER |
static int |
LAST_MODIFIED_BEFORE_FIELD_NUMBER |
static int |
LAST_MODIFIED_SINCE_FIELD_NUMBER |
static int |
MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER |
static int |
MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TransferTypes.ObjectConditions |
getDefaultInstance() |
TransferTypes.ObjectConditions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.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.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.DurationOrBuilder |
getMinTimeElapsedSinceLastModificationOrBuilder()
Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time".
|
com.google.protobuf.Parser<TransferTypes.ObjectConditions> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static TransferTypes.ObjectConditions.Builder |
newBuilder() |
static TransferTypes.ObjectConditions.Builder |
newBuilder(TransferTypes.ObjectConditions prototype) |
TransferTypes.ObjectConditions.Builder |
newBuilderForType() |
protected TransferTypes.ObjectConditions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferTypes.ObjectConditions |
parseDelimitedFrom(InputStream input) |
static TransferTypes.ObjectConditions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.ObjectConditions |
parseFrom(byte[] data) |
static TransferTypes.ObjectConditions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.ObjectConditions |
parseFrom(ByteBuffer data) |
static TransferTypes.ObjectConditions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.ObjectConditions |
parseFrom(com.google.protobuf.ByteString data) |
static TransferTypes.ObjectConditions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.ObjectConditions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferTypes.ObjectConditions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferTypes.ObjectConditions |
parseFrom(InputStream input) |
static TransferTypes.ObjectConditions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferTypes.ObjectConditions> |
parser() |
TransferTypes.ObjectConditions.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 MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER
public static final int MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER
public static final int INCLUDE_PREFIXES_FIELD_NUMBER
public static final int EXCLUDE_PREFIXES_FIELD_NUMBER
public static final int LAST_MODIFIED_SINCE_FIELD_NUMBER
public static final int LAST_MODIFIED_BEFORE_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 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 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 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 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 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 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 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 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.ObjectConditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferTypes.ObjectConditions parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.ObjectConditions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.ObjectConditions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferTypes.ObjectConditions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferTypes.ObjectConditions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferTypes.ObjectConditions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferTypes.ObjectConditions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferTypes.ObjectConditions.Builder newBuilder()
public static TransferTypes.ObjectConditions.Builder newBuilder(TransferTypes.ObjectConditions prototype)
public TransferTypes.ObjectConditions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferTypes.ObjectConditions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferTypes.ObjectConditions getDefaultInstance()
public static com.google.protobuf.Parser<TransferTypes.ObjectConditions> parser()
public com.google.protobuf.Parser<TransferTypes.ObjectConditions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferTypes.ObjectConditions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.