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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticStorageResource.BuildernewBuilder()
newBuilder(StorageResource prototype)
publicstaticStorageResource.BuildernewBuilder(StorageResourceprototype)
publicstaticStorageResourceparseDelimitedFrom(InputStreaminput)
publicstaticStorageResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticStorageResourceparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticStorageResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticStorageResourceparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticStorageResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticStorageResourceparseFrom(CodedInputStreaminput)
publicstaticStorageResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticStorageResourceparseFrom(InputStreaminput)
publicstaticStorageResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticStorageResourceparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticStorageResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<StorageResource>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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;
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];
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];
getDefaultInstanceForType()
publicStorageResourcegetDefaultInstanceForType()
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;
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;
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;
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;
getParserForType()
publicParser<StorageResource>getParserForType()
Overrides
getReferenceCase()
publicStorageResource.ReferenceCasegetReferenceCase()
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
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()
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()
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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicStorageResource.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedStorageResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicStorageResource.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides