Send feedback
Class StorageResource (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class StorageResource extends GeneratedMessageV3 implements StorageResourceOrBuilder
A resource representing a form of persistent storage that is accessible to
compute resources in the cluster.
Protobuf type google.cloud.hypercomputecluster.v1beta.StorageResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
Field Value
Type
Description
int
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
FILESTORE_FIELD_NUMBER
public static final int FILESTORE_FIELD_NUMBER
Field Value
Type
Description
int
LUSTRE_FIELD_NUMBER
public static final int LUSTRE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static StorageResource getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StorageResource . Builder newBuilder ()
newBuilder(StorageResource prototype)
public static StorageResource . Builder newBuilder ( StorageResource prototype )
public static StorageResource parseDelimitedFrom ( InputStream input )
public static StorageResource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StorageResource parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StorageResource parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StorageResource parseFrom ( CodedInputStream input )
public static StorageResource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StorageResource parseFrom ( InputStream input )
public static StorageResource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StorageResource parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StorageResource> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.v1beta.BucketReference bucket = 2;
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.v1beta.BucketReference bucket = 2;
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.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
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.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDefaultInstanceForType()
public StorageResource getDefaultInstanceForType ()
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.v1beta.FilestoreReference filestore = 1;
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.v1beta.FilestoreReference filestore = 1;
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.v1beta.LustreReference lustre = 3;
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.v1beta.LustreReference lustre = 3;
getParserForType()
public Parser<StorageResource> getParserForType ()
Overrides
getReferenceCase()
public StorageResource . ReferenceCase getReferenceCase ()
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.v1beta.BucketReference bucket = 2;
Returns
Type
Description
boolean
Whether the bucket field is set.
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.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
boolean
Whether the config field is set.
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.v1beta.FilestoreReference filestore = 1;
Returns
Type
Description
boolean
Whether the filestore field is set.
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.v1beta.LustreReference lustre = 3;
Returns
Type
Description
boolean
Whether the lustre field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StorageResource . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageResource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StorageResource . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]