Interface ManagedInstanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ManagedInstance, ManagedInstance.Builder

@Generated public interface ManagedInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCurrentAction

      boolean hasCurrentAction()
       Output only. [Output Only] The current action that the managed instance group has
       scheduled for the instance. Possible values:
      
       - NONE The instance is running, and the managed
       instance group does not have any scheduled actions for this instance.
       - CREATING The managed instance group is creating this
       instance. If the group fails to create this instance, it will try again
       until it is successful.
       - CREATING_WITHOUT_RETRIES The managed instance group
       is attempting to create this instance only once. If the group fails
       to create this instance, it does not try again and the group'stargetSize value is decreased instead.
       - RECREATING The managed instance group is recreating
       this instance.
       - DELETING The managed instance group is permanently
       deleting this instance.
       - ABANDONING The managed instance group is abandoning
       this instance. The instance will be removed from the instance group
       and from any target pools that are associated with this group.
       - RESTARTING The managed instance group is restarting
       the instance.
       - REFRESHING The managed instance group is applying
       configuration changes to the instance without stopping it. For example,
       the group can update the target pool list for an instance without
       stopping that instance.
       - VERIFYING The managed instance group has created the
       instance and it is in the process of being verified.
       Check the CurrentAction enum for the list of possible values.
       
      optional string current_action = 178475964;
      Returns:
      Whether the currentAction field is set.
    • getCurrentAction

      String getCurrentAction()
       Output only. [Output Only] The current action that the managed instance group has
       scheduled for the instance. Possible values:
      
       - NONE The instance is running, and the managed
       instance group does not have any scheduled actions for this instance.
       - CREATING The managed instance group is creating this
       instance. If the group fails to create this instance, it will try again
       until it is successful.
       - CREATING_WITHOUT_RETRIES The managed instance group
       is attempting to create this instance only once. If the group fails
       to create this instance, it does not try again and the group'stargetSize value is decreased instead.
       - RECREATING The managed instance group is recreating
       this instance.
       - DELETING The managed instance group is permanently
       deleting this instance.
       - ABANDONING The managed instance group is abandoning
       this instance. The instance will be removed from the instance group
       and from any target pools that are associated with this group.
       - RESTARTING The managed instance group is restarting
       the instance.
       - REFRESHING The managed instance group is applying
       configuration changes to the instance without stopping it. For example,
       the group can update the target pool list for an instance without
       stopping that instance.
       - VERIFYING The managed instance group has created the
       instance and it is in the process of being verified.
       Check the CurrentAction enum for the list of possible values.
       
      optional string current_action = 178475964;
      Returns:
      The currentAction.
    • getCurrentActionBytes

      com.google.protobuf.ByteString getCurrentActionBytes()
       Output only. [Output Only] The current action that the managed instance group has
       scheduled for the instance. Possible values:
      
       - NONE The instance is running, and the managed
       instance group does not have any scheduled actions for this instance.
       - CREATING The managed instance group is creating this
       instance. If the group fails to create this instance, it will try again
       until it is successful.
       - CREATING_WITHOUT_RETRIES The managed instance group
       is attempting to create this instance only once. If the group fails
       to create this instance, it does not try again and the group'stargetSize value is decreased instead.
       - RECREATING The managed instance group is recreating
       this instance.
       - DELETING The managed instance group is permanently
       deleting this instance.
       - ABANDONING The managed instance group is abandoning
       this instance. The instance will be removed from the instance group
       and from any target pools that are associated with this group.
       - RESTARTING The managed instance group is restarting
       the instance.
       - REFRESHING The managed instance group is applying
       configuration changes to the instance without stopping it. For example,
       the group can update the target pool list for an instance without
       stopping that instance.
       - VERIFYING The managed instance group has created the
       instance and it is in the process of being verified.
       Check the CurrentAction enum for the list of possible values.
       
      optional string current_action = 178475964;
      Returns:
      The bytes for currentAction.
    • hasId

      boolean hasId()
       Output only. [Output only] The unique identifier for this resource. This field is empty
       when instance does not exist.
       
      optional uint64 id = 3355;
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. [Output only] The unique identifier for this resource. This field is empty
       when instance does not exist.
       
      optional uint64 id = 3355;
      Returns:
      The id.
    • hasInstance

      boolean hasInstance()
       Output only. [Output Only] The URL of the instance. The URL can exist even if the
       instance has not yet been created.
       
      optional string instance = 18257045;
      Returns:
      Whether the instance field is set.
    • getInstance

      String getInstance()
       Output only. [Output Only] The URL of the instance. The URL can exist even if the
       instance has not yet been created.
       
      optional string instance = 18257045;
      Returns:
      The instance.
    • getInstanceBytes

      com.google.protobuf.ByteString getInstanceBytes()
       Output only. [Output Only] The URL of the instance. The URL can exist even if the
       instance has not yet been created.
       
      optional string instance = 18257045;
      Returns:
      The bytes for instance.
    • getInstanceHealthList

      List<ManagedInstanceInstanceHealth> getInstanceHealthList()
       Output only. [Output Only] Health state of the instance per health-check.
       
      repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
    • getInstanceHealth

      ManagedInstanceInstanceHealth getInstanceHealth(int index)
       Output only. [Output Only] Health state of the instance per health-check.
       
      repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
    • getInstanceHealthCount

      int getInstanceHealthCount()
       Output only. [Output Only] Health state of the instance per health-check.
       
      repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
    • getInstanceHealthOrBuilderList

      List<? extends ManagedInstanceInstanceHealthOrBuilder> getInstanceHealthOrBuilderList()
       Output only. [Output Only] Health state of the instance per health-check.
       
      repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
    • getInstanceHealthOrBuilder

      ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(int index)
       Output only. [Output Only] Health state of the instance per health-check.
       
      repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
    • hasInstanceStatus

      boolean hasInstanceStatus()
       Output only. [Output Only] The status of the instance. This field is empty when
       the instance does not exist.
       Check the InstanceStatus enum for the list of possible values.
       
      optional string instance_status = 174577372;
      Returns:
      Whether the instanceStatus field is set.
    • getInstanceStatus

      String getInstanceStatus()
       Output only. [Output Only] The status of the instance. This field is empty when
       the instance does not exist.
       Check the InstanceStatus enum for the list of possible values.
       
      optional string instance_status = 174577372;
      Returns:
      The instanceStatus.
    • getInstanceStatusBytes

      com.google.protobuf.ByteString getInstanceStatusBytes()
       Output only. [Output Only] The status of the instance. This field is empty when
       the instance does not exist.
       Check the InstanceStatus enum for the list of possible values.
       
      optional string instance_status = 174577372;
      Returns:
      The bytes for instanceStatus.
    • hasLastAttempt

      boolean hasLastAttempt()
       Output only. [Output Only] Information about the last attempt to create or delete
       the instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
      Returns:
      Whether the lastAttempt field is set.
    • getLastAttempt

      ManagedInstanceLastAttempt getLastAttempt()
       Output only. [Output Only] Information about the last attempt to create or delete
       the instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
      Returns:
      The lastAttempt.
    • getLastAttemptOrBuilder

      ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder()
       Output only. [Output Only] Information about the last attempt to create or delete
       the instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
    • hasName

      boolean hasName()
       Output only. [Output Only] The name of the instance. The name always exists even if the
       instance has not yet been created.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Output only. [Output Only] The name of the instance. The name always exists even if the
       instance has not yet been created.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. [Output Only] The name of the instance. The name always exists even if the
       instance has not yet been created.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasPreservedStateFromConfig

      boolean hasPreservedStateFromConfig()
       Output only. [Output Only] Preserved state applied from per-instance config
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
      Returns:
      Whether the preservedStateFromConfig field is set.
    • getPreservedStateFromConfig

      PreservedState getPreservedStateFromConfig()
       Output only. [Output Only] Preserved state applied from per-instance config
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
      Returns:
      The preservedStateFromConfig.
    • getPreservedStateFromConfigOrBuilder

      PreservedStateOrBuilder getPreservedStateFromConfigOrBuilder()
       Output only. [Output Only] Preserved state applied from per-instance config
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
    • hasPreservedStateFromPolicy

      boolean hasPreservedStateFromPolicy()
       Output only. [Output Only] Preserved state generated based on stateful policy
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
      Returns:
      Whether the preservedStateFromPolicy field is set.
    • getPreservedStateFromPolicy

      PreservedState getPreservedStateFromPolicy()
       Output only. [Output Only] Preserved state generated based on stateful policy
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
      Returns:
      The preservedStateFromPolicy.
    • getPreservedStateFromPolicyOrBuilder

      PreservedStateOrBuilder getPreservedStateFromPolicyOrBuilder()
       Output only. [Output Only] Preserved state generated based on stateful policy
       for this instance.
       
      optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
    • hasPropertiesFromFlexibilityPolicy

      boolean hasPropertiesFromFlexibilityPolicy()
       Output only. [Output Only] Instance properties selected for this instance resulting from
       InstanceFlexibilityPolicy.
       
      optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
      Returns:
      Whether the propertiesFromFlexibilityPolicy field is set.
    • getPropertiesFromFlexibilityPolicy

      ManagedInstancePropertiesFromFlexibilityPolicy getPropertiesFromFlexibilityPolicy()
       Output only. [Output Only] Instance properties selected for this instance resulting from
       InstanceFlexibilityPolicy.
       
      optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
      Returns:
      The propertiesFromFlexibilityPolicy.
    • getPropertiesFromFlexibilityPolicyOrBuilder

      ManagedInstancePropertiesFromFlexibilityPolicyOrBuilder getPropertiesFromFlexibilityPolicyOrBuilder()
       Output only. [Output Only] Instance properties selected for this instance resulting from
       InstanceFlexibilityPolicy.
       
      optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
    • hasVersion

      boolean hasVersion()
       Output only. [Output Only] Intended version of this instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
      Returns:
      Whether the version field is set.
    • getVersion

       Output only. [Output Only] Intended version of this instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
      Returns:
      The version.
    • getVersionOrBuilder

      ManagedInstanceVersionOrBuilder getVersionOrBuilder()
       Output only. [Output Only] Intended version of this instance.
       
      optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;