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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ManagedInstance.Builder> implements ManagedInstanceOrBuilder
A Managed Instance resource.
Protobuf typegoogle.cloud.compute.v1.ManagedInstance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstance.BuilderaddAllInstanceHealth(Iterable<? extends ManagedInstanceInstanceHealth> values)[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderaddInstanceHealth(int index, ManagedInstanceInstanceHealth value)[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderaddInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderaddInstanceHealth(ManagedInstanceInstanceHealth value)[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderaddInstanceHealth(ManagedInstanceInstanceHealth.Builder builderForValue)[Output Only] Health state of the instance per health-check.ManagedInstanceInstanceHealth.BuilderaddInstanceHealthBuilder()[Output Only] Health state of the instance per health-check.ManagedInstanceInstanceHealth.BuilderaddInstanceHealthBuilder(int index)[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ManagedInstancebuild()ManagedInstancebuildPartial()ManagedInstance.Builderclear()ManagedInstance.BuilderclearCurrentAction()[Output Only] The current action that the managed instance group has scheduled for the instance.ManagedInstance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ManagedInstance.BuilderclearId()[Output only] The unique identifier for this resource.ManagedInstance.BuilderclearInstance()[Output Only] The URL of the instance.ManagedInstance.BuilderclearInstanceHealth()[Output Only] Health state of the instance per health-check.ManagedInstance.BuilderclearInstanceStatus()[Output Only] The status of the instance.ManagedInstance.BuilderclearLastAttempt()[Output Only] Information about the last attempt to create or delete the instance.ManagedInstance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ManagedInstance.BuilderclearPreservedStateFromConfig()[Output Only] Preserved state applied from per-instance config for this instance.ManagedInstance.BuilderclearPreservedStateFromPolicy()[Output Only] Preserved state generated based on stateful policy for this instance.ManagedInstance.BuilderclearVersion()[Output Only] Intended version of this instance.ManagedInstance.Builderclone()StringgetCurrentAction()[Output Only] The current action that the managed instance group has scheduled for the instance.com.google.protobuf.ByteStringgetCurrentActionBytes()[Output Only] The current action that the managed instance group has scheduled for the instance.ManagedInstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()[Output only] The unique identifier for this resource.StringgetInstance()[Output Only] The URL of the instance.com.google.protobuf.ByteStringgetInstanceBytes()[Output Only] The URL of the instance.ManagedInstanceInstanceHealthgetInstanceHealth(int index)[Output Only] Health state of the instance per health-check.ManagedInstanceInstanceHealth.BuildergetInstanceHealthBuilder(int index)[Output Only] Health state of the instance per health-check.List<ManagedInstanceInstanceHealth.Builder>getInstanceHealthBuilderList()[Output Only] Health state of the instance per health-check.intgetInstanceHealthCount()[Output Only] Health state of the instance per health-check.List<ManagedInstanceInstanceHealth>getInstanceHealthList()[Output Only] Health state of the instance per health-check.ManagedInstanceInstanceHealthOrBuildergetInstanceHealthOrBuilder(int index)[Output Only] Health state of the instance per health-check.List<? extends ManagedInstanceInstanceHealthOrBuilder>getInstanceHealthOrBuilderList()[Output Only] Health state of the instance per health-check.StringgetInstanceStatus()[Output Only] The status of the instance.com.google.protobuf.ByteStringgetInstanceStatusBytes()[Output Only] The status of the instance.ManagedInstanceLastAttemptgetLastAttempt()[Output Only] Information about the last attempt to create or delete the instance.ManagedInstanceLastAttempt.BuildergetLastAttemptBuilder()[Output Only] Information about the last attempt to create or delete the instance.ManagedInstanceLastAttemptOrBuildergetLastAttemptOrBuilder()[Output Only] Information about the last attempt to create or delete the instance.PreservedStategetPreservedStateFromConfig()[Output Only] Preserved state applied from per-instance config for this instance.PreservedState.BuildergetPreservedStateFromConfigBuilder()[Output Only] Preserved state applied from per-instance config for this instance.PreservedStateOrBuildergetPreservedStateFromConfigOrBuilder()[Output Only] Preserved state applied from per-instance config for this instance.PreservedStategetPreservedStateFromPolicy()[Output Only] Preserved state generated based on stateful policy for this instance.PreservedState.BuildergetPreservedStateFromPolicyBuilder()[Output Only] Preserved state generated based on stateful policy for this instance.PreservedStateOrBuildergetPreservedStateFromPolicyOrBuilder()[Output Only] Preserved state generated based on stateful policy for this instance.ManagedInstanceVersiongetVersion()[Output Only] Intended version of this instance.ManagedInstanceVersion.BuildergetVersionBuilder()[Output Only] Intended version of this instance.ManagedInstanceVersionOrBuildergetVersionOrBuilder()[Output Only] Intended version of this instance.booleanhasCurrentAction()[Output Only] The current action that the managed instance group has scheduled for the instance.booleanhasId()[Output only] The unique identifier for this resource.booleanhasInstance()[Output Only] The URL of the instance.booleanhasInstanceStatus()[Output Only] The status of the instance.booleanhasLastAttempt()[Output Only] Information about the last attempt to create or delete the instance.booleanhasPreservedStateFromConfig()[Output Only] Preserved state applied from per-instance config for this instance.booleanhasPreservedStateFromPolicy()[Output Only] Preserved state generated based on stateful policy for this instance.booleanhasVersion()[Output Only] Intended version of this instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ManagedInstance.BuildermergeFrom(ManagedInstance other)ManagedInstance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ManagedInstance.BuildermergeFrom(com.google.protobuf.Message other)ManagedInstance.BuildermergeLastAttempt(ManagedInstanceLastAttempt value)[Output Only] Information about the last attempt to create or delete the instance.ManagedInstance.BuildermergePreservedStateFromConfig(PreservedState value)[Output Only] Preserved state applied from per-instance config for this instance.ManagedInstance.BuildermergePreservedStateFromPolicy(PreservedState value)[Output Only] Preserved state generated based on stateful policy for this instance.ManagedInstance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ManagedInstance.BuildermergeVersion(ManagedInstanceVersion value)[Output Only] Intended version of this instance.ManagedInstance.BuilderremoveInstanceHealth(int index)[Output Only] Health state of the instance per health-check.ManagedInstance.BuildersetCurrentAction(String value)[Output Only] The current action that the managed instance group has scheduled for the instance.ManagedInstance.BuildersetCurrentActionBytes(com.google.protobuf.ByteString value)[Output Only] The current action that the managed instance group has scheduled for the instance.ManagedInstance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ManagedInstance.BuildersetId(long value)[Output only] The unique identifier for this resource.ManagedInstance.BuildersetInstance(String value)[Output Only] The URL of the instance.ManagedInstance.BuildersetInstanceBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the instance.ManagedInstance.BuildersetInstanceHealth(int index, ManagedInstanceInstanceHealth value)[Output Only] Health state of the instance per health-check.ManagedInstance.BuildersetInstanceHealth(int index, ManagedInstanceInstanceHealth.Builder builderForValue)[Output Only] Health state of the instance per health-check.ManagedInstance.BuildersetInstanceStatus(String value)[Output Only] The status of the instance.ManagedInstance.BuildersetInstanceStatusBytes(com.google.protobuf.ByteString value)[Output Only] The status of the instance.ManagedInstance.BuildersetLastAttempt(ManagedInstanceLastAttempt value)[Output Only] Information about the last attempt to create or delete the instance.ManagedInstance.BuildersetLastAttempt(ManagedInstanceLastAttempt.Builder builderForValue)[Output Only] Information about the last attempt to create or delete the instance.ManagedInstance.BuildersetPreservedStateFromConfig(PreservedState value)[Output Only] Preserved state applied from per-instance config for this instance.ManagedInstance.BuildersetPreservedStateFromConfig(PreservedState.Builder builderForValue)[Output Only] Preserved state applied from per-instance config for this instance.ManagedInstance.BuildersetPreservedStateFromPolicy(PreservedState value)[Output Only] Preserved state generated based on stateful policy for this instance.ManagedInstance.BuildersetPreservedStateFromPolicy(PreservedState.Builder builderForValue)[Output Only] Preserved state generated based on stateful policy for this instance.ManagedInstance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ManagedInstance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ManagedInstance.BuildersetVersion(ManagedInstanceVersion value)[Output Only] Intended version of this instance.ManagedInstance.BuildersetVersion(ManagedInstanceVersion.Builder builderForValue)[Output Only] Intended version of this instance.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
clear
public ManagedInstance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
getDefaultInstanceForType
public ManagedInstance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ManagedInstance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ManagedInstance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ManagedInstance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
setField
public ManagedInstance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
clearField
public ManagedInstance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
clearOneof
public ManagedInstance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
setRepeatedField
public ManagedInstance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
addRepeatedField
public ManagedInstance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
mergeFrom
public ManagedInstance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ManagedInstance.Builder>
-
mergeFrom
public ManagedInstance.Builder mergeFrom(ManagedInstance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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] 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;- Specified by:
hasCurrentActionin interfaceManagedInstanceOrBuilder- Returns:
- Whether the currentAction field is set.
-
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;- Specified by:
getCurrentActionin interfaceManagedInstanceOrBuilder- Returns:
- The currentAction.
-
getCurrentActionBytes
public com.google.protobuf.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;- Specified by:
getCurrentActionBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for currentAction.
-
setCurrentAction
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;- Parameters:
value- The currentAction to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setCurrentActionBytes
public ManagedInstance.Builder setCurrentActionBytes(com.google.protobuf.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;- Parameters:
value- The bytes for currentAction to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasIdin interfaceManagedInstanceOrBuilder- Returns:
- Whether the id field is set.
-
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;- Specified by:
getIdin interfaceManagedInstanceOrBuilder- Returns:
- The id.
-
setId
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;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasInstancein interfaceManagedInstanceOrBuilder- Returns:
- Whether the instance field is set.
-
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;- Specified by:
getInstancein interfaceManagedInstanceOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.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;- Specified by:
getInstanceBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for instance.
-
setInstance
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;- Parameters:
value- The instance to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setInstanceBytes
public ManagedInstance.Builder setInstanceBytes(com.google.protobuf.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;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
getInstanceHealthList
public List<ManagedInstanceInstanceHealth> getInstanceHealthList()
[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] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthCountin interfaceManagedInstanceOrBuilder
-
getInstanceHealth
public ManagedInstanceInstanceHealth getInstanceHealth(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthin interfaceManagedInstanceOrBuilder
-
setInstanceHealth
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;
-
setInstanceHealth
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;
-
addInstanceHealth
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;
-
addInstanceHealth
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;
-
addInstanceHealth
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;
-
addInstanceHealth
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;
-
addAllInstanceHealth
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;
-
clearInstanceHealth
public ManagedInstance.Builder clearInstanceHealth()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
-
removeInstanceHealth
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;
-
getInstanceHealthBuilder
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;
-
getInstanceHealthOrBuilder
public ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;- Specified by:
getInstanceHealthOrBuilderin interfaceManagedInstanceOrBuilder
-
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;- Specified by:
getInstanceHealthOrBuilderListin interfaceManagedInstanceOrBuilder
-
addInstanceHealthBuilder
public ManagedInstanceInstanceHealth.Builder addInstanceHealthBuilder()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
-
addInstanceHealthBuilder
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;
-
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;
-
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;- Specified by:
hasInstanceStatusin interfaceManagedInstanceOrBuilder- Returns:
- Whether the instanceStatus field is set.
-
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;- Specified by:
getInstanceStatusin interfaceManagedInstanceOrBuilder- Returns:
- The instanceStatus.
-
getInstanceStatusBytes
public com.google.protobuf.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;- Specified by:
getInstanceStatusBytesin interfaceManagedInstanceOrBuilder- Returns:
- The bytes for instanceStatus.
-
setInstanceStatus
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;- Parameters:
value- The instanceStatus to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setInstanceStatusBytes
public ManagedInstance.Builder setInstanceStatusBytes(com.google.protobuf.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;- Parameters:
value- The bytes for instanceStatus to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasLastAttemptin interfaceManagedInstanceOrBuilder- Returns:
- Whether the lastAttempt field is set.
-
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;- Specified by:
getLastAttemptin interfaceManagedInstanceOrBuilder- Returns:
- The lastAttempt.
-
setLastAttempt
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;
-
setLastAttempt
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;
-
mergeLastAttempt
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;
-
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;
-
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;
-
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;- Specified by:
getLastAttemptOrBuilderin interfaceManagedInstanceOrBuilder
-
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;- Specified by:
hasPreservedStateFromConfigin interfaceManagedInstanceOrBuilder- Returns:
- Whether the preservedStateFromConfig field is set.
-
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;- Specified by:
getPreservedStateFromConfigin interfaceManagedInstanceOrBuilder- Returns:
- The preservedStateFromConfig.
-
setPreservedStateFromConfig
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;
-
setPreservedStateFromConfig
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;
-
mergePreservedStateFromConfig
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;
-
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;
-
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;
-
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;- Specified by:
getPreservedStateFromConfigOrBuilderin interfaceManagedInstanceOrBuilder
-
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;- Specified by:
hasPreservedStateFromPolicyin interfaceManagedInstanceOrBuilder- Returns:
- Whether the preservedStateFromPolicy field is set.
-
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;- Specified by:
getPreservedStateFromPolicyin interfaceManagedInstanceOrBuilder- Returns:
- The preservedStateFromPolicy.
-
setPreservedStateFromPolicy
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;
-
setPreservedStateFromPolicy
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;
-
mergePreservedStateFromPolicy
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;
-
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;
-
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;
-
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;- Specified by:
getPreservedStateFromPolicyOrBuilderin interfaceManagedInstanceOrBuilder
-
hasVersion
public boolean hasVersion()
[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
public ManagedInstanceVersion getVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;- Specified by:
getVersionin interfaceManagedInstanceOrBuilder- Returns:
- The version.
-
setVersion
public ManagedInstance.Builder setVersion(ManagedInstanceVersion value)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
-
setVersion
public ManagedInstance.Builder setVersion(ManagedInstanceVersion.Builder builderForValue)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
-
mergeVersion
public ManagedInstance.Builder mergeVersion(ManagedInstanceVersion value)
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
-
clearVersion
public ManagedInstance.Builder clearVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
-
getVersionBuilder
public ManagedInstanceVersion.Builder getVersionBuilder()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
-
getVersionOrBuilder
public ManagedInstanceVersionOrBuilder getVersionOrBuilder()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;- Specified by:
getVersionOrBuilderin interfaceManagedInstanceOrBuilder
-
setUnknownFields
public final ManagedInstance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
mergeUnknownFields
public final ManagedInstance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ManagedInstance.Builder>
-
-