Package com.google.storage.v2
Class Object.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
com.google.storage.v2.Object.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ObjectOrBuilder,Cloneable
- Enclosing class:
- Object
public static final class Object.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
implements ObjectOrBuilder
An object.Protobuf type
google.storage.v2.Object-
Method Summary
Modifier and TypeMethodDescriptionaddAcl(int index, ObjectAccessControl value) Access controls on the object.addAcl(int index, ObjectAccessControl.Builder builderForValue) Access controls on the object.addAcl(ObjectAccessControl value) Access controls on the object.addAcl(ObjectAccessControl.Builder builderForValue) Access controls on the object.Access controls on the object.addAclBuilder(int index) Access controls on the object.addAllAcl(Iterable<? extends ObjectAccessControl> values) Access controls on the object.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearAcl()Access controls on the object.Immutable.Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].Output only.Output only.Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].Output only.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.A user-specified timestamp set on an object.Output only.The etag of the object.Whether an object is under event-based hold.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Immutable.Output only.Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.Output only.Immutable.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.A server-determined value that specifies the earliest time that the object's retention period expires.Output only.Output only.Storage class of the object.Whether an object is under temporary hold.Output only.Output only.clone()booleancontainsMetadata(String key) User-provided metadata, in key/value pairs.getAcl(int index) Access controls on the object.getAclBuilder(int index) Access controls on the object.Access controls on the object.intAccess controls on the object.Access controls on the object.getAclOrBuilder(int index) Access controls on the object.List<? extends ObjectAccessControlOrBuilder>Access controls on the object.Immutable.com.google.protobuf.ByteStringImmutable.Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].com.google.protobuf.ByteStringCache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].Output only.Output only.Output only.intOutput only.Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].com.google.protobuf.ByteStringContent-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]com.google.protobuf.ByteStringContent-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].com.google.protobuf.ByteStringContent-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].com.google.protobuf.ByteStringContent-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.com.google.protobuf.TimestampA user-specified timestamp set on an object.com.google.protobuf.Timestamp.BuilderA user-specified timestamp set on an object.com.google.protobuf.TimestampOrBuilderA user-specified timestamp set on an object.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()The etag of the object.com.google.protobuf.ByteStringThe etag of the object.booleanWhether an object is under event-based hold.longImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.com.google.protobuf.ByteStringCloud KMS Key used to encrypt this object, if the object is encrypted by such a key.Deprecated.intUser-provided metadata, in key/value pairs.User-provided metadata, in key/value pairs.getMetadataOrDefault(String key, String defaultValue) User-provided metadata, in key/value pairs.getMetadataOrThrow(String key) User-provided metadata, in key/value pairs.longOutput only.Deprecated.getName()Immutable.com.google.protobuf.ByteStringImmutable.getOwner()Output only.Output only.Output only.com.google.protobuf.TimestampA server-determined value that specifies the earliest time that the object's retention period expires.com.google.protobuf.Timestamp.BuilderA server-determined value that specifies the earliest time that the object's retention period expires.com.google.protobuf.TimestampOrBuilderA server-determined value that specifies the earliest time that the object's retention period expires.longgetSize()Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Storage class of the object.com.google.protobuf.ByteStringStorage class of the object.booleanWhether an object is under temporary hold.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanMetadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.booleanA user-specified timestamp set on an object.booleanOutput only.booleanWhether an object is under event-based hold.booleanOutput only.booleanhasOwner()Output only.booleanA server-determined value that specifies the earliest time that the object's retention period expires.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeChecksums(ObjectChecksums value) Output only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.mergeCustomTime(com.google.protobuf.Timestamp value) A user-specified timestamp set on an object.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHardDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeOwner(Owner value) Output only.mergeRetentionExpireTime(com.google.protobuf.Timestamp value) A server-determined value that specifies the earliest time that the object's retention period expires.mergeSoftDeleteTime(com.google.protobuf.Timestamp value) Output only.final Object.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateStorageClassTime(com.google.protobuf.Timestamp value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllMetadata(Map<String, String> values) User-provided metadata, in key/value pairs.putMetadata(String key, String value) User-provided metadata, in key/value pairs.removeAcl(int index) Access controls on the object.removeMetadata(String key) User-provided metadata, in key/value pairs.setAcl(int index, ObjectAccessControl value) Access controls on the object.setAcl(int index, ObjectAccessControl.Builder builderForValue) Access controls on the object.Immutable.setBucketBytes(com.google.protobuf.ByteString value) Immutable.setCacheControl(String value) Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].setCacheControlBytes(com.google.protobuf.ByteString value) Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].setChecksums(ObjectChecksums value) Output only.setChecksums(ObjectChecksums.Builder builderForValue) Output only.setComponentCount(int value) Output only.setContentDisposition(String value) Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].setContentDispositionBytes(com.google.protobuf.ByteString value) Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].setContentEncoding(String value) Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]setContentEncodingBytes(com.google.protobuf.ByteString value) Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]setContentLanguage(String value) Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].setContentLanguageBytes(com.google.protobuf.ByteString value) Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].setContentType(String value) Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].setContentTypeBytes(com.google.protobuf.ByteString value) Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.setCustomerEncryption(CustomerEncryption.Builder builderForValue) Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.setCustomTime(com.google.protobuf.Timestamp value) A user-specified timestamp set on an object.setCustomTime(com.google.protobuf.Timestamp.Builder builderForValue) A user-specified timestamp set on an object.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.The etag of the object.setEtagBytes(com.google.protobuf.ByteString value) The etag of the object.setEventBasedHold(boolean value) Whether an object is under event-based hold.setGeneration(long value) Immutable.setHardDeleteTime(com.google.protobuf.Timestamp value) Output only.setHardDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.setKmsKeyBytes(com.google.protobuf.ByteString value) Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.setMetageneration(long value) Output only.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.Output only.setOwner(Owner.Builder builderForValue) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetentionExpireTime(com.google.protobuf.Timestamp value) A server-determined value that specifies the earliest time that the object's retention period expires.setRetentionExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) A server-determined value that specifies the earliest time that the object's retention period expires.setSize(long value) Output only.setSoftDeleteTime(com.google.protobuf.Timestamp value) Output only.setSoftDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setStorageClass(String value) Storage class of the object.setStorageClassBytes(com.google.protobuf.ByteString value) Storage class of the object.setTemporaryHold(boolean value) Whether an object is under temporary hold.final Object.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateStorageClassTime(com.google.protobuf.Timestamp value) Output only.setUpdateStorageClassTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
setRepeatedField
public Object.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
addRepeatedField
public Object.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Object.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
mergeFrom
public Object.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Object.Builder>- Throws:
IOException
-
getName
Immutable. The name of this object. Nearly any sequence of unicode characters is valid. See [Guidelines](https://cloud.google.com/storage/docs/objects#naming). Example: `test.txt` The `name` field by itself does not uniquely identify a Cloud Storage object. A Cloud Storage object is uniquely identified by the tuple of (bucket, object, generation).
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceObjectOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The name of this object. Nearly any sequence of unicode characters is valid. See [Guidelines](https://cloud.google.com/storage/docs/objects#naming). Example: `test.txt` The `name` field by itself does not uniquely identify a Cloud Storage object. A Cloud Storage object is uniquely identified by the tuple of (bucket, object, generation).
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceObjectOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The name of this object. Nearly any sequence of unicode characters is valid. See [Guidelines](https://cloud.google.com/storage/docs/objects#naming). Example: `test.txt` The `name` field by itself does not uniquely identify a Cloud Storage object. A Cloud Storage object is uniquely identified by the tuple of (bucket, object, generation).
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. The name of this object. Nearly any sequence of unicode characters is valid. See [Guidelines](https://cloud.google.com/storage/docs/objects#naming). Example: `test.txt` The `name` field by itself does not uniquely identify a Cloud Storage object. A Cloud Storage object is uniquely identified by the tuple of (bucket, object, generation).
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. The name of this object. Nearly any sequence of unicode characters is valid. See [Guidelines](https://cloud.google.com/storage/docs/objects#naming). Example: `test.txt` The `name` field by itself does not uniquely identify a Cloud Storage object. A Cloud Storage object is uniquely identified by the tuple of (bucket, object, generation).
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getBucket
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getBucketin interfaceObjectOrBuilder- Returns:
- The bucket.
-
getBucketBytes
public com.google.protobuf.ByteString getBucketBytes()Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getBucketBytesin interfaceObjectOrBuilder- Returns:
- The bytes for bucket.
-
setBucket
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bucket to set.- Returns:
- This builder for chaining.
-
clearBucket
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setBucketBytes
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for bucket to set.- Returns:
- This builder for chaining.
-
getEtag
The etag of the object. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object.
string etag = 27;- Specified by:
getEtagin interfaceObjectOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()The etag of the object. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object.
string etag = 27;- Specified by:
getEtagBytesin interfaceObjectOrBuilder- Returns:
- The bytes for etag.
-
setEtag
The etag of the object. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object.
string etag = 27;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
The etag of the object. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object.
string etag = 27;- Returns:
- This builder for chaining.
-
setEtagBytes
The etag of the object. If included in the metadata of an update or delete request message, the operation will only be performed if the etag matches that of the live object.
string etag = 27;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getGeneration
public long getGeneration()Immutable. The content generation of this object. Used for object versioning.
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getGenerationin interfaceObjectOrBuilder- Returns:
- The generation.
-
setGeneration
Immutable. The content generation of this object. Used for object versioning.
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
Immutable. The content generation of this object. Used for object versioning.
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getMetageneration
public long getMetageneration()Output only. The version of the metadata for this generation of this object. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetagenerationin interfaceObjectOrBuilder- Returns:
- The metageneration.
-
setMetageneration
Output only. The version of the metadata for this generation of this object. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The metageneration to set.- Returns:
- This builder for chaining.
-
clearMetageneration
Output only. The version of the metadata for this generation of this object. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStorageClass
Storage class of the object.
string storage_class = 5;- Specified by:
getStorageClassin interfaceObjectOrBuilder- Returns:
- The storageClass.
-
getStorageClassBytes
public com.google.protobuf.ByteString getStorageClassBytes()Storage class of the object.
string storage_class = 5;- Specified by:
getStorageClassBytesin interfaceObjectOrBuilder- Returns:
- The bytes for storageClass.
-
setStorageClass
Storage class of the object.
string storage_class = 5;- Parameters:
value- The storageClass to set.- Returns:
- This builder for chaining.
-
clearStorageClass
Storage class of the object.
string storage_class = 5;- Returns:
- This builder for chaining.
-
setStorageClassBytes
Storage class of the object.
string storage_class = 5;- Parameters:
value- The bytes for storageClass to set.- Returns:
- This builder for chaining.
-
getSize
public long getSize()Output only. Content-Length of the object data in bytes, matching [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSizein interfaceObjectOrBuilder- Returns:
- The size.
-
setSize
Output only. Content-Length of the object data in bytes, matching [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
Output only. Content-Length of the object data in bytes, matching [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getContentEncoding
Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
string content_encoding = 7;- Specified by:
getContentEncodingin interfaceObjectOrBuilder- Returns:
- The contentEncoding.
-
getContentEncodingBytes
public com.google.protobuf.ByteString getContentEncodingBytes()Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
string content_encoding = 7;- Specified by:
getContentEncodingBytesin interfaceObjectOrBuilder- Returns:
- The bytes for contentEncoding.
-
setContentEncoding
Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
string content_encoding = 7;- Parameters:
value- The contentEncoding to set.- Returns:
- This builder for chaining.
-
clearContentEncoding
Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
string content_encoding = 7;- Returns:
- This builder for chaining.
-
setContentEncodingBytes
Content-Encoding of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
string content_encoding = 7;- Parameters:
value- The bytes for contentEncoding to set.- Returns:
- This builder for chaining.
-
getContentDisposition
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;- Specified by:
getContentDispositionin interfaceObjectOrBuilder- Returns:
- The contentDisposition.
-
getContentDispositionBytes
public com.google.protobuf.ByteString getContentDispositionBytes()Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;- Specified by:
getContentDispositionBytesin interfaceObjectOrBuilder- Returns:
- The bytes for contentDisposition.
-
setContentDisposition
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;- Parameters:
value- The contentDisposition to set.- Returns:
- This builder for chaining.
-
clearContentDisposition
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;- Returns:
- This builder for chaining.
-
setContentDispositionBytes
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;- Parameters:
value- The bytes for contentDisposition to set.- Returns:
- This builder for chaining.
-
getCacheControl
Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;- Specified by:
getCacheControlin interfaceObjectOrBuilder- Returns:
- The cacheControl.
-
getCacheControlBytes
public com.google.protobuf.ByteString getCacheControlBytes()Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;- Specified by:
getCacheControlBytesin interfaceObjectOrBuilder- Returns:
- The bytes for cacheControl.
-
setCacheControl
Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;- Parameters:
value- The cacheControl to set.- Returns:
- This builder for chaining.
-
clearCacheControl
Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;- Returns:
- This builder for chaining.
-
setCacheControlBytes
Cache-Control directive for the object data, matching [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;- Parameters:
value- The bytes for cacheControl to set.- Returns:
- This builder for chaining.
-
getAclList
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10;- Specified by:
getAclListin interfaceObjectOrBuilder
-
getAclCount
public int getAclCount()Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10;- Specified by:
getAclCountin interfaceObjectOrBuilder
-
getAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10;- Specified by:
getAclin interfaceObjectOrBuilder
-
setAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
setAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAllAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
clearAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
removeAcl
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
getAclBuilder
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
getAclOrBuilder
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10;- Specified by:
getAclOrBuilderin interfaceObjectOrBuilder
-
getAclOrBuilderList
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10;- Specified by:
getAclOrBuilderListin interfaceObjectOrBuilder
-
addAclBuilder
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
addAclBuilder
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
getAclBuilderList
Access controls on the object. If iam_config.uniform_bucket_level_access is enabled on the parent bucket, requests to set, read, or modify acl is an error.
repeated .google.storage.v2.ObjectAccessControl acl = 10; -
getContentLanguage
Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
string content_language = 11;- Specified by:
getContentLanguagein interfaceObjectOrBuilder- Returns:
- The contentLanguage.
-
getContentLanguageBytes
public com.google.protobuf.ByteString getContentLanguageBytes()Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
string content_language = 11;- Specified by:
getContentLanguageBytesin interfaceObjectOrBuilder- Returns:
- The bytes for contentLanguage.
-
setContentLanguage
Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
string content_language = 11;- Parameters:
value- The contentLanguage to set.- Returns:
- This builder for chaining.
-
clearContentLanguage
Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
string content_language = 11;- Returns:
- This builder for chaining.
-
setContentLanguageBytes
Content-Language of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
string content_language = 11;- Parameters:
value- The bytes for contentLanguage to set.- Returns:
- This builder for chaining.
-
hasDeleteTime
public boolean hasDeleteTime()Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceObjectOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceObjectOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. If this object is noncurrent, this is the time when the object became noncurrent.
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceObjectOrBuilder
-
getContentType
Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;- Specified by:
getContentTypein interfaceObjectOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;- Specified by:
getContentTypeBytesin interfaceObjectOrBuilder- Returns:
- The bytes for contentType.
-
setContentType
Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;- Returns:
- This builder for chaining.
-
setContentTypeBytes
Content-Type of the object data, matching [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;- Parameters:
value- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceObjectOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceObjectOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time of the object.
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceObjectOrBuilder
-
getComponentCount
public int getComponentCount()Output only. Number of underlying components that make up this object. Components are accumulated by compose operations.
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getComponentCountin interfaceObjectOrBuilder- Returns:
- The componentCount.
-
setComponentCount
Output only. Number of underlying components that make up this object. Components are accumulated by compose operations.
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The componentCount to set.- Returns:
- This builder for chaining.
-
clearComponentCount
Output only. Number of underlying components that make up this object. Components are accumulated by compose operations.
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasChecksums
public boolean hasChecksums()Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasChecksumsin interfaceObjectOrBuilder- Returns:
- Whether the checksums field is set.
-
getChecksums
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChecksumsin interfaceObjectOrBuilder- Returns:
- The checksums.
-
setChecksums
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setChecksums
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeChecksums
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearChecksums
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChecksumsBuilder
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChecksumsOrBuilder
Output only. Hashes for the data part of this object. This field is used for output only and will be silently ignored if provided in requests.
.google.storage.v2.ObjectChecksums checksums = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChecksumsOrBuilderin interfaceObjectOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceObjectOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceObjectOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The modification time of the object metadata. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceObjectOrBuilder
-
getKmsKey
Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.
string kms_key = 18 [(.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyin interfaceObjectOrBuilder- Returns:
- The kmsKey.
-
getKmsKeyBytes
public com.google.protobuf.ByteString getKmsKeyBytes()Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.
string kms_key = 18 [(.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyBytesin interfaceObjectOrBuilder- Returns:
- The bytes for kmsKey.
-
setKmsKey
Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.
string kms_key = 18 [(.google.api.resource_reference) = { ... }- Parameters:
value- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.
string kms_key = 18 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setKmsKeyBytes
Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key.
string kms_key = 18 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-
hasUpdateStorageClassTime
public boolean hasUpdateStorageClassTime()Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateStorageClassTimein interfaceObjectOrBuilder- Returns:
- Whether the updateStorageClassTime field is set.
-
getUpdateStorageClassTime
public com.google.protobuf.Timestamp getUpdateStorageClassTime()Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateStorageClassTimein interfaceObjectOrBuilder- Returns:
- The updateStorageClassTime.
-
setUpdateStorageClassTime
Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateStorageClassTime
public Object.Builder setUpdateStorageClassTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateStorageClassTime
Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateStorageClassTime
Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateStorageClassTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateStorageClassTimeBuilder()Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateStorageClassTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateStorageClassTimeOrBuilder()Output only. The time at which the object's storage class was last changed. When the object is initially created, it will be set to time_created.
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateStorageClassTimeOrBuilderin interfaceObjectOrBuilder
-
getTemporaryHold
public boolean getTemporaryHold()Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
bool temporary_hold = 20;- Specified by:
getTemporaryHoldin interfaceObjectOrBuilder- Returns:
- The temporaryHold.
-
setTemporaryHold
Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
bool temporary_hold = 20;- Parameters:
value- The temporaryHold to set.- Returns:
- This builder for chaining.
-
clearTemporaryHold
Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.
bool temporary_hold = 20;- Returns:
- This builder for chaining.
-
hasRetentionExpireTime
public boolean hasRetentionExpireTime()A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21;- Specified by:
hasRetentionExpireTimein interfaceObjectOrBuilder- Returns:
- Whether the retentionExpireTime field is set.
-
getRetentionExpireTime
public com.google.protobuf.Timestamp getRetentionExpireTime()A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21;- Specified by:
getRetentionExpireTimein interfaceObjectOrBuilder- Returns:
- The retentionExpireTime.
-
setRetentionExpireTime
A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21; -
setRetentionExpireTime
A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21; -
mergeRetentionExpireTime
A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21; -
clearRetentionExpireTime
A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21; -
getRetentionExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getRetentionExpireTimeBuilder()A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21; -
getRetentionExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRetentionExpireTimeOrBuilder()A server-determined value that specifies the earliest time that the object's retention period expires. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).
.google.protobuf.Timestamp retention_expire_time = 21;- Specified by:
getRetentionExpireTimeOrBuilderin interfaceObjectOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:ObjectOrBuilderUser-provided metadata, in key/value pairs.
map<string, string> metadata = 22;- Specified by:
getMetadataCountin interfaceObjectOrBuilder
-
containsMetadata
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;- Specified by:
containsMetadatain interfaceObjectOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceObjectOrBuilder
-
getMetadataMap
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;- Specified by:
getMetadataMapin interfaceObjectOrBuilder
-
getMetadataOrDefault
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;- Specified by:
getMetadataOrDefaultin interfaceObjectOrBuilder
-
getMetadataOrThrow
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;- Specified by:
getMetadataOrThrowin interfaceObjectOrBuilder
-
clearMetadata
-
removeMetadata
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22; -
putAllMetadata
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22; -
hasEventBasedHold
public boolean hasEventBasedHold()Whether an object is under event-based hold. An event-based hold is a way to force the retention of an object until after some event occurs. Once the hold is released by explicitly setting this field to false, the object will become subject to any bucket-level retention policy, except that the retention duration will be calculated from the time the event based hold was lifted, rather than the time the object was created. In a WriteObject request, not setting this field implies that the value should be taken from the parent bucket's "default_event_based_hold" field. In a response, this field will always be set to true or false.
optional bool event_based_hold = 23;- Specified by:
hasEventBasedHoldin interfaceObjectOrBuilder- Returns:
- Whether the eventBasedHold field is set.
-
getEventBasedHold
public boolean getEventBasedHold()Whether an object is under event-based hold. An event-based hold is a way to force the retention of an object until after some event occurs. Once the hold is released by explicitly setting this field to false, the object will become subject to any bucket-level retention policy, except that the retention duration will be calculated from the time the event based hold was lifted, rather than the time the object was created. In a WriteObject request, not setting this field implies that the value should be taken from the parent bucket's "default_event_based_hold" field. In a response, this field will always be set to true or false.
optional bool event_based_hold = 23;- Specified by:
getEventBasedHoldin interfaceObjectOrBuilder- Returns:
- The eventBasedHold.
-
setEventBasedHold
Whether an object is under event-based hold. An event-based hold is a way to force the retention of an object until after some event occurs. Once the hold is released by explicitly setting this field to false, the object will become subject to any bucket-level retention policy, except that the retention duration will be calculated from the time the event based hold was lifted, rather than the time the object was created. In a WriteObject request, not setting this field implies that the value should be taken from the parent bucket's "default_event_based_hold" field. In a response, this field will always be set to true or false.
optional bool event_based_hold = 23;- Parameters:
value- The eventBasedHold to set.- Returns:
- This builder for chaining.
-
clearEventBasedHold
Whether an object is under event-based hold. An event-based hold is a way to force the retention of an object until after some event occurs. Once the hold is released by explicitly setting this field to false, the object will become subject to any bucket-level retention policy, except that the retention duration will be calculated from the time the event based hold was lifted, rather than the time the object was created. In a WriteObject request, not setting this field implies that the value should be taken from the parent bucket's "default_event_based_hold" field. In a response, this field will always be set to true or false.
optional bool event_based_hold = 23;- Returns:
- This builder for chaining.
-
hasOwner
public boolean hasOwner()Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasOwnerin interfaceObjectOrBuilder- Returns:
- Whether the owner field is set.
-
getOwner
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOwnerin interfaceObjectOrBuilder- Returns:
- The owner.
-
setOwner
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setOwner
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeOwner
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearOwner
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOwnerBuilder
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOwnerOrBuilder
Output only. The owner of the object. This will always be the uploader of the object.
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOwnerOrBuilderin interfaceObjectOrBuilder
-
hasCustomerEncryption
public boolean hasCustomerEncryption()Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;- Specified by:
hasCustomerEncryptionin interfaceObjectOrBuilder- Returns:
- Whether the customerEncryption field is set.
-
getCustomerEncryption
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;- Specified by:
getCustomerEncryptionin interfaceObjectOrBuilder- Returns:
- The customerEncryption.
-
setCustomerEncryption
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25; -
setCustomerEncryption
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25; -
mergeCustomerEncryption
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25; -
clearCustomerEncryption
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25; -
getCustomerEncryptionBuilder
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25; -
getCustomerEncryptionOrBuilder
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;- Specified by:
getCustomerEncryptionOrBuilderin interfaceObjectOrBuilder
-
hasCustomTime
public boolean hasCustomTime()A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;- Specified by:
hasCustomTimein interfaceObjectOrBuilder- Returns:
- Whether the customTime field is set.
-
getCustomTime
public com.google.protobuf.Timestamp getCustomTime()A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;- Specified by:
getCustomTimein interfaceObjectOrBuilder- Returns:
- The customTime.
-
setCustomTime
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26; -
setCustomTime
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26; -
mergeCustomTime
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26; -
clearCustomTime
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26; -
getCustomTimeBuilder
public com.google.protobuf.Timestamp.Builder getCustomTimeBuilder()A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26; -
getCustomTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCustomTimeOrBuilder()A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;- Specified by:
getCustomTimeOrBuilderin interfaceObjectOrBuilder
-
hasSoftDeleteTime
public boolean hasSoftDeleteTime()Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSoftDeleteTimein interfaceObjectOrBuilder- Returns:
- Whether the softDeleteTime field is set.
-
getSoftDeleteTime
public com.google.protobuf.Timestamp getSoftDeleteTime()Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSoftDeleteTimein interfaceObjectOrBuilder- Returns:
- The softDeleteTime.
-
setSoftDeleteTime
Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSoftDeleteTime
Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSoftDeleteTime
Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSoftDeleteTime
Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSoftDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getSoftDeleteTimeBuilder()Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSoftDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getSoftDeleteTimeOrBuilder()Output only. This is the time when the object became soft-deleted. Soft-deleted objects are only accessible if a soft_delete_policy is enabled. Also see hard_delete_time.
optional .google.protobuf.Timestamp soft_delete_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSoftDeleteTimeOrBuilderin interfaceObjectOrBuilder
-
hasHardDeleteTime
public boolean hasHardDeleteTime()Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasHardDeleteTimein interfaceObjectOrBuilder- Returns:
- Whether the hardDeleteTime field is set.
-
getHardDeleteTime
public com.google.protobuf.Timestamp getHardDeleteTime()Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHardDeleteTimein interfaceObjectOrBuilder- Returns:
- The hardDeleteTime.
-
setHardDeleteTime
Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setHardDeleteTime
Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeHardDeleteTime
Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearHardDeleteTime
Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getHardDeleteTimeBuilder()Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getHardDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getHardDeleteTimeOrBuilder()Output only. The time when the object will be permanently deleted. Only set when an object becomes soft-deleted with a soft_delete_policy. Otherwise, the object will not be accessible.
optional .google.protobuf.Timestamp hard_delete_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHardDeleteTimeOrBuilderin interfaceObjectOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
-