Interface LocalNvmeSsdBlockConfigOrBuilder

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

@Generated public interface LocalNvmeSsdBlockConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of local NVMe SSDs to use.

    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 Details

    • getLocalSsdCount

      int getLocalSsdCount()
       Number of local NVMe SSDs to use.  The limit for this value is dependent
       upon the maximum number of disk available on a machine per zone. See:
       https://cloud.google.com/compute/docs/disks/local-ssd
       for more information.
      
       A zero (or unset) value has different meanings depending on machine type
       being used:
       1. For pre-Gen3 machines, which support flexible numbers of local ssds,
       zero (or unset) means to disable using local SSDs as ephemeral storage.
       2. For Gen3 machines which dictate a specific number of local ssds, zero
       (or unset) means to use the default number of local ssds that goes with
       that machine type. For example, for a c3-standard-8-lssd machine, 2 local
       ssds would be provisioned. For c3-standard-8 (which doesn't support local
       ssds), 0 will be provisioned. See
       https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
       for more info.
       
      int32 local_ssd_count = 1;
      Returns:
      The localSsdCount.