Class GlobalAddressesMoveRequest.Builder (1.93.0)

public static final class GlobalAddressesMoveRequest.Builder extends GeneratedMessage.Builder<GlobalAddressesMoveRequest.Builder> implements GlobalAddressesMoveRequestOrBuilder

Protobuf type google.cloud.compute.v1.GlobalAddressesMoveRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GlobalAddressesMoveRequest build()
Returns
Type Description
GlobalAddressesMoveRequest

buildPartial()

public GlobalAddressesMoveRequest buildPartial()
Returns
Type Description
GlobalAddressesMoveRequest

clear()

public GlobalAddressesMoveRequest.Builder clear()
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

clearDescription()

public GlobalAddressesMoveRequest.Builder clearDescription()

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

optional string description = 422937596;

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.

clearDestinationAddress()

public GlobalAddressesMoveRequest.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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GlobalAddressesMoveRequest getDefaultInstanceForType()
Returns
Type Description
GlobalAddressesMoveRequest

getDescription()

public String getDescription()

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

optional string description = 422937596;

Returns
Type Description
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
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Returns
Type Description
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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Returns
Type Description
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
Type Description
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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Returns
Type Description
boolean

Whether the destinationAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GlobalAddressesMoveRequest other)

public GlobalAddressesMoveRequest.Builder mergeFrom(GlobalAddressesMoveRequest other)
Parameter
Name Description
other GlobalAddressesMoveRequest
Returns
Type Description
GlobalAddressesMoveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GlobalAddressesMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GlobalAddressesMoveRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

setDescription(String value)

public GlobalAddressesMoveRequest.Builder setDescription(String value)

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

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public GlobalAddressesMoveRequest.Builder setDescriptionBytes(ByteString value)

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

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.

setDestinationAddress(String value)

public GlobalAddressesMoveRequest.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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Parameter
Name Description
value String

The destinationAddress to set.

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.

setDestinationAddressBytes(ByteString value)

public GlobalAddressesMoveRequest.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:

Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.

optional string destination_address = 371693763;

Parameter
Name Description
value ByteString

The bytes for destinationAddress to set.

Returns
Type Description
GlobalAddressesMoveRequest.Builder

This builder for chaining.