public static final class StorageResource.Builder extends GeneratedMessageV3.Builder<StorageResource.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StorageResource build()
buildPartial()
public StorageResource buildPartial()
clear()
public StorageResource.Builder clear()
Overrides
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;
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];
clearField(Descriptors.FieldDescriptor field)
public StorageResource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReference()
public StorageResource.Builder clearReference()
clone()
public StorageResource.Builder clone()
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;
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;
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];
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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;
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;
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;
getReferenceCase()
public StorageResource.ReferenceCase getReferenceCase()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
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];
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;
mergeFrom(StorageResource other)
public StorageResource.Builder mergeFrom(StorageResource other)
public StorageResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StorageResource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public StorageResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides