Class Instance (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.78.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
publicfinalclass InstanceextendsGeneratedMessageV3implementsInstanceOrBuilderAn Instance resource is the computing unit that App Engine uses to automatically scale an application.
Protobuf type google.appengine.v1.Instance
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceImplements
InstanceOrBuilderInherited Members
Static Fields
APP_ENGINE_RELEASE_FIELD_NUMBER
publicstaticfinalintAPP_ENGINE_RELEASE_FIELD_NUMBERAVAILABILITY_FIELD_NUMBER
publicstaticfinalintAVAILABILITY_FIELD_NUMBERAVERAGE_LATENCY_FIELD_NUMBER
publicstaticfinalintAVERAGE_LATENCY_FIELD_NUMBERERRORS_FIELD_NUMBER
publicstaticfinalintERRORS_FIELD_NUMBERID_FIELD_NUMBER
publicstaticfinalintID_FIELD_NUMBERMEMORY_USAGE_FIELD_NUMBER
publicstaticfinalintMEMORY_USAGE_FIELD_NUMBERNAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBERQPS_FIELD_NUMBER
publicstaticfinalintQPS_FIELD_NUMBERREQUESTS_FIELD_NUMBER
publicstaticfinalintREQUESTS_FIELD_NUMBERSTART_TIME_FIELD_NUMBER
publicstaticfinalintSTART_TIME_FIELD_NUMBERVM_DEBUG_ENABLED_FIELD_NUMBER
publicstaticfinalintVM_DEBUG_ENABLED_FIELD_NUMBERVM_ID_FIELD_NUMBER
publicstaticfinalintVM_ID_FIELD_NUMBERVM_IP_FIELD_NUMBER
publicstaticfinalintVM_IP_FIELD_NUMBERVM_LIVENESS_FIELD_NUMBER
publicstaticfinalintVM_LIVENESS_FIELD_NUMBERVM_NAME_FIELD_NUMBER
publicstaticfinalintVM_NAME_FIELD_NUMBERVM_STATUS_FIELD_NUMBER
publicstaticfinalintVM_STATUS_FIELD_NUMBERVM_ZONE_NAME_FIELD_NUMBER
publicstaticfinalintVM_ZONE_NAME_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticInstancegetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticInstance.BuildernewBuilder()newBuilder(Instance prototype)
publicstaticInstance.BuildernewBuilder(Instanceprototype)parseDelimitedFrom(InputStream input)
publicstaticInstanceparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticInstanceparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticInstanceparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticInstanceparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticInstanceparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticInstanceparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticInstanceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<Instance>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getAppEngineRelease()
publicStringgetAppEngineRelease()Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
The appEngineRelease.
getAppEngineReleaseBytes()
publicByteStringgetAppEngineReleaseBytes()Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for appEngineRelease.
getAvailability()
publicInstance.AvailabilitygetAvailability()Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The availability.
getAvailabilityValue()
publicintgetAvailabilityValue()Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The enum numeric value on the wire for availability.
getAverageLatency()
publicintgetAverageLatency()Output only. Average latency (ms) over the last minute.
int32 average_latency = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
The averageLatency.
getDefaultInstanceForType()
publicInstancegetDefaultInstanceForType()getErrors()
publicintgetErrors()Output only. Number of errors since this instance was started.
int32 errors = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
The errors.
getId()
publicStringgetId() Output only. Relative name of the instance within the version.
Example: instance-1.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
The id.
getIdBytes()
publicByteStringgetIdBytes() Output only. Relative name of the instance within the version.
Example: instance-1.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for id.
getMemoryUsage()
publiclonggetMemoryUsage()Output only. Total memory in use (bytes).
int64 memory_usage = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
The memoryUsage.
getName()
publicStringgetName() Output only. Full path to the Instance resource in the API.
Example: apps/myapp/services/default/versions/v1/instances/instance-1.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
The name.
getNameBytes()
publicByteStringgetNameBytes() Output only. Full path to the Instance resource in the API.
Example: apps/myapp/services/default/versions/v1/instances/instance-1.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for name.
getParserForType()
publicParser<Instance>getParserForType()getQps()
publicfloatgetQps()Output only. Average queries per second (QPS) over the last minute.
float qps = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
The qps.
getRequests()
publicintgetRequests()Output only. Number of requests since this instance was started.
int32 requests = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
The requests.
getSerializedSize()
publicintgetSerializedSize()getStartTime()
publicTimestampgetStartTime()Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
The startTime.
getStartTimeOrBuilder()
publicTimestampOrBuildergetStartTimeOrBuilder()Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()getVmDebugEnabled()
publicbooleangetVmDebugEnabled()Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.
bool vm_debug_enabled = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmDebugEnabled.
getVmId()
publicStringgetVmId()Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.
string vm_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmId.
getVmIdBytes()
publicByteStringgetVmIdBytes()Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.
string vm_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for vmId.
getVmIp()
publicStringgetVmIp()Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.
string vm_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmIp.
getVmIpBytes()
publicByteStringgetVmIpBytes()Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.
string vm_ip = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for vmIp.
getVmLiveness()
publicInstance.Liveness.LivenessStategetVmLiveness()Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.
.google.appengine.v1.Instance.Liveness.LivenessState vm_liveness = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmLiveness.
getVmLivenessValue()
publicintgetVmLivenessValue()Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.
.google.appengine.v1.Instance.Liveness.LivenessState vm_liveness = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
The enum numeric value on the wire for vmLiveness.
getVmName()
publicStringgetVmName()Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
string vm_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmName.
getVmNameBytes()
publicByteStringgetVmNameBytes()Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
string vm_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for vmName.
getVmStatus()
publicStringgetVmStatus()Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
string vm_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmStatus.
getVmStatusBytes()
publicByteStringgetVmStatusBytes()Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
string vm_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for vmStatus.
getVmZoneName()
publicStringgetVmZoneName()Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.
string vm_zone_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
The vmZoneName.
getVmZoneNameBytes()
publicByteStringgetVmZoneNameBytes()Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.
string vm_zone_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
The bytes for vmZoneName.
hasStartTime()
publicbooleanhasStartTime()Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Whether the startTime field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicInstance.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedInstance.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicInstance.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)