Class GlobalAddressesMoveRequest.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GlobalAddressesMoveRequest build()
Returns
TypeDescription
GlobalAddressesMoveRequest

buildPartial()

public GlobalAddressesMoveRequest buildPartial()
Returns
TypeDescription
GlobalAddressesMoveRequest

clear()

public GlobalAddressesMoveRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GlobalAddressesMoveRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GlobalAddressesMoveRequest getDefaultInstanceForType()
Returns
TypeDescription
GlobalAddressesMoveRequest

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

public GlobalAddressesMoveRequest.Builder mergeFrom(GlobalAddressesMoveRequest other)
Parameter
NameDescription
otherGlobalAddressesMoveRequest
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GlobalAddressesMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The destinationAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationAddress to set.

Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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