• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/container/v1/cluster_service.proto
18 
19 package com.google.container.v1;
20 
21 public interface ResourceLimitOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceLimit)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Resource name "cpu", "memory" or gpu-specific string.
31    * </pre>
32    *
33    * <code>string resource_type = 1;</code>
34    *
35    * @return The resourceType.
36    */
getResourceType()37   java.lang.String getResourceType();
38   /**
39    *
40    *
41    * <pre>
42    * Resource name "cpu", "memory" or gpu-specific string.
43    * </pre>
44    *
45    * <code>string resource_type = 1;</code>
46    *
47    * @return The bytes for resourceType.
48    */
getResourceTypeBytes()49   com.google.protobuf.ByteString getResourceTypeBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Minimum amount of the resource in the cluster.
56    * </pre>
57    *
58    * <code>int64 minimum = 2;</code>
59    *
60    * @return The minimum.
61    */
getMinimum()62   long getMinimum();
63 
64   /**
65    *
66    *
67    * <pre>
68    * Maximum amount of the resource in the cluster.
69    * </pre>
70    *
71    * <code>int64 maximum = 3;</code>
72    *
73    * @return The maximum.
74    */
getMaximum()75   long getMaximum();
76 }
77