public final class ComposeObjectRequest extends com.google.protobuf.GeneratedMessageV3 implements ComposeObjectRequestOrBuilder
Request message for ComposeObject.Protobuf type
google.storage.v2.ComposeObjectRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ComposeObjectRequest.Builder
Request message for ComposeObject.
|
static class |
ComposeObjectRequest.SourceObject
Description of a source object for a composition request.
|
static interface |
ComposeObjectRequest.SourceObjectOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
DESTINATION_PREDEFINED_ACL_FIELD_NUMBER |
static int |
IF_GENERATION_MATCH_FIELD_NUMBER |
static int |
IF_METAGENERATION_MATCH_FIELD_NUMBER |
static int |
KMS_KEY_FIELD_NUMBER |
static int |
OBJECT_CHECKSUMS_FIELD_NUMBER |
static int |
SOURCE_OBJECTS_FIELD_NUMBER |
| 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.
|
static ComposeObjectRequest |
getDefaultInstance() |
ComposeObjectRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Object |
getDestination()
Required.
|
ObjectOrBuilder |
getDestinationOrBuilder()
Required.
|
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 |
getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
String |
getKmsKey()
Resource name of the Cloud KMS key, of the form
`projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
that will be used to encrypt the object.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Resource name of the Cloud KMS key, of the form
`projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
that will be used to encrypt the object.
|
ObjectChecksums |
getObjectChecksums()
The checksums of the complete object.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
com.google.protobuf.Parser<ComposeObjectRequest> |
getParserForType() |
int |
getSerializedSize() |
ComposeObjectRequest.SourceObject |
getSourceObjects(int index)
The list of source objects that will be concatenated into a single object.
|
int |
getSourceObjectsCount()
The list of source objects that will be concatenated into a single object.
|
List<ComposeObjectRequest.SourceObject> |
getSourceObjectsList()
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.SourceObjectOrBuilder |
getSourceObjectsOrBuilder(int index)
The list of source objects that will be concatenated into a single object.
|
List<? extends ComposeObjectRequest.SourceObjectOrBuilder> |
getSourceObjectsOrBuilderList()
The list of source objects that will be concatenated into a single object.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
boolean |
hasDestination()
Required.
|
int |
hashCode() |
boolean |
hasIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
boolean |
hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
boolean |
hasObjectChecksums()
The checksums of the complete object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ComposeObjectRequest.Builder |
newBuilder() |
static ComposeObjectRequest.Builder |
newBuilder(ComposeObjectRequest prototype) |
ComposeObjectRequest.Builder |
newBuilderForType() |
protected ComposeObjectRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ComposeObjectRequest |
parseDelimitedFrom(InputStream input) |
static ComposeObjectRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComposeObjectRequest |
parseFrom(byte[] data) |
static ComposeObjectRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComposeObjectRequest |
parseFrom(ByteBuffer data) |
static ComposeObjectRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComposeObjectRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ComposeObjectRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComposeObjectRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ComposeObjectRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComposeObjectRequest |
parseFrom(InputStream input) |
static ComposeObjectRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ComposeObjectRequest> |
parser() |
ComposeObjectRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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_FIELD_NUMBER
public static final int SOURCE_OBJECTS_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_METAGENERATION_MATCH_FIELD_NUMBER
public static final int KMS_KEY_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 final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 boolean hasDestination()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
hasDestination in interface ComposeObjectRequestOrBuilderpublic Object getDestination()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
getDestination in interface ComposeObjectRequestOrBuilderpublic ObjectOrBuilder getDestinationOrBuilder()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
getDestinationOrBuilder in interface ComposeObjectRequestOrBuilderpublic List<ComposeObjectRequest.SourceObject> getSourceObjectsList()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;getSourceObjectsList in interface ComposeObjectRequestOrBuilderpublic List<? extends ComposeObjectRequest.SourceObjectOrBuilder> getSourceObjectsOrBuilderList()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;getSourceObjectsOrBuilderList in interface ComposeObjectRequestOrBuilderpublic int getSourceObjectsCount()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;getSourceObjectsCount in interface ComposeObjectRequestOrBuilderpublic ComposeObjectRequest.SourceObject getSourceObjects(int index)
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;getSourceObjects in interface ComposeObjectRequestOrBuilderpublic ComposeObjectRequest.SourceObjectOrBuilder getSourceObjectsOrBuilder(int index)
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;getSourceObjectsOrBuilder in interface ComposeObjectRequestOrBuilderpublic 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 = 9;getDestinationPredefinedAcl in interface ComposeObjectRequestOrBuilderpublic 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 = 9;getDestinationPredefinedAclBytes in interface ComposeObjectRequestOrBuilderpublic 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 = 4;hasIfGenerationMatch in interface ComposeObjectRequestOrBuilderpublic 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 = 4;getIfGenerationMatch in interface ComposeObjectRequestOrBuilderpublic boolean hasIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;hasIfMetagenerationMatch in interface ComposeObjectRequestOrBuilderpublic long getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;getIfMetagenerationMatch in interface ComposeObjectRequestOrBuilderpublic String getKmsKey()
Resource name of the Cloud KMS key, of the form `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, that will be used to encrypt the object. Overrides the object metadata's `kms_key_name` value, if any.
string kms_key = 6 [(.google.api.resource_reference) = { ... }getKmsKey in interface ComposeObjectRequestOrBuilderpublic com.google.protobuf.ByteString getKmsKeyBytes()
Resource name of the Cloud KMS key, of the form `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, that will be used to encrypt the object. Overrides the object metadata's `kms_key_name` value, if any.
string kms_key = 6 [(.google.api.resource_reference) = { ... }getKmsKeyBytes in interface ComposeObjectRequestOrBuilderpublic boolean hasCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;hasCommonObjectRequestParams in interface ComposeObjectRequestOrBuilderpublic CommonObjectRequestParams getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;getCommonObjectRequestParams in interface ComposeObjectRequestOrBuilderpublic CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;getCommonObjectRequestParamsOrBuilder in interface ComposeObjectRequestOrBuilderpublic boolean hasObjectChecksums()
The checksums of the complete object. This will be validated against the combined checksums of the component objects.
.google.storage.v2.ObjectChecksums object_checksums = 10;hasObjectChecksums in interface ComposeObjectRequestOrBuilderpublic ObjectChecksums getObjectChecksums()
The checksums of the complete object. This will be validated against the combined checksums of the component objects.
.google.storage.v2.ObjectChecksums object_checksums = 10;getObjectChecksums in interface ComposeObjectRequestOrBuilderpublic ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder()
The checksums of the complete object. This will be validated against the combined checksums of the component objects.
.google.storage.v2.ObjectChecksums object_checksums = 10;getObjectChecksumsOrBuilder in interface ComposeObjectRequestOrBuilderpublic 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 ComposeObjectRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComposeObjectRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ComposeObjectRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComposeObjectRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ComposeObjectRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ComposeObjectRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ComposeObjectRequest.Builder newBuilder()
public static ComposeObjectRequest.Builder newBuilder(ComposeObjectRequest prototype)
public ComposeObjectRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ComposeObjectRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ComposeObjectRequest getDefaultInstance()
public static com.google.protobuf.Parser<ComposeObjectRequest> parser()
public com.google.protobuf.Parser<ComposeObjectRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ComposeObjectRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.