Class StorageResourceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StorageResourceConfig.Builder>
com.google.cloud.hypercomputecluster.v1.StorageResourceConfig.Builder
- All Implemented Interfaces:
StorageResourceConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StorageResourceConfig
public static final class StorageResourceConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StorageResourceConfig.Builder>
implements StorageResourceConfigOrBuilder
Describes how a storage resource should be initialized. Each storage resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.Protobuf type
google.cloud.hypercomputecluster.v1.StorageResourceConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Optional.Optional.mergeFrom(StorageResourceConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNewBucket(NewBucketConfig value) Optional.Optional.mergeNewLustre(NewLustreConfig value) Optional.Optional.setExistingBucket(ExistingBucketConfig.Builder builderForValue) Optional.Optional.setExistingFilestore(ExistingFilestoreConfig.Builder builderForValue) Optional.Optional.setExistingLustre(ExistingLustreConfig.Builder builderForValue) Optional.setNewBucket(NewBucketConfig value) Optional.setNewBucket(NewBucketConfig.Builder builderForValue) Optional.Optional.setNewFilestore(NewFilestoreConfig.Builder builderForValue) Optional.setNewLustre(NewLustreConfig value) Optional.setNewLustre(NewLustreConfig.Builder builderForValue) Optional.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<StorageResourceConfig.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<StorageResourceConfig.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<StorageResourceConfig.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<StorageResourceConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StorageResourceConfig.Builder>
-
mergeFrom
public StorageResourceConfig.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<StorageResourceConfig.Builder>- Throws:
IOException
-
getConfigCase
- Specified by:
getConfigCasein interfaceStorageResourceConfigOrBuilder
-
clearConfig
-
hasNewFilestore
public boolean hasNewFilestore()Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasNewFilestorein interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the newFilestore field is set.
-
getNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewFilestorein interfaceStorageResourceConfigOrBuilder- Returns:
- The newFilestore.
-
setNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewFilestoreBuilder
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewFilestoreOrBuilder
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewFilestoreOrBuilderin interfaceStorageResourceConfigOrBuilder
-
hasExistingFilestore
public boolean hasExistingFilestore()Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExistingFilestorein interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the existingFilestore field is set.
-
getExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingFilestorein interfaceStorageResourceConfigOrBuilder- Returns:
- The existingFilestore.
-
setExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setExistingFilestore
public StorageResourceConfig.Builder setExistingFilestore(ExistingFilestoreConfig.Builder builderForValue) Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingFilestoreBuilder
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingFilestoreOrBuilder
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingFilestoreOrBuilderin interfaceStorageResourceConfigOrBuilder
-
hasNewBucket
public boolean hasNewBucket()Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasNewBucketin interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the newBucket field is set.
-
getNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewBucketin interfaceStorageResourceConfigOrBuilder- Returns:
- The newBucket.
-
setNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewBucketBuilder
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewBucketOrBuilder
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
.google.cloud.hypercomputecluster.v1.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewBucketOrBuilderin interfaceStorageResourceConfigOrBuilder
-
hasExistingBucket
public boolean hasExistingBucket()Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExistingBucketin interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the existingBucket field is set.
-
getExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingBucketin interfaceStorageResourceConfigOrBuilder- Returns:
- The existingBucket.
-
setExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setExistingBucket
public StorageResourceConfig.Builder setExistingBucket(ExistingBucketConfig.Builder builderForValue) Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingBucketBuilder
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingBucketOrBuilder
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
.google.cloud.hypercomputecluster.v1.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingBucketOrBuilderin interfaceStorageResourceConfigOrBuilder
-
hasNewLustre
public boolean hasNewLustre()Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasNewLustrein interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the newLustre field is set.
-
getNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewLustrein interfaceStorageResourceConfigOrBuilder- Returns:
- The newLustre.
-
setNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewLustreBuilder
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getNewLustreOrBuilder
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
.google.cloud.hypercomputecluster.v1.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNewLustreOrBuilderin interfaceStorageResourceConfigOrBuilder
-
hasExistingLustre
public boolean hasExistingLustre()Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExistingLustrein interfaceStorageResourceConfigOrBuilder- Returns:
- Whether the existingLustre field is set.
-
getExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingLustrein interfaceStorageResourceConfigOrBuilder- Returns:
- The existingLustre.
-
setExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
setExistingLustre
public StorageResourceConfig.Builder setExistingLustre(ExistingLustreConfig.Builder builderForValue) Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
mergeExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
clearExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingLustreBuilder
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; -
getExistingLustreOrBuilder
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
.google.cloud.hypercomputecluster.v1.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExistingLustreOrBuilderin interfaceStorageResourceConfigOrBuilder
-