Package com.google.storage.v2
Class ComposeObjectRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.storage.v2.ComposeObjectRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ComposeObjectRequestOrBuilder,Serializable
public final class ComposeObjectRequest
extends com.google.protobuf.GeneratedMessageV3
implements ComposeObjectRequestOrBuilder
Request message for ComposeObject.Protobuf type
google.storage.v2.ComposeObjectRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for ComposeObject.static final classDescription of a source object for a composition request.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static ComposeObjectRequeststatic final com.google.protobuf.Descriptors.DescriptorRequired.Required.Optional.com.google.protobuf.ByteStringOptional.longMakes the operation conditional on whether the object's current generation matches the given value.longMakes the operation conditional on whether the object's current metageneration matches the given value.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.com.google.protobuf.Parser<ComposeObjectRequest>intgetSourceObjects(int index) Optional.intOptional.Optional.getSourceObjectsOrBuilder(int index) Optional.List<? extends ComposeObjectRequest.SourceObjectOrBuilder>Optional.booleanOptional.booleanRequired.inthashCode()booleanMakes the operation conditional on whether the object's current generation matches the given value.booleanMakes the operation conditional on whether the object's current metageneration matches the given value.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ComposeObjectRequest.Builderstatic ComposeObjectRequest.BuildernewBuilder(ComposeObjectRequest prototype) protected ComposeObjectRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ComposeObjectRequestparseDelimitedFrom(InputStream input) static ComposeObjectRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComposeObjectRequestparseFrom(byte[] data) static ComposeObjectRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComposeObjectRequestparseFrom(com.google.protobuf.ByteString data) static ComposeObjectRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComposeObjectRequestparseFrom(com.google.protobuf.CodedInputStream input) static ComposeObjectRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComposeObjectRequestparseFrom(InputStream input) static ComposeObjectRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComposeObjectRequestparseFrom(ByteBuffer data) static ComposeObjectRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ComposeObjectRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
SOURCE_OBJECTS_FIELD_NUMBER
public static final int SOURCE_OBJECTS_FIELD_NUMBER- See Also:
-
DESTINATION_PREDEFINED_ACL_FIELD_NUMBER
public static final int DESTINATION_PREDEFINED_ACL_FIELD_NUMBER- See Also:
-
IF_GENERATION_MATCH_FIELD_NUMBER
public static final int IF_GENERATION_MATCH_FIELD_NUMBER- See Also:
-
IF_METAGENERATION_MATCH_FIELD_NUMBER
public static final int IF_METAGENERATION_MATCH_FIELD_NUMBER- See Also:
-
KMS_KEY_FIELD_NUMBER
public static final int KMS_KEY_FIELD_NUMBER- See Also:
-
COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER
public static final int COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER- See Also:
-
OBJECT_CHECKSUMS_FIELD_NUMBER
public static final int OBJECT_CHECKSUMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDestination
public boolean hasDestination()Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDestinationin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationin interfaceComposeObjectRequestOrBuilder- Returns:
- The destination.
-
getDestinationOrBuilder
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationOrBuilderin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsList
Optional. The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceObjectsListin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsOrBuilderList
Optional. The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceObjectsOrBuilderListin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsCount
public int getSourceObjectsCount()Optional. The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceObjectsCountin interfaceComposeObjectRequestOrBuilder
-
getSourceObjects
Optional. The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceObjectsin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsOrBuilder
Optional. The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceObjectsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
getDestinationPredefinedAcl
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDestinationPredefinedAclin interfaceComposeObjectRequestOrBuilder- Returns:
- The destinationPredefinedAcl.
-
getDestinationPredefinedAclBytes
public com.google.protobuf.ByteString getDestinationPredefinedAclBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDestinationPredefinedAclBytesin interfaceComposeObjectRequestOrBuilder- Returns:
- The bytes for destinationPredefinedAcl.
-
hasIfGenerationMatch
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;- Specified by:
hasIfGenerationMatchin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the ifGenerationMatch field is set.
-
getIfGenerationMatch
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;- Specified by:
getIfGenerationMatchin interfaceComposeObjectRequestOrBuilder- Returns:
- The ifGenerationMatch.
-
hasIfMetagenerationMatch
public boolean hasIfMetagenerationMatch()Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;- Specified by:
hasIfMetagenerationMatchin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the ifMetagenerationMatch field is set.
-
getIfMetagenerationMatch
public long getIfMetagenerationMatch()Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;- Specified by:
getIfMetagenerationMatchin interfaceComposeObjectRequestOrBuilder- Returns:
- The ifMetagenerationMatch.
-
getKmsKey
Optional. 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.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyin interfaceComposeObjectRequestOrBuilder- Returns:
- The kmsKey.
-
getKmsKeyBytes
public com.google.protobuf.ByteString getKmsKeyBytes()Optional. 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.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getKmsKeyBytesin interfaceComposeObjectRequestOrBuilder- Returns:
- The bytes for kmsKey.
-
hasCommonObjectRequestParams
public boolean hasCommonObjectRequestParams()Optional. A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCommonObjectRequestParamsin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the commonObjectRequestParams field is set.
-
getCommonObjectRequestParams
Optional. A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommonObjectRequestParamsin interfaceComposeObjectRequestOrBuilder- Returns:
- The commonObjectRequestParams.
-
getCommonObjectRequestParamsOrBuilder
Optional. A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommonObjectRequestParamsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
hasObjectChecksums
public boolean hasObjectChecksums()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasObjectChecksumsin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the objectChecksums field is set.
-
getObjectChecksums
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectChecksumsin interfaceComposeObjectRequestOrBuilder- Returns:
- The objectChecksums.
-
getObjectChecksumsOrBuilder
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getObjectChecksumsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ComposeObjectRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComposeObjectRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComposeObjectRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComposeObjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComposeObjectRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ComposeObjectRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ComposeObjectRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ComposeObjectRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ComposeObjectRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-