Package com.google.appengine.v1
Interface InstanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance,Instance.Builder
public interface InstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAppEngineRelease()Output only.com.google.protobuf.ByteStringgetAppEngineReleaseBytes()Output only.Instance.AvailabilitygetAvailability()Output only.intgetAvailabilityValue()Output only.intgetAverageLatency()Output only.intgetErrors()Output only.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.longgetMemoryUsage()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.floatgetQps()Output only.intgetRequests()Output only.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.booleangetVmDebugEnabled()Output only.StringgetVmId()Output only.com.google.protobuf.ByteStringgetVmIdBytes()Output only.StringgetVmIp()Output only.com.google.protobuf.ByteStringgetVmIpBytes()Output only.Instance.Liveness.LivenessStategetVmLiveness()Output only.intgetVmLivenessValue()Output only.StringgetVmName()Output only.com.google.protobuf.ByteStringgetVmNameBytes()Output only.StringgetVmStatus()Output only.com.google.protobuf.ByteStringgetVmStatusBytes()Output only.StringgetVmZoneName()Output only.com.google.protobuf.ByteStringgetVmZoneNameBytes()Output only.booleanhasStartTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
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];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
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];- Returns:
- The bytes for name.
-
getId
String getId()
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for id.
-
getAppEngineRelease
String getAppEngineRelease()
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The appEngineRelease.
-
getAppEngineReleaseBytes
com.google.protobuf.ByteString getAppEngineReleaseBytes()
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for appEngineRelease.
-
getAvailabilityValue
int getAvailabilityValue()
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for availability.
-
getAvailability
Instance.Availability getAvailability()
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The availability.
-
getVmName
String getVmName()
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];- Returns:
- The vmName.
-
getVmNameBytes
com.google.protobuf.ByteString getVmNameBytes()
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];- Returns:
- The bytes for vmName.
-
getVmZoneName
String getVmZoneName()
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];- Returns:
- The vmZoneName.
-
getVmZoneNameBytes
com.google.protobuf.ByteString getVmZoneNameBytes()
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];- Returns:
- The bytes for vmZoneName.
-
getVmId
String getVmId()
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];- Returns:
- The vmId.
-
getVmIdBytes
com.google.protobuf.ByteString getVmIdBytes()
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];- Returns:
- The bytes for vmId.
-
hasStartTime
boolean hasStartTime()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRequests
int getRequests()
Output only. Number of requests since this instance was started.
int32 requests = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The requests.
-
getErrors
int getErrors()
Output only. Number of errors since this instance was started.
int32 errors = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errors.
-
getQps
float getQps()
Output only. Average queries per second (QPS) over the last minute.
float qps = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The qps.
-
getAverageLatency
int getAverageLatency()
Output only. Average latency (ms) over the last minute.
int32 average_latency = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The averageLatency.
-
getMemoryUsage
long getMemoryUsage()
Output only. Total memory in use (bytes).
int64 memory_usage = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The memoryUsage.
-
getVmStatus
String getVmStatus()
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];- Returns:
- The vmStatus.
-
getVmStatusBytes
com.google.protobuf.ByteString getVmStatusBytes()
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];- Returns:
- The bytes for vmStatus.
-
getVmDebugEnabled
boolean getVmDebugEnabled()
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];- Returns:
- The vmDebugEnabled.
-
getVmIp
String getVmIp()
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];- Returns:
- The vmIp.
-
getVmIpBytes
com.google.protobuf.ByteString getVmIpBytes()
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];- Returns:
- The bytes for vmIp.
-
getVmLivenessValue
int getVmLivenessValue()
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];- Returns:
- The enum numeric value on the wire for vmLiveness.
-
getVmLiveness
Instance.Liveness.LivenessState getVmLiveness()
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];- Returns:
- The vmLiveness.
-
-