public static final class StorageResource.Builder extends GeneratedMessage.Builder<StorageResource.Builder> implements StorageResourceOrBuilderRepresents a form of persistent storage that you can mount onto compute resources in the cluster.
Protobuf type google.cloud.hypercomputecluster.v1beta.StorageResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StorageResource.BuilderImplements
StorageResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StorageResource build()| Returns | |
|---|---|
| Type | Description |
StorageResource |
|
buildPartial()
public StorageResource buildPartial()| Returns | |
|---|---|
| Type | Description |
StorageResource |
|
clear()
public StorageResource.Builder clear()| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
clearBucket()
public StorageResource.Builder clearBucket()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
clearConfig()
public StorageResource.Builder clearConfig()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 |
StorageResource.Builder |
|
clearFilestore()
public StorageResource.Builder clearFilestore()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
clearLustre()
public StorageResource.Builder clearLustre()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
clearReference()
public StorageResource.Builder clearReference()| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
getBucket()
public BucketReference getBucket()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BucketReference |
The bucket. |
getBucketBuilder()
public BucketReference.Builder getBucketBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BucketReference.Builder |
|
getBucketOrBuilder()
public BucketReferenceOrBuilder getBucketOrBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BucketReferenceOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
StorageResourceConfig |
The config. |
getConfigBuilder()
public StorageResourceConfig.Builder getConfigBuilder()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.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
StorageResourceConfigOrBuilder |
|
getDefaultInstanceForType()
public StorageResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StorageResource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilestore()
public FilestoreReference getFilestore()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilestoreReference |
The filestore. |
getFilestoreBuilder()
public FilestoreReference.Builder getFilestoreBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilestoreReference.Builder |
|
getFilestoreOrBuilder()
public FilestoreReferenceOrBuilder getFilestoreOrBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilestoreReferenceOrBuilder |
|
getLustre()
public LustreReference getLustre()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LustreReference |
The lustre. |
getLustreBuilder()
public LustreReference.Builder getLustreBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LustreReference.Builder |
|
getLustreOrBuilder()
public LustreReferenceOrBuilder getLustreOrBuilder()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
LustreReferenceOrBuilder |
|
getReferenceCase()
public StorageResource.ReferenceCase getReferenceCase()| Returns | |
|---|---|
| Type | Description |
StorageResource.ReferenceCase |
|
hasBucket()
public boolean hasBucket()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the filestore field is set. |
hasLustre()
public boolean hasLustre()Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lustre field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBucket(BucketReference value)
public StorageResource.Builder mergeBucket(BucketReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BucketReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
mergeConfig(StorageResourceConfig value)
public StorageResource.Builder mergeConfig(StorageResourceConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StorageResourceConfig |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
mergeFilestore(FilestoreReference value)
public StorageResource.Builder mergeFilestore(FilestoreReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FilestoreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
mergeFrom(StorageResource other)
public StorageResource.Builder mergeFrom(StorageResource other)| Parameter | |
|---|---|
| Name | Description |
other |
StorageResource |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StorageResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StorageResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
mergeLustre(LustreReference value)
public StorageResource.Builder mergeLustre(LustreReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
LustreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setBucket(BucketReference value)
public StorageResource.Builder setBucket(BucketReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BucketReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setBucket(BucketReference.Builder builderForValue)
public StorageResource.Builder setBucket(BucketReference.Builder builderForValue)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BucketReference.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setConfig(StorageResourceConfig value)
public StorageResource.Builder setConfig(StorageResourceConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StorageResourceConfig |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setConfig(StorageResourceConfig.Builder builderForValue)
public StorageResource.Builder setConfig(StorageResourceConfig.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageResourceConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setFilestore(FilestoreReference value)
public StorageResource.Builder setFilestore(FilestoreReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FilestoreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setFilestore(FilestoreReference.Builder builderForValue)
public StorageResource.Builder setFilestore(FilestoreReference.Builder builderForValue)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FilestoreReference.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setLustre(LustreReference value)
public StorageResource.Builder setLustre(LustreReference value)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
LustreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setLustre(LustreReference.Builder builderForValue)
public StorageResource.Builder setLustre(LustreReference.Builder builderForValue)Output only. A 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LustreReference.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|