public static final class Object.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder> implements ObjectOrBuilder
An object.Protobuf type
google.storage.v2.Object
Modifier and Type | Method and Description |
---|---|
Object.Builder |
addAcl(int index,
ObjectAccessControl.Builder builderForValue)
Access controls on the object.
|
Object.Builder |
addAcl(int index,
ObjectAccessControl value)
Access controls on the object.
|
Object.Builder |
addAcl(ObjectAccessControl.Builder builderForValue)
Access controls on the object.
|
Object.Builder |
addAcl(ObjectAccessControl value)
Access controls on the object.
|
ObjectAccessControl.Builder |
addAclBuilder()
Access controls on the object.
|
ObjectAccessControl.Builder |
addAclBuilder(int index)
Access controls on the object.
|
Object.Builder |
addAllAcl(Iterable<? extends ObjectAccessControl> values)
Access controls on the object.
|
Object.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Object |
build() |
Object |
buildPartial() |
Object.Builder |
clear() |
Object.Builder |
clearAcl()
Access controls on the object.
|
Object.Builder |
clearBucket()
Immutable.
|
Object.Builder |
clearCacheControl()
Cache-Control directive for the object data, matching
[https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].
|
Object.Builder |
clearChecksums()
Output only.
|
Object.Builder |
clearComponentCount()
Output only.
|
Object.Builder |
clearContentDisposition()
Content-Disposition of the object data, matching
[https://tools.ietf.org/html/rfc6266][RFC 6266].
|
Object.Builder |
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]
|
Object.Builder |
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].
|
Object.Builder |
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].
|
Object.Builder |
clearCreateTime()
Output only.
|
Object.Builder |
clearCustomerEncryption()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
Object.Builder |
clearCustomTime()
A user-specified timestamp set on an object.
|
Object.Builder |
clearDeleteTime()
Output only.
|
Object.Builder |
clearEtag()
The etag of the object.
|
Object.Builder |
clearEventBasedHold()
Whether an object is under event-based hold.
|
Object.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Object.Builder |
clearGeneration()
Immutable.
|
Object.Builder |
clearKmsKey()
Cloud KMS Key used to encrypt this object, if the object is encrypted by
such a key.
|
Object.Builder |
clearMetadata() |
Object.Builder |
clearMetageneration()
Output only.
|
Object.Builder |
clearName()
Immutable.
|
Object.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Object.Builder |
clearOwner()
Output only.
|
Object.Builder |
clearRetentionExpireTime()
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
Object.Builder |
clearSize()
Output only.
|
Object.Builder |
clearStorageClass()
Storage class of the object.
|
Object.Builder |
clearTemporaryHold()
Whether an object is under temporary hold.
|
Object.Builder |
clearUpdateStorageClassTime()
Output only.
|
Object.Builder |
clearUpdateTime()
Output only.
|
Object.Builder |
clone() |
boolean |
containsMetadata(String key)
User-provided metadata, in key/value pairs.
|
ObjectAccessControl |
getAcl(int index)
Access controls on the object.
|
ObjectAccessControl.Builder |
getAclBuilder(int index)
Access controls on the object.
|
List<ObjectAccessControl.Builder> |
getAclBuilderList()
Access controls on the object.
|
int |
getAclCount()
Access controls on the object.
|
List<ObjectAccessControl> |
getAclList()
Access controls on the object.
|
ObjectAccessControlOrBuilder |
getAclOrBuilder(int index)
Access controls on the object.
|
List<? extends ObjectAccessControlOrBuilder> |
getAclOrBuilderList()
Access controls on the object.
|
String |
getBucket()
Immutable.
|
com.google.protobuf.ByteString |
getBucketBytes()
Immutable.
|
String |
getCacheControl()
Cache-Control directive for the object data, matching
[https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].
|
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].
|
ObjectChecksums |
getChecksums()
Output only.
|
ObjectChecksums.Builder |
getChecksumsBuilder()
Output only.
|
ObjectChecksumsOrBuilder |
getChecksumsOrBuilder()
Output only.
|
int |
getComponentCount()
Output only.
|
String |
getContentDisposition()
Content-Disposition of the object data, matching
[https://tools.ietf.org/html/rfc6266][RFC 6266].
|
com.google.protobuf.ByteString |
getContentDispositionBytes()
Content-Disposition of the object data, matching
[https://tools.ietf.org/html/rfc6266][RFC 6266].
|
String |
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]
|
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 |
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].
|
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 |
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].
|
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].
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
CustomerEncryption |
getCustomerEncryption()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
CustomerEncryption.Builder |
getCustomerEncryptionBuilder()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
CustomerEncryptionOrBuilder |
getCustomerEncryptionOrBuilder()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
com.google.protobuf.Timestamp |
getCustomTime()
A user-specified timestamp set on an object.
|
com.google.protobuf.Timestamp.Builder |
getCustomTimeBuilder()
A user-specified timestamp set on an object.
|
com.google.protobuf.TimestampOrBuilder |
getCustomTimeOrBuilder()
A user-specified timestamp set on an object.
|
Object |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
The etag of the object.
|
com.google.protobuf.ByteString |
getEtagBytes()
The etag of the object.
|
boolean |
getEventBasedHold()
Whether an object is under event-based hold.
|
long |
getGeneration()
Immutable.
|
String |
getKmsKey()
Cloud KMS Key used to encrypt this object, if the object is encrypted by
such a key.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Cloud KMS Key used to encrypt this object, if the object is encrypted by
such a key.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
User-provided metadata, in key/value pairs.
|
Map<String,String> |
getMetadataMap()
User-provided metadata, in key/value pairs.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
User-provided metadata, in key/value pairs.
|
String |
getMetadataOrThrow(String key)
User-provided metadata, in key/value pairs.
|
long |
getMetageneration()
Output only.
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
Owner |
getOwner()
Output only.
|
Owner.Builder |
getOwnerBuilder()
Output only.
|
OwnerOrBuilder |
getOwnerOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getRetentionExpireTime()
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
com.google.protobuf.Timestamp.Builder |
getRetentionExpireTimeBuilder()
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
com.google.protobuf.TimestampOrBuilder |
getRetentionExpireTimeOrBuilder()
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
long |
getSize()
Output only.
|
String |
getStorageClass()
Storage class of the object.
|
com.google.protobuf.ByteString |
getStorageClassBytes()
Storage class of the object.
|
boolean |
getTemporaryHold()
Whether an object is under temporary hold.
|
com.google.protobuf.Timestamp |
getUpdateStorageClassTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateStorageClassTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateStorageClassTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasChecksums()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCustomerEncryption()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
boolean |
hasCustomTime()
A user-specified timestamp set on an object.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasEventBasedHold()
Whether an object is under event-based hold.
|
boolean |
hasOwner()
Output only.
|
boolean |
hasRetentionExpireTime()
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
boolean |
hasUpdateStorageClassTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Object.Builder |
mergeChecksums(ObjectChecksums value)
Output only.
|
Object.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
mergeCustomerEncryption(CustomerEncryption value)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
Object.Builder |
mergeCustomTime(com.google.protobuf.Timestamp value)
A user-specified timestamp set on an object.
|
Object.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Object.Builder |
mergeFrom(com.google.protobuf.Message other) |
Object.Builder |
mergeFrom(Object other) |
Object.Builder |
mergeOwner(Owner value)
Output only.
|
Object.Builder |
mergeRetentionExpireTime(com.google.protobuf.Timestamp value)
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
Object.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Object.Builder |
mergeUpdateStorageClassTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
putAllMetadata(Map<String,String> values)
User-provided metadata, in key/value pairs.
|
Object.Builder |
putMetadata(String key,
String value)
User-provided metadata, in key/value pairs.
|
Object.Builder |
removeAcl(int index)
Access controls on the object.
|
Object.Builder |
removeMetadata(String key)
User-provided metadata, in key/value pairs.
|
Object.Builder |
setAcl(int index,
ObjectAccessControl.Builder builderForValue)
Access controls on the object.
|
Object.Builder |
setAcl(int index,
ObjectAccessControl value)
Access controls on the object.
|
Object.Builder |
setBucket(String value)
Immutable.
|
Object.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
Immutable.
|
Object.Builder |
setCacheControl(String value)
Cache-Control directive for the object data, matching
[https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].
|
Object.Builder |
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].
|
Object.Builder |
setChecksums(ObjectChecksums.Builder builderForValue)
Output only.
|
Object.Builder |
setChecksums(ObjectChecksums value)
Output only.
|
Object.Builder |
setComponentCount(int value)
Output only.
|
Object.Builder |
setContentDisposition(String value)
Content-Disposition of the object data, matching
[https://tools.ietf.org/html/rfc6266][RFC 6266].
|
Object.Builder |
setContentDispositionBytes(com.google.protobuf.ByteString value)
Content-Disposition of the object data, matching
[https://tools.ietf.org/html/rfc6266][RFC 6266].
|
Object.Builder |
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]
|
Object.Builder |
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]
|
Object.Builder |
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].
|
Object.Builder |
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].
|
Object.Builder |
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].
|
Object.Builder |
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].
|
Object.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Object.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
setCustomerEncryption(CustomerEncryption.Builder builderForValue)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
Object.Builder |
setCustomerEncryption(CustomerEncryption value)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by
such a key.
|
Object.Builder |
setCustomTime(com.google.protobuf.Timestamp.Builder builderForValue)
A user-specified timestamp set on an object.
|
Object.Builder |
setCustomTime(com.google.protobuf.Timestamp value)
A user-specified timestamp set on an object.
|
Object.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Object.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
setEtag(String value)
The etag of the object.
|
Object.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
The etag of the object.
|
Object.Builder |
setEventBasedHold(boolean value)
Whether an object is under event-based hold.
|
Object.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Object.Builder |
setGeneration(long value)
Immutable.
|
Object.Builder |
setKmsKey(String value)
Cloud KMS Key used to encrypt this object, if the object is encrypted by
such a key.
|
Object.Builder |
setKmsKeyBytes(com.google.protobuf.ByteString value)
Cloud KMS Key used to encrypt this object, if the object is encrypted by
such a key.
|
Object.Builder |
setMetageneration(long value)
Output only.
|
Object.Builder |
setName(String value)
Immutable.
|
Object.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Object.Builder |
setOwner(Owner.Builder builderForValue)
Output only.
|
Object.Builder |
setOwner(Owner value)
Output only.
|
Object.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Object.Builder |
setRetentionExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
Object.Builder |
setRetentionExpireTime(com.google.protobuf.Timestamp value)
A server-determined value that specifies the earliest time that the
object's retention period expires.
|
Object.Builder |
setSize(long value)
Output only.
|
Object.Builder |
setStorageClass(String value)
Storage class of the object.
|
Object.Builder |
setStorageClassBytes(com.google.protobuf.ByteString value)
Storage class of the object.
|
Object.Builder |
setTemporaryHold(boolean value)
Whether an object is under temporary hold.
|
Object.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Object.Builder |
setUpdateStorageClassTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Object.Builder |
setUpdateStorageClassTime(com.google.protobuf.Timestamp value)
Output only.
|
Object.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Object.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Object build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Object buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Object.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Object.Builder>
public Object.Builder mergeFrom(Object other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public Object.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Object.Builder>
IOException
public String 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];
getName
in interface ObjectOrBuilder
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];
getNameBytes
in interface ObjectOrBuilder
public Object.Builder setName(String value)
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];
value
- The name to set.public Object.Builder 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];
public Object.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
value
- The bytes for name to set.public String getBucket()
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getBucket
in interface ObjectOrBuilder
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) = { ... }
getBucketBytes
in interface ObjectOrBuilder
public Object.Builder setBucket(String value)
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value
- The bucket to set.public Object.Builder clearBucket()
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
public Object.Builder setBucketBytes(com.google.protobuf.ByteString value)
Immutable. The name of the bucket containing this object.
string bucket = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value
- The bytes for bucket to set.public String 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;
getEtag
in interface ObjectOrBuilder
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;
getEtagBytes
in interface ObjectOrBuilder
public Object.Builder setEtag(String value)
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;
value
- The etag to set.public Object.Builder 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;
public Object.Builder setEtagBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for etag to set.public long getGeneration()
Immutable. The content generation of this object. Used for object versioning. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];
getGeneration
in interface ObjectOrBuilder
public Object.Builder setGeneration(long value)
Immutable. The content generation of this object. Used for object versioning. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];
value
- The generation to set.public Object.Builder clearGeneration()
Immutable. The content generation of this object. Used for object versioning. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 generation = 3 [(.google.api.field_behavior) = IMMUTABLE];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetageneration
in interface ObjectOrBuilder
public Object.Builder setMetageneration(long value)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The metageneration to set.public Object.Builder 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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getStorageClass()
Storage class of the object.
string storage_class = 5;
getStorageClass
in interface ObjectOrBuilder
public com.google.protobuf.ByteString getStorageClassBytes()
Storage class of the object.
string storage_class = 5;
getStorageClassBytes
in interface ObjectOrBuilder
public Object.Builder setStorageClass(String value)
Storage class of the object.
string storage_class = 5;
value
- The storageClass to set.public Object.Builder clearStorageClass()
Storage class of the object.
string storage_class = 5;
public Object.Builder setStorageClassBytes(com.google.protobuf.ByteString value)
Storage class of the object.
string storage_class = 5;
value
- The bytes for storageClass to set.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]. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSize
in interface ObjectOrBuilder
public Object.Builder setSize(long value)
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]. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The size to set.public Object.Builder 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]. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int64 size = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String 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;
getContentEncoding
in interface ObjectOrBuilder
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;
getContentEncodingBytes
in interface ObjectOrBuilder
public Object.Builder 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]
string content_encoding = 7;
value
- The contentEncoding to set.public Object.Builder 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;
public Object.Builder 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]
string content_encoding = 7;
value
- The bytes for contentEncoding to set.public String getContentDisposition()
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;
getContentDisposition
in interface ObjectOrBuilder
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;
getContentDispositionBytes
in interface ObjectOrBuilder
public Object.Builder setContentDisposition(String value)
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;
value
- The contentDisposition to set.public Object.Builder clearContentDisposition()
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;
public Object.Builder setContentDispositionBytes(com.google.protobuf.ByteString value)
Content-Disposition of the object data, matching [https://tools.ietf.org/html/rfc6266][RFC 6266].
string content_disposition = 8;
value
- The bytes for contentDisposition to set.public String 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;
getCacheControl
in interface ObjectOrBuilder
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;
getCacheControlBytes
in interface ObjectOrBuilder
public Object.Builder setCacheControl(String value)
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;
value
- The cacheControl to set.public Object.Builder 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;
public Object.Builder 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]. If omitted, and the object is accessible to all anonymous users, the default will be `public, max-age=3600`.
string cache_control = 9;
value
- The bytes for cacheControl to set.public List<ObjectAccessControl> 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;
getAclList
in interface ObjectOrBuilder
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;
getAclCount
in interface ObjectOrBuilder
public ObjectAccessControl getAcl(int index)
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;
getAcl
in interface ObjectOrBuilder
public Object.Builder setAcl(int index, ObjectAccessControl value)
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;
public Object.Builder setAcl(int index, ObjectAccessControl.Builder builderForValue)
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;
public Object.Builder addAcl(ObjectAccessControl value)
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;
public Object.Builder addAcl(int index, ObjectAccessControl value)
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;
public Object.Builder addAcl(ObjectAccessControl.Builder builderForValue)
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;
public Object.Builder addAcl(int index, ObjectAccessControl.Builder builderForValue)
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;
public Object.Builder addAllAcl(Iterable<? extends ObjectAccessControl> values)
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;
public Object.Builder 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;
public Object.Builder removeAcl(int index)
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;
public ObjectAccessControl.Builder getAclBuilder(int index)
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;
public ObjectAccessControlOrBuilder getAclOrBuilder(int index)
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
in interface ObjectOrBuilder
public List<? extends ObjectAccessControlOrBuilder> 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;
getAclOrBuilderList
in interface ObjectOrBuilder
public ObjectAccessControl.Builder 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;
public ObjectAccessControl.Builder addAclBuilder(int index)
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;
public List<ObjectAccessControl.Builder> 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;
public String 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;
getContentLanguage
in interface ObjectOrBuilder
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;
getContentLanguageBytes
in interface ObjectOrBuilder
public Object.Builder 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].
string content_language = 11;
value
- The contentLanguage to set.public Object.Builder 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;
public Object.Builder 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].
string content_language = 11;
value
- The bytes for contentLanguage to set.public boolean hasDeleteTime()
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime
in interface ObjectOrBuilder
public com.google.protobuf.Timestamp getDeleteTime()
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime
in interface ObjectOrBuilder
public Object.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder clearDeleteTime()
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. If this object is noncurrent, this is the time when the object became noncurrent. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp delete_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder
in interface ObjectOrBuilder
public String 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;
getContentType
in interface ObjectOrBuilder
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;
getContentTypeBytes
in interface ObjectOrBuilder
public Object.Builder 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]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;
value
- The contentType to set.public Object.Builder 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;
public Object.Builder 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]. If an object is stored without a Content-Type, it is served as `application/octet-stream`.
string content_type = 13;
value
- The bytes for contentType to set.public boolean hasCreateTime()
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface ObjectOrBuilder
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface ObjectOrBuilder
public Object.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder clearCreateTime()
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp create_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface ObjectOrBuilder
public int getComponentCount()
Output only. Number of underlying components that make up this object. Components are accumulated by compose operations. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getComponentCount
in interface ObjectOrBuilder
public Object.Builder setComponentCount(int value)
Output only. Number of underlying components that make up this object. Components are accumulated by compose operations. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The componentCount to set.public Object.Builder clearComponentCount()
Output only. Number of underlying components that make up this object. Components are accumulated by compose operations. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
int32 component_count = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
hasChecksums
in interface ObjectOrBuilder
public ObjectChecksums 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];
getChecksums
in interface ObjectOrBuilder
public Object.Builder setChecksums(ObjectChecksums value)
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];
public Object.Builder setChecksums(ObjectChecksums.Builder builderForValue)
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];
public Object.Builder mergeChecksums(ObjectChecksums value)
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];
public Object.Builder 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];
public ObjectChecksums.Builder 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];
public ObjectChecksumsOrBuilder 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];
getChecksumsOrBuilder
in interface ObjectOrBuilder
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface ObjectOrBuilder
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface ObjectOrBuilder
public Object.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder 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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface ObjectOrBuilder
public String 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) = { ... }
getKmsKey
in interface ObjectOrBuilder
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) = { ... }
getKmsKeyBytes
in interface ObjectOrBuilder
public Object.Builder setKmsKey(String value)
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) = { ... }
value
- The kmsKey to set.public Object.Builder 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) = { ... }
public Object.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
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) = { ... }
value
- The bytes for kmsKey to set.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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateStorageClassTime
in interface ObjectOrBuilder
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateStorageClassTime
in interface ObjectOrBuilder
public Object.Builder setUpdateStorageClassTime(com.google.protobuf.Timestamp value)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder mergeUpdateStorageClassTime(com.google.protobuf.Timestamp value)
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder 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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
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. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.protobuf.Timestamp update_storage_class_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateStorageClassTimeOrBuilder
in interface ObjectOrBuilder
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;
getTemporaryHold
in interface ObjectOrBuilder
public Object.Builder setTemporaryHold(boolean value)
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;
value
- The temporaryHold to set.public Object.Builder 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;
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;
hasRetentionExpireTime
in interface ObjectOrBuilder
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;
getRetentionExpireTime
in interface ObjectOrBuilder
public Object.Builder setRetentionExpireTime(com.google.protobuf.Timestamp value)
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;
public Object.Builder setRetentionExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
public Object.Builder mergeRetentionExpireTime(com.google.protobuf.Timestamp value)
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;
public Object.Builder 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;
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;
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;
getRetentionExpireTimeOrBuilder
in interface ObjectOrBuilder
public int getMetadataCount()
ObjectOrBuilder
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
getMetadataCount
in interface ObjectOrBuilder
public boolean containsMetadata(String key)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
containsMetadata
in interface ObjectOrBuilder
@Deprecated public Map<String,String> getMetadata()
getMetadataMap()
instead.getMetadata
in interface ObjectOrBuilder
public Map<String,String> getMetadataMap()
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
getMetadataMap
in interface ObjectOrBuilder
public String getMetadataOrDefault(String key, String defaultValue)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
getMetadataOrDefault
in interface ObjectOrBuilder
public String getMetadataOrThrow(String key)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
getMetadataOrThrow
in interface ObjectOrBuilder
public Object.Builder clearMetadata()
public Object.Builder removeMetadata(String key)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
@Deprecated public Map<String,String> getMutableMetadata()
public Object.Builder putMetadata(String key, String value)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
public Object.Builder putAllMetadata(Map<String,String> values)
User-provided metadata, in key/value pairs.
map<string, string> metadata = 22;
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;
hasEventBasedHold
in interface ObjectOrBuilder
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;
getEventBasedHold
in interface ObjectOrBuilder
public Object.Builder setEventBasedHold(boolean value)
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;
value
- The eventBasedHold to set.public Object.Builder 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;
public boolean hasOwner()
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOwner
in interface ObjectOrBuilder
public Owner getOwner()
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOwner
in interface ObjectOrBuilder
public Object.Builder setOwner(Owner value)
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder setOwner(Owner.Builder builderForValue)
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder mergeOwner(Owner value)
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Object.Builder clearOwner()
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Owner.Builder getOwnerBuilder()
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OwnerOrBuilder getOwnerOrBuilder()
Output only. The owner of the object. This will always be the uploader of the object. Attempting to set or update this field will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
.google.storage.v2.Owner owner = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOwnerOrBuilder
in interface ObjectOrBuilder
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;
hasCustomerEncryption
in interface ObjectOrBuilder
public CustomerEncryption getCustomerEncryption()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
getCustomerEncryption
in interface ObjectOrBuilder
public Object.Builder setCustomerEncryption(CustomerEncryption value)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
public Object.Builder setCustomerEncryption(CustomerEncryption.Builder builderForValue)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
public Object.Builder mergeCustomerEncryption(CustomerEncryption value)
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
public Object.Builder clearCustomerEncryption()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
public CustomerEncryption.Builder getCustomerEncryptionBuilder()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
public CustomerEncryptionOrBuilder getCustomerEncryptionOrBuilder()
Metadata of Customer-Supplied Encryption Key, if the object is encrypted by such a key.
.google.storage.v2.CustomerEncryption customer_encryption = 25;
getCustomerEncryptionOrBuilder
in interface ObjectOrBuilder
public boolean hasCustomTime()
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
hasCustomTime
in interface ObjectOrBuilder
public com.google.protobuf.Timestamp getCustomTime()
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
getCustomTime
in interface ObjectOrBuilder
public Object.Builder setCustomTime(com.google.protobuf.Timestamp value)
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
public Object.Builder setCustomTime(com.google.protobuf.Timestamp.Builder builderForValue)
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
public Object.Builder mergeCustomTime(com.google.protobuf.Timestamp value)
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
public Object.Builder clearCustomTime()
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
public com.google.protobuf.Timestamp.Builder getCustomTimeBuilder()
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
public com.google.protobuf.TimestampOrBuilder getCustomTimeOrBuilder()
A user-specified timestamp set on an object.
.google.protobuf.Timestamp custom_time = 26;
getCustomTimeOrBuilder
in interface ObjectOrBuilder
public final Object.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
public final Object.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Object.Builder>
Copyright © 2023 Google LLC. All rights reserved.