- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class MoveObjectRequest.Builder extends GeneratedMessageV3.Builder<MoveObjectRequest.Builder> implements MoveObjectRequestOrBuilder
Request message for MoveObject.
Protobuf type google.storage.v2.MoveObjectRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MoveObjectRequest.BuilderImplements
MoveObjectRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MoveObjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
build()
public MoveObjectRequest build()
Returns | |
---|---|
Type | Description |
MoveObjectRequest |
buildPartial()
public MoveObjectRequest buildPartial()
Returns | |
---|---|
Type | Description |
MoveObjectRequest |
clear()
public MoveObjectRequest.Builder clear()
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
clearBucket()
public MoveObjectRequest.Builder clearBucket()
Required. Name of the bucket in which the object resides.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearDestinationObject()
public MoveObjectRequest.Builder clearDestinationObject()
Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MoveObjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
clearIfGenerationMatch()
public MoveObjectRequest.Builder clearIfGenerationMatch()
Optional. Makes the operation conditional on whether the destination
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.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_match = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfGenerationNotMatch()
public MoveObjectRequest.Builder clearIfGenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current generation does not match the given value. If no live
object exists, the precondition fails. Setting to 0 makes the operation
succeed only if there is a live version of the object.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_not_match = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfMetagenerationMatch()
public MoveObjectRequest.Builder clearIfMetagenerationMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration matches the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_match = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfMetagenerationNotMatch()
public MoveObjectRequest.Builder clearIfMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration does not match the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_not_match = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfSourceGenerationMatch()
public MoveObjectRequest.Builder clearIfSourceGenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current generation matches the given value. if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive:
it's an error for both of them to be set in the request.
optional int64 if_source_generation_match = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfSourceGenerationNotMatch()
public MoveObjectRequest.Builder clearIfSourceGenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current generation does not match the given value.
if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_generation_not_match = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfSourceMetagenerationMatch()
public MoveObjectRequest.Builder clearIfSourceMetagenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration matches the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_match = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearIfSourceMetagenerationNotMatch()
public MoveObjectRequest.Builder clearIfSourceMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration does not match the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_not_match = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MoveObjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
clearSourceObject()
public MoveObjectRequest.Builder clearSourceObject()
Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
clone()
public MoveObjectRequest.Builder clone()
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
getBucket()
public String getBucket()
Required. Name of the bucket in which the object resides.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The bucket. |
getBucketBytes()
public ByteString getBucketBytes()
Required. Name of the bucket in which the object resides.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for bucket. |
getDefaultInstanceForType()
public MoveObjectRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MoveObjectRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationObject()
public String getDestinationObject()
Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The destinationObject. |
getDestinationObjectBytes()
public ByteString getDestinationObjectBytes()
Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for destinationObject. |
getIfGenerationMatch()
public long getIfGenerationMatch()
Optional. Makes the operation conditional on whether the destination
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.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_match = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifGenerationMatch. |
getIfGenerationNotMatch()
public long getIfGenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current generation does not match the given value. If no live
object exists, the precondition fails. Setting to 0 makes the operation
succeed only if there is a live version of the object.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_not_match = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifGenerationNotMatch. |
getIfMetagenerationMatch()
public long getIfMetagenerationMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration matches the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_match = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifMetagenerationMatch. |
getIfMetagenerationNotMatch()
public long getIfMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration does not match the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_not_match = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifMetagenerationNotMatch. |
getIfSourceGenerationMatch()
public long getIfSourceGenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current generation matches the given value. if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive:
it's an error for both of them to be set in the request.
optional int64 if_source_generation_match = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifSourceGenerationMatch. |
getIfSourceGenerationNotMatch()
public long getIfSourceGenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current generation does not match the given value.
if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_generation_not_match = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifSourceGenerationNotMatch. |
getIfSourceMetagenerationMatch()
public long getIfSourceMetagenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration matches the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_match = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifSourceMetagenerationMatch. |
getIfSourceMetagenerationNotMatch()
public long getIfSourceMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration does not match the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_not_match = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The ifSourceMetagenerationNotMatch. |
getSourceObject()
public String getSourceObject()
Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The sourceObject. |
getSourceObjectBytes()
public ByteString getSourceObjectBytes()
Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceObject. |
hasIfGenerationMatch()
public boolean hasIfGenerationMatch()
Optional. Makes the operation conditional on whether the destination
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.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_match = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifGenerationMatch field is set. |
hasIfGenerationNotMatch()
public boolean hasIfGenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current generation does not match the given value. If no live
object exists, the precondition fails. Setting to 0 makes the operation
succeed only if there is a live version of the object.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_not_match = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifGenerationNotMatch field is set. |
hasIfMetagenerationMatch()
public boolean hasIfMetagenerationMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration matches the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_match = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifMetagenerationMatch field is set. |
hasIfMetagenerationNotMatch()
public boolean hasIfMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the destination
object's current metageneration does not match the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_not_match = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifMetagenerationNotMatch field is set. |
hasIfSourceGenerationMatch()
public boolean hasIfSourceGenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current generation matches the given value. if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive:
it's an error for both of them to be set in the request.
optional int64 if_source_generation_match = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifSourceGenerationMatch field is set. |
hasIfSourceGenerationNotMatch()
public boolean hasIfSourceGenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current generation does not match the given value.
if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_generation_not_match = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifSourceGenerationNotMatch field is set. |
hasIfSourceMetagenerationMatch()
public boolean hasIfSourceMetagenerationMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration matches the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_match = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifSourceMetagenerationMatch field is set. |
hasIfSourceMetagenerationNotMatch()
public boolean hasIfSourceMetagenerationNotMatch()
Optional. Makes the operation conditional on whether the source object's
current metageneration does not match the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_not_match = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the ifSourceMetagenerationNotMatch field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MoveObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MoveObjectRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
mergeFrom(MoveObjectRequest other)
public MoveObjectRequest.Builder mergeFrom(MoveObjectRequest other)
Parameter | |
---|---|
Name | Description |
other |
MoveObjectRequest |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MoveObjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
setBucket(String value)
public MoveObjectRequest.Builder setBucket(String value)
Required. Name of the bucket in which the object resides.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The bucket to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
public MoveObjectRequest.Builder setBucketBytes(ByteString value)
Required. Name of the bucket in which the object resides.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for bucket to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setDestinationObject(String value)
public MoveObjectRequest.Builder setDestinationObject(String value)
Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The destinationObject to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setDestinationObjectBytes(ByteString value)
public MoveObjectRequest.Builder setDestinationObjectBytes(ByteString value)
Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationObject to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MoveObjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
setIfGenerationMatch(long value)
public MoveObjectRequest.Builder setIfGenerationMatch(long value)
Optional. Makes the operation conditional on whether the destination
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.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_match = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifGenerationMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfGenerationNotMatch(long value)
public MoveObjectRequest.Builder setIfGenerationNotMatch(long value)
Optional. Makes the operation conditional on whether the destination
object's current generation does not match the given value. If no live
object exists, the precondition fails. Setting to 0 makes the operation
succeed only if there is a live version of the object.
if_generation_match
and if_generation_not_match
conditions are mutually
exclusive: it's an error for both of them to be set in the request.
optional int64 if_generation_not_match = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifGenerationNotMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfMetagenerationMatch(long value)
public MoveObjectRequest.Builder setIfMetagenerationMatch(long value)
Optional. Makes the operation conditional on whether the destination
object's current metageneration matches the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_match = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifMetagenerationMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfMetagenerationNotMatch(long value)
public MoveObjectRequest.Builder setIfMetagenerationNotMatch(long value)
Optional. Makes the operation conditional on whether the destination
object's current metageneration does not match the given value.
if_metageneration_match
and if_metageneration_not_match
conditions are
mutually exclusive: it's an error for both of them to be set in the
request.
optional int64 if_metageneration_not_match = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifMetagenerationNotMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfSourceGenerationMatch(long value)
public MoveObjectRequest.Builder setIfSourceGenerationMatch(long value)
Optional. Makes the operation conditional on whether the source object's
current generation matches the given value. if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive:
it's an error for both of them to be set in the request.
optional int64 if_source_generation_match = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifSourceGenerationMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfSourceGenerationNotMatch(long value)
public MoveObjectRequest.Builder setIfSourceGenerationNotMatch(long value)
Optional. Makes the operation conditional on whether the source object's
current generation does not match the given value.
if_source_generation_match
and if_source_generation_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_generation_not_match = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifSourceGenerationNotMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfSourceMetagenerationMatch(long value)
public MoveObjectRequest.Builder setIfSourceMetagenerationMatch(long value)
Optional. Makes the operation conditional on whether the source object's
current metageneration matches the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_match = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifSourceMetagenerationMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setIfSourceMetagenerationNotMatch(long value)
public MoveObjectRequest.Builder setIfSourceMetagenerationNotMatch(long value)
Optional. Makes the operation conditional on whether the source object's
current metageneration does not match the given value.
if_source_metageneration_match
and if_source_metageneration_not_match
conditions are mutually exclusive: it's an error for both of them to be set
in the request.
optional int64 if_source_metageneration_not_match = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The ifSourceMetagenerationNotMatch to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MoveObjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
setSourceObject(String value)
public MoveObjectRequest.Builder setSourceObject(String value)
Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The sourceObject to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setSourceObjectBytes(ByteString value)
public MoveObjectRequest.Builder setSourceObjectBytes(ByteString value)
Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceObject to set. |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MoveObjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MoveObjectRequest.Builder |