Class RegionDisksStartAsyncReplicationRequest (1.47.0)

public final class RegionDisksStartAsyncReplicationRequest extends GeneratedMessageV3 implements RegionDisksStartAsyncReplicationRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionDisksStartAsyncReplicationRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RegionDisksStartAsyncReplicationRequest

Static Fields

ASYNC_SECONDARY_DISK_FIELD_NUMBER

public static final int ASYNC_SECONDARY_DISK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegionDisksStartAsyncReplicationRequest getDefaultInstance()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegionDisksStartAsyncReplicationRequest prototype)

public static RegionDisksStartAsyncReplicationRequest.Builder newBuilder(RegionDisksStartAsyncReplicationRequest prototype)
Parameter
NameDescription
prototypeRegionDisksStartAsyncReplicationRequest
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAsyncSecondaryDisk()

public String getAsyncSecondaryDisk()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
TypeDescription
String

The asyncSecondaryDisk.

getAsyncSecondaryDiskBytes()

public ByteString getAsyncSecondaryDiskBytes()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
TypeDescription
ByteString

The bytes for asyncSecondaryDisk.

getDefaultInstanceForType()

public RegionDisksStartAsyncReplicationRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAsyncSecondaryDisk()

public boolean hasAsyncSecondaryDisk()

The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk

optional string async_secondary_disk = 131645867;

Returns
TypeDescription
boolean

Whether the asyncSecondaryDisk 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 RegionDisksStartAsyncReplicationRequest.Builder newBuilderForType()
Returns
TypeDescription
RegionDisksStartAsyncReplicationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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