Class GlobalAddressesMoveRequest.Builder (1.63.0)

public static final class GlobalAddressesMoveRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GlobalAddressesMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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.

clearField(Descriptors.FieldDescriptor field)

public GlobalAddressesMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GlobalAddressesMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

clone()

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

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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GlobalAddressesMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/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.

setField(Descriptors.FieldDescriptor field, Object value)

public GlobalAddressesMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

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

public GlobalAddressesMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GlobalAddressesMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides