Package com.google.appengine.v1
Class Instance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
- com.google.appengine.v1.Instance.Builder
-
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Protobuf typegoogle.appengine.v1.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Instance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instancebuild()InstancebuildPartial()Instance.Builderclear()Instance.BuilderclearAppEngineRelease()Output only.Instance.BuilderclearAvailability()Output only.Instance.BuilderclearAverageLatency()Output only.Instance.BuilderclearErrors()Output only.Instance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instance.BuilderclearId()Output only.Instance.BuilderclearMemoryUsage()Output only.Instance.BuilderclearName()Output only.Instance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instance.BuilderclearQps()Output only.Instance.BuilderclearRequests()Output only.Instance.BuilderclearStartTime()Output only.Instance.BuilderclearVmDebugEnabled()Output only.Instance.BuilderclearVmId()Output only.Instance.BuilderclearVmIp()Output only.Instance.BuilderclearVmLiveness()Output only.Instance.BuilderclearVmName()Output only.Instance.BuilderclearVmStatus()Output only.Instance.BuilderclearVmZoneName()Output only.Instance.Builderclone()StringgetAppEngineRelease()Output only.com.google.protobuf.ByteStringgetAppEngineReleaseBytes()Output only.Instance.AvailabilitygetAvailability()Output only.intgetAvailabilityValue()Output only.intgetAverageLatency()Output only.InstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.Timestamp.BuildergetStartTimeBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Instance.BuildermergeFrom(Instance other)Instance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instance.BuildermergeFrom(com.google.protobuf.Message other)Instance.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildersetAppEngineRelease(String value)Output only.Instance.BuildersetAppEngineReleaseBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetAvailability(Instance.Availability value)Output only.Instance.BuildersetAvailabilityValue(int value)Output only.Instance.BuildersetAverageLatency(int value)Output only.Instance.BuildersetErrors(int value)Output only.Instance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuildersetId(String value)Output only.Instance.BuildersetIdBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetMemoryUsage(long value)Output only.Instance.BuildersetName(String value)Output only.Instance.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetQps(float value)Output only.Instance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instance.BuildersetRequests(int value)Output only.Instance.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildersetVmDebugEnabled(boolean value)Output only.Instance.BuildersetVmId(String value)Output only.Instance.BuildersetVmIdBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetVmIp(String value)Output only.Instance.BuildersetVmIpBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetVmLiveness(Instance.Liveness.LivenessState value)Output only.Instance.BuildersetVmLivenessValue(int value)Output only.Instance.BuildersetVmName(String value)Output only.Instance.BuildersetVmNameBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetVmStatus(String value)Output only.Instance.BuildersetVmStatusBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetVmZoneName(String value)Output only.Instance.BuildersetVmZoneNameBytes(com.google.protobuf.ByteString value)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>- Throws:
IOException
-
getName
public 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];- Specified by:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
setName
public Instance.Builder setName(String value)
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Instance.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceInstanceOrBuilder- Returns:
- The id.
-
getIdBytes
public 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];- Specified by:
getIdBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for id.
-
setId
public Instance.Builder setId(String value)
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Instance.Builder clearId()
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
public Instance.Builder setIdBytes(com.google.protobuf.ByteString value)
Output only. Relative name of the instance within the version. Example: `instance-1`.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getAppEngineRelease
public String getAppEngineRelease()
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppEngineReleasein interfaceInstanceOrBuilder- Returns:
- The appEngineRelease.
-
getAppEngineReleaseBytes
public 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];- Specified by:
getAppEngineReleaseBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for appEngineRelease.
-
setAppEngineRelease
public Instance.Builder setAppEngineRelease(String value)
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The appEngineRelease to set.- Returns:
- This builder for chaining.
-
clearAppEngineRelease
public Instance.Builder clearAppEngineRelease()
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAppEngineReleaseBytes
public Instance.Builder setAppEngineReleaseBytes(com.google.protobuf.ByteString value)
Output only. App Engine release this instance is running on.
string app_engine_release = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for appEngineRelease to set.- Returns:
- This builder for chaining.
-
getAvailabilityValue
public int getAvailabilityValue()
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailabilityValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for availability.
-
setAvailabilityValue
public Instance.Builder setAvailabilityValue(int value)
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for availability to set.- Returns:
- This builder for chaining.
-
getAvailability
public Instance.Availability getAvailability()
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailabilityin interfaceInstanceOrBuilder- Returns:
- The availability.
-
setAvailability
public Instance.Builder setAvailability(Instance.Availability value)
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The availability to set.- Returns:
- This builder for chaining.
-
clearAvailability
public Instance.Builder clearAvailability()
Output only. Availability of the instance.
.google.appengine.v1.Instance.Availability availability = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getVmName
public 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];- Specified by:
getVmNamein interfaceInstanceOrBuilder- Returns:
- The vmName.
-
getVmNameBytes
public 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];- Specified by:
getVmNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for vmName.
-
setVmName
public Instance.Builder setVmName(String value)
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];- Parameters:
value- The vmName to set.- Returns:
- This builder for chaining.
-
clearVmName
public Instance.Builder clearVmName()
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:
- This builder for chaining.
-
setVmNameBytes
public Instance.Builder setVmNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for vmName to set.- Returns:
- This builder for chaining.
-
getVmZoneName
public 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];- Specified by:
getVmZoneNamein interfaceInstanceOrBuilder- Returns:
- The vmZoneName.
-
getVmZoneNameBytes
public 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];- Specified by:
getVmZoneNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for vmZoneName.
-
setVmZoneName
public Instance.Builder setVmZoneName(String value)
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];- Parameters:
value- The vmZoneName to set.- Returns:
- This builder for chaining.
-
clearVmZoneName
public Instance.Builder clearVmZoneName()
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:
- This builder for chaining.
-
setVmZoneNameBytes
public Instance.Builder setVmZoneNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for vmZoneName to set.- Returns:
- This builder for chaining.
-
getVmId
public 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];- Specified by:
getVmIdin interfaceInstanceOrBuilder- Returns:
- The vmId.
-
getVmIdBytes
public 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];- Specified by:
getVmIdBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for vmId.
-
setVmId
public Instance.Builder setVmId(String value)
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];- Parameters:
value- The vmId to set.- Returns:
- This builder for chaining.
-
clearVmId
public Instance.Builder clearVmId()
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:
- This builder for chaining.
-
setVmIdBytes
public Instance.Builder setVmIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for vmId to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceInstanceOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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];- Specified by:
getStartTimein interfaceInstanceOrBuilder- Returns:
- The startTime.
-
setStartTime
public Instance.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStartTime
public Instance.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStartTime
public Instance.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStartTime
public Instance.Builder clearStartTime()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. Time that this instance was started. @OutputOnly
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeOrBuilder
public 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];- Specified by:
getStartTimeOrBuilderin interfaceInstanceOrBuilder
-
getRequests
public int getRequests()
Output only. Number of requests since this instance was started.
int32 requests = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequestsin interfaceInstanceOrBuilder- Returns:
- The requests.
-
setRequests
public Instance.Builder setRequests(int value)
Output only. Number of requests since this instance was started.
int32 requests = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The requests to set.- Returns:
- This builder for chaining.
-
clearRequests
public Instance.Builder clearRequests()
Output only. Number of requests since this instance was started.
int32 requests = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getErrors
public int getErrors()
Output only. Number of errors since this instance was started.
int32 errors = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsin interfaceInstanceOrBuilder- Returns:
- The errors.
-
setErrors
public Instance.Builder setErrors(int value)
Output only. Number of errors since this instance was started.
int32 errors = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The errors to set.- Returns:
- This builder for chaining.
-
clearErrors
public Instance.Builder clearErrors()
Output only. Number of errors since this instance was started.
int32 errors = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getQps
public float getQps()
Output only. Average queries per second (QPS) over the last minute.
float qps = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getQpsin interfaceInstanceOrBuilder- Returns:
- The qps.
-
setQps
public Instance.Builder setQps(float value)
Output only. Average queries per second (QPS) over the last minute.
float qps = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The qps to set.- Returns:
- This builder for chaining.
-
clearQps
public Instance.Builder clearQps()
Output only. Average queries per second (QPS) over the last minute.
float qps = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAverageLatency
public int getAverageLatency()
Output only. Average latency (ms) over the last minute.
int32 average_latency = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAverageLatencyin interfaceInstanceOrBuilder- Returns:
- The averageLatency.
-
setAverageLatency
public Instance.Builder setAverageLatency(int value)
Output only. Average latency (ms) over the last minute.
int32 average_latency = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The averageLatency to set.- Returns:
- This builder for chaining.
-
clearAverageLatency
public Instance.Builder clearAverageLatency()
Output only. Average latency (ms) over the last minute.
int32 average_latency = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMemoryUsage
public long getMemoryUsage()
Output only. Total memory in use (bytes).
int64 memory_usage = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMemoryUsagein interfaceInstanceOrBuilder- Returns:
- The memoryUsage.
-
setMemoryUsage
public Instance.Builder setMemoryUsage(long value)
Output only. Total memory in use (bytes).
int64 memory_usage = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The memoryUsage to set.- Returns:
- This builder for chaining.
-
clearMemoryUsage
public Instance.Builder clearMemoryUsage()
Output only. Total memory in use (bytes).
int64 memory_usage = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getVmStatus
public 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];- Specified by:
getVmStatusin interfaceInstanceOrBuilder- Returns:
- The vmStatus.
-
getVmStatusBytes
public 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];- Specified by:
getVmStatusBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for vmStatus.
-
setVmStatus
public Instance.Builder setVmStatus(String value)
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];- Parameters:
value- The vmStatus to set.- Returns:
- This builder for chaining.
-
clearVmStatus
public Instance.Builder clearVmStatus()
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:
- This builder for chaining.
-
setVmStatusBytes
public Instance.Builder setVmStatusBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for vmStatus to set.- Returns:
- This builder for chaining.
-
getVmDebugEnabled
public 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];- Specified by:
getVmDebugEnabledin interfaceInstanceOrBuilder- Returns:
- The vmDebugEnabled.
-
setVmDebugEnabled
public Instance.Builder setVmDebugEnabled(boolean value)
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];- Parameters:
value- The vmDebugEnabled to set.- Returns:
- This builder for chaining.
-
clearVmDebugEnabled
public Instance.Builder clearVmDebugEnabled()
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:
- This builder for chaining.
-
getVmIp
public 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];- Specified by:
getVmIpin interfaceInstanceOrBuilder- Returns:
- The vmIp.
-
getVmIpBytes
public 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];- Specified by:
getVmIpBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for vmIp.
-
setVmIp
public Instance.Builder setVmIp(String value)
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];- Parameters:
value- The vmIp to set.- Returns:
- This builder for chaining.
-
clearVmIp
public Instance.Builder clearVmIp()
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:
- This builder for chaining.
-
setVmIpBytes
public Instance.Builder setVmIpBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for vmIp to set.- Returns:
- This builder for chaining.
-
getVmLivenessValue
public 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];- Specified by:
getVmLivenessValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for vmLiveness.
-
setVmLivenessValue
public Instance.Builder setVmLivenessValue(int value)
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];- Parameters:
value- The enum numeric value on the wire for vmLiveness to set.- Returns:
- This builder for chaining.
-
getVmLiveness
public 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];- Specified by:
getVmLivenessin interfaceInstanceOrBuilder- Returns:
- The vmLiveness.
-
setVmLiveness
public Instance.Builder setVmLiveness(Instance.Liveness.LivenessState value)
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];- Parameters:
value- The vmLiveness to set.- Returns:
- This builder for chaining.
-
clearVmLiveness
public Instance.Builder clearVmLiveness()
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:
- This builder for chaining.
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-