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 AcceleratorsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Accelerators) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Number of accelerator cards exposed to the guest. 31 * </pre> 32 * 33 * <code>optional int32 guest_accelerator_count = 479079316;</code> 34 * 35 * @return Whether the guestAcceleratorCount field is set. 36 */ hasGuestAcceleratorCount()37 boolean hasGuestAcceleratorCount(); 38 /** 39 * 40 * 41 * <pre> 42 * Number of accelerator cards exposed to the guest. 43 * </pre> 44 * 45 * <code>optional int32 guest_accelerator_count = 479079316;</code> 46 * 47 * @return The guestAcceleratorCount. 48 */ getGuestAcceleratorCount()49 int getGuestAcceleratorCount(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. 56 * </pre> 57 * 58 * <code>optional string guest_accelerator_type = 293064725;</code> 59 * 60 * @return Whether the guestAcceleratorType field is set. 61 */ hasGuestAcceleratorType()62 boolean hasGuestAcceleratorType(); 63 /** 64 * 65 * 66 * <pre> 67 * The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. 68 * </pre> 69 * 70 * <code>optional string guest_accelerator_type = 293064725;</code> 71 * 72 * @return The guestAcceleratorType. 73 */ getGuestAcceleratorType()74 java.lang.String getGuestAcceleratorType(); 75 /** 76 * 77 * 78 * <pre> 79 * The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. 80 * </pre> 81 * 82 * <code>optional string guest_accelerator_type = 293064725;</code> 83 * 84 * @return The bytes for guestAcceleratorType. 85 */ getGuestAcceleratorTypeBytes()86 com.google.protobuf.ByteString getGuestAcceleratorTypeBytes(); 87 } 88