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
Static Methods
getDefaultInstance()
public static ResourceStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourceStatus.Builder newBuilder()
Returns
newBuilder(ResourceStatus prototype)
public static ResourceStatus.Builder newBuilder(ResourceStatus prototype)
Parameter
Returns
public static ResourceStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourceStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourceStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourceStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourceStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResourceStatus getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ResourceStatus> getParserForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for physicalHost.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
boolean | Whether the physicalHost field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourceStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourceStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions