Package com.google.cloud.compute.v1
Interface AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyStateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState,AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.Builder
@Generated
public interface AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyStateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCount()The number of accelerator topologies in this state.getState()The state of the accelerator topology.com.google.protobuf.ByteStringThe state of the accelerator topology.booleanhasCount()The number of accelerator topologies in this state.booleanhasState()The state of the accelerator topology.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
-
hasCount
boolean hasCount()The number of accelerator topologies in this state.
optional int32 count = 94851343;- Returns:
- Whether the count field is set.
-
getCount
int getCount()The number of accelerator topologies in this state.
optional int32 count = 94851343;- Returns:
- The count.
-
hasState
boolean hasState()The state of the accelerator topology. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- Whether the state field is set.
-
getState
String getState()The state of the accelerator topology. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- The state.
-
getStateBytes
com.google.protobuf.ByteString getStateBytes()The state of the accelerator topology. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- The bytes for state.
-