Package com.google.storage.v2
Interface MoveObjectRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MoveObjectRequest,MoveObjectRequest.Builder
public interface MoveObjectRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.longOptional.longOptional.longOptional.longOptional.longOptional.longOptional.longOptional.longOptional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBucket
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:
- The bucket.
-
getBucketBytes
com.google.protobuf.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:
- The bytes for bucket.
-
getSourceObject
String getSourceObject()Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The sourceObject.
-
getSourceObjectBytes
com.google.protobuf.ByteString getSourceObjectBytes()Required. Name of the source object.
string source_object = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for sourceObject.
-
getDestinationObject
String getDestinationObject()Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The destinationObject.
-
getDestinationObjectBytes
com.google.protobuf.ByteString getDestinationObjectBytes()Required. Name of the destination object.
string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for destinationObject.
-
hasIfSourceGenerationMatch
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:
- Whether the ifSourceGenerationMatch field is set.
-
getIfSourceGenerationMatch
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:
- The ifSourceGenerationMatch.
-
hasIfSourceGenerationNotMatch
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:
- Whether the ifSourceGenerationNotMatch field is set.
-
getIfSourceGenerationNotMatch
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:
- The ifSourceGenerationNotMatch.
-
hasIfSourceMetagenerationMatch
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:
- Whether the ifSourceMetagenerationMatch field is set.
-
getIfSourceMetagenerationMatch
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:
- The ifSourceMetagenerationMatch.
-
hasIfSourceMetagenerationNotMatch
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:
- Whether the ifSourceMetagenerationNotMatch field is set.
-
getIfSourceMetagenerationNotMatch
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:
- The ifSourceMetagenerationNotMatch.
-
hasIfGenerationMatch
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:
- Whether the ifGenerationMatch field is set.
-
getIfGenerationMatch
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:
- The ifGenerationMatch.
-
hasIfGenerationNotMatch
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:
- Whether the ifGenerationNotMatch field is set.
-
getIfGenerationNotMatch
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:
- The ifGenerationNotMatch.
-
hasIfMetagenerationMatch
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:
- Whether the ifMetagenerationMatch field is set.
-
getIfMetagenerationMatch
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:
- The ifMetagenerationMatch.
-
hasIfMetagenerationNotMatch
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:
- Whether the ifMetagenerationNotMatch field is set.
-
getIfMetagenerationNotMatch
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:
- The ifMetagenerationNotMatch.
-