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<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 | 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.
|
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, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasDestination()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
hasDestination
in interface ComposeObjectRequestOrBuilder
public Object getDestination()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
getDestination
in interface ComposeObjectRequestOrBuilder
public ObjectOrBuilder getDestinationOrBuilder()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
getDestinationOrBuilder
in interface ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
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 = 9;
getDestinationPredefinedAcl
in interface ComposeObjectRequestOrBuilder
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 = 9;
getDestinationPredefinedAclBytes
in interface ComposeObjectRequestOrBuilder
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 = 4;
hasIfGenerationMatch
in interface ComposeObjectRequestOrBuilder
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 = 4;
getIfGenerationMatch
in interface ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public 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 ComposeObjectRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ComposeObjectRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ComposeObjectRequest parseFrom(InputStream input) throws IOException
IOException
public static ComposeObjectRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ComposeObjectRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ComposeObjectRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ComposeObjectRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ComposeObjectRequest.Builder newBuilder()
public static ComposeObjectRequest.Builder newBuilder(ComposeObjectRequest prototype)
public ComposeObjectRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ComposeObjectRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ComposeObjectRequest getDefaultInstance()
public static com.google.protobuf.Parser<ComposeObjectRequest> parser()
public com.google.protobuf.Parser<ComposeObjectRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ComposeObjectRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.