Class ExistingFilestoreConfig.Builder (0.5.0)

public static final class ExistingFilestoreConfig.Builder extends GeneratedMessage.Builder<ExistingFilestoreConfig.Builder> implements ExistingFilestoreConfigOrBuilder

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

Protobuf type google.cloud.hypercomputecluster.v1beta.ExistingFilestoreConfig

Static Methods

getDescriptor()

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

Methods

build()

public ExistingFilestoreConfig build()
Returns
Type Description
ExistingFilestoreConfig

buildPartial()

public ExistingFilestoreConfig buildPartial()
Returns
Type Description
ExistingFilestoreConfig

clear()

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

clearFilestore()

public ExistingFilestoreConfig.Builder clearFilestore()

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

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

Returns
Type Description
ExistingFilestoreConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExistingFilestoreConfig getDefaultInstanceForType()
Returns
Type Description
ExistingFilestoreConfig

getDescriptorForType()

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

getFilestore()

public String getFilestore()

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

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

Returns
Type Description
String

The filestore.

getFilestoreBytes()

public ByteString getFilestoreBytes()

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

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

Returns
Type Description
ByteString

The bytes for filestore.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExistingFilestoreConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilestore(String value)

public ExistingFilestoreConfig.Builder setFilestore(String value)

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

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

Parameter
Name Description
value String

The filestore to set.

Returns
Type Description
ExistingFilestoreConfig.Builder

This builder for chaining.

setFilestoreBytes(ByteString value)

public ExistingFilestoreConfig.Builder setFilestoreBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for filestore to set.

Returns
Type Description
ExistingFilestoreConfig.Builder

This builder for chaining.