public static final class NewLustreConfig.Builder extends GeneratedMessageV3.Builder<NewLustreConfig.Builder> implements NewLustreConfigOrBuilderWhen 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
NewLustreConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NewLustreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
build()
public NewLustreConfig build()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig |
|
buildPartial()
public NewLustreConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig |
|
clear()
public NewLustreConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
clearCapacityGb()
public NewLustreConfig.Builder clearCapacityGb()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()
public NewLustreConfig.Builder clearDescription()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)
public NewLustreConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
clearFilesystem()
public NewLustreConfig.Builder clearFilesystem()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()
public NewLustreConfig.Builder clearLustre() 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)
public NewLustreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
clone()
public NewLustreConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
getCapacityGb()
public long getCapacityGb()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()
public NewLustreConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NewLustreConfig |
|
getDescription()
public String getDescription()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()
public ByteString getDescriptionBytes()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()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilesystem()
public String getFilesystem()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()
public ByteString getFilesystemBytes()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()
public String getLustre() 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()
public ByteString getLustreBytes() 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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NewLustreConfig other)
public NewLustreConfig.Builder mergeFrom(NewLustreConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
NewLustreConfig |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NewLustreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NewLustreConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NewLustreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
setCapacityGb(long value)
public NewLustreConfig.Builder setCapacityGb(long value)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 |
longThe capacityGb to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setDescription(String value)
public NewLustreConfig.Builder setDescription(String value)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 |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public NewLustreConfig.Builder setDescriptionBytes(ByteString value)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 |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NewLustreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
setFilesystem(String value)
public NewLustreConfig.Builder setFilesystem(String value)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 |
StringThe filesystem to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setFilesystemBytes(ByteString value)
public NewLustreConfig.Builder setFilesystemBytes(ByteString value)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 |
ByteStringThe bytes for filesystem to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setLustre(String value)
public NewLustreConfig.Builder setLustre(String value) 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 |
StringThe lustre to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setLustreBytes(ByteString value)
public NewLustreConfig.Builder setLustreBytes(ByteString value) 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 |
ByteStringThe bytes for lustre to set. |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NewLustreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NewLustreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig.Builder |
|