Class ExistingFilestoreConfig.Builder

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

public static final class ExistingFilestoreConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExistingFilestoreConfig.Builder> implements ExistingFilestoreConfigOrBuilder
 When set in a
 [StorageResourceConfig][google.cloud.hypercomputecluster.v1.StorageResourceConfig],
 indicates that an existing [Filestore](https://cloud.google.com/filestore)
 instance should be imported.
 
Protobuf type google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig
  • 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<ExistingFilestoreConfig.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<ExistingFilestoreConfig.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<ExistingFilestoreConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public ExistingFilestoreConfig.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<ExistingFilestoreConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public ExistingFilestoreConfig.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<ExistingFilestoreConfig.Builder>
      Throws:
      IOException
    • getFilestore

      public String getFilestore()
       Required. Immutable. Name of the Filestore instance to import, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getFilestore in interface ExistingFilestoreConfigOrBuilder
      Returns:
      The filestore.
    • getFilestoreBytes

      public com.google.protobuf.ByteString getFilestoreBytes()
       Required. Immutable. Name of the Filestore instance to import, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getFilestoreBytes in interface ExistingFilestoreConfigOrBuilder
      Returns:
      The bytes for filestore.
    • setFilestore

      public ExistingFilestoreConfig.Builder setFilestore(String value)
       Required. Immutable. Name of the Filestore instance to import, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The filestore to set.
      Returns:
      This builder for chaining.
    • clearFilestore

      public ExistingFilestoreConfig.Builder clearFilestore()
       Required. Immutable. Name of the Filestore instance to import, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setFilestoreBytes

      public ExistingFilestoreConfig.Builder setFilestoreBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Name of the Filestore instance to import, in the
       format `projects/{project}/locations/{location}/instances/{instance}`
       
      string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for filestore to set.
      Returns:
      This builder for chaining.