Class ResourceStatus (1.28.0)

public final class ResourceStatus extends GeneratedMessageV3 implements ResourceStatusOrBuilder

Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.

Protobuf type google.cloud.compute.v1.ResourceStatus

Static Fields

PHYSICAL_HOST_FIELD_NUMBER

public static final int PHYSICAL_HOST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceStatus getDefaultInstance()
Returns
TypeDescription
ResourceStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ResourceStatus prototype)

public static ResourceStatus.Builder newBuilder(ResourceStatus prototype)
Parameter
NameDescription
prototypeResourceStatus
Returns
TypeDescription
ResourceStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourceStatus

getParserForType()

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

getPhysicalHost()

public String getPhysicalHost()

[Output Only] An opaque ID of the host on which the VM is running.

optional string physical_host = 464370704;

Returns
TypeDescription
String

The physicalHost.

getPhysicalHostBytes()

public ByteString getPhysicalHostBytes()

[Output Only] An opaque ID of the host on which the VM is running.

optional string physical_host = 464370704;

Returns
TypeDescription
ByteString

The bytes for physicalHost.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPhysicalHost()

public boolean hasPhysicalHost()

[Output Only] An opaque ID of the host on which the VM is running.

optional string physical_host = 464370704;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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