Class LustreCsiDriverConfig.Builder (2.86.0)

public static final class LustreCsiDriverConfig.Builder extends GeneratedMessage.Builder<LustreCsiDriverConfig.Builder> implements LustreCsiDriverConfigOrBuilder

Configuration for the Lustre CSI driver.

Protobuf type google.container.v1beta1.LustreCsiDriverConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LustreCsiDriverConfig build()
Returns
Type Description
LustreCsiDriverConfig

buildPartial()

public LustreCsiDriverConfig buildPartial()
Returns
Type Description
LustreCsiDriverConfig

clear()

public LustreCsiDriverConfig.Builder clear()
Returns
Type Description
LustreCsiDriverConfig.Builder
Overrides

clearEnableLegacyLustrePort() (deprecated)

public LustreCsiDriverConfig.Builder clearEnableLegacyLustrePort()

Deprecated. google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is deprecated. See google/container/v1beta1/cluster_service.proto;l=2437

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions:

  1. The GKE node version is older than 1.33.2-gke.4655000.
  2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.

bool enable_legacy_lustre_port = 3 [deprecated = true];

Returns
Type Description
LustreCsiDriverConfig.Builder

This builder for chaining.

clearEnabled()

public LustreCsiDriverConfig.Builder clearEnabled()

Whether the Lustre CSI driver is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
LustreCsiDriverConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public LustreCsiDriverConfig getDefaultInstanceForType()
Returns
Type Description
LustreCsiDriverConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableLegacyLustrePort() (deprecated)

public boolean getEnableLegacyLustrePort()

Deprecated. google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is deprecated. See google/container/v1beta1/cluster_service.proto;l=2437

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions:

  1. The GKE node version is older than 1.33.2-gke.4655000.
  2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.

bool enable_legacy_lustre_port = 3 [deprecated = true];

Returns
Type Description
boolean

The enableLegacyLustrePort.

getEnabled()

public boolean getEnabled()

Whether the Lustre CSI driver is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LustreCsiDriverConfig other)

public LustreCsiDriverConfig.Builder mergeFrom(LustreCsiDriverConfig other)
Parameter
Name Description
other LustreCsiDriverConfig
Returns
Type Description
LustreCsiDriverConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LustreCsiDriverConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LustreCsiDriverConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setEnableLegacyLustrePort(boolean value) (deprecated)

public LustreCsiDriverConfig.Builder setEnableLegacyLustrePort(boolean value)

Deprecated. google.container.v1beta1.LustreCsiDriverConfig.enable_legacy_lustre_port is deprecated. See google/container/v1beta1/cluster_service.proto;l=2437

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions:

  1. The GKE node version is older than 1.33.2-gke.4655000.
  2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.

bool enable_legacy_lustre_port = 3 [deprecated = true];

Parameter
Name Description
value boolean

The enableLegacyLustrePort to set.

Returns
Type Description
LustreCsiDriverConfig.Builder

This builder for chaining.

setEnabled(boolean value)

public LustreCsiDriverConfig.Builder setEnabled(boolean value)

Whether the Lustre CSI driver is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
LustreCsiDriverConfig.Builder

This builder for chaining.