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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance
build()
Instance
buildPartial()
Instance.Builder
clear()
Instance.Builder
clearAppEngineRelease()
Output only.Instance.Builder
clearAvailability()
Output only.Instance.Builder
clearAverageLatency()
Output only.Instance.Builder
clearErrors()
Output only.Instance.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Instance.Builder
clearId()
Output only.Instance.Builder
clearMemoryUsage()
Output only.Instance.Builder
clearName()
Output only.Instance.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Instance.Builder
clearQps()
Output only.Instance.Builder
clearRequests()
Output only.Instance.Builder
clearStartTime()
Output only.Instance.Builder
clearVmDebugEnabled()
Output only.Instance.Builder
clearVmId()
Output only.Instance.Builder
clearVmIp()
Output only.Instance.Builder
clearVmLiveness()
Output only.Instance.Builder
clearVmName()
Output only.Instance.Builder
clearVmStatus()
Output only.Instance.Builder
clearVmZoneName()
Output only.Instance.Builder
clone()
String
getAppEngineRelease()
Output only.com.google.protobuf.ByteString
getAppEngineReleaseBytes()
Output only.Instance.Availability
getAvailability()
Output only.int
getAvailabilityValue()
Output only.int
getAverageLatency()
Output only.Instance
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getErrors()
Output only.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.long
getMemoryUsage()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.float
getQps()
Output only.int
getRequests()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.boolean
getVmDebugEnabled()
Output only.String
getVmId()
Output only.com.google.protobuf.ByteString
getVmIdBytes()
Output only.String
getVmIp()
Output only.com.google.protobuf.ByteString
getVmIpBytes()
Output only.Instance.Liveness.LivenessState
getVmLiveness()
Output only.int
getVmLivenessValue()
Output only.String
getVmName()
Output only.com.google.protobuf.ByteString
getVmNameBytes()
Output only.String
getVmStatus()
Output only.com.google.protobuf.ByteString
getVmStatusBytes()
Output only.String
getVmZoneName()
Output only.com.google.protobuf.ByteString
getVmZoneNameBytes()
Output only.boolean
hasStartTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Instance.Builder
mergeFrom(Instance other)
Instance.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Instance.Builder
mergeFrom(com.google.protobuf.Message other)
Instance.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
setAppEngineRelease(String value)
Output only.Instance.Builder
setAppEngineReleaseBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setAvailability(Instance.Availability value)
Output only.Instance.Builder
setAvailabilityValue(int value)
Output only.Instance.Builder
setAverageLatency(int value)
Output only.Instance.Builder
setErrors(int value)
Output only.Instance.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance.Builder
setId(String value)
Output only.Instance.Builder
setIdBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setMemoryUsage(long value)
Output only.Instance.Builder
setName(String value)
Output only.Instance.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setQps(float value)
Output only.Instance.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Instance.Builder
setRequests(int value)
Output only.Instance.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
setVmDebugEnabled(boolean value)
Output only.Instance.Builder
setVmId(String value)
Output only.Instance.Builder
setVmIdBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setVmIp(String value)
Output only.Instance.Builder
setVmIpBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setVmLiveness(Instance.Liveness.LivenessState value)
Output only.Instance.Builder
setVmLivenessValue(int value)
Output only.Instance.Builder
setVmName(String value)
Output only.Instance.Builder
setVmNameBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setVmStatus(String value)
Output only.Instance.Builder
setVmStatusBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setVmZoneName(String value)
Output only.Instance.Builder
setVmZoneNameBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getId
in 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:
getIdBytes
in 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:
getAppEngineRelease
in 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:
getAppEngineReleaseBytes
in 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:
getAvailabilityValue
in 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:
getAvailability
in 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:
getVmName
in 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:
getVmNameBytes
in 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:
getVmZoneName
in 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:
getVmZoneNameBytes
in 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:
getVmId
in 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:
getVmIdBytes
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
getRequests
in 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:
getErrors
in 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:
getQps
in 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:
getAverageLatency
in 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:
getMemoryUsage
in 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:
getVmStatus
in 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:
getVmStatusBytes
in 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:
getVmDebugEnabled
in 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:
getVmIp
in 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:
getVmIpBytes
in 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:
getVmLivenessValue
in 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:
getVmLiveness
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-