Send feedback
Class StorageConfig.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class StorageConfig . Builder extends GeneratedMessageV3 . Builder<StorageConfig . Builder > implements StorageConfigOrBuilder
Description of how a storage
resource should be
mounted on a VM instance.
Protobuf type google.cloud.hypercomputecluster.v1beta.StorageConfig
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 StorageConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StorageConfig build ()
buildPartial()
public StorageConfig buildPartial ()
clear()
public StorageConfig . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StorageConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearId()
public StorageConfig . Builder clearId ()
Required. ID of the storage resource to mount, which must match a key in
the cluster's storage_resources .
string id = 1 [(.google.api.field_behavior) = REQUIRED];
clearLocalMount()
public StorageConfig . Builder clearLocalMount ()
Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., /mnt/share).
string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public StorageConfig . Builder clone ()
Overrides
getDefaultInstanceForType()
public StorageConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getId()
Required. ID of the storage resource to mount, which must match a key in
the cluster's storage_resources .
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The id.
getIdBytes()
public ByteString getIdBytes ()
Required. ID of the storage resource to mount, which must match a key in
the cluster's storage_resources .
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for id.
getLocalMount()
public String getLocalMount ()
Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., /mnt/share).
string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The localMount.
getLocalMountBytes()
public ByteString getLocalMountBytes ()
Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., /mnt/share).
string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for localMount.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(StorageConfig other)
public StorageConfig . Builder mergeFrom ( StorageConfig other )
public StorageConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StorageConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StorageConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setId(String value)
public StorageConfig . Builder setId ( String value )
Required. ID of the storage resource to mount, which must match a key in
the cluster's storage_resources .
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String The id to set.
setIdBytes(ByteString value)
public StorageConfig . Builder setIdBytes ( ByteString value )
Required. ID of the storage resource to mount, which must match a key in
the cluster's storage_resources .
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString The bytes for id to set.
setLocalMount(String value)
public StorageConfig . Builder setLocalMount ( String value )
Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., /mnt/share).
string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String The localMount to set.
setLocalMountBytes(ByteString value)
public StorageConfig . Builder setLocalMountBytes ( ByteString value )
Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., /mnt/share).
string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString The bytes for localMount to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]