Class NewLustreConfig.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass NewLustreConfig.BuilderextendsGeneratedMessageV3.Builder<NewLustreConfig.Builder>implementsNewLustreConfigOrBuilderWhen set in a StorageResourceConfig, indicates that a new Managed Lustre instance should be created.
Protobuf type google.cloud.hypercomputecluster.v1beta.NewLustreConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NewLustreConfig.BuilderImplements
NewLustreConfigOrBuilderInherited Members
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 |
|
build()
publicNewLustreConfigbuild()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig |
|
buildPartial()
publicNewLustreConfigbuildPartial()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig |
|
clear()
publicNewLustreConfig.Builderclear()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
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 |
|
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 |
|
clone()
publicNewLustreConfig.Builderclone()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
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 |
|
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 |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicNewLustreConfig.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalNewLustreConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
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 |
|
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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalNewLustreConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|