Class StorageResource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StorageResource.Builder>
com.google.cloud.hypercomputecluster.v1.StorageResource.Builder
- All Implemented Interfaces:
StorageResourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StorageResource
public static final class StorageResource.Builder
extends com.google.protobuf.GeneratedMessage.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.v1.StorageResource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Reference to a Google Cloud Storage bucket.Required.Reference to a Filestore instance.Reference to a Managed Lustre instance.Reference to a Google Cloud Storage bucket.Reference to a Google Cloud Storage bucket.Reference to a Google Cloud Storage bucket.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorReference to a Filestore instance.Reference to a Filestore instance.Reference to a Filestore instance.Reference to a Managed Lustre instance.Reference to a Managed Lustre instance.Reference to a Managed Lustre instance.booleanReference to a Google Cloud Storage bucket.booleanRequired.booleanReference to a Filestore instance.booleanReference to a Managed Lustre instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBucket(BucketReference value) Reference to a Google Cloud Storage bucket.mergeConfig(StorageResourceConfig value) Required.mergeFilestore(FilestoreReference value) Reference to a Filestore instance.mergeFrom(StorageResource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLustre(LustreReference value) Reference to a Managed Lustre instance.setBucket(BucketReference value) Reference to a Google Cloud Storage bucket.setBucket(BucketReference.Builder builderForValue) Reference to a Google Cloud Storage bucket.setConfig(StorageResourceConfig value) Required.setConfig(StorageResourceConfig.Builder builderForValue) Required.setFilestore(FilestoreReference value) Reference to a Filestore instance.setFilestore(FilestoreReference.Builder builderForValue) Reference to a Filestore instance.setLustre(LustreReference value) Reference to a Managed Lustre instance.setLustre(LustreReference.Builder builderForValue) Reference to a Managed Lustre instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StorageResource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StorageResource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StorageResource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StorageResource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StorageResource.Builder>
-
mergeFrom
public StorageResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StorageResource.Builder>- Throws:
IOException
-
getReferenceCase
- Specified by:
getReferenceCasein interfaceStorageResourceOrBuilder
-
clearReference
-
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.v1.FilestoreReference filestore = 1;- Specified by:
hasFilestorein interfaceStorageResourceOrBuilder- Returns:
- Whether the filestore field is set.
-
getFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1;- Specified by:
getFilestorein interfaceStorageResourceOrBuilder- Returns:
- The filestore.
-
setFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1; -
setFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1; -
mergeFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1; -
clearFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1; -
getFilestoreBuilder
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1; -
getFilestoreOrBuilder
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1.FilestoreReference filestore = 1;- Specified by:
getFilestoreOrBuilderin interfaceStorageResourceOrBuilder
-
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.v1.BucketReference bucket = 2;- Specified by:
hasBucketin interfaceStorageResourceOrBuilder- Returns:
- Whether the bucket field is set.
-
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.v1.BucketReference bucket = 2;- Specified by:
getBucketin interfaceStorageResourceOrBuilder- Returns:
- The bucket.
-
setBucket
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.v1.BucketReference bucket = 2; -
setBucket
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.v1.BucketReference bucket = 2; -
mergeBucket
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.v1.BucketReference bucket = 2; -
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.v1.BucketReference bucket = 2; -
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.v1.BucketReference bucket = 2; -
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.v1.BucketReference bucket = 2;- Specified by:
getBucketOrBuilderin interfaceStorageResourceOrBuilder
-
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.v1.LustreReference lustre = 3;- Specified by:
hasLustrein interfaceStorageResourceOrBuilder- Returns:
- Whether the lustre field is set.
-
getLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3;- Specified by:
getLustrein interfaceStorageResourceOrBuilder- Returns:
- The lustre.
-
setLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3; -
setLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3; -
mergeLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3; -
clearLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3; -
getLustreBuilder
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3; -
getLustreOrBuilder
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1.LustreReference lustre = 3;- Specified by:
getLustreOrBuilderin interfaceStorageResourceOrBuilder
-
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasConfigin interfaceStorageResourceOrBuilder- Returns:
- Whether the config field is set.
-
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigin interfaceStorageResourceOrBuilder- Returns:
- The config.
-
setConfig
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; -
setConfig
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; -
mergeConfig
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; -
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; -
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; -
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.v1.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigOrBuilderin interfaceStorageResourceOrBuilder
-