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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public java.lang.String getId()
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;
getId
in interface InstanceOrBuilder
public ByteString getIdBytes()
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;
getIdBytes
in interface InstanceOrBuilder
public java.lang.String getAppEngineRelease()
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;
getAppEngineRelease
in interface InstanceOrBuilder
public ByteString getAppEngineReleaseBytes()
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;
getAppEngineReleaseBytes
in interface InstanceOrBuilder
public int getAvailabilityValue()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;
getAvailabilityValue
in interface InstanceOrBuilder
public Instance.Availability getAvailability()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;
getAvailability
in interface InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public boolean hasStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;
hasStartTime
in interface InstanceOrBuilder
public Timestamp getStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;
getStartTime
in interface InstanceOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;
getStartTimeOrBuilder
in interface InstanceOrBuilder
public int getRequests()
Number of requests since this instance was started. @OutputOnly
int32 requests = 9;
getRequests
in interface InstanceOrBuilder
public int getErrors()
Number of errors since this instance was started. @OutputOnly
int32 errors = 10;
getErrors
in interface InstanceOrBuilder
public float getQps()
Average queries per second (QPS) over the last minute. @OutputOnly
float qps = 11;
getQps
in interface InstanceOrBuilder
public int getAverageLatency()
Average latency (ms) over the last minute. @OutputOnly
int32 average_latency = 12;
getAverageLatency
in interface InstanceOrBuilder
public long getMemoryUsage()
Total memory in use (bytes). @OutputOnly
int64 memory_usage = 13;
getMemoryUsage
in interface InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public 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 InstanceOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Instance parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Instance parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Instance parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Instance parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Instance parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Instance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Instance.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Instance.Builder newBuilder()
public static Instance.Builder newBuilder(Instance prototype)
public Instance.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Instance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Instance getDefaultInstance()
public Parser<Instance> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Instance getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder