public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
An Instance resource is the computing unit that App Engine uses to automatically scale an application.Protobuf type
google.appengine.v1.Instance| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.Availability
Availability of the instance.
|
static class |
Instance.Builder
An Instance resource is the computing unit that App Engine uses to
automatically scale an application.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
APP_ENGINE_RELEASE_FIELD_NUMBER |
static int |
AVAILABILITY_FIELD_NUMBER |
static int |
AVERAGE_LATENCY_FIELD_NUMBER |
static int |
ERRORS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
MEMORY_USAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
QPS_FIELD_NUMBER |
static int |
REQUESTS_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
VM_DEBUG_ENABLED_FIELD_NUMBER |
static int |
VM_ID_FIELD_NUMBER |
static int |
VM_NAME_FIELD_NUMBER |
static int |
VM_STATUS_FIELD_NUMBER |
static int |
VM_ZONE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppEngineRelease()
App Engine release this instance is running on.
|
com.google.protobuf.ByteString |
getAppEngineReleaseBytes()
App Engine release this instance is running on.
|
Instance.Availability |
getAvailability()
Availability of the instance.
|
int |
getAvailabilityValue()
Availability of the instance.
|
int |
getAverageLatency()
Average latency (ms) over the last minute.
|
static Instance |
getDefaultInstance() |
Instance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getErrors()
Number of errors since this instance was started.
|
java.lang.String |
getId()
Relative name of the instance within the version.
|
com.google.protobuf.ByteString |
getIdBytes()
Relative name of the instance within the version.
|
long |
getMemoryUsage()
Total memory in use (bytes).
|
java.lang.String |
getName()
Full path to the Instance resource in the API.
|
com.google.protobuf.ByteString |
getNameBytes()
Full path to the Instance resource in the API.
|
com.google.protobuf.Parser<Instance> |
getParserForType() |
float |
getQps()
Average queries per second (QPS) over the last minute.
|
int |
getRequests()
Number of requests since this instance was started.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Time that this instance was started.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Time that this instance was started.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getVmDebugEnabled()
Whether this instance is in debug mode.
|
java.lang.String |
getVmId()
Virtual machine ID of this instance.
|
com.google.protobuf.ByteString |
getVmIdBytes()
Virtual machine ID of this instance.
|
java.lang.String |
getVmName()
Name of the virtual machine where this instance lives.
|
com.google.protobuf.ByteString |
getVmNameBytes()
Name of the virtual machine where this instance lives.
|
java.lang.String |
getVmStatus()
Status of the virtual machine where this instance lives.
|
com.google.protobuf.ByteString |
getVmStatusBytes()
Status of the virtual machine where this instance lives.
|
java.lang.String |
getVmZoneName()
Zone where the virtual machine is located.
|
com.google.protobuf.ByteString |
getVmZoneNameBytes()
Zone where the virtual machine is located.
|
int |
hashCode() |
boolean |
hasStartTime()
Time that this instance was started.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Instance.Builder |
newBuilder() |
static Instance.Builder |
newBuilder(Instance prototype) |
Instance.Builder |
newBuilderForType() |
protected Instance.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Instance |
parseDelimitedFrom(java.io.InputStream input) |
static Instance |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(byte[] data) |
static Instance |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(java.nio.ByteBuffer data) |
static Instance |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(com.google.protobuf.ByteString data) |
static Instance |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Instance |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(java.io.InputStream input) |
static Instance |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Instance> |
parser() |
Instance.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int APP_ENGINE_RELEASE_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
public static final int VM_NAME_FIELD_NUMBER
public static final int VM_ZONE_NAME_FIELD_NUMBER
public static final int VM_ID_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
public static final int QPS_FIELD_NUMBER
public static final int AVERAGE_LATENCY_FIELD_NUMBER
public static final int MEMORY_USAGE_FIELD_NUMBER
public static final int VM_STATUS_FIELD_NUMBER
public static final int VM_DEBUG_ENABLED_FIELD_NUMBER
public 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 java.lang.String getName()
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
string name = 1;getName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
string name = 1;getNameBytes in interface InstanceOrBuilderpublic java.lang.String getId()
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;getId in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;getIdBytes in interface InstanceOrBuilderpublic java.lang.String getAppEngineRelease()
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;getAppEngineRelease in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getAppEngineReleaseBytes()
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;getAppEngineReleaseBytes in interface InstanceOrBuilderpublic int getAvailabilityValue()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;getAvailabilityValue in interface InstanceOrBuilderpublic Instance.Availability getAvailability()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;getAvailability in interface InstanceOrBuilderpublic java.lang.String getVmName()
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_name = 5;getVmName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getVmNameBytes()
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_name = 5;getVmNameBytes in interface InstanceOrBuilderpublic java.lang.String getVmZoneName()
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_zone_name = 6;getVmZoneName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getVmZoneNameBytes()
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_zone_name = 6;getVmZoneNameBytes in interface InstanceOrBuilderpublic java.lang.String getVmId()
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_id = 7;getVmId in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getVmIdBytes()
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_id = 7;getVmIdBytes in interface InstanceOrBuilderpublic boolean hasStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;hasStartTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;getStartTime in interface InstanceOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;getStartTimeOrBuilder in interface InstanceOrBuilderpublic int getRequests()
Number of requests since this instance was started. @OutputOnly
int32 requests = 9;getRequests in interface InstanceOrBuilderpublic int getErrors()
Number of errors since this instance was started. @OutputOnly
int32 errors = 10;getErrors in interface InstanceOrBuilderpublic float getQps()
Average queries per second (QPS) over the last minute. @OutputOnly
float qps = 11;getQps in interface InstanceOrBuilderpublic int getAverageLatency()
Average latency (ms) over the last minute. @OutputOnly
int32 average_latency = 12;getAverageLatency in interface InstanceOrBuilderpublic long getMemoryUsage()
Total memory in use (bytes). @OutputOnly
int64 memory_usage = 13;getMemoryUsage in interface InstanceOrBuilderpublic java.lang.String getVmStatus()
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_status = 14;getVmStatus in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getVmStatusBytes()
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_status = 14;getVmStatusBytes in interface InstanceOrBuilderpublic boolean getVmDebugEnabled()
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. @OutputOnly
bool vm_debug_enabled = 15;getVmDebugEnabled in interface InstanceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Instance.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.Builder newBuilder()
public static Instance.Builder newBuilder(Instance prototype)
public Instance.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Instance getDefaultInstance()
public static com.google.protobuf.Parser<Instance> parser()
public com.google.protobuf.Parser<Instance> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder