Class RegionAddressesMoveRequest.Builder (1.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionAddressesMoveRequest build()
Returns
Type Description
RegionAddressesMoveRequest

buildPartial()

public RegionAddressesMoveRequest buildPartial()
Returns
Type Description
RegionAddressesMoveRequest

clear()

public RegionAddressesMoveRequest.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
RegionAddressesMoveRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionAddressesMoveRequest getDefaultInstanceForType()
Returns
Type Description
RegionAddressesMoveRequest

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/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
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/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
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/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
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(RegionAddressesMoveRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionAddressesMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The description to set.

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

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The destinationAddress to set.

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

The bytes for destinationAddress to set.

Returns
Type Description
RegionAddressesMoveRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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