Class RegionAddressesMoveRequest.Builder (1.32.0)

public static final class RegionAddressesMoveRequest.Builder extends GeneratedMessageV3.Builder<RegionAddressesMoveRequest.Builder> implements RegionAddressesMoveRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionAddressesMoveRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionAddressesMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

build()

public RegionAddressesMoveRequest build()
Returns
TypeDescription
RegionAddressesMoveRequest

buildPartial()

public RegionAddressesMoveRequest buildPartial()
Returns
TypeDescription
RegionAddressesMoveRequest

clear()

public RegionAddressesMoveRequest.Builder clear()
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

clearDescription()

public RegionAddressesMoveRequest.Builder clearDescription()

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Returns
TypeDescription
RegionAddressesMoveRequest.Builder

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
TypeDescription
RegionAddressesMoveRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RegionAddressesMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionAddressesMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

clone()

public RegionAddressesMoveRequest.Builder clone()
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

getDefaultInstanceForType()

public RegionAddressesMoveRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionAddressesMoveRequest

getDescription()

public String getDescription()

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
String

The destinationAddress.

getDestinationAddressBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for destinationAddress.

hasDescription()

public boolean hasDescription()

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

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;

Returns
TypeDescription
boolean

Whether the destinationAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionAddressesMoveRequest other)

public RegionAddressesMoveRequest.Builder mergeFrom(RegionAddressesMoveRequest other)
Parameter
NameDescription
otherRegionAddressesMoveRequest
Returns
TypeDescription
RegionAddressesMoveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionAddressesMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RegionAddressesMoveRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionAddressesMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

setDescription(String value)

public RegionAddressesMoveRequest.Builder setDescription(String value)

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
RegionAddressesMoveRequest.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RegionAddressesMoveRequest.Builder setDescriptionBytes(ByteString value)

An optional destination address description if intended to be different from the source.

optional string description = 422937596;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
RegionAddressesMoveRequest.Builder

This builder for chaining.

setDestinationAddress(String value)

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;

Parameter
NameDescription
valueString

The destinationAddress to set.

Returns
TypeDescription
RegionAddressesMoveRequest.Builder

This builder for chaining.

setDestinationAddressBytes(ByteString value)

public RegionAddressesMoveRequest.Builder setDestinationAddressBytes(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;

Parameter
NameDescription
valueByteString

The bytes for destinationAddress to set.

Returns
TypeDescription
RegionAddressesMoveRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RegionAddressesMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RegionAddressesMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionAddressesMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionAddressesMoveRequest.Builder
Overrides