Class DisksStartAsyncReplicationRequest (1.46.0)

public final class DisksStartAsyncReplicationRequest extends GeneratedMessageV3 implements DisksStartAsyncReplicationRequestOrBuilder

Protobuf type google.cloud.compute.v1.DisksStartAsyncReplicationRequest

Inheritance

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

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 DisksStartAsyncReplicationRequest getDefaultInstance()
Returns
TypeDescription
DisksStartAsyncReplicationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(DisksStartAsyncReplicationRequest prototype)

public static DisksStartAsyncReplicationRequest.Builder newBuilder(DisksStartAsyncReplicationRequest prototype)
Parameter
NameDescription
prototypeDisksStartAsyncReplicationRequest
Returns
TypeDescription
DisksStartAsyncReplicationRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 DisksStartAsyncReplicationRequest getDefaultInstanceForType()
Returns
TypeDescription
DisksStartAsyncReplicationRequest

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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