Class RegionAddressesMoveRequest (1.50.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
TypeDescription
int

DESTINATION_ADDRESS_FIELD_NUMBER

public static final int DESTINATION_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegionAddressesMoveRequest getDefaultInstance()
Returns
TypeDescription
RegionAddressesMoveRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegionAddressesMoveRequest prototype)

public static RegionAddressesMoveRequest.Builder newBuilder(RegionAddressesMoveRequest prototype)
Parameter
NameDescription
prototypeRegionAddressesMoveRequest
Returns
TypeDescription
RegionAddressesMoveRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RegionAddressesMoveRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionAddressesMoveRequest

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/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
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/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
TypeDescription
ByteString

The bytes for destinationAddress.

getParserForType()

public Parser<RegionAddressesMoveRequest> getParserForType()
Returns
TypeDescription
Parser<RegionAddressesMoveRequest>
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/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
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 RegionAddressesMoveRequest.Builder newBuilderForType()
Returns
TypeDescription
RegionAddressesMoveRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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