Class StorageResource (0.1.0)

publicfinalclass StorageResourceextendsGeneratedMessageV3implementsStorageResourceOrBuilder

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

publicstaticfinalintBUCKET_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_FIELD_NUMBER

publicstaticfinalintCONFIG_FIELD_NUMBER
Field Value
Type Description
int

FILESTORE_FIELD_NUMBER

publicstaticfinalintFILESTORE_FIELD_NUMBER
Field Value
Type Description
int

LUSTRE_FIELD_NUMBER

publicstaticfinalintLUSTRE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticStorageResourcegetDefaultInstance()
Returns
Type Description
StorageResource

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticStorageResource.BuildernewBuilder()
Returns
Type Description
StorageResource.Builder

newBuilder(StorageResource prototype)

publicstaticStorageResource.BuildernewBuilder(StorageResourceprototype)
Parameter
Name Description
prototype StorageResource
Returns
Type Description
StorageResource.Builder

parseDelimitedFrom(InputStream input)

publicstaticStorageResourceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticStorageResourceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticStorageResourceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticStorageResourceparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticStorageResourceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticStorageResourceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<StorageResource>parser()
Returns
Type Description
Parser<StorageResource>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBucket()

publicBucketReferencegetBucket()

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
BucketReference

The bucket.

getBucketOrBuilder()

publicBucketReferenceOrBuildergetBucketOrBuilder()

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
BucketReferenceOrBuilder

getConfig()

publicStorageResourceConfiggetConfig()

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
StorageResourceConfig

The config.

getConfigOrBuilder()

publicStorageResourceConfigOrBuildergetConfigOrBuilder()

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
StorageResourceConfigOrBuilder

getDefaultInstanceForType()

publicStorageResourcegetDefaultInstanceForType()
Returns
Type Description
StorageResource

getFilestore()

publicFilestoreReferencegetFilestore()

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
FilestoreReference

The filestore.

getFilestoreOrBuilder()

publicFilestoreReferenceOrBuildergetFilestoreOrBuilder()

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
FilestoreReferenceOrBuilder

getLustre()

publicLustreReferencegetLustre()

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
LustreReference

The lustre.

getLustreOrBuilder()

publicLustreReferenceOrBuildergetLustreOrBuilder()

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
LustreReferenceOrBuilder

getParserForType()

publicParser<StorageResource>getParserForType()
Returns
Type Description
Parser<StorageResource>
Overrides

getReferenceCase()

publicStorageResource.ReferenceCasegetReferenceCase()
Returns
Type Description
StorageResource.ReferenceCase

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasBucket()

publicbooleanhasBucket()

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()

publicbooleanhasConfig()

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()

publicbooleanhasFilestore()

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()

publicbooleanhasLustre()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicStorageResource.BuildernewBuilderForType()
Returns
Type Description
StorageResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedStorageResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StorageResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicStorageResource.BuildertoBuilder()
Returns
Type Description
StorageResource.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.