Class GlobalAddressesMoveRequest (1.64.0)

public final class GlobalAddressesMoveRequest extends GeneratedMessageV3 implements GlobalAddressesMoveRequestOrBuilder

Protobuf type google.cloud.compute.v1.GlobalAddressesMoveRequest

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_ADDRESS_FIELD_NUMBER

public static final int DESTINATION_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GlobalAddressesMoveRequest getDefaultInstance()
Returns
Type Description
GlobalAddressesMoveRequest

getDescriptor()

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

newBuilder()

public static GlobalAddressesMoveRequest.Builder newBuilder()
Returns
Type Description
GlobalAddressesMoveRequest.Builder

newBuilder(GlobalAddressesMoveRequest prototype)

public static GlobalAddressesMoveRequest.Builder newBuilder(GlobalAddressesMoveRequest prototype)
Parameter
Name Description
prototype GlobalAddressesMoveRequest
Returns
Type Description
GlobalAddressesMoveRequest.Builder

parseDelimitedFrom(InputStream input)

public static GlobalAddressesMoveRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GlobalAddressesMoveRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GlobalAddressesMoveRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GlobalAddressesMoveRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GlobalAddressesMoveRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GlobalAddressesMoveRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalAddressesMoveRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GlobalAddressesMoveRequest> parser()
Returns
Type Description
Parser<GlobalAddressesMoveRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

getParserForType()

public Parser<GlobalAddressesMoveRequest> getParserForType()
Returns
Type Description
Parser<GlobalAddressesMoveRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GlobalAddressesMoveRequest.Builder newBuilderForType()
Returns
Type Description
GlobalAddressesMoveRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GlobalAddressesMoveRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GlobalAddressesMoveRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GlobalAddressesMoveRequest.Builder toBuilder()
Returns
Type Description
GlobalAddressesMoveRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException