Interface NodeTypeConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    NodeTypeConfig, NodeTypeConfig.Builder

    public interface NodeTypeConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCustomCoreCount()
      Optional.
      int getNodeCount()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getNodeCount

        int getNodeCount()
         Required. The number of nodes of this type in the cluster
         
        int32 node_count = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The nodeCount.
      • getCustomCoreCount

        int getCustomCoreCount()
         Optional. Customized number of cores available to each node of the type.
         This number must always be one of `nodeType.availableCustomCoreCounts`.
         If zero is provided max value from `nodeType.availableCustomCoreCounts`
         will be used.
         
        int32 custom_core_count = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The customCoreCount.