Class GlobalAddressesMoveRequest (1.32.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
TypeDescription
int

DESTINATION_ADDRESS_FIELD_NUMBER

public static final int DESTINATION_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GlobalAddressesMoveRequest getDefaultInstance()
Returns
TypeDescription
GlobalAddressesMoveRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GlobalAddressesMoveRequest.Builder newBuilder()
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

newBuilder(GlobalAddressesMoveRequest prototype)

public static GlobalAddressesMoveRequest.Builder newBuilder(GlobalAddressesMoveRequest prototype)
Parameter
NameDescription
prototypeGlobalAddressesMoveRequest
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

parseDelimitedFrom(InputStream input)

public static GlobalAddressesMoveRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GlobalAddressesMoveRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GlobalAddressesMoveRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GlobalAddressesMoveRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GlobalAddressesMoveRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GlobalAddressesMoveRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GlobalAddressesMoveRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GlobalAddressesMoveRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GlobalAddressesMoveRequest> parser()
Returns
TypeDescription
Parser<GlobalAddressesMoveRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

getParserForType()

public Parser<GlobalAddressesMoveRequest> getParserForType()
Returns
TypeDescription
Parser<GlobalAddressesMoveRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GlobalAddressesMoveRequest.Builder newBuilderForType()
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GlobalAddressesMoveRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GlobalAddressesMoveRequest.Builder toBuilder()
Returns
TypeDescription
GlobalAddressesMoveRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException