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