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/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface LicenseResourceRequirementsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.LicenseResourceRequirements) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. 31 * </pre> 32 * 33 * <code>optional int32 min_guest_cpu_count = 477964836;</code> 34 * 35 * @return Whether the minGuestCpuCount field is set. 36 */ hasMinGuestCpuCount()37 boolean hasMinGuestCpuCount(); 38 /** 39 * 40 * 41 * <pre> 42 * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. 43 * </pre> 44 * 45 * <code>optional int32 min_guest_cpu_count = 477964836;</code> 46 * 47 * @return The minGuestCpuCount. 48 */ getMinGuestCpuCount()49 int getMinGuestCpuCount(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. 56 * </pre> 57 * 58 * <code>optional int32 min_memory_mb = 504785894;</code> 59 * 60 * @return Whether the minMemoryMb field is set. 61 */ hasMinMemoryMb()62 boolean hasMinMemoryMb(); 63 /** 64 * 65 * 66 * <pre> 67 * Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. 68 * </pre> 69 * 70 * <code>optional int32 min_memory_mb = 504785894;</code> 71 * 72 * @return The minMemoryMb. 73 */ getMinMemoryMb()74 int getMinMemoryMb(); 75 } 76