Class 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 type google.appengine.v1.Instance
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clear

        public Instance.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • getDefaultInstanceForType

        public Instance getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Instance build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Instance buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Instance.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • setField

        public Instance.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clearField

        public Instance.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clearOneof

        public Instance.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • addRepeatedField

        public Instance.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • mergeFrom

        public Instance.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • mergeUnknownFields

        public final Instance.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>