Class NewLustreConfig.Builder (0.1.0)

public static final class NewLustreConfig.Builder extends GeneratedMessageV3.Builder<NewLustreConfig.Builder> implements NewLustreConfigOrBuilder

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

Protobuf type google.cloud.hypercomputecluster.v1beta.NewLustreConfig

Static 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
Overrides

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
Overrides

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
Overrides

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
Overrides

clone()

public NewLustreConfig.Builder clone()
Returns
Type Description
NewLustreConfig.Builder
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NewLustreConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NewLustreConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NewLustreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NewLustreConfig.Builder
Overrides

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 long

The 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 String

The 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 ByteString

The 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
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NewLustreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NewLustreConfig.Builder
Overrides