Class NewLustreConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NewLustreConfig.Builder>
com.google.cloud.hypercomputecluster.v1.NewLustreConfig.Builder
All Implemented Interfaces:
NewLustreConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NewLustreConfig

public static final class NewLustreConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<NewLustreConfig.Builder> implements NewLustreConfigOrBuilder
 When set in a
 [StorageResourceConfig][google.cloud.hypercomputecluster.v1.StorageResourceConfig],
 indicates that a new [Managed
 Lustre](https://cloud.google.com/products/managed-lustre) instance should be
 created.
 
Protobuf type google.cloud.hypercomputecluster.v1.NewLustreConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NewLustreConfig.Builder>
    • clear

      public NewLustreConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NewLustreConfig.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.GeneratedMessage.Builder<NewLustreConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public NewLustreConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NewLustreConfig.Builder>
    • mergeFrom

      public NewLustreConfig.Builder mergeFrom(NewLustreConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NewLustreConfig.Builder>
    • mergeFrom

      public NewLustreConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NewLustreConfig.Builder>
      Throws:
      IOException
    • getLustre

      public String getLustre()
       Required. Immutable. Name of the Managed Lustre instance to create, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getLustre in interface NewLustreConfigOrBuilder
      Returns:
      The lustre.
    • getLustreBytes

      public com.google.protobuf.ByteString getLustreBytes()
       Required. Immutable. Name of the Managed Lustre instance to create, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getLustreBytes in interface NewLustreConfigOrBuilder
      Returns:
      The bytes for lustre.
    • setLustre

      public NewLustreConfig.Builder setLustre(String value)
       Required. Immutable. Name of the Managed Lustre instance to create, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The lustre to set.
      Returns:
      This builder for chaining.
    • clearLustre

      public NewLustreConfig.Builder clearLustre()
       Required. Immutable. Name of the Managed Lustre instance to create, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setLustreBytes

      public NewLustreConfig.Builder setLustreBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Name of the Managed Lustre instance to create, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for lustre to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Immutable. Description of the Managed Lustre instance. Maximum of
       2048 characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getDescription in interface NewLustreConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Immutable. Description of the Managed Lustre instance. Maximum of
       2048 characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getDescriptionBytes in interface NewLustreConfigOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public NewLustreConfig.Builder setDescription(String value)
       Optional. Immutable. Description of the Managed Lustre instance. Maximum of
       2048 characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public NewLustreConfig.Builder clearDescription()
       Optional. Immutable. Description of the Managed Lustre instance. Maximum of
       2048 characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public NewLustreConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. Description of the Managed Lustre instance. Maximum of
       2048 characters.
       
      string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getFilesystem

      public String getFilesystem()
       Required. Immutable. Filesystem name for this instance. This name is used
       by client-side tools, including when mounting the instance. Must be 8
       characters or less and can only contain letters and numbers.
       
      string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFilesystem in interface NewLustreConfigOrBuilder
      Returns:
      The filesystem.
    • getFilesystemBytes

      public com.google.protobuf.ByteString getFilesystemBytes()
       Required. Immutable. Filesystem name for this instance. This name is used
       by client-side tools, including when mounting the instance. Must be 8
       characters or less and can only contain letters and numbers.
       
      string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFilesystemBytes in interface NewLustreConfigOrBuilder
      Returns:
      The bytes for filesystem.
    • setFilesystem

      public NewLustreConfig.Builder setFilesystem(String value)
       Required. Immutable. Filesystem name for this instance. This name is used
       by client-side tools, including when mounting the instance. Must be 8
       characters or less and can only contain letters and numbers.
       
      string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The filesystem to set.
      Returns:
      This builder for chaining.
    • clearFilesystem

      public NewLustreConfig.Builder clearFilesystem()
       Required. Immutable. Filesystem name for this instance. This name is used
       by client-side tools, including when mounting the instance. Must be 8
       characters or less and can only contain letters and numbers.
       
      string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setFilesystemBytes

      public NewLustreConfig.Builder setFilesystemBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Filesystem name for this instance. This name is used
       by client-side tools, including when mounting the instance. Must be 8
       characters or less and can only contain letters and numbers.
       
      string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for filesystem to set.
      Returns:
      This builder for chaining.
    • getCapacityGb

      public long getCapacityGb()
       Required. Immutable. Storage capacity of the instance in gibibytes (GiB).
       Allowed values are between 18000 and 7632000.
       
      int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCapacityGb in interface NewLustreConfigOrBuilder
      Returns:
      The capacityGb.
    • setCapacityGb

      public NewLustreConfig.Builder setCapacityGb(long value)
       Required. Immutable. Storage capacity of the instance in gibibytes (GiB).
       Allowed values are between 18000 and 7632000.
       
      int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The capacityGb to set.
      Returns:
      This builder for chaining.
    • clearCapacityGb

      public NewLustreConfig.Builder clearCapacityGb()
       Required. Immutable. Storage capacity of the instance in gibibytes (GiB).
       Allowed values are between 18000 and 7632000.
       
      int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.