Class RegionDisksStartAsyncReplicationRequest (1.61.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
Type Description
int

Static Methods

getDefaultInstance()

public static RegionDisksStartAsyncReplicationRequest getDefaultInstance()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegionDisksStartAsyncReplicationRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The bytes for asyncSecondaryDisk.

getDefaultInstanceForType()

public RegionDisksStartAsyncReplicationRequest getDefaultInstanceForType()
Returns
Type Description
RegionDisksStartAsyncReplicationRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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