1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/appengine/v1/version.proto 18 19 package com.google.appengine.v1; 20 21 public interface BasicScalingOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.appengine.v1.BasicScaling) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Duration of time after the last request that an instance must wait before 31 * the instance is shut down. 32 * </pre> 33 * 34 * <code>.google.protobuf.Duration idle_timeout = 1;</code> 35 * 36 * @return Whether the idleTimeout field is set. 37 */ hasIdleTimeout()38 boolean hasIdleTimeout(); 39 /** 40 * 41 * 42 * <pre> 43 * Duration of time after the last request that an instance must wait before 44 * the instance is shut down. 45 * </pre> 46 * 47 * <code>.google.protobuf.Duration idle_timeout = 1;</code> 48 * 49 * @return The idleTimeout. 50 */ getIdleTimeout()51 com.google.protobuf.Duration getIdleTimeout(); 52 /** 53 * 54 * 55 * <pre> 56 * Duration of time after the last request that an instance must wait before 57 * the instance is shut down. 58 * </pre> 59 * 60 * <code>.google.protobuf.Duration idle_timeout = 1;</code> 61 */ getIdleTimeoutOrBuilder()62 com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder(); 63 64 /** 65 * 66 * 67 * <pre> 68 * Maximum number of instances to create for this version. 69 * </pre> 70 * 71 * <code>int32 max_instances = 2;</code> 72 * 73 * @return The maxInstances. 74 */ getMaxInstances()75 int getMaxInstances(); 76 } 77