Package com.google.cloud.compute.v1
Interface AcceleratorsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Accelerators,Accelerators.Builder
@Generated
public interface AcceleratorsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of accelerator cards exposed to the guest.The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.com.google.protobuf.ByteStringThe accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.booleanNumber of accelerator cards exposed to the guest.booleanThe accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGuestAcceleratorCount
boolean hasGuestAcceleratorCount()Number of accelerator cards exposed to the guest.
optional int32 guest_accelerator_count = 479079316;- Returns:
- Whether the guestAcceleratorCount field is set.
-
getGuestAcceleratorCount
int getGuestAcceleratorCount()Number of accelerator cards exposed to the guest.
optional int32 guest_accelerator_count = 479079316;- Returns:
- The guestAcceleratorCount.
-
hasGuestAcceleratorType
boolean hasGuestAcceleratorType()The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
optional string guest_accelerator_type = 293064725;- Returns:
- Whether the guestAcceleratorType field is set.
-
getGuestAcceleratorType
String getGuestAcceleratorType()The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
optional string guest_accelerator_type = 293064725;- Returns:
- The guestAcceleratorType.
-
getGuestAcceleratorTypeBytes
com.google.protobuf.ByteString getGuestAcceleratorTypeBytes()The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
optional string guest_accelerator_type = 293064725;- Returns:
- The bytes for guestAcceleratorType.
-