Interface MoveObjectRequestOrBuilder (2.47.0)

public interface MoveObjectRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract 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 abstract 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.

getDestinationObject()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.