Class RegionAddressesMoveRequest (1.53.0)

public final class RegionAddressesMoveRequest extends GeneratedMessageV3 implements RegionAddressesMoveRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionAddressesMoveRequest

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 RegionAddressesMoveRequest getDefaultInstance()
Returns
Type Description
RegionAddressesMoveRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegionAddressesMoveRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

getParserForType()

public Parser<RegionAddressesMoveRequest> getParserForType()
Returns
Type Description
Parser<RegionAddressesMoveRequest>
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/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.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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