Class NewLustreConfig.Builder (0.1.0)

publicstaticfinalclass NewLustreConfig.BuilderextendsGeneratedMessageV3.Builder<NewLustreConfig.Builder>implementsNewLustreConfigOrBuilder

When set in a StorageResourceConfig, indicates that a new Managed Lustre instance should be created.

Protobuf type google.cloud.hypercomputecluster.v1beta.NewLustreConfig

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

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicNewLustreConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NewLustreConfig.Builder
Overrides

build()

publicNewLustreConfigbuild()
Returns
Type Description
NewLustreConfig

buildPartial()

publicNewLustreConfigbuildPartial()
Returns
Type Description
NewLustreConfig

clear()

publicNewLustreConfig.Builderclear()
Returns
Type Description
NewLustreConfig.Builder
Overrides

clearCapacityGb()

publicNewLustreConfig.BuilderclearCapacityGb()

Required. Immutable. Storage capacity of the instance in gibibytes (GiB). Allowed values are between 18000 and 7632000.

int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

clearDescription()

publicNewLustreConfig.BuilderclearDescription()

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicNewLustreConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NewLustreConfig.Builder
Overrides

clearFilesystem()

publicNewLustreConfig.BuilderclearFilesystem()

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

clearLustre()

publicNewLustreConfig.BuilderclearLustre()

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicNewLustreConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NewLustreConfig.Builder
Overrides

clone()

publicNewLustreConfig.Builderclone()
Returns
Type Description
NewLustreConfig.Builder
Overrides

getCapacityGb()

publiclonggetCapacityGb()

Required. Immutable. Storage capacity of the instance in gibibytes (GiB). Allowed values are between 18000 and 7632000.

int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The capacityGb.

getDefaultInstanceForType()

publicNewLustreConfiggetDefaultInstanceForType()
Returns
Type Description
NewLustreConfig

getDescription()

publicStringgetDescription()

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilesystem()

publicStringgetFilesystem()

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The filesystem.

getFilesystemBytes()

publicByteStringgetFilesystemBytes()

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for filesystem.

getLustre()

publicStringgetLustre()

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The lustre.

getLustreBytes()

publicByteStringgetLustreBytes()

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for lustre.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NewLustreConfig other)

publicNewLustreConfig.BuildermergeFrom(NewLustreConfigother)
Parameter
Name Description
other NewLustreConfig
Returns
Type Description
NewLustreConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicNewLustreConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewLustreConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicNewLustreConfig.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
NewLustreConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalNewLustreConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NewLustreConfig.Builder
Overrides

setCapacityGb(long value)

publicNewLustreConfig.BuildersetCapacityGb(longvalue)

Required. Immutable. Storage capacity of the instance in gibibytes (GiB). Allowed values are between 18000 and 7632000.

int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value long

The capacityGb to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setDescription(String value)

publicNewLustreConfig.BuildersetDescription(Stringvalue)

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicNewLustreConfig.BuildersetDescriptionBytes(ByteStringvalue)

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicNewLustreConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NewLustreConfig.Builder
Overrides

setFilesystem(String value)

publicNewLustreConfig.BuildersetFilesystem(Stringvalue)

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The filesystem to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setFilesystemBytes(ByteString value)

publicNewLustreConfig.BuildersetFilesystemBytes(ByteStringvalue)

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for filesystem to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setLustre(String value)

publicNewLustreConfig.BuildersetLustre(Stringvalue)

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The lustre to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setLustreBytes(ByteString value)

publicNewLustreConfig.BuildersetLustreBytes(ByteStringvalue)

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for lustre to set.

Returns
Type Description
NewLustreConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicNewLustreConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NewLustreConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalNewLustreConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NewLustreConfig.Builder
Overrides

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.