public final class ManagedInstance extends com.google.protobuf.GeneratedMessageV3 implements ManagedInstanceOrBuilder
A Managed Instance resource.Protobuf type
google.cloud.compute.v1.ManagedInstance| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedInstance.Builder
A Managed Instance resource.
|
static class |
ManagedInstance.CurrentAction
[Output Only] The current action that the managed instance group has scheduled for the instance.
|
static class |
ManagedInstance.InstanceStatus
[Output Only] The status of the instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_ACTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
INSTANCE_HEALTH_FIELD_NUMBER |
static int |
INSTANCE_STATUS_FIELD_NUMBER |
static int |
LAST_ATTEMPT_FIELD_NUMBER |
static int |
PRESERVED_STATE_FROM_CONFIG_FIELD_NUMBER |
static int |
PRESERVED_STATE_FROM_POLICY_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCurrentAction()
[Output Only] The current action that the managed instance group has scheduled for the instance.
|
com.google.protobuf.ByteString |
getCurrentActionBytes()
[Output Only] The current action that the managed instance group has scheduled for the instance.
|
static ManagedInstance |
getDefaultInstance() |
ManagedInstance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
[Output only] The unique identifier for this resource.
|
String |
getInstance()
[Output Only] The URL of the instance.
|
com.google.protobuf.ByteString |
getInstanceBytes()
[Output Only] The URL of the instance.
|
ManagedInstanceInstanceHealth |
getInstanceHealth(int index)
[Output Only] Health state of the instance per health-check.
|
int |
getInstanceHealthCount()
[Output Only] Health state of the instance per health-check.
|
List<ManagedInstanceInstanceHealth> |
getInstanceHealthList()
[Output Only] Health state of the instance per health-check.
|
ManagedInstanceInstanceHealthOrBuilder |
getInstanceHealthOrBuilder(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.
|
String |
getInstanceStatus()
[Output Only] The status of the instance.
|
com.google.protobuf.ByteString |
getInstanceStatusBytes()
[Output Only] The status of the instance.
|
ManagedInstanceLastAttempt |
getLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
|
ManagedInstanceLastAttemptOrBuilder |
getLastAttemptOrBuilder()
[Output Only] Information about the last attempt to create or delete the instance.
|
com.google.protobuf.Parser<ManagedInstance> |
getParserForType() |
PreservedState |
getPreservedStateFromConfig()
[Output Only] Preserved state applied from per-instance config for this instance.
|
PreservedStateOrBuilder |
getPreservedStateFromConfigOrBuilder()
[Output Only] Preserved state applied from per-instance config for this instance.
|
PreservedState |
getPreservedStateFromPolicy()
[Output Only] Preserved state generated based on stateful policy for this instance.
|
PreservedStateOrBuilder |
getPreservedStateFromPolicyOrBuilder()
[Output Only] Preserved state generated based on stateful policy for this instance.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
ManagedInstanceVersion |
getVersion()
[Output Only] Intended version of this instance.
|
ManagedInstanceVersionOrBuilder |
getVersionOrBuilder()
[Output Only] Intended version of this instance.
|
boolean |
hasCurrentAction()
[Output Only] The current action that the managed instance group has scheduled for the instance.
|
int |
hashCode() |
boolean |
hasId()
[Output only] The unique identifier for this resource.
|
boolean |
hasInstance()
[Output Only] The URL of the instance.
|
boolean |
hasInstanceStatus()
[Output Only] The status of the instance.
|
boolean |
hasLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
|
boolean |
hasPreservedStateFromConfig()
[Output Only] Preserved state applied from per-instance config for this instance.
|
boolean |
hasPreservedStateFromPolicy()
[Output Only] Preserved state generated based on stateful policy for this instance.
|
boolean |
hasVersion()
[Output Only] Intended version of this instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ManagedInstance.Builder |
newBuilder() |
static ManagedInstance.Builder |
newBuilder(ManagedInstance prototype) |
ManagedInstance.Builder |
newBuilderForType() |
protected ManagedInstance.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ManagedInstance |
parseDelimitedFrom(InputStream input) |
static ManagedInstance |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ManagedInstance |
parseFrom(byte[] data) |
static ManagedInstance |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ManagedInstance |
parseFrom(ByteBuffer data) |
static ManagedInstance |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ManagedInstance |
parseFrom(com.google.protobuf.ByteString data) |
static ManagedInstance |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ManagedInstance |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ManagedInstance |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ManagedInstance |
parseFrom(InputStream input) |
static ManagedInstance |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ManagedInstance> |
parser() |
ManagedInstance.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CURRENT_ACTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int INSTANCE_HEALTH_FIELD_NUMBER
public static final int INSTANCE_STATUS_FIELD_NUMBER
public static final int LAST_ATTEMPT_FIELD_NUMBER
public static final int PRESERVED_STATE_FROM_CONFIG_FIELD_NUMBER
public static final int PRESERVED_STATE_FROM_POLICY_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasCurrentAction in interface ManagedInstanceOrBuilderpublic 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;getCurrentAction in interface ManagedInstanceOrBuilderpublic 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;getCurrentActionBytes in interface ManagedInstanceOrBuilderpublic boolean hasId()
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;hasId in interface ManagedInstanceOrBuilderpublic long getId()
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
optional uint64 id = 3355;getId in interface ManagedInstanceOrBuilderpublic 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;hasInstance in interface ManagedInstanceOrBuilderpublic 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;getInstance in interface ManagedInstanceOrBuilderpublic 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;getInstanceBytes in interface ManagedInstanceOrBuilderpublic List<ManagedInstanceInstanceHealth> getInstanceHealthList()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
getInstanceHealthList in interface ManagedInstanceOrBuilderpublic List<? extends ManagedInstanceInstanceHealthOrBuilder> getInstanceHealthOrBuilderList()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
getInstanceHealthOrBuilderList in interface ManagedInstanceOrBuilderpublic int getInstanceHealthCount()
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
getInstanceHealthCount in interface ManagedInstanceOrBuilderpublic ManagedInstanceInstanceHealth getInstanceHealth(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
getInstanceHealth in interface ManagedInstanceOrBuilderpublic ManagedInstanceInstanceHealthOrBuilder getInstanceHealthOrBuilder(int index)
[Output Only] Health state of the instance per health-check.
repeated .google.cloud.compute.v1.ManagedInstanceInstanceHealth instance_health = 382667078;
getInstanceHealthOrBuilder in interface ManagedInstanceOrBuilderpublic 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;hasInstanceStatus in interface ManagedInstanceOrBuilderpublic 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;getInstanceStatus in interface ManagedInstanceOrBuilderpublic 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;getInstanceStatusBytes in interface ManagedInstanceOrBuilderpublic boolean hasLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
hasLastAttempt in interface ManagedInstanceOrBuilderpublic ManagedInstanceLastAttempt getLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
getLastAttempt in interface ManagedInstanceOrBuilderpublic ManagedInstanceLastAttemptOrBuilder getLastAttemptOrBuilder()
[Output Only] Information about the last attempt to create or delete the instance.
optional .google.cloud.compute.v1.ManagedInstanceLastAttempt last_attempt = 434771492;
getLastAttemptOrBuilder in interface ManagedInstanceOrBuilderpublic 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;
hasPreservedStateFromConfig in interface ManagedInstanceOrBuilderpublic 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;
getPreservedStateFromConfig in interface ManagedInstanceOrBuilderpublic 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;
getPreservedStateFromConfigOrBuilder in interface ManagedInstanceOrBuilderpublic 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;
hasPreservedStateFromPolicy in interface ManagedInstanceOrBuilderpublic 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;
getPreservedStateFromPolicy in interface ManagedInstanceOrBuilderpublic 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;
getPreservedStateFromPolicyOrBuilder in interface ManagedInstanceOrBuilderpublic boolean hasVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;hasVersion in interface ManagedInstanceOrBuilderpublic ManagedInstanceVersion getVersion()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;getVersion in interface ManagedInstanceOrBuilderpublic ManagedInstanceVersionOrBuilder getVersionOrBuilder()
[Output Only] Intended version of this instance.
optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;getVersionOrBuilder in interface ManagedInstanceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ManagedInstance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ManagedInstance parseFrom(InputStream input) throws IOException
IOExceptionpublic static ManagedInstance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ManagedInstance parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ManagedInstance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ManagedInstance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ManagedInstance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ManagedInstance.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ManagedInstance.Builder newBuilder()
public static ManagedInstance.Builder newBuilder(ManagedInstance prototype)
public ManagedInstance.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ManagedInstance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ManagedInstance getDefaultInstance()
public static com.google.protobuf.Parser<ManagedInstance> parser()
public com.google.protobuf.Parser<ManagedInstance> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ManagedInstance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.