Class ExistingLustreConfig.Builder (0.5.0)

public static final class ExistingLustreConfig.Builder extends GeneratedMessage.Builder<ExistingLustreConfig.Builder> implements ExistingLustreConfigOrBuilder

When set in a StorageResourceConfig, indicates that an existing Managed Lustre instance should be imported.

Protobuf type google.cloud.hypercomputecluster.v1beta.ExistingLustreConfig

Static Methods

getDescriptor()

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

Methods

build()

public ExistingLustreConfig build()
Returns
Type Description
ExistingLustreConfig

buildPartial()

public ExistingLustreConfig buildPartial()
Returns
Type Description
ExistingLustreConfig

clear()

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

clearLustre()

public ExistingLustreConfig.Builder clearLustre()

Required. Immutable. Name of the Managed Lustre instance to import, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExistingLustreConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExistingLustreConfig getDefaultInstanceForType()
Returns
Type Description
ExistingLustreConfig

getDescriptorForType()

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

getLustre()

public String getLustre()

Required. Immutable. Name of the Managed Lustre instance to import, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The lustre.

getLustreBytes()

public ByteString getLustreBytes()

Required. Immutable. Name of the Managed Lustre instance to import, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

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(ExistingLustreConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLustre(String value)

public ExistingLustreConfig.Builder setLustre(String value)

Required. Immutable. Name of the Managed Lustre instance to import, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The lustre to set.

Returns
Type Description
ExistingLustreConfig.Builder

This builder for chaining.

setLustreBytes(ByteString value)

public ExistingLustreConfig.Builder setLustreBytes(ByteString value)

Required. Immutable. Name of the Managed Lustre instance to import, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for lustre to set.

Returns
Type Description
ExistingLustreConfig.Builder

This builder for chaining.