Class EphemeralStorageLocalSsdConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EphemeralStorageLocalSsdConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EphemeralStorageLocalSsdConfig.Builder>
      • getDefaultInstanceForType

        public EphemeralStorageLocalSsdConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public EphemeralStorageLocalSsdConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public EphemeralStorageLocalSsdConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EphemeralStorageLocalSsdConfig.Builder>
      • getLocalSsdCount

        public int getLocalSsdCount()
         Number of local SSDs to use to back ephemeral storage. Uses NVMe
         interfaces. Each local SSD is 375 GB in size.
         If zero, it means to disable using local SSDs as ephemeral storage.
         The limit for this value is dependent upon the maximum number of
         disks available on a machine per zone. See:
         https://cloud.google.com/compute/docs/disks/local-ssd
         for more information.
         
        int32 local_ssd_count = 1;
        Specified by:
        getLocalSsdCount in interface EphemeralStorageLocalSsdConfigOrBuilder
        Returns:
        The localSsdCount.
      • setLocalSsdCount

        public EphemeralStorageLocalSsdConfig.Builder setLocalSsdCount​(int value)
         Number of local SSDs to use to back ephemeral storage. Uses NVMe
         interfaces. Each local SSD is 375 GB in size.
         If zero, it means to disable using local SSDs as ephemeral storage.
         The limit for this value is dependent upon the maximum number of
         disks available on a machine per zone. See:
         https://cloud.google.com/compute/docs/disks/local-ssd
         for more information.
         
        int32 local_ssd_count = 1;
        Parameters:
        value - The localSsdCount to set.
        Returns:
        This builder for chaining.
      • clearLocalSsdCount

        public EphemeralStorageLocalSsdConfig.Builder clearLocalSsdCount()
         Number of local SSDs to use to back ephemeral storage. Uses NVMe
         interfaces. Each local SSD is 375 GB in size.
         If zero, it means to disable using local SSDs as ephemeral storage.
         The limit for this value is dependent upon the maximum number of
         disks available on a machine per zone. See:
         https://cloud.google.com/compute/docs/disks/local-ssd
         for more information.
         
        int32 local_ssd_count = 1;
        Returns:
        This builder for chaining.