public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> 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 | Method and Description |
|---|---|
Instance.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Instance |
build() |
Instance |
buildPartial() |
Instance.Builder |
clear() |
Instance.Builder |
clearAppEngineRelease()
App Engine release this instance is running on.
|
Instance.Builder |
clearAvailability()
Availability of the instance.
|
Instance.Builder |
clearAverageLatency()
Average latency (ms) over the last minute.
|
Instance.Builder |
clearErrors()
Number of errors since this instance was started.
|
Instance.Builder |
clearField(Descriptors.FieldDescriptor field) |
Instance.Builder |
clearId()
Relative name of the instance within the version.
|
Instance.Builder |
clearMemoryUsage()
Total memory in use (bytes).
|
Instance.Builder |
clearName()
Full path to the Instance resource in the API.
|
Instance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Instance.Builder |
clearQps()
Average queries per second (QPS) over the last minute.
|
Instance.Builder |
clearRequests()
Number of requests since this instance was started.
|
Instance.Builder |
clearStartTime()
Time that this instance was started.
|
Instance.Builder |
clearVmDebugEnabled()
Whether this instance is in debug mode.
|
Instance.Builder |
clearVmId()
Virtual machine ID of this instance.
|
Instance.Builder |
clearVmName()
Name of the virtual machine where this instance lives.
|
Instance.Builder |
clearVmStatus()
Status of the virtual machine where this instance lives.
|
Instance.Builder |
clearVmZoneName()
Zone where the virtual machine is located.
|
Instance.Builder |
clone() |
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.
|
Instance |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
float |
getQps()
Average queries per second (QPS) over the last minute.
|
int |
getRequests()
Number of requests since this instance was started.
|
Timestamp |
getStartTime()
Time that this instance was started.
|
Timestamp.Builder |
getStartTimeBuilder()
Time that this instance was started.
|
TimestampOrBuilder |
getStartTimeOrBuilder()
Time that this instance was started.
|
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.
|
boolean |
hasStartTime()
Time that this instance was started.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Instance.Builder |
mergeFrom(Instance other) |
Instance.Builder |
mergeFrom(Message other) |
Instance.Builder |
mergeStartTime(Timestamp value)
Time that this instance was started.
|
Instance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Instance.Builder |
setAppEngineRelease(java.lang.String value)
App Engine release this instance is running on.
|
Instance.Builder |
setAppEngineReleaseBytes(ByteString value)
App Engine release this instance is running on.
|
Instance.Builder |
setAvailability(Instance.Availability value)
Availability of the instance.
|
Instance.Builder |
setAvailabilityValue(int value)
Availability of the instance.
|
Instance.Builder |
setAverageLatency(int value)
Average latency (ms) over the last minute.
|
Instance.Builder |
setErrors(int value)
Number of errors since this instance was started.
|
Instance.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Instance.Builder |
setId(java.lang.String value)
Relative name of the instance within the version.
|
Instance.Builder |
setIdBytes(ByteString value)
Relative name of the instance within the version.
|
Instance.Builder |
setMemoryUsage(long value)
Total memory in use (bytes).
|
Instance.Builder |
setName(java.lang.String value)
Full path to the Instance resource in the API.
|
Instance.Builder |
setNameBytes(ByteString value)
Full path to the Instance resource in the API.
|
Instance.Builder |
setQps(float value)
Average queries per second (QPS) over the last minute.
|
Instance.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Instance.Builder |
setRequests(int value)
Number of requests since this instance was started.
|
Instance.Builder |
setStartTime(Timestamp.Builder builderForValue)
Time that this instance was started.
|
Instance.Builder |
setStartTime(Timestamp value)
Time that this instance was started.
|
Instance.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Instance.Builder |
setVmDebugEnabled(boolean value)
Whether this instance is in debug mode.
|
Instance.Builder |
setVmId(java.lang.String value)
Virtual machine ID of this instance.
|
Instance.Builder |
setVmIdBytes(ByteString value)
Virtual machine ID of this instance.
|
Instance.Builder |
setVmName(java.lang.String value)
Name of the virtual machine where this instance lives.
|
Instance.Builder |
setVmNameBytes(ByteString value)
Name of the virtual machine where this instance lives.
|
Instance.Builder |
setVmStatus(java.lang.String value)
Status of the virtual machine where this instance lives.
|
Instance.Builder |
setVmStatusBytes(ByteString value)
Status of the virtual machine where this instance lives.
|
Instance.Builder |
setVmZoneName(java.lang.String value)
Zone where the virtual machine is located.
|
Instance.Builder |
setVmZoneNameBytes(ByteString value)
Zone where the virtual machine is located.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Instance.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Instance.Builder>public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Instance build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Instance buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Instance.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Instance.Builder>public Instance.Builder mergeFrom(Instance other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Instance.Builder>java.io.IOExceptionpublic 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 Instance.Builder setName(java.lang.String value)
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
string name = 1;public Instance.Builder clearName()
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
string name = 1;public Instance.Builder setNameBytes(ByteString value)
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
string name = 1;public 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 Instance.Builder setId(java.lang.String value)
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;public Instance.Builder clearId()
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;public Instance.Builder setIdBytes(ByteString value)
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
string id = 2;public 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 Instance.Builder setAppEngineRelease(java.lang.String value)
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;public Instance.Builder clearAppEngineRelease()
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;public Instance.Builder setAppEngineReleaseBytes(ByteString value)
App Engine release this instance is running on. @OutputOnly
string app_engine_release = 3;public int getAvailabilityValue()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;getAvailabilityValue in interface InstanceOrBuilderpublic Instance.Builder setAvailabilityValue(int value)
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;public Instance.Availability getAvailability()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;getAvailability in interface InstanceOrBuilderpublic Instance.Builder setAvailability(Instance.Availability value)
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;public Instance.Builder clearAvailability()
Availability of the instance. @OutputOnly
.google.appengine.v1.Instance.Availability availability = 4;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 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 Instance.Builder setVmName(java.lang.String value)
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_name = 5;public Instance.Builder clearVmName()
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_name = 5;public Instance.Builder setVmNameBytes(ByteString value)
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_name = 5;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 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 Instance.Builder setVmZoneName(java.lang.String value)
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_zone_name = 6;public Instance.Builder clearVmZoneName()
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_zone_name = 6;public Instance.Builder setVmZoneNameBytes(ByteString value)
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_zone_name = 6;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 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 Instance.Builder setVmId(java.lang.String value)
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_id = 7;public Instance.Builder clearVmId()
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_id = 7;public Instance.Builder setVmIdBytes(ByteString value)
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_id = 7;public 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 Instance.Builder setStartTime(Timestamp value)
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;public Instance.Builder setStartTime(Timestamp.Builder builderForValue)
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;public Instance.Builder mergeStartTime(Timestamp value)
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;public Instance.Builder clearStartTime()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;public Timestamp.Builder getStartTimeBuilder()
Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8;public 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 Instance.Builder setRequests(int value)
Number of requests since this instance was started. @OutputOnly
int32 requests = 9;public Instance.Builder clearRequests()
Number of requests since this instance was started. @OutputOnly
int32 requests = 9;public int getErrors()
Number of errors since this instance was started. @OutputOnly
int32 errors = 10;getErrors in interface InstanceOrBuilderpublic Instance.Builder setErrors(int value)
Number of errors since this instance was started. @OutputOnly
int32 errors = 10;public Instance.Builder clearErrors()
Number of errors since this instance was started. @OutputOnly
int32 errors = 10;public float getQps()
Average queries per second (QPS) over the last minute. @OutputOnly
float qps = 11;getQps in interface InstanceOrBuilderpublic Instance.Builder setQps(float value)
Average queries per second (QPS) over the last minute. @OutputOnly
float qps = 11;public Instance.Builder clearQps()
Average queries per second (QPS) over the last minute. @OutputOnly
float qps = 11;public int getAverageLatency()
Average latency (ms) over the last minute. @OutputOnly
int32 average_latency = 12;getAverageLatency in interface InstanceOrBuilderpublic Instance.Builder setAverageLatency(int value)
Average latency (ms) over the last minute. @OutputOnly
int32 average_latency = 12;public Instance.Builder clearAverageLatency()
Average latency (ms) over the last minute. @OutputOnly
int32 average_latency = 12;public long getMemoryUsage()
Total memory in use (bytes). @OutputOnly
int64 memory_usage = 13;getMemoryUsage in interface InstanceOrBuilderpublic Instance.Builder setMemoryUsage(long value)
Total memory in use (bytes). @OutputOnly
int64 memory_usage = 13;public Instance.Builder clearMemoryUsage()
Total memory in use (bytes). @OutputOnly
int64 memory_usage = 13;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 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 Instance.Builder setVmStatus(java.lang.String value)
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_status = 14;public Instance.Builder clearVmStatus()
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_status = 14;public Instance.Builder setVmStatusBytes(ByteString value)
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
string vm_status = 14;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 InstanceOrBuilderpublic Instance.Builder setVmDebugEnabled(boolean value)
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. @OutputOnly
bool vm_debug_enabled = 15;public Instance.Builder clearVmDebugEnabled()
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. @OutputOnly
bool vm_debug_enabled = 15;public final Instance.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Instance.Builder>public final Instance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Instance.Builder>