Class MoveObjectRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
com.google.storage.v2.MoveObjectRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MoveObjectRequestOrBuilder, Cloneable
Enclosing class:
MoveObjectRequest

public static final class MoveObjectRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder> implements MoveObjectRequestOrBuilder
 Request message for MoveObject.
 
Protobuf type google.storage.v2.MoveObjectRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • clear

      public MoveObjectRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • getDefaultInstanceForType

      public MoveObjectRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MoveObjectRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MoveObjectRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public MoveObjectRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • setField

      public MoveObjectRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • clearField

      public MoveObjectRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • clearOneof

      public MoveObjectRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • setRepeatedField

      public MoveObjectRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • addRepeatedField

      public MoveObjectRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • mergeFrom

      public MoveObjectRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MoveObjectRequest.Builder>
    • mergeFrom

      public MoveObjectRequest.Builder mergeFrom(MoveObjectRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • mergeFrom

      public MoveObjectRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MoveObjectRequest.Builder>
      Throws:
      IOException
    • 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) = { ... }
      Specified by:
      getBucket in interface MoveObjectRequestOrBuilder
      Returns:
      The bucket.
    • getBucketBytes

      public 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) = { ... }
      Specified by:
      getBucketBytes in interface MoveObjectRequestOrBuilder
      Returns:
      The bytes for bucket.
    • setBucket

      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) = { ... }
      Parameters:
      value - The bucket to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setBucketBytes

      public MoveObjectRequest.Builder setBucketBytes(com.google.protobuf.ByteString value)
       Required. Name of the bucket in which the object resides.
       
      string bucket = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for bucket to set.
      Returns:
      This builder for chaining.
    • getSourceObject

      public String getSourceObject()
       Required. Name of the source object.
       
      string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceObject in interface MoveObjectRequestOrBuilder
      Returns:
      The sourceObject.
    • getSourceObjectBytes

      public com.google.protobuf.ByteString getSourceObjectBytes()
       Required. Name of the source object.
       
      string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceObjectBytes in interface MoveObjectRequestOrBuilder
      Returns:
      The bytes for sourceObject.
    • setSourceObject

      public MoveObjectRequest.Builder setSourceObject(String value)
       Required. Name of the source object.
       
      string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sourceObject to set.
      Returns:
      This builder for chaining.
    • clearSourceObject

      public MoveObjectRequest.Builder clearSourceObject()
       Required. Name of the source object.
       
      string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSourceObjectBytes

      public MoveObjectRequest.Builder setSourceObjectBytes(com.google.protobuf.ByteString value)
       Required. Name of the source object.
       
      string source_object = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sourceObject to set.
      Returns:
      This builder for chaining.
    • getDestinationObject

      public String getDestinationObject()
       Required. Name of the destination object.
       
      string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationObject in interface MoveObjectRequestOrBuilder
      Returns:
      The destinationObject.
    • getDestinationObjectBytes

      public com.google.protobuf.ByteString getDestinationObjectBytes()
       Required. Name of the destination object.
       
      string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationObjectBytes in interface MoveObjectRequestOrBuilder
      Returns:
      The bytes for destinationObject.
    • setDestinationObject

      public MoveObjectRequest.Builder setDestinationObject(String value)
       Required. Name of the destination object.
       
      string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The destinationObject to set.
      Returns:
      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:
      This builder for chaining.
    • setDestinationObjectBytes

      public MoveObjectRequest.Builder setDestinationObjectBytes(com.google.protobuf.ByteString value)
       Required. Name of the destination object.
       
      string destination_object = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for destinationObject to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfSourceGenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifSourceGenerationMatch field is set.
    • 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];
      Specified by:
      getIfSourceGenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifSourceGenerationMatch.
    • setIfSourceGenerationMatch

      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];
      Parameters:
      value - The ifSourceGenerationMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfSourceGenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifSourceGenerationNotMatch field is set.
    • 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];
      Specified by:
      getIfSourceGenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifSourceGenerationNotMatch.
    • setIfSourceGenerationNotMatch

      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];
      Parameters:
      value - The ifSourceGenerationNotMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfSourceMetagenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifSourceMetagenerationMatch field is set.
    • 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];
      Specified by:
      getIfSourceMetagenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifSourceMetagenerationMatch.
    • setIfSourceMetagenerationMatch

      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];
      Parameters:
      value - The ifSourceMetagenerationMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfSourceMetagenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifSourceMetagenerationNotMatch field is set.
    • 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];
      Specified by:
      getIfSourceMetagenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifSourceMetagenerationNotMatch.
    • setIfSourceMetagenerationNotMatch

      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];
      Parameters:
      value - The ifSourceMetagenerationNotMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfGenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifGenerationMatch field is set.
    • 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];
      Specified by:
      getIfGenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifGenerationMatch.
    • setIfGenerationMatch

      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];
      Parameters:
      value - The ifGenerationMatch to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfGenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifGenerationNotMatch field is set.
    • 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];
      Specified by:
      getIfGenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifGenerationNotMatch.
    • setIfGenerationNotMatch

      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];
      Parameters:
      value - The ifGenerationNotMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfMetagenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifMetagenerationMatch field is set.
    • 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];
      Specified by:
      getIfMetagenerationMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifMetagenerationMatch.
    • setIfMetagenerationMatch

      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];
      Parameters:
      value - The ifMetagenerationMatch to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasIfMetagenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      Whether the ifMetagenerationNotMatch field is set.
    • 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];
      Specified by:
      getIfMetagenerationNotMatch in interface MoveObjectRequestOrBuilder
      Returns:
      The ifMetagenerationNotMatch.
    • setIfMetagenerationNotMatch

      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];
      Parameters:
      value - The ifMetagenerationNotMatch to set.
      Returns:
      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:
      This builder for chaining.
    • setUnknownFields

      public final MoveObjectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>
    • mergeUnknownFields

      public final MoveObjectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MoveObjectRequest.Builder>