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
public interface AcceleratorsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getGuestAcceleratorCount()
Number of accelerator cards exposed to the guest.String
getGuestAcceleratorType()
The accelerator type resource name, not a full URL, e.g.com.google.protobuf.ByteString
getGuestAcceleratorTypeBytes()
The accelerator type resource name, not a full URL, e.g.boolean
hasGuestAcceleratorCount()
Number of accelerator cards exposed to the guest.boolean
hasGuestAcceleratorType()
The accelerator type resource name, not a full URL, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-