Package com.google.cloud.compute.v1
Class ResourceStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
com.google.cloud.compute.v1.ResourceStatus.Builder
- All Implemented Interfaces:
ResourceStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceStatus
public static final class ResourceStatus.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.Output only.Output only.optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanoptional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;booleanoptional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(ResourceStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;Output only.Output only.setPhysicalHost(String value) Output only.setPhysicalHostBytes(com.google.protobuf.ByteString value) Output only.Output only.setPhysicalHostTopology(ResourceStatusPhysicalHostTopology.Builder builderForValue) Output only.Output only.Output only.optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;setScheduling(ResourceStatusScheduling.Builder builderForValue) optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;setUpcomingMaintenance(UpcomingMaintenance.Builder builderForValue) optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatus.Builder>
-
mergeFrom
public ResourceStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceStatus.Builder>- Throws:
IOException
-
hasEffectiveInstanceMetadata
public boolean hasEffectiveInstanceMetadata()Output only. [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;- Specified by:
hasEffectiveInstanceMetadatain interfaceResourceStatusOrBuilder- Returns:
- Whether the effectiveInstanceMetadata field is set.
-
getEffectiveInstanceMetadata
Output only. [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;- Specified by:
getEffectiveInstanceMetadatain interfaceResourceStatusOrBuilder- Returns:
- The effectiveInstanceMetadata.
-
setEffectiveInstanceMetadata
public ResourceStatus.Builder setEffectiveInstanceMetadata(ResourceStatusEffectiveInstanceMetadata value) Output only. [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; -
setEffectiveInstanceMetadata
public ResourceStatus.Builder setEffectiveInstanceMetadata(ResourceStatusEffectiveInstanceMetadata.Builder builderForValue) Output only. [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; -
mergeEffectiveInstanceMetadata
public ResourceStatus.Builder mergeEffectiveInstanceMetadata(ResourceStatusEffectiveInstanceMetadata value) Output only. [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; -
clearEffectiveInstanceMetadata
Output only. [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; -
getEffectiveInstanceMetadataBuilder
Output only. [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; -
getEffectiveInstanceMetadataOrBuilder
Output only. [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;- Specified by:
getEffectiveInstanceMetadataOrBuilderin interfaceResourceStatusOrBuilder
-
hasPhysicalHost
public boolean hasPhysicalHost()Output only. [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;- Specified by:
hasPhysicalHostin interfaceResourceStatusOrBuilder- Returns:
- Whether the physicalHost field is set.
-
getPhysicalHost
Output only. [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;- Specified by:
getPhysicalHostin interfaceResourceStatusOrBuilder- Returns:
- The physicalHost.
-
getPhysicalHostBytes
public com.google.protobuf.ByteString getPhysicalHostBytes()Output only. [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;- Specified by:
getPhysicalHostBytesin interfaceResourceStatusOrBuilder- Returns:
- The bytes for physicalHost.
-
setPhysicalHost
Output only. [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;- Parameters:
value- The physicalHost to set.- Returns:
- This builder for chaining.
-
clearPhysicalHost
Output only. [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:
- This builder for chaining.
-
setPhysicalHostBytes
Output only. [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;- Parameters:
value- The bytes for physicalHost to set.- Returns:
- This builder for chaining.
-
hasPhysicalHostTopology
public boolean hasPhysicalHostTopology()Output only. [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;- Specified by:
hasPhysicalHostTopologyin interfaceResourceStatusOrBuilder- Returns:
- Whether the physicalHostTopology field is set.
-
getPhysicalHostTopology
Output only. [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;- Specified by:
getPhysicalHostTopologyin interfaceResourceStatusOrBuilder- Returns:
- The physicalHostTopology.
-
setPhysicalHostTopology
Output only. [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; -
setPhysicalHostTopology
public ResourceStatus.Builder setPhysicalHostTopology(ResourceStatusPhysicalHostTopology.Builder builderForValue) Output only. [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; -
mergePhysicalHostTopology
Output only. [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; -
clearPhysicalHostTopology
Output only. [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; -
getPhysicalHostTopologyBuilder
Output only. [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; -
getPhysicalHostTopologyOrBuilder
Output only. [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;- Specified by:
getPhysicalHostTopologyOrBuilderin interfaceResourceStatusOrBuilder
-
hasReservationConsumptionInfo
public boolean hasReservationConsumptionInfo()Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;- Specified by:
hasReservationConsumptionInfoin interfaceResourceStatusOrBuilder- Returns:
- Whether the reservationConsumptionInfo field is set.
-
getReservationConsumptionInfo
Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;- Specified by:
getReservationConsumptionInfoin interfaceResourceStatusOrBuilder- Returns:
- The reservationConsumptionInfo.
-
setReservationConsumptionInfo
public ResourceStatus.Builder setReservationConsumptionInfo(ResourceStatusReservationConsumptionInfo value) Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997; -
setReservationConsumptionInfo
public ResourceStatus.Builder setReservationConsumptionInfo(ResourceStatusReservationConsumptionInfo.Builder builderForValue) Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997; -
mergeReservationConsumptionInfo
public ResourceStatus.Builder mergeReservationConsumptionInfo(ResourceStatusReservationConsumptionInfo value) Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997; -
clearReservationConsumptionInfo
Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997; -
getReservationConsumptionInfoBuilder
Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997; -
getReservationConsumptionInfoOrBuilder
Output only. [Output Only] Reservation information that the instance is consuming from.
optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;- Specified by:
getReservationConsumptionInfoOrBuilderin interfaceResourceStatusOrBuilder
-
hasScheduling
public boolean hasScheduling()optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceResourceStatusOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceResourceStatusOrBuilder- Returns:
- The scheduling.
-
setScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; -
setScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; -
mergeScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; -
clearScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; -
getSchedulingBuilder
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404; -
getSchedulingOrBuilder
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceResourceStatusOrBuilder
-
hasUpcomingMaintenance
public boolean hasUpcomingMaintenance()optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
hasUpcomingMaintenancein interfaceResourceStatusOrBuilder- Returns:
- Whether the upcomingMaintenance field is set.
-
getUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
getUpcomingMaintenancein interfaceResourceStatusOrBuilder- Returns:
- The upcomingMaintenance.
-
setUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; -
setUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; -
mergeUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; -
clearUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; -
getUpcomingMaintenanceBuilder
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; -
getUpcomingMaintenanceOrBuilder
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
getUpcomingMaintenanceOrBuilderin interfaceResourceStatusOrBuilder
-