public static final class RewriteObjectRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder> implements RewriteObjectRequestOrBuilder
Request message for RewriteObject. If the source object is encrypted using a Customer-Supplied Encryption Key the key information must be provided in the copy_source_encryption_algorithm, copy_source_encryption_key_bytes, and copy_source_encryption_key_sha256_bytes fields. If the destination object should be encrypted the keying information should be provided in the encryption_algorithm, encryption_key_bytes, and encryption_key_sha256_bytes fields of the common_object_request_params.customer_encryption field.Protobuf type
google.storage.v2.RewriteObjectRequest
Modifier and Type | Method and Description |
---|---|
RewriteObjectRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RewriteObjectRequest |
build() |
RewriteObjectRequest |
buildPartial() |
RewriteObjectRequest.Builder |
clear() |
RewriteObjectRequest.Builder |
clearCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
RewriteObjectRequest.Builder |
clearCopySourceEncryptionAlgorithm()
The algorithm used to encrypt the source object, if any.
|
RewriteObjectRequest.Builder |
clearCopySourceEncryptionKeyBytes()
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt
the source object, if it was encrypted with a Customer-Supplied Encryption
Key.
|
RewriteObjectRequest.Builder |
clearCopySourceEncryptionKeySha256Bytes()
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used
to encrypt the source object, if it was encrypted with a Customer-Supplied
Encryption Key.
|
RewriteObjectRequest.Builder |
clearDestination()
Properties of the destination, post-rewrite object.
|
RewriteObjectRequest.Builder |
clearDestinationBucket()
Required.
|
RewriteObjectRequest.Builder |
clearDestinationKmsKey()
The name of the Cloud KMS key that will be used to encrypt the destination
object.
|
RewriteObjectRequest.Builder |
clearDestinationName()
Required.
|
RewriteObjectRequest.Builder |
clearDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object.
|
RewriteObjectRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RewriteObjectRequest.Builder |
clearIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
RewriteObjectRequest.Builder |
clearIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation
does not match the given value.
|
RewriteObjectRequest.Builder |
clearIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current
metageneration matches the given value.
|
RewriteObjectRequest.Builder |
clearIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current
metageneration does not match the given value.
|
RewriteObjectRequest.Builder |
clearIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live
generation matches the given value.
|
RewriteObjectRequest.Builder |
clearIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live
generation does not match the given value.
|
RewriteObjectRequest.Builder |
clearIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current
metageneration matches the given value.
|
RewriteObjectRequest.Builder |
clearIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current
metageneration does not match the given value.
|
RewriteObjectRequest.Builder |
clearMaxBytesRewrittenPerCall()
The maximum number of bytes that will be rewritten per rewrite request.
|
RewriteObjectRequest.Builder |
clearObjectChecksums()
The checksums of the complete object.
|
RewriteObjectRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RewriteObjectRequest.Builder |
clearRewriteToken()
Include this field (from the previous rewrite response) on each rewrite
request after the first one, until the rewrite response 'done' flag is
true.
|
RewriteObjectRequest.Builder |
clearSourceBucket()
Required.
|
RewriteObjectRequest.Builder |
clearSourceGeneration()
If present, selects a specific revision of the source object (as opposed to
the latest version, the default).
|
RewriteObjectRequest.Builder |
clearSourceObject()
Required.
|
RewriteObjectRequest.Builder |
clone() |
CommonObjectRequestParams |
getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
CommonObjectRequestParams.Builder |
getCommonObjectRequestParamsBuilder()
A set of parameters common to Storage API requests concerning an object.
|
CommonObjectRequestParamsOrBuilder |
getCommonObjectRequestParamsOrBuilder()
A set of parameters common to Storage API requests concerning an object.
|
String |
getCopySourceEncryptionAlgorithm()
The algorithm used to encrypt the source object, if any.
|
com.google.protobuf.ByteString |
getCopySourceEncryptionAlgorithmBytes()
The algorithm used to encrypt the source object, if any.
|
com.google.protobuf.ByteString |
getCopySourceEncryptionKeyBytes()
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt
the source object, if it was encrypted with a Customer-Supplied Encryption
Key.
|
com.google.protobuf.ByteString |
getCopySourceEncryptionKeySha256Bytes()
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used
to encrypt the source object, if it was encrypted with a Customer-Supplied
Encryption Key.
|
RewriteObjectRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Object |
getDestination()
Properties of the destination, post-rewrite object.
|
String |
getDestinationBucket()
Required.
|
com.google.protobuf.ByteString |
getDestinationBucketBytes()
Required.
|
Object.Builder |
getDestinationBuilder()
Properties of the destination, post-rewrite object.
|
String |
getDestinationKmsKey()
The name of the Cloud KMS key that will be used to encrypt the destination
object.
|
com.google.protobuf.ByteString |
getDestinationKmsKeyBytes()
The name of the Cloud KMS key that will be used to encrypt the destination
object.
|
String |
getDestinationName()
Required.
|
com.google.protobuf.ByteString |
getDestinationNameBytes()
Required.
|
ObjectOrBuilder |
getDestinationOrBuilder()
Properties of the destination, post-rewrite object.
|
String |
getDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object.
|
com.google.protobuf.ByteString |
getDestinationPredefinedAclBytes()
Apply a predefined set of access controls to the destination object.
|
long |
getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
long |
getIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation
does not match the given value.
|
long |
getIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current
metageneration matches the given value.
|
long |
getIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current
metageneration does not match the given value.
|
long |
getIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live
generation matches the given value.
|
long |
getIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live
generation does not match the given value.
|
long |
getIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current
metageneration matches the given value.
|
long |
getIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current
metageneration does not match the given value.
|
long |
getMaxBytesRewrittenPerCall()
The maximum number of bytes that will be rewritten per rewrite request.
|
ObjectChecksums |
getObjectChecksums()
The checksums of the complete object.
|
ObjectChecksums.Builder |
getObjectChecksumsBuilder()
The checksums of the complete object.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
String |
getRewriteToken()
Include this field (from the previous rewrite response) on each rewrite
request after the first one, until the rewrite response 'done' flag is
true.
|
com.google.protobuf.ByteString |
getRewriteTokenBytes()
Include this field (from the previous rewrite response) on each rewrite
request after the first one, until the rewrite response 'done' flag is
true.
|
String |
getSourceBucket()
Required.
|
com.google.protobuf.ByteString |
getSourceBucketBytes()
Required.
|
long |
getSourceGeneration()
If present, selects a specific revision of the source object (as opposed to
the latest version, the default).
|
String |
getSourceObject()
Required.
|
com.google.protobuf.ByteString |
getSourceObjectBytes()
Required.
|
boolean |
hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
boolean |
hasDestination()
Properties of the destination, post-rewrite object.
|
boolean |
hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
boolean |
hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation
does not match the given value.
|
boolean |
hasIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current
metageneration matches the given value.
|
boolean |
hasIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current
metageneration does not match the given value.
|
boolean |
hasIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live
generation matches the given value.
|
boolean |
hasIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live
generation does not match the given value.
|
boolean |
hasIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current
metageneration matches the given value.
|
boolean |
hasIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current
metageneration does not match the given value.
|
boolean |
hasObjectChecksums()
The checksums of the complete object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RewriteObjectRequest.Builder |
mergeCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
|
RewriteObjectRequest.Builder |
mergeDestination(Object value)
Properties of the destination, post-rewrite object.
|
RewriteObjectRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RewriteObjectRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RewriteObjectRequest.Builder |
mergeFrom(RewriteObjectRequest other) |
RewriteObjectRequest.Builder |
mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
RewriteObjectRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RewriteObjectRequest.Builder |
setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
A set of parameters common to Storage API requests concerning an object.
|
RewriteObjectRequest.Builder |
setCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
|
RewriteObjectRequest.Builder |
setCopySourceEncryptionAlgorithm(String value)
The algorithm used to encrypt the source object, if any.
|
RewriteObjectRequest.Builder |
setCopySourceEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
The algorithm used to encrypt the source object, if any.
|
RewriteObjectRequest.Builder |
setCopySourceEncryptionKeyBytes(com.google.protobuf.ByteString value)
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt
the source object, if it was encrypted with a Customer-Supplied Encryption
Key.
|
RewriteObjectRequest.Builder |
setCopySourceEncryptionKeySha256Bytes(com.google.protobuf.ByteString value)
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used
to encrypt the source object, if it was encrypted with a Customer-Supplied
Encryption Key.
|
RewriteObjectRequest.Builder |
setDestination(Object.Builder builderForValue)
Properties of the destination, post-rewrite object.
|
RewriteObjectRequest.Builder |
setDestination(Object value)
Properties of the destination, post-rewrite object.
|
RewriteObjectRequest.Builder |
setDestinationBucket(String value)
Required.
|
RewriteObjectRequest.Builder |
setDestinationBucketBytes(com.google.protobuf.ByteString value)
Required.
|
RewriteObjectRequest.Builder |
setDestinationKmsKey(String value)
The name of the Cloud KMS key that will be used to encrypt the destination
object.
|
RewriteObjectRequest.Builder |
setDestinationKmsKeyBytes(com.google.protobuf.ByteString value)
The name of the Cloud KMS key that will be used to encrypt the destination
object.
|
RewriteObjectRequest.Builder |
setDestinationName(String value)
Required.
|
RewriteObjectRequest.Builder |
setDestinationNameBytes(com.google.protobuf.ByteString value)
Required.
|
RewriteObjectRequest.Builder |
setDestinationPredefinedAcl(String value)
Apply a predefined set of access controls to the destination object.
|
RewriteObjectRequest.Builder |
setDestinationPredefinedAclBytes(com.google.protobuf.ByteString value)
Apply a predefined set of access controls to the destination object.
|
RewriteObjectRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RewriteObjectRequest.Builder |
setIfGenerationMatch(long value)
Makes the operation conditional on whether the object's current generation
matches the given value.
|
RewriteObjectRequest.Builder |
setIfGenerationNotMatch(long value)
Makes the operation conditional on whether the object's live generation
does not match the given value.
|
RewriteObjectRequest.Builder |
setIfMetagenerationMatch(long value)
Makes the operation conditional on whether the destination object's current
metageneration matches the given value.
|
RewriteObjectRequest.Builder |
setIfMetagenerationNotMatch(long value)
Makes the operation conditional on whether the destination object's current
metageneration does not match the given value.
|
RewriteObjectRequest.Builder |
setIfSourceGenerationMatch(long value)
Makes the operation conditional on whether the source object's live
generation matches the given value.
|
RewriteObjectRequest.Builder |
setIfSourceGenerationNotMatch(long value)
Makes the operation conditional on whether the source object's live
generation does not match the given value.
|
RewriteObjectRequest.Builder |
setIfSourceMetagenerationMatch(long value)
Makes the operation conditional on whether the source object's current
metageneration matches the given value.
|
RewriteObjectRequest.Builder |
setIfSourceMetagenerationNotMatch(long value)
Makes the operation conditional on whether the source object's current
metageneration does not match the given value.
|
RewriteObjectRequest.Builder |
setMaxBytesRewrittenPerCall(long value)
The maximum number of bytes that will be rewritten per rewrite request.
|
RewriteObjectRequest.Builder |
setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object.
|
RewriteObjectRequest.Builder |
setObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
RewriteObjectRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RewriteObjectRequest.Builder |
setRewriteToken(String value)
Include this field (from the previous rewrite response) on each rewrite
request after the first one, until the rewrite response 'done' flag is
true.
|
RewriteObjectRequest.Builder |
setRewriteTokenBytes(com.google.protobuf.ByteString value)
Include this field (from the previous rewrite response) on each rewrite
request after the first one, until the rewrite response 'done' flag is
true.
|
RewriteObjectRequest.Builder |
setSourceBucket(String value)
Required.
|
RewriteObjectRequest.Builder |
setSourceBucketBytes(com.google.protobuf.ByteString value)
Required.
|
RewriteObjectRequest.Builder |
setSourceGeneration(long value)
If present, selects a specific revision of the source object (as opposed to
the latest version, the default).
|
RewriteObjectRequest.Builder |
setSourceObject(String value)
Required.
|
RewriteObjectRequest.Builder |
setSourceObjectBytes(com.google.protobuf.ByteString value)
Required.
|
RewriteObjectRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
public RewriteObjectRequest.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<RewriteObjectRequest.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<RewriteObjectRequest.Builder>
public RewriteObjectRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RewriteObjectRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RewriteObjectRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RewriteObjectRequest.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<RewriteObjectRequest.Builder>
public RewriteObjectRequest.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<RewriteObjectRequest.Builder>
public RewriteObjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
public RewriteObjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
public RewriteObjectRequest.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<RewriteObjectRequest.Builder>
public RewriteObjectRequest.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<RewriteObjectRequest.Builder>
public RewriteObjectRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RewriteObjectRequest.Builder>
public RewriteObjectRequest.Builder mergeFrom(RewriteObjectRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
public RewriteObjectRequest.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<RewriteObjectRequest.Builder>
IOException
public String getDestinationName()
Required. Immutable. The name of the destination object. See the [Naming 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 destination_name = 24 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDestinationName
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getDestinationNameBytes()
Required. Immutable. The name of the destination object. See the [Naming 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 destination_name = 24 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDestinationNameBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setDestinationName(String value)
Required. Immutable. The name of the destination object. See the [Naming 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 destination_name = 24 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value
- The destinationName to set.public RewriteObjectRequest.Builder clearDestinationName()
Required. Immutable. The name of the destination object. See the [Naming 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 destination_name = 24 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public RewriteObjectRequest.Builder setDestinationNameBytes(com.google.protobuf.ByteString value)
Required. Immutable. The name of the destination object. See the [Naming 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 destination_name = 24 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value
- The bytes for destinationName to set.public String getDestinationBucket()
Required. Immutable. The name of the bucket containing the destination object.
string destination_bucket = 25 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getDestinationBucket
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getDestinationBucketBytes()
Required. Immutable. The name of the bucket containing the destination object.
string destination_bucket = 25 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getDestinationBucketBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setDestinationBucket(String value)
Required. Immutable. The name of the bucket containing the destination object.
string destination_bucket = 25 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value
- The destinationBucket to set.public RewriteObjectRequest.Builder clearDestinationBucket()
Required. Immutable. The name of the bucket containing the destination object.
string destination_bucket = 25 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
public RewriteObjectRequest.Builder setDestinationBucketBytes(com.google.protobuf.ByteString value)
Required. Immutable. The name of the bucket containing the destination object.
string destination_bucket = 25 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value
- The bytes for destinationBucket to set.public String getDestinationKmsKey()
The name of the Cloud KMS key that will be used to encrypt the destination object. The Cloud KMS key must be located in same location as the object. If the parameter is not specified, the request uses the destination bucket's default encryption key, if any, or else the Google-managed encryption key.
string destination_kms_key = 27 [(.google.api.resource_reference) = { ... }
getDestinationKmsKey
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getDestinationKmsKeyBytes()
The name of the Cloud KMS key that will be used to encrypt the destination object. The Cloud KMS key must be located in same location as the object. If the parameter is not specified, the request uses the destination bucket's default encryption key, if any, or else the Google-managed encryption key.
string destination_kms_key = 27 [(.google.api.resource_reference) = { ... }
getDestinationKmsKeyBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setDestinationKmsKey(String value)
The name of the Cloud KMS key that will be used to encrypt the destination object. The Cloud KMS key must be located in same location as the object. If the parameter is not specified, the request uses the destination bucket's default encryption key, if any, or else the Google-managed encryption key.
string destination_kms_key = 27 [(.google.api.resource_reference) = { ... }
value
- The destinationKmsKey to set.public RewriteObjectRequest.Builder clearDestinationKmsKey()
The name of the Cloud KMS key that will be used to encrypt the destination object. The Cloud KMS key must be located in same location as the object. If the parameter is not specified, the request uses the destination bucket's default encryption key, if any, or else the Google-managed encryption key.
string destination_kms_key = 27 [(.google.api.resource_reference) = { ... }
public RewriteObjectRequest.Builder setDestinationKmsKeyBytes(com.google.protobuf.ByteString value)
The name of the Cloud KMS key that will be used to encrypt the destination object. The Cloud KMS key must be located in same location as the object. If the parameter is not specified, the request uses the destination bucket's default encryption key, if any, or else the Google-managed encryption key.
string destination_kms_key = 27 [(.google.api.resource_reference) = { ... }
value
- The bytes for destinationKmsKey to set.public boolean hasDestination()
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
hasDestination
in interface RewriteObjectRequestOrBuilder
public Object getDestination()
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
getDestination
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setDestination(Object value)
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
public RewriteObjectRequest.Builder setDestination(Object.Builder builderForValue)
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
public RewriteObjectRequest.Builder mergeDestination(Object value)
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
public RewriteObjectRequest.Builder clearDestination()
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
public Object.Builder getDestinationBuilder()
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
public ObjectOrBuilder getDestinationOrBuilder()
Properties of the destination, post-rewrite object. The `name`, `bucket` and `kms_key` fields must not be populated (these values are specified in the `destination_name`, `destination_bucket`, and `destination_kms_key` fields). If `destination` is present it will be used to construct the destination object's metadata; otherwise the destination object's metadata will be copied from the source object.
.google.storage.v2.Object destination = 1;
getDestinationOrBuilder
in interface RewriteObjectRequestOrBuilder
public String getSourceBucket()
Required. Name of the bucket in which to find the source object.
string source_bucket = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSourceBucket
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getSourceBucketBytes()
Required. Name of the bucket in which to find the source object.
string source_bucket = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSourceBucketBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setSourceBucket(String value)
Required. Name of the bucket in which to find the source object.
string source_bucket = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The sourceBucket to set.public RewriteObjectRequest.Builder clearSourceBucket()
Required. Name of the bucket in which to find the source object.
string source_bucket = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public RewriteObjectRequest.Builder setSourceBucketBytes(com.google.protobuf.ByteString value)
Required. Name of the bucket in which to find the source object.
string source_bucket = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for sourceBucket to set.public String getSourceObject()
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];
getSourceObject
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getSourceObjectBytes()
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];
getSourceObjectBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setSourceObject(String value)
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The sourceObject to set.public RewriteObjectRequest.Builder clearSourceObject()
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];
public RewriteObjectRequest.Builder setSourceObjectBytes(com.google.protobuf.ByteString value)
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for sourceObject to set.public long getSourceGeneration()
If present, selects a specific revision of the source object (as opposed to the latest version, the default).
int64 source_generation = 4;
getSourceGeneration
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setSourceGeneration(long value)
If present, selects a specific revision of the source object (as opposed to the latest version, the default).
int64 source_generation = 4;
value
- The sourceGeneration to set.public RewriteObjectRequest.Builder clearSourceGeneration()
If present, selects a specific revision of the source object (as opposed to the latest version, the default).
int64 source_generation = 4;
public String getRewriteToken()
Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.
string rewrite_token = 5;
getRewriteToken
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getRewriteTokenBytes()
Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.
string rewrite_token = 5;
getRewriteTokenBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setRewriteToken(String value)
Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.
string rewrite_token = 5;
value
- The rewriteToken to set.public RewriteObjectRequest.Builder clearRewriteToken()
Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.
string rewrite_token = 5;
public RewriteObjectRequest.Builder setRewriteTokenBytes(com.google.protobuf.ByteString value)
Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.
string rewrite_token = 5;
value
- The bytes for rewriteToken to set.public String getDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string destination_predefined_acl = 28;
getDestinationPredefinedAcl
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getDestinationPredefinedAclBytes()
Apply a predefined set of access controls to the destination object. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string destination_predefined_acl = 28;
getDestinationPredefinedAclBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setDestinationPredefinedAcl(String value)
Apply a predefined set of access controls to the destination object. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string destination_predefined_acl = 28;
value
- The destinationPredefinedAcl to set.public RewriteObjectRequest.Builder clearDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string destination_predefined_acl = 28;
public RewriteObjectRequest.Builder setDestinationPredefinedAclBytes(com.google.protobuf.ByteString value)
Apply a predefined set of access controls to the destination object. Valid values are "authenticatedRead", "bucketOwnerFullControl", "bucketOwnerRead", "private", "projectPrivate", or "publicRead".
string destination_predefined_acl = 28;
value
- The bytes for destinationPredefinedAcl to set.public boolean hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 7;
hasIfGenerationMatch
in interface RewriteObjectRequestOrBuilder
public long getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 7;
getIfGenerationMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfGenerationMatch(long value)
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 7;
value
- The ifGenerationMatch to set.public RewriteObjectRequest.Builder clearIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
optional int64 if_generation_match = 7;
public boolean hasIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 8;
hasIfGenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public long getIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 8;
getIfGenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfGenerationNotMatch(long value)
Makes the operation conditional on whether the object's live generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 8;
value
- The ifGenerationNotMatch to set.public RewriteObjectRequest.Builder clearIfGenerationNotMatch()
Makes the operation conditional on whether the object's live generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
optional int64 if_generation_not_match = 8;
public boolean hasIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current metageneration matches the given value.
optional int64 if_metageneration_match = 9;
hasIfMetagenerationMatch
in interface RewriteObjectRequestOrBuilder
public long getIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current metageneration matches the given value.
optional int64 if_metageneration_match = 9;
getIfMetagenerationMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfMetagenerationMatch(long value)
Makes the operation conditional on whether the destination object's current metageneration matches the given value.
optional int64 if_metageneration_match = 9;
value
- The ifMetagenerationMatch to set.public RewriteObjectRequest.Builder clearIfMetagenerationMatch()
Makes the operation conditional on whether the destination object's current metageneration matches the given value.
optional int64 if_metageneration_match = 9;
public boolean hasIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 10;
hasIfMetagenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public long getIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 10;
getIfMetagenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfMetagenerationNotMatch(long value)
Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 10;
value
- The ifMetagenerationNotMatch to set.public RewriteObjectRequest.Builder clearIfMetagenerationNotMatch()
Makes the operation conditional on whether the destination object's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 10;
public boolean hasIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live generation matches the given value.
optional int64 if_source_generation_match = 11;
hasIfSourceGenerationMatch
in interface RewriteObjectRequestOrBuilder
public long getIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live generation matches the given value.
optional int64 if_source_generation_match = 11;
getIfSourceGenerationMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfSourceGenerationMatch(long value)
Makes the operation conditional on whether the source object's live generation matches the given value.
optional int64 if_source_generation_match = 11;
value
- The ifSourceGenerationMatch to set.public RewriteObjectRequest.Builder clearIfSourceGenerationMatch()
Makes the operation conditional on whether the source object's live generation matches the given value.
optional int64 if_source_generation_match = 11;
public boolean hasIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live generation does not match the given value.
optional int64 if_source_generation_not_match = 12;
hasIfSourceGenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public long getIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live generation does not match the given value.
optional int64 if_source_generation_not_match = 12;
getIfSourceGenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfSourceGenerationNotMatch(long value)
Makes the operation conditional on whether the source object's live generation does not match the given value.
optional int64 if_source_generation_not_match = 12;
value
- The ifSourceGenerationNotMatch to set.public RewriteObjectRequest.Builder clearIfSourceGenerationNotMatch()
Makes the operation conditional on whether the source object's live generation does not match the given value.
optional int64 if_source_generation_not_match = 12;
public boolean hasIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current metageneration matches the given value.
optional int64 if_source_metageneration_match = 13;
hasIfSourceMetagenerationMatch
in interface RewriteObjectRequestOrBuilder
public long getIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current metageneration matches the given value.
optional int64 if_source_metageneration_match = 13;
getIfSourceMetagenerationMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfSourceMetagenerationMatch(long value)
Makes the operation conditional on whether the source object's current metageneration matches the given value.
optional int64 if_source_metageneration_match = 13;
value
- The ifSourceMetagenerationMatch to set.public RewriteObjectRequest.Builder clearIfSourceMetagenerationMatch()
Makes the operation conditional on whether the source object's current metageneration matches the given value.
optional int64 if_source_metageneration_match = 13;
public boolean hasIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current metageneration does not match the given value.
optional int64 if_source_metageneration_not_match = 14;
hasIfSourceMetagenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public long getIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current metageneration does not match the given value.
optional int64 if_source_metageneration_not_match = 14;
getIfSourceMetagenerationNotMatch
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setIfSourceMetagenerationNotMatch(long value)
Makes the operation conditional on whether the source object's current metageneration does not match the given value.
optional int64 if_source_metageneration_not_match = 14;
value
- The ifSourceMetagenerationNotMatch to set.public RewriteObjectRequest.Builder clearIfSourceMetagenerationNotMatch()
Makes the operation conditional on whether the source object's current metageneration does not match the given value.
optional int64 if_source_metageneration_not_match = 14;
public long getMaxBytesRewrittenPerCall()
The maximum number of bytes that will be rewritten per rewrite request. Most callers shouldn't need to specify this parameter - it is primarily in place to support testing. If specified the value must be an integral multiple of 1 MiB (1048576). Also, this only applies to requests where the source and destination span locations and/or storage classes. Finally, this value must not change across rewrite calls else you'll get an error that the `rewriteToken` is invalid.
int64 max_bytes_rewritten_per_call = 15;
getMaxBytesRewrittenPerCall
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setMaxBytesRewrittenPerCall(long value)
The maximum number of bytes that will be rewritten per rewrite request. Most callers shouldn't need to specify this parameter - it is primarily in place to support testing. If specified the value must be an integral multiple of 1 MiB (1048576). Also, this only applies to requests where the source and destination span locations and/or storage classes. Finally, this value must not change across rewrite calls else you'll get an error that the `rewriteToken` is invalid.
int64 max_bytes_rewritten_per_call = 15;
value
- The maxBytesRewrittenPerCall to set.public RewriteObjectRequest.Builder clearMaxBytesRewrittenPerCall()
The maximum number of bytes that will be rewritten per rewrite request. Most callers shouldn't need to specify this parameter - it is primarily in place to support testing. If specified the value must be an integral multiple of 1 MiB (1048576). Also, this only applies to requests where the source and destination span locations and/or storage classes. Finally, this value must not change across rewrite calls else you'll get an error that the `rewriteToken` is invalid.
int64 max_bytes_rewritten_per_call = 15;
public String getCopySourceEncryptionAlgorithm()
The algorithm used to encrypt the source object, if any. Used if the source object was encrypted with a Customer-Supplied Encryption Key.
string copy_source_encryption_algorithm = 16;
getCopySourceEncryptionAlgorithm
in interface RewriteObjectRequestOrBuilder
public com.google.protobuf.ByteString getCopySourceEncryptionAlgorithmBytes()
The algorithm used to encrypt the source object, if any. Used if the source object was encrypted with a Customer-Supplied Encryption Key.
string copy_source_encryption_algorithm = 16;
getCopySourceEncryptionAlgorithmBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setCopySourceEncryptionAlgorithm(String value)
The algorithm used to encrypt the source object, if any. Used if the source object was encrypted with a Customer-Supplied Encryption Key.
string copy_source_encryption_algorithm = 16;
value
- The copySourceEncryptionAlgorithm to set.public RewriteObjectRequest.Builder clearCopySourceEncryptionAlgorithm()
The algorithm used to encrypt the source object, if any. Used if the source object was encrypted with a Customer-Supplied Encryption Key.
string copy_source_encryption_algorithm = 16;
public RewriteObjectRequest.Builder setCopySourceEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
The algorithm used to encrypt the source object, if any. Used if the source object was encrypted with a Customer-Supplied Encryption Key.
string copy_source_encryption_algorithm = 16;
value
- The bytes for copySourceEncryptionAlgorithm to set.public com.google.protobuf.ByteString getCopySourceEncryptionKeyBytes()
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_bytes = 21;
getCopySourceEncryptionKeyBytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setCopySourceEncryptionKeyBytes(com.google.protobuf.ByteString value)
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_bytes = 21;
value
- The copySourceEncryptionKeyBytes to set.public RewriteObjectRequest.Builder clearCopySourceEncryptionKeyBytes()
The raw bytes (not base64-encoded) AES-256 encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_bytes = 21;
public com.google.protobuf.ByteString getCopySourceEncryptionKeySha256Bytes()
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_sha256_bytes = 22;
getCopySourceEncryptionKeySha256Bytes
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setCopySourceEncryptionKeySha256Bytes(com.google.protobuf.ByteString value)
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_sha256_bytes = 22;
value
- The copySourceEncryptionKeySha256Bytes to set.public RewriteObjectRequest.Builder clearCopySourceEncryptionKeySha256Bytes()
The raw bytes (not base64-encoded) SHA256 hash of the encryption key used to encrypt the source object, if it was encrypted with a Customer-Supplied Encryption Key.
bytes copy_source_encryption_key_sha256_bytes = 22;
public boolean hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
hasCommonObjectRequestParams
in interface RewriteObjectRequestOrBuilder
public CommonObjectRequestParams getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
getCommonObjectRequestParams
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
public RewriteObjectRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
public RewriteObjectRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
public RewriteObjectRequest.Builder clearCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
public CommonObjectRequestParams.Builder getCommonObjectRequestParamsBuilder()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
public CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 19;
getCommonObjectRequestParamsOrBuilder
in interface RewriteObjectRequestOrBuilder
public boolean hasObjectChecksums()
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
hasObjectChecksums
in interface RewriteObjectRequestOrBuilder
public ObjectChecksums getObjectChecksums()
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
getObjectChecksums
in interface RewriteObjectRequestOrBuilder
public RewriteObjectRequest.Builder setObjectChecksums(ObjectChecksums value)
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
public RewriteObjectRequest.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
public RewriteObjectRequest.Builder mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
public RewriteObjectRequest.Builder clearObjectChecksums()
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
public ObjectChecksums.Builder getObjectChecksumsBuilder()
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
public ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()
The checksums of the complete object. This will be used to validate the destination object after rewriting.
.google.storage.v2.ObjectChecksums object_checksums = 29;
getObjectChecksumsOrBuilder
in interface RewriteObjectRequestOrBuilder
public final RewriteObjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
public final RewriteObjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RewriteObjectRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.