
com.google.cloud.compute.v1.ManagedInstanceOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface ManagedInstanceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ManagedInstance)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* [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's targetSize 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;
*
* @return Whether the currentAction field is set.
*/
boolean hasCurrentAction();
/**
*
*
*
* [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's targetSize 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;
*
* @return The currentAction.
*/
java.lang.String getCurrentAction();
/**
*
*
*
* [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's targetSize 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;
*
* @return The bytes for currentAction.
*/
com.google.protobuf.ByteString getCurrentActionBytes();
/**
*
*
*
* [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
*
*
* optional string instance = 18257045;
*
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
*
*
*
* [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
*
*
* optional string instance = 18257045;
*
* @return The instance.
*/
java.lang.String getInstance();
/**
*
*
*
* [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
*
*
* optional string instance = 18257045;
*
* @return The bytes for instance.
*/
com.google.protobuf.ByteString getInstanceBytes();
/**
*
*
*
* [Output Only] Health state of the instance per health-check.
*
*
*
* repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
*
*/
java.util.List getInstanceHealthList();
/**
*
*
*
* [Output Only] Health state of the instance per health-check.
*
*
*
* repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
*
*/
com.google.cloud.compute.v1.ManagedInstanceInstanceHealth getInstanceHealth(int index);
/**
*
*
*
* [Output Only] Health state of the instance per health-check.
*
*
*
* repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
*
*/
int getInstanceHealthCount();
/**
*
*
*
* [Output Only] Health state of the instance per health-check.
*
*
*
* repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
*
*/
java.util.List extends com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder>
getInstanceHealthOrBuilderList();
/**
*
*
*
* [Output Only] Health state of the instance per health-check.
*
*
*
* repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
*
*/
com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(
int index);
/**
*
*
*
* [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;
*
* @return Whether the instanceStatus field is set.
*/
boolean hasInstanceStatus();
/**
*
*
*
* [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;
*
* @return The instanceStatus.
*/
java.lang.String getInstanceStatus();
/**
*
*
*
* [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;
*
* @return The bytes for instanceStatus.
*/
com.google.protobuf.ByteString getInstanceStatusBytes();
/**
*
*
*
* [Output Only] Information about the last attempt to create or delete the instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
*
*
* @return Whether the lastAttempt field is set.
*/
boolean hasLastAttempt();
/**
*
*
*
* [Output Only] Information about the last attempt to create or delete the instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
*
*
* @return The lastAttempt.
*/
com.google.cloud.compute.v1.ManagedInstanceLastAttempt getLastAttempt();
/**
*
*
*
* [Output Only] Information about the last attempt to create or delete the instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
*
*/
com.google.cloud.compute.v1.ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder();
/**
*
*
*
* [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
*
*
* optional string name = 3373707;
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
*
* [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
*
*
* optional string name = 3373707;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
*
*
* optional string name = 3373707;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* [Output Only] Preserved state applied from per-instance config for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
*
*
* @return Whether the preservedStateFromConfig field is set.
*/
boolean hasPreservedStateFromConfig();
/**
*
*
*
* [Output Only] Preserved state applied from per-instance config for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
*
*
* @return The preservedStateFromConfig.
*/
com.google.cloud.compute.v1.PreservedState getPreservedStateFromConfig();
/**
*
*
*
* [Output Only] Preserved state applied from per-instance config for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
*
*/
com.google.cloud.compute.v1.PreservedStateOrBuilder getPreservedStateFromConfigOrBuilder();
/**
*
*
*
* [Output Only] Preserved state generated based on stateful policy for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
*
*
* @return Whether the preservedStateFromPolicy field is set.
*/
boolean hasPreservedStateFromPolicy();
/**
*
*
*
* [Output Only] Preserved state generated based on stateful policy for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
*
*
* @return The preservedStateFromPolicy.
*/
com.google.cloud.compute.v1.PreservedState getPreservedStateFromPolicy();
/**
*
*
*
* [Output Only] Preserved state generated based on stateful policy for this instance.
*
*
* optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
*
*/
com.google.cloud.compute.v1.PreservedStateOrBuilder getPreservedStateFromPolicyOrBuilder();
/**
*
*
*
* [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
*
*
*
* optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
*
*
* @return Whether the propertiesFromFlexibilityPolicy field is set.
*/
boolean hasPropertiesFromFlexibilityPolicy();
/**
*
*
*
* [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
*
*
*
* optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
*
*
* @return The propertiesFromFlexibilityPolicy.
*/
com.google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy
getPropertiesFromFlexibilityPolicy();
/**
*
*
*
* [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
*
*
*
* optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
*
*/
com.google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicyOrBuilder
getPropertiesFromFlexibilityPolicyOrBuilder();
/**
*
*
*
* [Output Only] Intended version of this instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
*
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
*
*
*
* [Output Only] Intended version of this instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
*
* @return The version.
*/
com.google.cloud.compute.v1.ManagedInstanceVersion getVersion();
/**
*
*
*
* [Output Only] Intended version of this instance.
*
*
* optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
*/
com.google.cloud.compute.v1.ManagedInstanceVersionOrBuilder getVersionOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy