# Class TransferTypes.ObjectConditions (1.93.0)

1.93.0 (latest) 1.91.0 1.88.0 1.87.0 1.85.0 1.83.0 1.82.0 1.80.0 1.78.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.70.0 1.68.0 1.67.0 1.64.0 1.63.0 1.62.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.0.4

    public static final class TransferTypes.ObjectConditions extends GeneratedMessage 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.

For S3 objects, the `LastModified` value is the time the object begins
uploading. If the object meets your "last modification time" criteria,
but has not finished uploading, the object is not transferred. See
[Transfer from Amazon S3 to Cloud
Storage](https://cloud.google.com/storage-transfer/docs/create-transfers/agentless/s3#transfer_options)
for more information.

Transfers with a PosixFilesystem
source or destination don't support `ObjectConditions`.

Protobuf type `google.storagetransfer.v1.ObjectConditions`

## Inheritance

[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> [AbstractMessageLite\<MessageType,BuilderType\>](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html) \> [AbstractMessage](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html) \> [GeneratedMessage](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html) \> TransferTypes.ObjectConditions

## Implements

[TransferTypes.ObjectConditionsOrBuilder](https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder)

## Inherited Members

[AbstractMessage.equals(Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_equals_java_lang_Object_) [AbstractMessage.findInitializationErrors()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_findInitializationErrors__) [AbstractMessage.getInitializationErrorString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_getInitializationErrorString__) [AbstractMessage.hashCode()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashCode__) [AbstractMessage.hashFields(int,Map\<Descriptors.FieldDescriptor,Object\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashFields_int_java_util_Map_com_google_protobuf_Descriptors_FieldDescriptor_java_lang_Object__) [AbstractMessage.newBuilderForType(AbstractMessage.BuilderParent)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_newBuilderForType_com_google_protobuf_AbstractMessage_BuilderParent_) [AbstractMessage.toString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_toString__) [AbstractMessageLite.\<T\>addAll(Iterable\<T\>,List\<? super T\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite__T_addAll_java_lang_Iterable_T__java_util_List___super_T__) [AbstractMessageLite.checkByteStringIsUtf8(ByteString)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_checkByteStringIsUtf8_com_google_protobuf_ByteString_) [AbstractMessageLite.toByteArray()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_toByteArray__) [AbstractMessageLite.toByteString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_toByteString__) [AbstractMessageLite.writeDelimitedTo(OutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_writeDelimitedTo_java_io_OutputStream_) [AbstractMessageLite.writeTo(OutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.html#com_google_protobuf_AbstractMessageLite_writeTo_java_io_OutputStream_) com.google.protobuf.GeneratedMessage.\<ContainingT,T\>newFileScopedGeneratedExtension(java.lang.Class\<?\>,com.google.protobuf.Message) com.google.protobuf.GeneratedMessage.\<ContainingT,T\>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class\<?\>,com.google.protobuf.Message) com.google.protobuf.GeneratedMessage.\<ListT\>makeMutableCopy(ListT) com.google.protobuf.GeneratedMessage.\<ListT\>makeMutableCopy(ListT,int) [GeneratedMessage.\<M\>parseDelimitedWithIOException(Parser\<M\>,InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseDelimitedWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_) [GeneratedMessage.\<M\>parseDelimitedWithIOException(Parser\<M\>,InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseDelimitedWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,CodedInputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__com_google_protobuf_CodedInputStream_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,CodedInputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__com_google_protobuf_CodedInputStream_com_google_protobuf_ExtensionRegistryLite_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_) [GeneratedMessage.\<M\>parseWithIOException(Parser\<M\>,InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage__M_parseWithIOException_com_google_protobuf_Parser_M__java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) com.google.protobuf.GeneratedMessage.\<T\>emptyList(java.lang.Class\<T\>) com.google.protobuf.GeneratedMessage.\<V\>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Boolean,V\>,com.google.protobuf.MapEntry\<java.lang.Boolean,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Integer,V\>,com.google.protobuf.MapEntry\<java.lang.Integer,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.Long,V\>,com.google.protobuf.MapEntry\<java.lang.Long,V\>,int) com.google.protobuf.GeneratedMessage.\<V\>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField\<java.lang.String,V\>,com.google.protobuf.MapEntry\<java.lang.String,V\>,int) com.google.protobuf.GeneratedMessage.canUseUnsafe() [GeneratedMessage.computeStringSize(int,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_computeStringSize_int_java_lang_Object_) [GeneratedMessage.computeStringSizeNoTag(Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_computeStringSizeNoTag_java_lang_Object_) com.google.protobuf.GeneratedMessage.emptyBooleanList() com.google.protobuf.GeneratedMessage.emptyDoubleList() com.google.protobuf.GeneratedMessage.emptyFloatList() com.google.protobuf.GeneratedMessage.emptyIntList() com.google.protobuf.GeneratedMessage.emptyLongList() [GeneratedMessage.getAllFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getAllFields__) [GeneratedMessage.getDescriptorForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getDescriptorForType__) [GeneratedMessage.getField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.getOneofFieldDescriptor(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getOneofFieldDescriptor_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.getParserForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getParserForType__) [GeneratedMessage.getRepeatedField(Descriptors.FieldDescriptor,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getRepeatedField_com_google_protobuf_Descriptors_FieldDescriptor_int_) [GeneratedMessage.getRepeatedFieldCount(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getRepeatedFieldCount_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.getSerializedSize()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getSerializedSize__) [GeneratedMessage.getUnknownFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getUnknownFields__) [GeneratedMessage.hasField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_hasField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.hasOneof(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_hasOneof_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetFieldAccessorTable__) [GeneratedMessage.internalGetMapField(int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetMapField_int_) com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int) [GeneratedMessage.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_isInitialized__) com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object) [GeneratedMessage.makeExtensionsImmutable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_makeExtensionsImmutable__) com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite) com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter) [GeneratedMessage.parseUnknownField(CodedInputStream,UnknownFieldSet.Builder,ExtensionRegistryLite,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_parseUnknownField_com_google_protobuf_CodedInputStream_com_google_protobuf_UnknownFieldSet_Builder_com_google_protobuf_ExtensionRegistryLite_int_) com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int) [GeneratedMessage.writeReplace()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeReplace__) [GeneratedMessage.writeString(CodedOutputStream,int,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeString_com_google_protobuf_CodedOutputStream_int_java_lang_Object_) [GeneratedMessage.writeStringNoTag(CodedOutputStream,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeStringNoTag_com_google_protobuf_CodedOutputStream_java_lang_Object_) [GeneratedMessage.writeTo(CodedOutputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeTo_com_google_protobuf_CodedOutputStream_) [Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### EXCLUDE_PREFIXES_FIELD_NUMBER

    public static final int EXCLUDE_PREFIXES_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### INCLUDE_PREFIXES_FIELD_NUMBER

    public static final int INCLUDE_PREFIXES_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### LAST_MODIFIED_BEFORE_FIELD_NUMBER

    public static final int LAST_MODIFIED_BEFORE_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### LAST_MODIFIED_SINCE_FIELD_NUMBER

    public static final int LAST_MODIFIED_SINCE_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER

    public static final int MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER

    public static final int MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

## Static Methods

### getDefaultInstance()

    public static TransferTypes.ObjectConditions getDefaultInstance()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

### getDescriptor()

    public static final Descriptors.Descriptor getDescriptor()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Descriptors.Descriptor.html` |   |

### newBuilder()

    public static TransferTypes.ObjectConditions.Builder newBuilder()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder` |   |

### newBuilder(TransferTypes.ObjectConditions prototype)

    public static TransferTypes.ObjectConditions.Builder newBuilder(TransferTypes.ObjectConditions prototype)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `prototype` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder` |   |

### parseDelimitedFrom(InputStream input)

    public static TransferTypes.ObjectConditions parseDelimitedFrom(InputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(byte\[\] data)

    public static TransferTypes.ObjectConditions parseFrom(byte[] data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `byte[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(byte\[\] data, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `byte[]` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteString data)

    public static TransferTypes.ObjectConditions parseFrom(ByteString data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(CodedInputStream input)

    public static TransferTypes.ObjectConditions parseFrom(CodedInputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedInputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedInputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(InputStream input)

    public static TransferTypes.ObjectConditions parseFrom(InputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### parseFrom(ByteBuffer data)

    public static TransferTypes.ObjectConditions parseFrom(ByteBuffer data)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

    public static TransferTypes.ObjectConditions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.InvalidProtocolBufferException.html` |   |

### parser()

    public static Parser<TransferTypes.ObjectConditions> parser()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Parser.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions>` |   |

## Methods

### equals(Object obj)

    public boolean equals(Object obj)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `obj` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [AbstractMessage.equals(Object other)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_equals_java_lang_Object_)

### getDefaultInstanceForType()

    public TransferTypes.ObjectConditions getDefaultInstanceForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions` |   |

### getExcludePrefixes(int index)

    public 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
  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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string exclude_prefixes = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The excludePrefixes at the given index. |

### getExcludePrefixesBytes(int index)

    public 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
  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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string exclude_prefixes = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the excludePrefixes at the given index. |

### getExcludePrefixesCount()

    public 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
  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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string exclude_prefixes = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of excludePrefixes. |

### getExcludePrefixesList()

    public 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
  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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string exclude_prefixes = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolStringList.html` | A list containing the excludePrefixes. |

### getIncludePrefixes(int index)

    public 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
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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string include_prefixes = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The includePrefixes at the given index. |

### getIncludePrefixesBytes(int index)

    public 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
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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string include_prefixes = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the includePrefixes at the given index. |

### getIncludePrefixesCount()

    public 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
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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string include_prefixes = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of includePrefixes. |

### getIncludePrefixesList()

    public 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
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](https://docs.cloud.google.com/storage-transfer/docs/filtering-objects-from-transfers).

`repeated string include_prefixes = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolStringList.html` | A list containing the includePrefixes. |

### getLastModifiedBefore()

    public 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The lastModifiedBefore. |

### getLastModifiedBeforeOrBuilder()

    public 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getLastModifiedSince()

    public 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The lastModifiedSince. |

### getLastModifiedSinceOrBuilder()

    public 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getMaxTimeElapsedSinceLastModification()

    public Duration getMaxTimeElapsedSinceLastModification()

Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
When a TransferOperation
begins, objects with a "last modification time" are transferred only if the
elapsed time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The maxTimeElapsedSinceLastModification. |

### getMaxTimeElapsedSinceLastModificationOrBuilder()

    public DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder()

Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
When a TransferOperation
begins, objects with a "last modification time" are transferred only if the
elapsed time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getMinTimeElapsedSinceLastModification()

    public Duration getMinTimeElapsedSinceLastModification()

Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time". When a
TransferOperation begins,
objects with a "last modification time" are transferred only if the elapsed
time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The minTimeElapsedSinceLastModification. |

### getMinTimeElapsedSinceLastModificationOrBuilder()

    public DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder()

Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time". When a
TransferOperation begins,
objects with a "last modification time" are transferred only if the elapsed
time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getParserForType()

    public Parser<TransferTypes.ObjectConditions> getParserForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Parser.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions>` |   |

**Overrides** [GeneratedMessage.getParserForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getParserForType__)

### getSerializedSize()

    public int getSerializedSize()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [GeneratedMessage.getSerializedSize()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_getSerializedSize__)

### hasLastModifiedBefore()

    public 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lastModifiedBefore field is set. |

### hasLastModifiedSince()

    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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lastModifiedSince field is set. |

### hasMaxTimeElapsedSinceLastModification()

    public boolean hasMaxTimeElapsedSinceLastModification()

Ensures that objects are not transferred if a specific maximum time
has elapsed since the "last modification time".
When a TransferOperation
begins, objects with a "last modification time" are transferred only if the
elapsed time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the maxTimeElapsedSinceLastModification field is set. |

### hasMinTimeElapsedSinceLastModification()

    public boolean hasMinTimeElapsedSinceLastModification()

Ensures that objects are not transferred until a specific minimum time
has elapsed after the "last modification time". When a
TransferOperation begins,
objects with a "last modification time" are transferred only if the elapsed
time between the
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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the minTimeElapsedSinceLastModification field is set. |

### hashCode()

    public int hashCode()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [AbstractMessage.hashCode()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_hashCode__)

### internalGetFieldAccessorTable()

    protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.FieldAccessorTable.html` |   |

**Overrides** [GeneratedMessage.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_internalGetFieldAccessorTable__)

### isInitialized()

    public final boolean isInitialized()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [GeneratedMessage.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_isInitialized__)

### newBuilderForType()

    public TransferTypes.ObjectConditions.Builder newBuilderForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder` |   |

### newBuilderForType(AbstractMessage.BuilderParent parent)

    protected TransferTypes.ObjectConditions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.BuilderParent.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder` |   |

**Overrides** [AbstractMessage.newBuilderForType(AbstractMessage.BuilderParent parent)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.html#com_google_protobuf_AbstractMessage_newBuilderForType_com_google_protobuf_AbstractMessage_BuilderParent_)

### toBuilder()

    public TransferTypes.ObjectConditions.Builder toBuilder()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder` |   |

### writeTo(CodedOutputStream output)

    public void writeTo(CodedOutputStream output)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `output` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedOutputStream.html` |

**Overrides** [GeneratedMessage.writeTo(CodedOutputStream output)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.html#com_google_protobuf_GeneratedMessage_writeTo_com_google_protobuf_CodedOutputStream_)

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |