public final class ManagedInstance extends GeneratedMessage implements ManagedInstanceOrBuilderA Managed Instance resource.
Protobuf type google.cloud.compute.v1.ManagedInstance
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ManagedInstanceImplements
ManagedInstanceOrBuilderStatic Fields
CURRENT_ACTION_FIELD_NUMBER
public static final int CURRENT_ACTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INSTANCE_HEALTH_FIELD_NUMBER
public static final int INSTANCE_HEALTH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INSTANCE_STATUS_FIELD_NUMBER
public static final int INSTANCE_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_ATTEMPT_FIELD_NUMBER
public static final int LAST_ATTEMPT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRESERVED_STATE_FROM_CONFIG_FIELD_NUMBER
public static final int PRESERVED_STATE_FROM_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRESERVED_STATE_FROM_POLICY_FIELD_NUMBER
public static final int PRESERVED_STATE_FROM_POLICY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROPERTIES_FROM_FLEXIBILITY_POLICY_FIELD_NUMBER
public static final int PROPERTIES_FROM_FLEXIBILITY_POLICY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCHEDULING_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SHUTDOWN_DETAILS_FIELD_NUMBER
public static final int SHUTDOWN_DETAILS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TARGET_STATUS_FIELD_NUMBER
public static final int TARGET_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ManagedInstance getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ManagedInstance.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ManagedInstance.Builder |
|
newBuilder(ManagedInstance prototype)
public static ManagedInstance.Builder newBuilder(ManagedInstance prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ManagedInstance |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance.Builder |
|
parseDelimitedFrom(InputStream input)
public static ManagedInstance parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ManagedInstance parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ManagedInstance parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ManagedInstance parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ManagedInstance parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ManagedInstance parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ManagedInstance> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ManagedInstance> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCurrentAction()
public String getCurrentAction()Output only. [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values:
- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance.
- CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
- CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group'stargetSize value is decreased instead.
- RECREATING The managed instance group is recreating this instance.
- DELETING The managed instance group is permanently deleting this instance.
- ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
- RESTARTING The managed instance group is restarting the instance.
- REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
- VERIFYING The managed instance group has created the instance and it is in the process of being verified. Check the CurrentAction enum for the list of possible values.
optional string current_action = 178475964;
| Returns | |
|---|---|
| Type | Description |
String |
The currentAction. |
getCurrentActionBytes()
public ByteString getCurrentActionBytes()Output only. [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values:
- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance.
- CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
- CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group'stargetSize value is decreased instead.
- RECREATING The managed instance group is recreating this instance.
- DELETING The managed instance group is permanently deleting this instance.
- ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
- RESTARTING The managed instance group is restarting the instance.
- REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
- VERIFYING The managed instance group has created the instance and it is in the process of being verified. Check the CurrentAction enum for the list of possible values.
optional string current_action = 178475964;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentAction. |
getDefaultInstanceForType()
public ManagedInstance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstance |
|
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;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getInstance()
public String getInstance()Output only. [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Output only. [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
optional string instance = 18257045;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getInstanceHealth(int index)
public ManagedInstanceInstanceHealth getInstanceHealth(int index)Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstanceHealthList()
public List<ManagedInstanceInstanceHealth> getInstanceHealthList()Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
| Returns | |
|---|---|
| Type | Description |
List<ManagedInstanceInstanceHealth> |
|
getInstanceHealthOrBuilder(int index)
public ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(int index)Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealthOrBuilder |
|
getInstanceHealthOrBuilderList()
public List<? extends ManagedInstanceInstanceHealthOrBuilder> getInstanceHealthOrBuilderList()Output only. [Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder> |
|
getInstanceStatus()
public String getInstanceStatus()Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist. Check the InstanceStatus enum for the list of possible values.
optional string instance_status = 174577372;
| Returns | |
|---|---|
| Type | Description |
String |
The instanceStatus. |
getInstanceStatusBytes()
public ByteString getInstanceStatusBytes()Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist. Check the InstanceStatus enum for the list of possible values.
optional string instance_status = 174577372;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instanceStatus. |
getLastAttempt()
public ManagedInstanceLastAttempt getLastAttempt()Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceLastAttempt |
The lastAttempt. |
getLastAttemptOrBuilder()
public ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder()Output only. [Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceLastAttemptOrBuilder |
|
getName()
public String getName()Output only. [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<ManagedInstance> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ManagedInstance> |
|
getPreservedStateFromConfig()
public PreservedState getPreservedStateFromConfig()Output only. [Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
| Returns | |
|---|---|
| Type | Description |
PreservedState |
The preservedStateFromConfig. |
getPreservedStateFromConfigOrBuilder()
public PreservedStateOrBuilder getPreservedStateFromConfigOrBuilder()Output only. [Output Only] Preserved state applied from per-instance config for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_config = 98661858;
| Returns | |
|---|---|
| Type | Description |
PreservedStateOrBuilder |
|
getPreservedStateFromPolicy()
public PreservedState getPreservedStateFromPolicy()Output only. [Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
| Returns | |
|---|---|
| Type | Description |
PreservedState |
The preservedStateFromPolicy. |
getPreservedStateFromPolicyOrBuilder()
public PreservedStateOrBuilder getPreservedStateFromPolicyOrBuilder()Output only. [Output Only] Preserved state generated based on stateful policy for this instance.
optional .google.cloud.compute.v1.PreservedState preserved_state_from_policy = 470783954;
| Returns | |
|---|---|
| Type | Description |
PreservedStateOrBuilder |
|
getPropertiesFromFlexibilityPolicy()
public ManagedInstancePropertiesFromFlexibilityPolicy getPropertiesFromFlexibilityPolicy()Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.
optional .google.cloud.compute.v1.ManagedInstancePropertiesFromFlexibilityPolicy properties_from_flexibility_policy = 155525825;
| Returns | |
|---|---|
| Type | Description |
ManagedInstancePropertiesFromFlexibilityPolicy |
The propertiesFromFlexibilityPolicy. |
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;
| Returns | |
|---|---|
| Type | Description |
ManagedInstancePropertiesFromFlexibilityPolicyOrBuilder |
|
getScheduling()
public ManagedInstanceScheduling getScheduling()Output only. Information about the termination timestamp of the instance, if applicable.
optional .google.cloud.compute.v1.ManagedInstanceScheduling scheduling = 386688404;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling |
The scheduling. |
getSchedulingOrBuilder()
public ManagedInstanceSchedulingOrBuilder getSchedulingOrBuilder()Output only. Information about the termination timestamp of the instance, if applicable.
optional .google.cloud.compute.v1.ManagedInstanceScheduling scheduling = 386688404;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceSchedulingOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getShutdownDetails()
public ManagedInstanceShutdownDetails getShutdownDetails() Output only. Specifies the graceful shutdown details if the instance is in
PENDING_STOP state or there is a programmed stop scheduled.
optional .google.cloud.compute.v1.ManagedInstanceShutdownDetails shutdown_details = 15198553;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceShutdownDetails |
The shutdownDetails. |
getShutdownDetailsOrBuilder()
public ManagedInstanceShutdownDetailsOrBuilder getShutdownDetailsOrBuilder() Output only. Specifies the graceful shutdown details if the instance is in
PENDING_STOP state or there is a programmed stop scheduled.
optional .google.cloud.compute.v1.ManagedInstanceShutdownDetails shutdown_details = 15198553;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceShutdownDetailsOrBuilder |
|
getTargetStatus()
public String getTargetStatus()Output only. The eventual status of the instance. The instance group manager will not be identified as stable till each managed instance reaches its targetStatus. Check the TargetStatus enum for the list of possible values.
optional string target_status = 307799648;
| Returns | |
|---|---|
| Type | Description |
String |
The targetStatus. |
getTargetStatusBytes()
public ByteString getTargetStatusBytes()Output only. The eventual status of the instance. The instance group manager will not be identified as stable till each managed instance reaches its targetStatus. Check the TargetStatus enum for the list of possible values.
optional string target_status = 307799648;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetStatus. |
getVersion()
public ManagedInstanceVersion getVersion()Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersion |
The version. |
getVersionOrBuilder()
public ManagedInstanceVersionOrBuilder getVersionOrBuilder()Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceVersionOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the currentAction field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instance field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceStatus field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastAttempt field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the preservedStateFromConfig field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the preservedStateFromPolicy field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the propertiesFromFlexibilityPolicy field is set. |
hasScheduling()
public boolean hasScheduling()Output only. Information about the termination timestamp of the instance, if applicable.
optional .google.cloud.compute.v1.ManagedInstanceScheduling scheduling = 386688404;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduling field is set. |
hasShutdownDetails()
public boolean hasShutdownDetails() Output only. Specifies the graceful shutdown details if the instance is in
PENDING_STOP state or there is a programmed stop scheduled.
optional .google.cloud.compute.v1.ManagedInstanceShutdownDetails shutdown_details = 15198553;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shutdownDetails field is set. |
hasTargetStatus()
public boolean hasTargetStatus()Output only. The eventual status of the instance. The instance group manager will not be identified as stable till each managed instance reaches its targetStatus. Check the TargetStatus enum for the list of possible values.
optional string target_status = 307799648;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetStatus field is set. |
hasVersion()
public boolean hasVersion()Output only. [Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the version field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ManagedInstance.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstance.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ManagedInstance.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ManagedInstance.Builder |
|
toBuilder()
public ManagedInstance.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ManagedInstance.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|