Class NewFilestoreConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.hypercomputecluster.v1.NewFilestoreConfig
All Implemented Interfaces:
NewFilestoreConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class NewFilestoreConfig extends com.google.protobuf.GeneratedMessage implements NewFilestoreConfigOrBuilder
 When set in a
 [StorageResourceConfig][google.cloud.hypercomputecluster.v1.StorageResourceConfig],
 indicates that a new [Filestore](https://cloud.google.com/filestore) instance
 should be created.
 
Protobuf type google.cloud.hypercomputecluster.v1.NewFilestoreConfig
See Also:
  • Field Details

  • 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
    • getFilestore

      public String getFilestore()
       Required. Immutable. Name of the Filestore instance to create, 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 NewFilestoreConfigOrBuilder
      Returns:
      The filestore.
    • getFilestoreBytes

      public com.google.protobuf.ByteString getFilestoreBytes()
       Required. Immutable. Name of the Filestore instance to create, 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 NewFilestoreConfigOrBuilder
      Returns:
      The bytes for filestore.
    • getDescription

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

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

      public List<FileShareConfig> getFileSharesList()
       Required. Immutable. File system shares on the instance. Exactly one file
       share must be specified.
       
      repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFileSharesList in interface NewFilestoreConfigOrBuilder
    • getFileSharesOrBuilderList

      public List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()
       Required. Immutable. File system shares on the instance. Exactly one file
       share must be specified.
       
      repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFileSharesOrBuilderList in interface NewFilestoreConfigOrBuilder
    • getFileSharesCount

      public int getFileSharesCount()
       Required. Immutable. File system shares on the instance. Exactly one file
       share must be specified.
       
      repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFileSharesCount in interface NewFilestoreConfigOrBuilder
    • getFileShares

      public FileShareConfig getFileShares(int index)
       Required. Immutable. File system shares on the instance. Exactly one file
       share must be specified.
       
      repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFileShares in interface NewFilestoreConfigOrBuilder
    • getFileSharesOrBuilder

      public FileShareConfigOrBuilder getFileSharesOrBuilder(int index)
       Required. Immutable. File system shares on the instance. Exactly one file
       share must be specified.
       
      repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFileSharesOrBuilder in interface NewFilestoreConfigOrBuilder
    • getTierValue

      public int getTierValue()
       Required. Immutable. Service tier to use for the instance.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getTierValue in interface NewFilestoreConfigOrBuilder
      Returns:
      The enum numeric value on the wire for tier.
    • getTier

      public NewFilestoreConfig.Tier getTier()
       Required. Immutable. Service tier to use for the instance.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getTier in interface NewFilestoreConfigOrBuilder
      Returns:
      The tier.
    • getProtocolValue

      public int getProtocolValue()
       Optional. Immutable. Access protocol to use for all file shares in the
       instance. Defaults to NFS V3 if not set.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getProtocolValue in interface NewFilestoreConfigOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • getProtocol

      public NewFilestoreConfig.Protocol getProtocol()
       Optional. Immutable. Access protocol to use for all file shares in the
       instance. Defaults to NFS V3 if not set.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getProtocol in interface NewFilestoreConfigOrBuilder
      Returns:
      The protocol.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NewFilestoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NewFilestoreConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NewFilestoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NewFilestoreConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NewFilestoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NewFilestoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NewFilestoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NewFilestoreConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NewFilestoreConfig.Builder newBuilder()
    • newBuilder

      public static NewFilestoreConfig.Builder newBuilder(NewFilestoreConfig prototype)
    • toBuilder

      public NewFilestoreConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NewFilestoreConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NewFilestoreConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NewFilestoreConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<NewFilestoreConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NewFilestoreConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder