Package com.google.storage.v2
Class ComposeObjectRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
com.google.storage.v2.ComposeObjectRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ComposeObjectRequestOrBuilder,Cloneable
- Enclosing class:
- ComposeObjectRequest
public static final class ComposeObjectRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
implements ComposeObjectRequestOrBuilder
Request message for ComposeObject.Protobuf type
google.storage.v2.ComposeObjectRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllSourceObjects(Iterable<? extends ComposeObjectRequest.SourceObject> values) The list of source objects that will be concatenated into a single object.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSourceObjects(int index, ComposeObjectRequest.SourceObject value) The list of source objects that will be concatenated into a single object.addSourceObjects(int index, ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.The list of source objects that will be concatenated into a single object.addSourceObjects(ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.The list of source objects that will be concatenated into a single object.addSourceObjectsBuilder(int index) The list of source objects that will be concatenated into a single object.build()clear()A set of parameters common to Storage API requests concerning an object.Required.Apply a predefined set of access controls to the destination object.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Makes the operation conditional on whether the object's current generation matches the given value.Makes the operation conditional on whether the object's current metageneration matches the given value.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.The checksums of the complete object.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of source objects that will be concatenated into a single object.clone()A set of parameters common to Storage API requests concerning an object.A set of parameters common to Storage API requests concerning an object.A set of parameters common to Storage API requests concerning an object.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.Required.Required.Apply a predefined set of access controls to the destination object.com.google.protobuf.ByteStringApply a predefined set of access controls to the destination object.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.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.ByteStringResource 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.The checksums of the complete object.The checksums of the complete object.The checksums of the complete object.getSourceObjects(int index) The list of source objects that will be concatenated into a single object.getSourceObjectsBuilder(int index) The list of source objects that will be concatenated into a single object.The list of source objects that will be concatenated into a single object.intThe list of source objects that will be concatenated into a single object.The list of source objects that will be concatenated into a single object.getSourceObjectsOrBuilder(int index) The list of source objects that will be concatenated into a single object.List<? extends ComposeObjectRequest.SourceObjectOrBuilder>The list of source objects that will be concatenated into a single object.booleanA set of parameters common to Storage API requests concerning an object.booleanRequired.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.booleanThe checksums of the complete object.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanA set of parameters common to Storage API requests concerning an object.mergeDestination(Object value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ComposeObjectRequest other) The checksums of the complete object.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeSourceObjects(int index) The list of source objects that will be concatenated into a single object.A set of parameters common to Storage API requests concerning an object.setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue) A set of parameters common to Storage API requests concerning an object.setDestination(Object value) Required.setDestination(Object.Builder builderForValue) Required.Apply a predefined set of access controls to the destination object.setDestinationPredefinedAclBytes(com.google.protobuf.ByteString value) Apply a predefined set of access controls to the destination object.setIfGenerationMatch(long value) Makes the operation conditional on whether the object's current generation matches the given value.setIfMetagenerationMatch(long value) Makes the operation conditional on whether the object's current metageneration matches the given value.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.setKmsKeyBytes(com.google.protobuf.ByteString value) 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.The checksums of the complete object.setObjectChecksums(ObjectChecksums.Builder builderForValue) The checksums of the complete object.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSourceObjects(int index, ComposeObjectRequest.SourceObject value) The list of source objects that will be concatenated into a single object.setSourceObjects(int index, ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ComposeObjectRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
setField
public ComposeObjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
clearField
public ComposeObjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
clearOneof
public ComposeObjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
setRepeatedField
public ComposeObjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
addRepeatedField
public ComposeObjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComposeObjectRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
mergeFrom
public ComposeObjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComposeObjectRequest.Builder>- Throws:
IOException
-
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.
-
setDestination
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED]; -
setDestination
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeDestination
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearDestination
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED]; -
getDestinationBuilder
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED]; -
getDestinationOrBuilder
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationOrBuilderin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsList
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;- Specified by:
getSourceObjectsListin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsCount
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;- Specified by:
getSourceObjectsCountin interfaceComposeObjectRequestOrBuilder
-
getSourceObjects
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;- Specified by:
getSourceObjectsin interfaceComposeObjectRequestOrBuilder
-
setSourceObjects
public ComposeObjectRequest.Builder setSourceObjects(int index, ComposeObjectRequest.SourceObject value) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
setSourceObjects
public ComposeObjectRequest.Builder setSourceObjects(int index, ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addSourceObjects
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addSourceObjects
public ComposeObjectRequest.Builder addSourceObjects(int index, ComposeObjectRequest.SourceObject value) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addSourceObjects
public ComposeObjectRequest.Builder addSourceObjects(ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addSourceObjects
public ComposeObjectRequest.Builder addSourceObjects(int index, ComposeObjectRequest.SourceObject.Builder builderForValue) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addAllSourceObjects
public ComposeObjectRequest.Builder addAllSourceObjects(Iterable<? extends ComposeObjectRequest.SourceObject> values) The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
clearSourceObjects
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
removeSourceObjects
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
getSourceObjectsBuilder
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
getSourceObjectsOrBuilder
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;- Specified by:
getSourceObjectsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
getSourceObjectsOrBuilderList
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;- Specified by:
getSourceObjectsOrBuilderListin interfaceComposeObjectRequestOrBuilder
-
addSourceObjectsBuilder
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
addSourceObjectsBuilder
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
getSourceObjectsBuilderList
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2; -
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;- Specified by:
getDestinationPredefinedAclin interfaceComposeObjectRequestOrBuilder- Returns:
- The destinationPredefinedAcl.
-
getDestinationPredefinedAclBytes
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;- Specified by:
getDestinationPredefinedAclBytesin interfaceComposeObjectRequestOrBuilder- Returns:
- The bytes for destinationPredefinedAcl.
-
setDestinationPredefinedAcl
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;- Parameters:
value- The destinationPredefinedAcl to set.- Returns:
- This builder for chaining.
-
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 = 9;- Returns:
- This builder for chaining.
-
setDestinationPredefinedAclBytes
public ComposeObjectRequest.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 = 9;- Parameters:
value- The bytes for destinationPredefinedAcl to set.- Returns:
- This builder for chaining.
-
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.
-
setIfGenerationMatch
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;- Parameters:
value- The ifGenerationMatch to set.- Returns:
- This builder for chaining.
-
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 = 4;- Returns:
- This builder for chaining.
-
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.
-
setIfMetagenerationMatch
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;- Parameters:
value- The ifMetagenerationMatch to set.- Returns:
- This builder for chaining.
-
clearIfMetagenerationMatch
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getKmsKeyin interfaceComposeObjectRequestOrBuilder- Returns:
- The kmsKey.
-
getKmsKeyBytes
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) = { ... }- Specified by:
getKmsKeyBytesin interfaceComposeObjectRequestOrBuilder- Returns:
- The bytes for kmsKey.
-
setKmsKey
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) = { ... }- Parameters:
value- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
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) = { ... }- Returns:
- This builder for chaining.
-
setKmsKeyBytes
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) = { ... }- Parameters:
value- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-
hasCommonObjectRequestParams
public boolean hasCommonObjectRequestParams()A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;- Specified by:
hasCommonObjectRequestParamsin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the commonObjectRequestParams field is set.
-
getCommonObjectRequestParams
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;- Specified by:
getCommonObjectRequestParamsin interfaceComposeObjectRequestOrBuilder- Returns:
- The commonObjectRequestParams.
-
setCommonObjectRequestParams
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7; -
setCommonObjectRequestParams
public ComposeObjectRequest.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 = 7; -
mergeCommonObjectRequestParams
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7; -
clearCommonObjectRequestParams
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7; -
getCommonObjectRequestParamsBuilder
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7; -
getCommonObjectRequestParamsOrBuilder
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;- Specified by:
getCommonObjectRequestParamsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
hasObjectChecksums
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;- Specified by:
hasObjectChecksumsin interfaceComposeObjectRequestOrBuilder- Returns:
- Whether the objectChecksums field is set.
-
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;- Specified by:
getObjectChecksumsin interfaceComposeObjectRequestOrBuilder- Returns:
- The objectChecksums.
-
setObjectChecksums
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; -
setObjectChecksums
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; -
mergeObjectChecksums
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; -
clearObjectChecksums
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; -
getObjectChecksumsBuilder
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
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;- Specified by:
getObjectChecksumsOrBuilderin interfaceComposeObjectRequestOrBuilder
-
setUnknownFields
public final ComposeObjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-
mergeUnknownFields
public final ComposeObjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
-