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
Modifier and Type | Method and Description |
---|---|
ComposeObjectRequest.Builder |
addAllSourceObjects(Iterable<? extends ComposeObjectRequest.SourceObject> values)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ComposeObjectRequest.Builder |
addSourceObjects(ComposeObjectRequest.SourceObject.Builder builderForValue)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
addSourceObjects(ComposeObjectRequest.SourceObject value)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
addSourceObjects(int index,
ComposeObjectRequest.SourceObject.Builder builderForValue)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
addSourceObjects(int index,
ComposeObjectRequest.SourceObject value)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.SourceObject.Builder |
addSourceObjectsBuilder()
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.SourceObject.Builder |
addSourceObjectsBuilder(int index)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest |
build() |
ComposeObjectRequest |
buildPartial() |
ComposeObjectRequest.Builder |
clear() |
ComposeObjectRequest.Builder |
clearCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
ComposeObjectRequest.Builder |
clearDestination()
Required.
|
ComposeObjectRequest.Builder |
clearDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object.
|
ComposeObjectRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ComposeObjectRequest.Builder |
clearIfGenerationMatch()
Makes the operation conditional on whether the object's current generation
matches the given value.
|
ComposeObjectRequest.Builder |
clearIfMetagenerationMatch()
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
ComposeObjectRequest.Builder |
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.
|
ComposeObjectRequest.Builder |
clearObjectChecksums()
The checksums of the complete object.
|
ComposeObjectRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ComposeObjectRequest.Builder |
clearSourceObjects()
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
clone() |
CommonObjectRequestParams |
getCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
|
CommonObjectRequestParams.Builder |
getCommonObjectRequestParamsBuilder()
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.
|
ComposeObjectRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Object |
getDestination()
Required.
|
Object.Builder |
getDestinationBuilder()
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.
|
ObjectChecksums.Builder |
getObjectChecksumsBuilder()
The checksums of the complete object.
|
ObjectChecksumsOrBuilder |
getObjectChecksumsOrBuilder()
The checksums of the complete object.
|
ComposeObjectRequest.SourceObject |
getSourceObjects(int index)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.SourceObject.Builder |
getSourceObjectsBuilder(int index)
The list of source objects that will be concatenated into a single object.
|
List<ComposeObjectRequest.SourceObject.Builder> |
getSourceObjectsBuilderList()
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.
|
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() |
ComposeObjectRequest.Builder |
mergeCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
|
ComposeObjectRequest.Builder |
mergeDestination(Object value)
Required.
|
ComposeObjectRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ComposeObjectRequest.Builder |
mergeFrom(ComposeObjectRequest other) |
ComposeObjectRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ComposeObjectRequest.Builder |
mergeObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ComposeObjectRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ComposeObjectRequest.Builder |
removeSourceObjects(int index)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
setCommonObjectRequestParams(CommonObjectRequestParams.Builder builderForValue)
A set of parameters common to Storage API requests concerning an object.
|
ComposeObjectRequest.Builder |
setCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
|
ComposeObjectRequest.Builder |
setDestination(Object.Builder builderForValue)
Required.
|
ComposeObjectRequest.Builder |
setDestination(Object value)
Required.
|
ComposeObjectRequest.Builder |
setDestinationPredefinedAcl(String value)
Apply a predefined set of access controls to the destination object.
|
ComposeObjectRequest.Builder |
setDestinationPredefinedAclBytes(com.google.protobuf.ByteString value)
Apply a predefined set of access controls to the destination object.
|
ComposeObjectRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ComposeObjectRequest.Builder |
setIfGenerationMatch(long value)
Makes the operation conditional on whether the object's current generation
matches the given value.
|
ComposeObjectRequest.Builder |
setIfMetagenerationMatch(long value)
Makes the operation conditional on whether the object's current
metageneration matches the given value.
|
ComposeObjectRequest.Builder |
setKmsKey(String 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.
|
ComposeObjectRequest.Builder |
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.
|
ComposeObjectRequest.Builder |
setObjectChecksums(ObjectChecksums.Builder builderForValue)
The checksums of the complete object.
|
ComposeObjectRequest.Builder |
setObjectChecksums(ObjectChecksums value)
The checksums of the complete object.
|
ComposeObjectRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ComposeObjectRequest.Builder |
setSourceObjects(int index,
ComposeObjectRequest.SourceObject.Builder builderForValue)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
setSourceObjects(int index,
ComposeObjectRequest.SourceObject value)
The list of source objects that will be concatenated into a single object.
|
ComposeObjectRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ComposeObjectRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ComposeObjectRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ComposeObjectRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder mergeFrom(ComposeObjectRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public ComposeObjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ComposeObjectRequest.Builder>
IOException
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 ComposeObjectRequest.Builder setDestination(Object value)
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ComposeObjectRequest.Builder setDestination(Object.Builder builderForValue)
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ComposeObjectRequest.Builder mergeDestination(Object value)
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ComposeObjectRequest.Builder clearDestination()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
public Object.Builder getDestinationBuilder()
Required. Properties of the resulting object.
.google.storage.v2.Object destination = 1 [(.google.api.field_behavior) = REQUIRED];
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 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.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;
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;
public ComposeObjectRequest.Builder addSourceObjects(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;
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;
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;
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;
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;
public ComposeObjectRequest.Builder clearSourceObjects()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
public ComposeObjectRequest.Builder removeSourceObjects(int index)
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
public ComposeObjectRequest.SourceObject.Builder getSourceObjectsBuilder(int index)
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
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 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 ComposeObjectRequest.SourceObject.Builder addSourceObjectsBuilder()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
public ComposeObjectRequest.SourceObject.Builder addSourceObjectsBuilder(int index)
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
public List<ComposeObjectRequest.SourceObject.Builder> getSourceObjectsBuilderList()
The list of source objects that will be concatenated into a single object.
repeated .google.storage.v2.ComposeObjectRequest.SourceObject source_objects = 2;
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 ComposeObjectRequest.Builder setDestinationPredefinedAcl(String 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;
value
- The destinationPredefinedAcl to set.public ComposeObjectRequest.Builder 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;
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;
value
- The bytes for destinationPredefinedAcl to set.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 ComposeObjectRequest.Builder setIfGenerationMatch(long value)
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;
value
- The ifGenerationMatch to set.public ComposeObjectRequest.Builder 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;
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 ComposeObjectRequest.Builder setIfMetagenerationMatch(long value)
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;
value
- The ifMetagenerationMatch to set.public ComposeObjectRequest.Builder clearIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given value.
optional int64 if_metageneration_match = 5;
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 ComposeObjectRequest.Builder setKmsKey(String 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. Overrides the object metadata's `kms_key_name` value, if any.
string kms_key = 6 [(.google.api.resource_reference) = { ... }
value
- The kmsKey to set.public ComposeObjectRequest.Builder 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) = { ... }
public ComposeObjectRequest.Builder 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. Overrides the object metadata's `kms_key_name` value, if any.
string kms_key = 6 [(.google.api.resource_reference) = { ... }
value
- The bytes for kmsKey to set.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 ComposeObjectRequest.Builder setCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
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;
public ComposeObjectRequest.Builder mergeCommonObjectRequestParams(CommonObjectRequestParams value)
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
public ComposeObjectRequest.Builder clearCommonObjectRequestParams()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
public CommonObjectRequestParams.Builder getCommonObjectRequestParamsBuilder()
A set of parameters common to Storage API requests concerning an object.
.google.storage.v2.CommonObjectRequestParams common_object_request_params = 7;
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 ComposeObjectRequest.Builder setObjectChecksums(ObjectChecksums value)
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;
public ComposeObjectRequest.Builder setObjectChecksums(ObjectChecksums.Builder builderForValue)
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;
public ComposeObjectRequest.Builder mergeObjectChecksums(ObjectChecksums value)
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;
public ComposeObjectRequest.Builder 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;
public ObjectChecksums.Builder 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;
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 ComposeObjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
public final ComposeObjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ComposeObjectRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.