Class StorageResourceConfig

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

@Generated public final class StorageResourceConfig extends com.google.protobuf.GeneratedMessage implements StorageResourceConfigOrBuilder
 Describes how a storage resource should be initialized. Each storage resource
 can either be imported from an existing Google Cloud resource or initialized
 when the cluster is created.
 
Protobuf type google.cloud.hypercomputecluster.v1.StorageResourceConfig
See Also:
  • Field Details

    • NEW_FILESTORE_FIELD_NUMBER

      public static final int NEW_FILESTORE_FIELD_NUMBER
      See Also:
    • EXISTING_FILESTORE_FIELD_NUMBER

      public static final int EXISTING_FILESTORE_FIELD_NUMBER
      See Also:
    • NEW_BUCKET_FIELD_NUMBER

      public static final int NEW_BUCKET_FIELD_NUMBER
      See Also:
    • EXISTING_BUCKET_FIELD_NUMBER

      public static final int EXISTING_BUCKET_FIELD_NUMBER
      See Also:
    • NEW_LUSTRE_FIELD_NUMBER

      public static final int NEW_LUSTRE_FIELD_NUMBER
      See Also:
    • EXISTING_LUSTRE_FIELD_NUMBER

      public static final int EXISTING_LUSTRE_FIELD_NUMBER
      See Also:
  • 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
    • getConfigCase

      public StorageResourceConfig.ConfigCase getConfigCase()
      Specified by:
      getConfigCase in interface StorageResourceConfigOrBuilder
    • hasNewFilestore

      public boolean hasNewFilestore()
       Optional. Immutable. If set, indicates that a new Filestore instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasNewFilestore in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the newFilestore field is set.
    • getNewFilestore

      public NewFilestoreConfig getNewFilestore()
       Optional. Immutable. If set, indicates that a new Filestore instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewFilestore in interface StorageResourceConfigOrBuilder
      Returns:
      The newFilestore.
    • getNewFilestoreOrBuilder

      public NewFilestoreConfigOrBuilder getNewFilestoreOrBuilder()
       Optional. Immutable. If set, indicates that a new Filestore instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewFilestoreOrBuilder in interface StorageResourceConfigOrBuilder
    • hasExistingFilestore

      public boolean hasExistingFilestore()
       Optional. Immutable. If set, indicates that an existing Filestore
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasExistingFilestore in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the existingFilestore field is set.
    • getExistingFilestore

      public ExistingFilestoreConfig getExistingFilestore()
       Optional. Immutable. If set, indicates that an existing Filestore
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingFilestore in interface StorageResourceConfigOrBuilder
      Returns:
      The existingFilestore.
    • getExistingFilestoreOrBuilder

      public ExistingFilestoreConfigOrBuilder getExistingFilestoreOrBuilder()
       Optional. Immutable. If set, indicates that an existing Filestore
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingFilestoreOrBuilder in interface StorageResourceConfigOrBuilder
    • hasNewBucket

      public boolean hasNewBucket()
       Optional. Immutable. If set, indicates that a new Cloud Storage bucket
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasNewBucket in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the newBucket field is set.
    • getNewBucket

      public NewBucketConfig getNewBucket()
       Optional. Immutable. If set, indicates that a new Cloud Storage bucket
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewBucket in interface StorageResourceConfigOrBuilder
      Returns:
      The newBucket.
    • getNewBucketOrBuilder

      public NewBucketConfigOrBuilder getNewBucketOrBuilder()
       Optional. Immutable. If set, indicates that a new Cloud Storage bucket
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewBucketOrBuilder in interface StorageResourceConfigOrBuilder
    • hasExistingBucket

      public boolean hasExistingBucket()
       Optional. Immutable. If set, indicates that an existing Cloud Storage
       bucket should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasExistingBucket in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the existingBucket field is set.
    • getExistingBucket

      public ExistingBucketConfig getExistingBucket()
       Optional. Immutable. If set, indicates that an existing Cloud Storage
       bucket should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingBucket in interface StorageResourceConfigOrBuilder
      Returns:
      The existingBucket.
    • getExistingBucketOrBuilder

      public ExistingBucketConfigOrBuilder getExistingBucketOrBuilder()
       Optional. Immutable. If set, indicates that an existing Cloud Storage
       bucket should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingBucketOrBuilder in interface StorageResourceConfigOrBuilder
    • hasNewLustre

      public boolean hasNewLustre()
       Optional. Immutable. If set, indicates that a new Managed Lustre instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasNewLustre in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the newLustre field is set.
    • getNewLustre

      public NewLustreConfig getNewLustre()
       Optional. Immutable. If set, indicates that a new Managed Lustre instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewLustre in interface StorageResourceConfigOrBuilder
      Returns:
      The newLustre.
    • getNewLustreOrBuilder

      public NewLustreConfigOrBuilder getNewLustreOrBuilder()
       Optional. Immutable. If set, indicates that a new Managed Lustre instance
       should be created.
       
      .google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNewLustreOrBuilder in interface StorageResourceConfigOrBuilder
    • hasExistingLustre

      public boolean hasExistingLustre()
       Optional. Immutable. If set, indicates that an existing Managed Lustre
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasExistingLustre in interface StorageResourceConfigOrBuilder
      Returns:
      Whether the existingLustre field is set.
    • getExistingLustre

      public ExistingLustreConfig getExistingLustre()
       Optional. Immutable. If set, indicates that an existing Managed Lustre
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingLustre in interface StorageResourceConfigOrBuilder
      Returns:
      The existingLustre.
    • getExistingLustreOrBuilder

      public ExistingLustreConfigOrBuilder getExistingLustreOrBuilder()
       Optional. Immutable. If set, indicates that an existing Managed Lustre
       instance should be imported.
       
      .google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExistingLustreOrBuilder in interface StorageResourceConfigOrBuilder
    • 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 StorageResourceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static StorageResourceConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static StorageResourceConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StorageResourceConfig> 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 StorageResourceConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder