Class ResourceStatus.Builder (1.88.0)

public static final class ResourceStatus.Builder extends GeneratedMessageV3.Builder<ResourceStatus.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceStatus.Builder
Overrides

build()

public ResourceStatus build()
Returns
Type Description
ResourceStatus

buildPartial()

public ResourceStatus buildPartial()
Returns
Type Description
ResourceStatus

clear()

public ResourceStatus.Builder clear()
Returns
Type Description
ResourceStatus.Builder
Overrides

clearEffectiveInstanceMetadata()

public ResourceStatus.Builder clearEffectiveInstanceMetadata()

[Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;

Returns
Type Description
ResourceStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public ResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourceStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourceStatus.Builder
Overrides

clearPhysicalHost()

public ResourceStatus.Builder clearPhysicalHost()

[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

optional string physical_host = 464370704;

Returns
Type Description
ResourceStatus.Builder

This builder for chaining.

clearPhysicalHostTopology()

public ResourceStatus.Builder clearPhysicalHostTopology()

[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;

Returns
Type Description
ResourceStatus.Builder

clearScheduling()

public ResourceStatus.Builder clearScheduling()

optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;

Returns
Type Description
ResourceStatus.Builder

clearUpcomingMaintenance()

public ResourceStatus.Builder clearUpcomingMaintenance()

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
ResourceStatus.Builder

clone()

public ResourceStatus.Builder clone()
Returns
Type Description
ResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public ResourceStatus getDefaultInstanceForType()
Returns
Type Description
ResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEffectiveInstanceMetadata()

public ResourceStatusEffectiveInstanceMetadata getEffectiveInstanceMetadata()

[Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;

Returns
Type Description
ResourceStatusEffectiveInstanceMetadata

The effectiveInstanceMetadata.

getEffectiveInstanceMetadataBuilder()

public ResourceStatusEffectiveInstanceMetadata.Builder getEffectiveInstanceMetadataBuilder()

[Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;

Returns
Type Description
ResourceStatusEffectiveInstanceMetadata.Builder

getEffectiveInstanceMetadataOrBuilder()

public ResourceStatusEffectiveInstanceMetadataOrBuilder getEffectiveInstanceMetadataOrBuilder()

[Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;

Returns
Type Description
ResourceStatusEffectiveInstanceMetadataOrBuilder

getPhysicalHost()

public String getPhysicalHost()

[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

optional string physical_host = 464370704;

Returns
Type Description
String

The physicalHost.

getPhysicalHostBytes()

public ByteString getPhysicalHostBytes()

[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

optional string physical_host = 464370704;

Returns
Type Description
ByteString

The bytes for physicalHost.

getPhysicalHostTopology()

public ResourceStatusPhysicalHostTopology getPhysicalHostTopology()

[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;

Returns
Type Description
ResourceStatusPhysicalHostTopology

The physicalHostTopology.

getPhysicalHostTopologyBuilder()

public ResourceStatusPhysicalHostTopology.Builder getPhysicalHostTopologyBuilder()

[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

getPhysicalHostTopologyOrBuilder()

public ResourceStatusPhysicalHostTopologyOrBuilder getPhysicalHostTopologyOrBuilder()

[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;

Returns
Type Description
ResourceStatusPhysicalHostTopologyOrBuilder

getScheduling()

public ResourceStatusScheduling getScheduling()

optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;

Returns
Type Description
ResourceStatusScheduling

The scheduling.

getSchedulingBuilder()

public ResourceStatusScheduling.Builder getSchedulingBuilder()

optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;

Returns
Type Description
ResourceStatusScheduling.Builder

getSchedulingOrBuilder()

public ResourceStatusSchedulingOrBuilder getSchedulingOrBuilder()

optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;

Returns
Type Description
ResourceStatusSchedulingOrBuilder

getUpcomingMaintenance()

public UpcomingMaintenance getUpcomingMaintenance()

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenance

The upcomingMaintenance.

getUpcomingMaintenanceBuilder()

public UpcomingMaintenance.Builder getUpcomingMaintenanceBuilder()

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenance.Builder

getUpcomingMaintenanceOrBuilder()

public UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder()

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
UpcomingMaintenanceOrBuilder

hasEffectiveInstanceMetadata()

public boolean hasEffectiveInstanceMetadata()

[Output Only] Effective metadata is a field that consolidates project, zonal instance settings, and instance-level predefined metadata keys to provide the overridden value for those metadata keys at the instance level.

optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;

Returns
Type Description
boolean

Whether the effectiveInstanceMetadata field is set.

hasPhysicalHost()

public boolean hasPhysicalHost()

[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.

optional string physical_host = 464370704;

Returns
Type Description
boolean

Whether the physicalHost field is set.

hasPhysicalHostTopology()

public boolean hasPhysicalHostTopology()

[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located.

optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;

Returns
Type Description
boolean

Whether the physicalHostTopology field is set.

hasScheduling()

public boolean hasScheduling()

optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;

Returns
Type Description
boolean

Whether the scheduling field is set.

hasUpcomingMaintenance()

public boolean hasUpcomingMaintenance()

optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;

Returns
Type Description
boolean

Whether the upcomingMaintenance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable