Class StorageConfig (0.1.0)

publicfinalclass StorageConfigextendsGeneratedMessageV3implementsStorageConfigOrBuilder

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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
Type Description
int

LOCAL_MOUNT_FIELD_NUMBER

publicstaticfinalintLOCAL_MOUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticStorageConfiggetDefaultInstance()
Returns
Type Description
StorageConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticStorageConfig.BuildernewBuilder()
Returns
Type Description
StorageConfig.Builder

newBuilder(StorageConfig prototype)

publicstaticStorageConfig.BuildernewBuilder(StorageConfigprototype)
Parameter
Name Description
prototype StorageConfig
Returns
Type Description
StorageConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticStorageConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticStorageConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticStorageConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticStorageConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticStorageConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticStorageConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticStorageConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<StorageConfig>parser()
Returns
Type Description
Parser<StorageConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicStorageConfiggetDefaultInstanceForType()
Returns
Type Description
StorageConfig

getId()

publicStringgetId()

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()

publicByteStringgetIdBytes()

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()

publicStringgetLocalMount()

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()

publicByteStringgetLocalMountBytes()

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.

getParserForType()

publicParser<StorageConfig>getParserForType()
Returns
Type Description
Parser<StorageConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicStorageConfig.BuildernewBuilderForType()
Returns
Type Description
StorageConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedStorageConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicStorageConfig.BuildertoBuilder()
Returns
Type Description
StorageConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.