Class DiskResourceStatus (1.39.0)

public final class DiskResourceStatus extends GeneratedMessageV3 implements DiskResourceStatusOrBuilder

Protobuf type google.cloud.compute.v1.DiskResourceStatus

Static Fields

ASYNC_PRIMARY_DISK_FIELD_NUMBER

public static final int ASYNC_PRIMARY_DISK_FIELD_NUMBER
Field Value
TypeDescription
int

ASYNC_SECONDARY_DISKS_FIELD_NUMBER

public static final int ASYNC_SECONDARY_DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiskResourceStatus getDefaultInstance()
Returns
TypeDescription
DiskResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(DiskResourceStatus prototype)

public static DiskResourceStatus.Builder newBuilder(DiskResourceStatus prototype)
Parameter
NameDescription
prototypeDiskResourceStatus
Returns
TypeDescription
DiskResourceStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsAsyncSecondaryDisks(String key)

public boolean containsAsyncSecondaryDisks(String key)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getAsyncPrimaryDisk()

public DiskResourceStatusAsyncReplicationStatus getAsyncPrimaryDisk()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

The asyncPrimaryDisk.

getAsyncPrimaryDiskOrBuilder()

public DiskResourceStatusAsyncReplicationStatusOrBuilder getAsyncPrimaryDiskOrBuilder()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatusOrBuilder

getAsyncSecondaryDisks()

public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisks()
Returns
TypeDescription
Map<String,DiskResourceStatusAsyncReplicationStatus>

getAsyncSecondaryDisksCount()

public int getAsyncSecondaryDisksCount()

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Returns
TypeDescription
int

getAsyncSecondaryDisksMap()

public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisksMap()

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Returns
TypeDescription
Map<String,DiskResourceStatusAsyncReplicationStatus>

getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)

public DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameters
NameDescription
keyString
defaultValueDiskResourceStatusAsyncReplicationStatus
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

getAsyncSecondaryDisksOrThrow(String key)

public DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrThrow(String key)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameter
NameDescription
keyString
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

getDefaultInstanceForType()

public DiskResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
DiskResourceStatus

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAsyncPrimaryDisk()

public boolean hasAsyncPrimaryDisk()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
boolean

Whether the asyncPrimaryDisk field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiskResourceStatus.Builder newBuilderForType()
Returns
TypeDescription
DiskResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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