Package com.google.cloud.compute.v1
Class ManagedInstance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ManagedInstance.Builder>
com.google.cloud.compute.v1.ManagedInstance.Builder
- All Implemented Interfaces:
ManagedInstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ManagedInstance
public static final class ManagedInstance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ManagedInstance.Builder>
implements ManagedInstanceOrBuilder
A Managed Instance resource.Protobuf type
google.cloud.compute.v1.ManagedInstance-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstanceHealth(Iterable<? extends ManagedInstanceInstanceHealth> values) Output only.addInstanceHealth(int index, ManagedInstanceInstanceHealth value) Output only.addInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue) Output only.Output only.addInstanceHealth(ManagedInstanceInstanceHealth.Builder builderForValue) Output only.Output only.addInstanceHealthBuilder(int index) Output only.build()clear()Output only.clearId()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()Output only.Output only.com.google.protobuf.ByteStringOutput only.getInstanceHealth(int index) Output only.getInstanceHealthBuilder(int index) Output only.Output only.intOutput only.Output only.getInstanceHealthOrBuilder(int index) Output only.List<? extends ManagedInstanceInstanceHealthOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.booleanhasId()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ManagedInstance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.Output only.Output only.removeInstanceHealth(int index) Output only.setCurrentAction(String value) Output only.setCurrentActionBytes(com.google.protobuf.ByteString value) Output only.setId(long value) Output only.setInstance(String value) Output only.setInstanceBytes(com.google.protobuf.ByteString value) Output only.setInstanceHealth(int index, ManagedInstanceInstanceHealth value) Output only.setInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue) Output only.setInstanceStatus(String value) Output only.setInstanceStatusBytes(com.google.protobuf.ByteString value) Output only.Output only.setLastAttempt(ManagedInstanceLastAttempt.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setPreservedStateFromConfig(PreservedState.Builder builderForValue) Output only.Output only.setPreservedStateFromPolicy(PreservedState.Builder builderForValue) Output only.Output only.setPropertiesFromFlexibilityPolicy(ManagedInstancePropertiesFromFlexibilityPolicy.Builder builderForValue) Output only.setVersion(ManagedInstanceVersion value) Output only.setVersion(ManagedInstanceVersion.Builder builderForValue) Output only.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<ManagedInstance.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<ManagedInstance.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<ManagedInstance.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<ManagedInstance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ManagedInstance.Builder>
-
mergeFrom
public ManagedInstance.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<ManagedInstance.Builder>- Throws:
IOException
-
hasCurrentAction
public 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;- Specified by:
hasCurrentActionin interfaceManagedInstanceOrBuilder- Returns:
- Whether the currentAction field is set.
-
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;- Specified by:
getCurrentActionin interfaceManagedInstanceOrBuilder- Returns:
- The currentAction.
-
getCurrentActionBytes
public 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;- Specified by:
getCurrentActionBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for currentAction.
-
setCurrentAction
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;- Parameters:
value- The currentAction to set.- Returns:
- This builder for chaining.
-
clearCurrentAction
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:
- This builder for chaining.
-
setCurrentActionBytes
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;- Parameters:
value- The bytes for currentAction to set.- Returns:
- This builder for chaining.
-
hasId
public 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;- Specified by:
hasIdin interfaceManagedInstanceOrBuilder- Returns:
- Whether the id field is set.
-
getId
public 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;- Specified by:
getIdin interfaceManagedInstanceOrBuilder- Returns:
- The id.
-
setId
Output only. [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInstance
public 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;- Specified by:
hasInstancein interfaceManagedInstanceOrBuilder- Returns:
- Whether the instance field is set.
-
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;- Specified by:
getInstancein interfaceManagedInstanceOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public 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;- Specified by:
getInstanceBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for instance.
-
setInstance
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;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
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:
- This builder for chaining.
-
setInstanceBytes
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;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
getInstanceHealthList
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthListin interfaceManagedInstanceOrBuilder
-
getInstanceHealthCount
public int getInstanceHealthCount()Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthCountin interfaceManagedInstanceOrBuilder
-
getInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthin interfaceManagedInstanceOrBuilder
-
setInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
setInstanceHealth
public ManagedInstance.Builder setInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue) Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addInstanceHealth
public ManagedInstance.Builder addInstanceHealth(ManagedInstanceInstanceHealth.Builder builderForValue) Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addInstanceHealth
public ManagedInstance.Builder addInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue) Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addAllInstanceHealth
public ManagedInstance.Builder addAllInstanceHealth(Iterable<? extends ManagedInstanceInstanceHealth> values) Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
clearInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
removeInstanceHealth
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
getInstanceHealthBuilder
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
getInstanceHealthOrBuilder
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthOrBuilderin interfaceManagedInstanceOrBuilder
-
getInstanceHealthOrBuilderList
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthOrBuilderListin interfaceManagedInstanceOrBuilder
-
addInstanceHealthBuilder
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
addInstanceHealthBuilder
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
getInstanceHealthBuilderList
Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078; -
hasInstanceStatus
public 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;- Specified by:
hasInstanceStatusin interfaceManagedInstanceOrBuilder- Returns:
- Whether the instanceStatus field is set.
-
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;- Specified by:
getInstanceStatusin interfaceManagedInstanceOrBuilder- Returns:
- The instanceStatus.
-
getInstanceStatusBytes
public 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;- Specified by:
getInstanceStatusBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for instanceStatus.
-
setInstanceStatus
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;- Parameters:
value- The instanceStatus to set.- Returns:
- This builder for chaining.
-
clearInstanceStatus
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:
- This builder for chaining.
-
setInstanceStatusBytes
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;- Parameters:
value- The bytes for instanceStatus to set.- Returns:
- This builder for chaining.
-
hasLastAttempt
public 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;- Specified by:
hasLastAttemptin interfaceManagedInstanceOrBuilder- Returns:
- Whether the lastAttempt field is set.
-
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;- Specified by:
getLastAttemptin interfaceManagedInstanceOrBuilder- Returns:
- The lastAttempt.
-
setLastAttempt
Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492; -
setLastAttempt
Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492; -
mergeLastAttempt
Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492; -
clearLastAttempt
Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492; -
getLastAttemptBuilder
Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492; -
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;- Specified by:
getLastAttemptOrBuilderin interfaceManagedInstanceOrBuilder
-
hasName
public 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;- Specified by:
hasNamein interfaceManagedInstanceOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceManagedInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPreservedStateFromConfig
public 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;- Specified by:
hasPreservedStateFromConfigin interfaceManagedInstanceOrBuilder- Returns:
- Whether the preservedStateFromConfig field is set.
-
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;- Specified by:
getPreservedStateFromConfigin interfaceManagedInstanceOrBuilder- Returns:
- The preservedStateFromConfig.
-
setPreservedStateFromConfig
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; -
setPreservedStateFromConfig
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; -
mergePreservedStateFromConfig
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; -
clearPreservedStateFromConfig
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; -
getPreservedStateFromConfigBuilder
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; -
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;- Specified by:
getPreservedStateFromConfigOrBuilderin interfaceManagedInstanceOrBuilder
-
hasPreservedStateFromPolicy
public 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;- Specified by:
hasPreservedStateFromPolicyin interfaceManagedInstanceOrBuilder- Returns:
- Whether the preservedStateFromPolicy field is set.
-
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;- Specified by:
getPreservedStateFromPolicyin interfaceManagedInstanceOrBuilder- Returns:
- The preservedStateFromPolicy.
-
setPreservedStateFromPolicy
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; -
setPreservedStateFromPolicy
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; -
mergePreservedStateFromPolicy
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; -
clearPreservedStateFromPolicy
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; -
getPreservedStateFromPolicyBuilder
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; -
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;- Specified by:
getPreservedStateFromPolicyOrBuilderin interfaceManagedInstanceOrBuilder
-
hasPropertiesFromFlexibilityPolicy
public 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;- Specified by:
hasPropertiesFromFlexibilityPolicyin interfaceManagedInstanceOrBuilder- Returns:
- Whether the propertiesFromFlexibilityPolicy field is set.
-
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;- Specified by:
getPropertiesFromFlexibilityPolicyin interfaceManagedInstanceOrBuilder- Returns:
- The propertiesFromFlexibilityPolicy.
-
setPropertiesFromFlexibilityPolicy
public ManagedInstance.Builder setPropertiesFromFlexibilityPolicy(ManagedInstancePropertiesFromFlexibilityPolicy value) Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; -
setPropertiesFromFlexibilityPolicy
public ManagedInstance.Builder setPropertiesFromFlexibilityPolicy(ManagedInstancePropertiesFromFlexibilityPolicy.Builder builderForValue) Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; -
mergePropertiesFromFlexibilityPolicy
public ManagedInstance.Builder mergePropertiesFromFlexibilityPolicy(ManagedInstancePropertiesFromFlexibilityPolicy value) Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; -
clearPropertiesFromFlexibilityPolicy
Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; -
getPropertiesFromFlexibilityPolicyBuilder
public ManagedInstancePropertiesFromFlexibilityPolicy.Builder getPropertiesFromFlexibilityPolicyBuilder()Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825; -
getPropertiesFromFlexibilityPolicyOrBuilder
public 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;- Specified by:
getPropertiesFromFlexibilityPolicyOrBuilderin interfaceManagedInstanceOrBuilder
-
hasVersion
public boolean hasVersion()Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;- Specified by:
hasVersionin interfaceManagedInstanceOrBuilder- 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;- Specified by:
getVersionin interfaceManagedInstanceOrBuilder- Returns:
- The version.
-
setVersion
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; -
setVersion
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; -
mergeVersion
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; -
clearVersion
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; -
getVersionBuilder
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; -
getVersionOrBuilder
Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;- Specified by:
getVersionOrBuilderin interfaceManagedInstanceOrBuilder
-