Package com.google.cloud.compute.v1
Interface AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocationAggregateReservationReservedResourceInfoAccelerator,AllocationAggregateReservationReservedResourceInfoAccelerator.Builder
@Generated
public interface AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of accelerators of specified type.Full or partial URL to accelerator type. e.g.com.google.protobuf.ByteStringFull or partial URL to accelerator type. e.g.booleanNumber of accelerators of specified type.booleanFull or partial URL to accelerator type. e.g.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
-
hasAcceleratorCount
boolean hasAcceleratorCount()Number of accelerators of specified type.
optional int32 accelerator_count = 504879675;- Returns:
- Whether the acceleratorCount field is set.
-
getAcceleratorCount
int getAcceleratorCount()Number of accelerators of specified type.
optional int32 accelerator_count = 504879675;- Returns:
- The acceleratorCount.
-
hasAcceleratorType
boolean hasAcceleratorType()Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"optional string accelerator_type = 138031246;- Returns:
- Whether the acceleratorType field is set.
-
getAcceleratorType
String getAcceleratorType()Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"optional string accelerator_type = 138031246;- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
com.google.protobuf.ByteString getAcceleratorTypeBytes()Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"optional string accelerator_type = 138031246;- Returns:
- The bytes for acceleratorType.
-