Class RegionAddressesMoveRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RegionAddressesMoveRequest.Builder>
com.google.cloud.compute.v1.RegionAddressesMoveRequest.Builder
All Implemented Interfaces:
RegionAddressesMoveRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RegionAddressesMoveRequest

public static final class RegionAddressesMoveRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RegionAddressesMoveRequest.Builder> implements RegionAddressesMoveRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.RegionAddressesMoveRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RegionAddressesMoveRequest.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.GeneratedMessage.Builder<RegionAddressesMoveRequest.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.GeneratedMessage.Builder<RegionAddressesMoveRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public RegionAddressesMoveRequest.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<RegionAddressesMoveRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public RegionAddressesMoveRequest.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<RegionAddressesMoveRequest.Builder>
      Throws:
      IOException
    • hasDescription

      public boolean hasDescription()
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public RegionAddressesMoveRequest.Builder setDescription(String value)
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public RegionAddressesMoveRequest.Builder clearDescription()
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public RegionAddressesMoveRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional destination address description if intended to be different
       from the source.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasDestinationAddress

      public boolean hasDestinationAddress()
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Specified by:
      hasDestinationAddress in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      Whether the destinationAddress field is set.
    • getDestinationAddress

      public String getDestinationAddress()
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Specified by:
      getDestinationAddress in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      The destinationAddress.
    • getDestinationAddressBytes

      public com.google.protobuf.ByteString getDestinationAddressBytes()
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Specified by:
      getDestinationAddressBytes in interface RegionAddressesMoveRequestOrBuilder
      Returns:
      The bytes for destinationAddress.
    • setDestinationAddress

      public RegionAddressesMoveRequest.Builder setDestinationAddress(String value)
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Parameters:
      value - The destinationAddress to set.
      Returns:
      This builder for chaining.
    • clearDestinationAddress

      public RegionAddressesMoveRequest.Builder clearDestinationAddress()
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Returns:
      This builder for chaining.
    • setDestinationAddressBytes

      public RegionAddressesMoveRequest.Builder setDestinationAddressBytes(com.google.protobuf.ByteString value)
       The URL of the destination address to move to. This can be a full or
       partial URL. For example, the following are all valid URLs to a address:
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address
       - projects/project/regions/region/addresses/address
      
      
       Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
       
      optional string destination_address = 371693763;
      Parameters:
      value - The bytes for destinationAddress to set.
      Returns:
      This builder for chaining.