- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ManagedInstance.Builder extends GeneratedMessageV3.Builder<ManagedInstance.Builder> implements ManagedInstanceOrBuilder
A Managed Instance resource.
Protobuf type google.cloud.compute.v1.ManagedInstance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ManagedInstance.BuilderImplements
ManagedInstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllInstanceHealth(Iterable<? extends ManagedInstanceInstanceHealth> values)
public ManagedInstance.Builder addAllInstanceHealth(Iterable<? extends ManagedInstanceInstanceHealth> values)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.ManagedInstanceInstanceHealth> |
Type | Description |
ManagedInstance.Builder |
addInstanceHealth(ManagedInstanceInstanceHealth value)
public ManagedInstance.Builder addInstanceHealth(ManagedInstanceInstanceHealth value)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
value | ManagedInstanceInstanceHealth |
Type | Description |
ManagedInstance.Builder |
addInstanceHealth(ManagedInstanceInstanceHealth.Builder builderForValue)
public ManagedInstance.Builder addInstanceHealth(ManagedInstanceInstanceHealth.Builder builderForValue)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
builderForValue | ManagedInstanceInstanceHealth.Builder |
Type | Description |
ManagedInstance.Builder |
addInstanceHealth(int index, ManagedInstanceInstanceHealth value)
public ManagedInstance.Builder addInstanceHealth(int index, ManagedInstanceInstanceHealth value)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
value | ManagedInstanceInstanceHealth |
Type | Description |
ManagedInstance.Builder |
addInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)
public ManagedInstance.Builder addInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
builderForValue | ManagedInstanceInstanceHealth.Builder |
Type | Description |
ManagedInstance.Builder |
addInstanceHealthBuilder()
public ManagedInstanceInstanceHealth.Builder addInstanceHealthBuilder()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
ManagedInstanceInstanceHealth.Builder |
addInstanceHealthBuilder(int index)
public ManagedInstanceInstanceHealth.Builder addInstanceHealthBuilder(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
Type | Description |
ManagedInstanceInstanceHealth.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ManagedInstance.Builder |
build()
public ManagedInstance build()
Type | Description |
ManagedInstance |
buildPartial()
public ManagedInstance buildPartial()
Type | Description |
ManagedInstance |
clear()
public ManagedInstance.Builder clear()
Type | Description |
ManagedInstance.Builder |
clearCurrentAction()
public ManagedInstance.Builder clearCurrentAction()
[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;
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ManagedInstance.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ManagedInstance.Builder |
clearId()
public ManagedInstance.Builder clearId()
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
clearInstance()
public ManagedInstance.Builder clearInstance()
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
clearInstanceHealth()
public ManagedInstance.Builder clearInstanceHealth()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
ManagedInstance.Builder |
clearInstanceStatus()
public ManagedInstance.Builder clearInstanceStatus()
[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;
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
clearLastAttempt()
public ManagedInstance.Builder clearLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Type | Description |
ManagedInstance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedInstance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ManagedInstance.Builder |
clearPreservedStateFromConfig()
public ManagedInstance.Builder clearPreservedStateFromConfig()
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Type | Description |
ManagedInstance.Builder |
clearPreservedStateFromPolicy()
public ManagedInstance.Builder clearPreservedStateFromPolicy()
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Type | Description |
ManagedInstance.Builder |
clearVersion()
public ManagedInstance.Builder clearVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Type | Description |
ManagedInstance.Builder |
clone()
public ManagedInstance.Builder clone()
Type | Description |
ManagedInstance.Builder |
getCurrentAction()
public 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;
Type | Description |
String | The currentAction. |
getCurrentActionBytes()
public ByteString getCurrentActionBytes()
[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;
Type | Description |
ByteString | The bytes for currentAction. |
getDefaultInstanceForType()
public ManagedInstance getDefaultInstanceForType()
Type | Description |
ManagedInstance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public long getId()
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getInstance()
public 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;
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
Type | Description |
ByteString | The bytes for instance. |
getInstanceHealth(int index)
public ManagedInstanceInstanceHealth getInstanceHealth(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
Type | Description |
ManagedInstanceInstanceHealth |
getInstanceHealthBuilder(int index)
public ManagedInstanceInstanceHealth.Builder getInstanceHealthBuilder(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
Type | Description |
ManagedInstanceInstanceHealth.Builder |
getInstanceHealthBuilderList()
public List<ManagedInstanceInstanceHealth.Builder> getInstanceHealthBuilderList()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
List<Builder> |
getInstanceHealthCount()
public int getInstanceHealthCount()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
int |
getInstanceHealthList()
public List<ManagedInstanceInstanceHealth> getInstanceHealthList()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
List<ManagedInstanceInstanceHealth> |
getInstanceHealthOrBuilder(int index)
public ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
Type | Description |
ManagedInstanceInstanceHealthOrBuilder |
getInstanceHealthOrBuilderList()
public List<? extends ManagedInstanceInstanceHealthOrBuilder> getInstanceHealthOrBuilderList()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Type | Description |
List<? extends com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder> |
getInstanceStatus()
public 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;
Type | Description |
String | The instanceStatus. |
getInstanceStatusBytes()
public ByteString getInstanceStatusBytes()
[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;
Type | Description |
ByteString | The bytes for instanceStatus. |
getLastAttempt()
public ManagedInstanceLastAttempt getLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Type | Description |
ManagedInstanceLastAttempt | The lastAttempt. |
getLastAttemptBuilder()
public ManagedInstanceLastAttempt.Builder getLastAttemptBuilder()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Type | Description |
ManagedInstanceLastAttempt.Builder |
getLastAttemptOrBuilder()
public ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Type | Description |
ManagedInstanceLastAttemptOrBuilder |
getPreservedStateFromConfig()
public 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;
Type | Description |
PreservedState | The preservedStateFromConfig. |
getPreservedStateFromConfigBuilder()
public PreservedState.Builder getPreservedStateFromConfigBuilder()
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Type | Description |
PreservedState.Builder |
getPreservedStateFromConfigOrBuilder()
public PreservedStateOrBuilder getPreservedStateFromConfigOrBuilder()
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Type | Description |
PreservedStateOrBuilder |
getPreservedStateFromPolicy()
public 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;
Type | Description |
PreservedState | The preservedStateFromPolicy. |
getPreservedStateFromPolicyBuilder()
public PreservedState.Builder getPreservedStateFromPolicyBuilder()
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Type | Description |
PreservedState.Builder |
getPreservedStateFromPolicyOrBuilder()
public PreservedStateOrBuilder getPreservedStateFromPolicyOrBuilder()
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Type | Description |
PreservedStateOrBuilder |
getVersion()
public ManagedInstanceVersion getVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Type | Description |
ManagedInstanceVersion | The version. |
getVersionBuilder()
public ManagedInstanceVersion.Builder getVersionBuilder()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Type | Description |
ManagedInstanceVersion.Builder |
getVersionOrBuilder()
public ManagedInstanceVersionOrBuilder getVersionOrBuilder()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Type | Description |
ManagedInstanceVersionOrBuilder |
hasCurrentAction()
public 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;
Type | Description |
boolean | Whether the currentAction field is set. |
hasId()
public boolean hasId()
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasInstance()
public 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;
Type | Description |
boolean | Whether the instance field is set. |
hasInstanceStatus()
public 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;
Type | Description |
boolean | Whether the instanceStatus field is set. |
hasLastAttempt()
public boolean hasLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Type | Description |
boolean | Whether the lastAttempt field is set. |
hasPreservedStateFromConfig()
public 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;
Type | Description |
boolean | Whether the preservedStateFromConfig field is set. |
hasPreservedStateFromPolicy()
public 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;
Type | Description |
boolean | Whether the preservedStateFromPolicy field is set. |
hasVersion()
public boolean hasVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Type | Description |
boolean | Whether the version field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ManagedInstance other)
public ManagedInstance.Builder mergeFrom(ManagedInstance other)
Name | Description |
other | ManagedInstance |
Type | Description |
ManagedInstance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManagedInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ManagedInstance.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ManagedInstance.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ManagedInstance.Builder |
mergeLastAttempt(ManagedInstanceLastAttempt value)
public ManagedInstance.Builder mergeLastAttempt(ManagedInstanceLastAttempt value)
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Name | Description |
value | ManagedInstanceLastAttempt |
Type | Description |
ManagedInstance.Builder |
mergePreservedStateFromConfig(PreservedState value)
public ManagedInstance.Builder mergePreservedStateFromConfig(PreservedState value)
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Name | Description |
value | PreservedState |
Type | Description |
ManagedInstance.Builder |
mergePreservedStateFromPolicy(PreservedState value)
public ManagedInstance.Builder mergePreservedStateFromPolicy(PreservedState value)
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Name | Description |
value | PreservedState |
Type | Description |
ManagedInstance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ManagedInstance.Builder |
mergeVersion(ManagedInstanceVersion value)
public ManagedInstance.Builder mergeVersion(ManagedInstanceVersion value)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Name | Description |
value | ManagedInstanceVersion |
Type | Description |
ManagedInstance.Builder |
removeInstanceHealth(int index)
public ManagedInstance.Builder removeInstanceHealth(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
Type | Description |
ManagedInstance.Builder |
setCurrentAction(String value)
public ManagedInstance.Builder setCurrentAction(String value)
[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;
Name | Description |
value | String The currentAction to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setCurrentActionBytes(ByteString value)
public ManagedInstance.Builder setCurrentActionBytes(ByteString value)
[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;
Name | Description |
value | ByteString The bytes for currentAction to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ManagedInstance.Builder |
setId(long value)
public ManagedInstance.Builder setId(long value)
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;
Name | Description |
value | long The id to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setInstance(String value)
public ManagedInstance.Builder setInstance(String value)
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
Name | Description |
value | String The instance to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setInstanceBytes(ByteString value)
public ManagedInstance.Builder setInstanceBytes(ByteString value)
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
Name | Description |
value | ByteString The bytes for instance to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setInstanceHealth(int index, ManagedInstanceInstanceHealth value)
public ManagedInstance.Builder setInstanceHealth(int index, ManagedInstanceInstanceHealth value)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
value | ManagedInstanceInstanceHealth |
Type | Description |
ManagedInstance.Builder |
setInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)
public ManagedInstance.Builder setInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
Name | Description |
index | int |
builderForValue | ManagedInstanceInstanceHealth.Builder |
Type | Description |
ManagedInstance.Builder |
setInstanceStatus(String value)
public ManagedInstance.Builder setInstanceStatus(String value)
[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;
Name | Description |
value | String The instanceStatus to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setInstanceStatusBytes(ByteString value)
public ManagedInstance.Builder setInstanceStatusBytes(ByteString value)
[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;
Name | Description |
value | ByteString The bytes for instanceStatus to set. |
Type | Description |
ManagedInstance.Builder | This builder for chaining. |
setLastAttempt(ManagedInstanceLastAttempt value)
public ManagedInstance.Builder setLastAttempt(ManagedInstanceLastAttempt value)
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Name | Description |
value | ManagedInstanceLastAttempt |
Type | Description |
ManagedInstance.Builder |
setLastAttempt(ManagedInstanceLastAttempt.Builder builderForValue)
public ManagedInstance.Builder setLastAttempt(ManagedInstanceLastAttempt.Builder builderForValue)
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
Name | Description |
builderForValue | ManagedInstanceLastAttempt.Builder |
Type | Description |
ManagedInstance.Builder |
setPreservedStateFromConfig(PreservedState value)
public ManagedInstance.Builder setPreservedStateFromConfig(PreservedState value)
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Name | Description |
value | PreservedState |
Type | Description |
ManagedInstance.Builder |
setPreservedStateFromConfig(PreservedState.Builder builderForValue)
public ManagedInstance.Builder setPreservedStateFromConfig(PreservedState.Builder builderForValue)
[Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
Name | Description |
builderForValue | PreservedState.Builder |
Type | Description |
ManagedInstance.Builder |
setPreservedStateFromPolicy(PreservedState value)
public ManagedInstance.Builder setPreservedStateFromPolicy(PreservedState value)
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Name | Description |
value | PreservedState |
Type | Description |
ManagedInstance.Builder |
setPreservedStateFromPolicy(PreservedState.Builder builderForValue)
public ManagedInstance.Builder setPreservedStateFromPolicy(PreservedState.Builder builderForValue)
[Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
Name | Description |
builderForValue | PreservedState.Builder |
Type | Description |
ManagedInstance.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedInstance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ManagedInstance.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ManagedInstance.Builder |
setVersion(ManagedInstanceVersion value)
public ManagedInstance.Builder setVersion(ManagedInstanceVersion value)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Name | Description |
value | ManagedInstanceVersion |
Type | Description |
ManagedInstance.Builder |
setVersion(ManagedInstanceVersion.Builder builderForValue)
public ManagedInstance.Builder setVersion(ManagedInstanceVersion.Builder builderForValue)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
Name | Description |
builderForValue | ManagedInstanceVersion.Builder |
Type | Description |
ManagedInstance.Builder |