public static final class StorageResource.Builder extends GeneratedMessage.Builder<StorageResource.Builder> implements StorageResourceOrBuilderA resource representing a form of persistent storage that is accessible to 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()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 |
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()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 |
StorageResource.Builder |
|
clearLustre()
public StorageResource.Builder clearLustre()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 |
StorageResource.Builder |
|
clearReference()
public StorageResource.Builder clearReference()| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
BucketReference |
The bucket. |
getBucketBuilder()
public BucketReference.Builder getBucketBuilder()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.Builder |
|
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;
| 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()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. |
getFilestoreBuilder()
public FilestoreReference.Builder getFilestoreBuilder()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.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
FilestoreReferenceOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
LustreReference |
The lustre. |
getLustreBuilder()
public LustreReference.Builder getLustreBuilder()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.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
LustreReferenceOrBuilder |
|
getReferenceCase()
public StorageResource.ReferenceCase getReferenceCase()| Returns | |
|---|---|
| Type | Description |
StorageResource.ReferenceCase |
|
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. |
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)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;
| 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)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;
| 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)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;
| Parameter | |
|---|---|
| Name | Description |
value |
LustreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setBucket(BucketReference value)
public StorageResource.Builder setBucket(BucketReference value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
BucketReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setBucket(BucketReference.Builder builderForValue)
public StorageResource.Builder setBucket(BucketReference.Builder builderForValue)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;
| 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)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FilestoreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setFilestore(FilestoreReference.Builder builderForValue)
public StorageResource.Builder setFilestore(FilestoreReference.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FilestoreReference.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setLustre(LustreReference value)
public StorageResource.Builder setLustre(LustreReference value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
LustreReference |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
setLustre(LustreReference.Builder builderForValue)
public StorageResource.Builder setLustre(LustreReference.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LustreReference.Builder |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|