public final class Instance extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppEngineRelease()
App Engine release this instance is running on.
|
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 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.
|
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.
|
ByteString |
getNameBytes()
Full path to the Instance resource in the API.
|
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() |
Timestamp |
getStartTime()
Time that this instance was started.
|
TimestampOrBuilder |
getStartTimeOrBuilder()
Time that this instance was started.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
getVmDebugEnabled()
Whether this instance is in debug mode.
|
java.lang.String |
getVmId()
Virtual machine ID of this instance.
|
ByteString |
getVmIdBytes()
Virtual machine ID of this instance.
|
java.lang.String |
getVmName()
Name of the virtual machine where this instance lives.
|
ByteString |
getVmNameBytes()
Name of the virtual machine where this instance lives.
|
java.lang.String |
getVmStatus()
Status of the virtual machine where this instance lives.
|
ByteString |
getVmStatusBytes()
Status of the virtual machine where this instance lives.
|
java.lang.String |
getVmZoneName()
Zone where the virtual machine is located.
|
ByteString |
getVmZoneNameBytes()
Zone where the virtual machine is located.
|
int |
hashCode() |
boolean |
hasStartTime()
Time that this instance was started.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Instance.Builder |
newBuilder() |
static Instance.Builder |
newBuilder(Instance prototype) |
Instance.Builder |
newBuilderForType() |
protected Instance.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Instance |
parseDelimitedFrom(java.io.InputStream input) |
static Instance |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(byte[] data) |
static Instance |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(java.nio.ByteBuffer data) |
static Instance |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(ByteString data) |
static Instance |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(CodedInputStream input) |
static Instance |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(java.io.InputStream input) |
static Instance |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Instance> |
parser() |
Instance.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 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 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 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 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 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 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 Timestamp getStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;getStartTime in interface InstanceOrBuilderpublic 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 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Instance parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Instance parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(java.io.InputStream input, 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, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Instance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Instance.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Instance.Builder newBuilder()
public static Instance.Builder newBuilder(Instance prototype)
public Instance.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Instance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Instance getDefaultInstance()
public Parser<Instance> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder