Class NewLustreConfig.Builder (0.5.0)

public static final class NewLustreConfig.Builder extends GeneratedMessage.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

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.

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.

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 GeneratedMessage.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

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.

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.