Class DiskResourceStatus (1.58.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
Type Description
int

ASYNC_SECONDARY_DISKS_FIELD_NUMBER

public static final int ASYNC_SECONDARY_DISKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiskResourceStatus getDefaultInstance()
Returns
Type Description
DiskResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(DiskResourceStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DiskResourceStatus> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAsyncPrimaryDisk()

public DiskResourceStatusAsyncReplicationStatus getAsyncPrimaryDisk()

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

Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

The asyncPrimaryDisk.

getAsyncPrimaryDiskOrBuilder()

public DiskResourceStatusAsyncReplicationStatusOrBuilder getAsyncPrimaryDiskOrBuilder()

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

Returns
Type Description
DiskResourceStatusAsyncReplicationStatusOrBuilder

getAsyncSecondaryDisks() (deprecated)

public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisks()
Returns
Type Description
Map<String,DiskResourceStatusAsyncReplicationStatus>

getAsyncSecondaryDisksCount()

public int getAsyncSecondaryDisksCount()

Key: disk, value: AsyncReplicationStatus message

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

Returns
Type Description
int

getAsyncSecondaryDisksMap()

public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisksMap()

Key: disk, value: AsyncReplicationStatus message

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

Returns
Type Description
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
Name Description
key String
defaultValue DiskResourceStatusAsyncReplicationStatus
Returns
Type Description
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
Name Description
key String
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

getDefaultInstanceForType()

public DiskResourceStatus getDefaultInstanceForType()
Returns
Type Description
DiskResourceStatus

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAsyncPrimaryDisk()

public boolean hasAsyncPrimaryDisk()

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

Returns
Type Description
boolean

Whether the asyncPrimaryDisk field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiskResourceStatus.Builder newBuilderForType()
Returns
Type Description
DiskResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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