Class StorageResource

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

@Generated public final class StorageResource extends com.google.protobuf.GeneratedMessage implements StorageResourceOrBuilder
 A resource representing a form of persistent storage that is accessible to
 compute resources in the cluster.
 
Protobuf type google.cloud.hypercomputecluster.v1.StorageResource
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
    • getReferenceCase

      public StorageResource.ReferenceCase getReferenceCase()
      Specified by:
      getReferenceCase in interface StorageResourceOrBuilder
    • hasFilestore

      public boolean hasFilestore()
       Reference to a Filestore instance. Populated if and only if the storage
       resource was configured to use Filestore.
       
      .google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1;
      Specified by:
      hasFilestore in interface StorageResourceOrBuilder
      Returns:
      Whether the filestore field is set.
    • getFilestore

      public FilestoreReference getFilestore()
       Reference to a Filestore instance. Populated if and only if the storage
       resource was configured to use Filestore.
       
      .google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1;
      Specified by:
      getFilestore in interface StorageResourceOrBuilder
      Returns:
      The filestore.
    • getFilestoreOrBuilder

      public FilestoreReferenceOrBuilder getFilestoreOrBuilder()
       Reference to a Filestore instance. Populated if and only if the storage
       resource was configured to use Filestore.
       
      .google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1;
      Specified by:
      getFilestoreOrBuilder in interface StorageResourceOrBuilder
    • hasBucket

      public boolean hasBucket()
       Reference to a Google Cloud Storage bucket. Populated if and only if the
       storage resource was configured to use Google Cloud Storage.
       
      .google.cloud.hypercomputecluster.v1.BucketReference bucket = 2;
      Specified by:
      hasBucket in interface StorageResourceOrBuilder
      Returns:
      Whether the bucket field is set.
    • getBucket

      public BucketReference getBucket()
       Reference to a Google Cloud Storage bucket. Populated if and only if the
       storage resource was configured to use Google Cloud Storage.
       
      .google.cloud.hypercomputecluster.v1.BucketReference bucket = 2;
      Specified by:
      getBucket in interface StorageResourceOrBuilder
      Returns:
      The bucket.
    • getBucketOrBuilder

      public BucketReferenceOrBuilder getBucketOrBuilder()
       Reference to a Google Cloud Storage bucket. Populated if and only if the
       storage resource was configured to use Google Cloud Storage.
       
      .google.cloud.hypercomputecluster.v1.BucketReference bucket = 2;
      Specified by:
      getBucketOrBuilder in interface StorageResourceOrBuilder
    • hasLustre

      public boolean hasLustre()
       Reference to a Managed Lustre instance. Populated if and only if the
       storage resource was configured to use Managed Lustre.
       
      .google.cloud.hypercomputecluster.v1.LustreReference lustre = 3;
      Specified by:
      hasLustre in interface StorageResourceOrBuilder
      Returns:
      Whether the lustre field is set.
    • getLustre

      public LustreReference getLustre()
       Reference to a Managed Lustre instance. Populated if and only if the
       storage resource was configured to use Managed Lustre.
       
      .google.cloud.hypercomputecluster.v1.LustreReference lustre = 3;
      Specified by:
      getLustre in interface StorageResourceOrBuilder
      Returns:
      The lustre.
    • getLustreOrBuilder

      public LustreReferenceOrBuilder getLustreOrBuilder()
       Reference to a Managed Lustre instance. Populated if and only if the
       storage resource was configured to use Managed Lustre.
       
      .google.cloud.hypercomputecluster.v1.LustreReference lustre = 3;
      Specified by:
      getLustreOrBuilder in interface StorageResourceOrBuilder
    • hasConfig

      public boolean hasConfig()
       Required. Immutable. Configuration for this storage resource, which
       describes how it should be created or imported. This field only controls
       how the storage resource is initially created or imported. Subsequent
       changes to the storage resource should be made via the resource's API and
       will not be reflected in the configuration.
       
      .google.cloud.hypercomputecluster.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasConfig in interface StorageResourceOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public StorageResourceConfig getConfig()
       Required. Immutable. Configuration for this storage resource, which
       describes how it should be created or imported. This field only controls
       how the storage resource is initially created or imported. Subsequent
       changes to the storage resource should be made via the resource's API and
       will not be reflected in the configuration.
       
      .google.cloud.hypercomputecluster.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getConfig in interface StorageResourceOrBuilder
      Returns:
      The config.
    • getConfigOrBuilder

      public StorageResourceConfigOrBuilder getConfigOrBuilder()
       Required. Immutable. Configuration for this storage resource, which
       describes how it should be created or imported. This field only controls
       how the storage resource is initially created or imported. Subsequent
       changes to the storage resource should be made via the resource's API and
       will not be reflected in the configuration.
       
      .google.cloud.hypercomputecluster.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getConfigOrBuilder in interface StorageResourceOrBuilder
    • 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 StorageResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static StorageResource.Builder newBuilder()
    • newBuilder

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

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

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

      public static StorageResource getDefaultInstance()
    • parser

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

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