Class InstantSnapshotResourceStatus (1.50.0)

public final class InstantSnapshotResourceStatus extends GeneratedMessageV3 implements InstantSnapshotResourceStatusOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotResourceStatus

Static Fields

STORAGE_SIZE_BYTES_FIELD_NUMBER

public static final int STORAGE_SIZE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstantSnapshotResourceStatus getDefaultInstance()
Returns
TypeDescription
InstantSnapshotResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(InstantSnapshotResourceStatus prototype)

public static InstantSnapshotResourceStatus.Builder newBuilder(InstantSnapshotResourceStatus prototype)
Parameter
NameDescription
prototypeInstantSnapshotResourceStatus
Returns
TypeDescription
InstantSnapshotResourceStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstantSnapshotResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
InstantSnapshotResourceStatus

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStorageSizeBytes()

public long getStorageSizeBytes()

[Output Only] The storage size of this instant snapshot.

optional int64 storage_size_bytes = 387548913;

Returns
TypeDescription
long

The storageSizeBytes.

hasStorageSizeBytes()

public boolean hasStorageSizeBytes()

[Output Only] The storage size of this instant snapshot.

optional int64 storage_size_bytes = 387548913;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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