public final class RewriteObjectRequest extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
RewriteObjectRequest.Builder
Request message for RewriteObject.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CommonObjectRequestParams |
getCommonObjectRequestParams()
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.
|
static RewriteObjectRequest |
getDefaultInstance() |
RewriteObjectRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Object |
getDestination()
Properties of the destination, post-rewrite object.
|
String |
getDestinationBucket()
Required.
|
com.google.protobuf.ByteString |
getDestinationBucketBytes()
Required.
|
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.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
com.google.protobuf.Parser<RewriteObjectRequest> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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() |
static RewriteObjectRequest.Builder |
newBuilder() |
static RewriteObjectRequest.Builder |
newBuilder(RewriteObjectRequest prototype) |
RewriteObjectRequest.Builder |
newBuilderForType() |
protected RewriteObjectRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RewriteObjectRequest |
parseDelimitedFrom(InputStream input) |
static RewriteObjectRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteObjectRequest |
parseFrom(byte[] data) |
static RewriteObjectRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteObjectRequest |
parseFrom(ByteBuffer data) |
static RewriteObjectRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteObjectRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RewriteObjectRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteObjectRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RewriteObjectRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RewriteObjectRequest |
parseFrom(InputStream input) |
static RewriteObjectRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RewriteObjectRequest> |
parser() |
RewriteObjectRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DESTINATION_NAME_FIELD_NUMBER
public static final int DESTINATION_BUCKET_FIELD_NUMBER
public static final int DESTINATION_KMS_KEY_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
public static final int SOURCE_BUCKET_FIELD_NUMBER
public static final int SOURCE_OBJECT_FIELD_NUMBER
public static final int SOURCE_GENERATION_FIELD_NUMBER
public static final int REWRITE_TOKEN_FIELD_NUMBER
public static final int DESTINATION_PREDEFINED_ACL_FIELD_NUMBER
public static final int IF_GENERATION_MATCH_FIELD_NUMBER
public static final int IF_GENERATION_NOT_MATCH_FIELD_NUMBER
public static final int IF_METAGENERATION_MATCH_FIELD_NUMBER
public static final int IF_METAGENERATION_NOT_MATCH_FIELD_NUMBER
public static final int IF_SOURCE_GENERATION_MATCH_FIELD_NUMBER
public static final int IF_SOURCE_GENERATION_NOT_MATCH_FIELD_NUMBER
public static final int IF_SOURCE_METAGENERATION_MATCH_FIELD_NUMBER
public static final int IF_SOURCE_METAGENERATION_NOT_MATCH_FIELD_NUMBER
public static final int MAX_BYTES_REWRITTEN_PER_CALL_FIELD_NUMBER
public static final int COPY_SOURCE_ENCRYPTION_ALGORITHM_FIELD_NUMBER
public static final int COPY_SOURCE_ENCRYPTION_KEY_BYTES_FIELD_NUMBER
public static final int COPY_SOURCE_ENCRYPTION_KEY_SHA256_BYTES_FIELD_NUMBER
public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic String getSourceObject()
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];getSourceObject in interface RewriteObjectRequestOrBuilderpublic com.google.protobuf.ByteString getSourceObjectBytes()
Required. Name of the source object.
string source_object = 3 [(.google.api.field_behavior) = REQUIRED];getSourceObjectBytes in interface RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic 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 RewriteObjectRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RewriteObjectRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RewriteObjectRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static RewriteObjectRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RewriteObjectRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RewriteObjectRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RewriteObjectRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RewriteObjectRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RewriteObjectRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RewriteObjectRequest.Builder newBuilder()
public static RewriteObjectRequest.Builder newBuilder(RewriteObjectRequest prototype)
public RewriteObjectRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RewriteObjectRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RewriteObjectRequest getDefaultInstance()
public static com.google.protobuf.Parser<RewriteObjectRequest> parser()
public com.google.protobuf.Parser<RewriteObjectRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RewriteObjectRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.