Class MetastoreConfig.Builder (4.48.0)

public static final class MetastoreConfig.Builder extends GeneratedMessageV3.Builder<MetastoreConfig.Builder> implements MetastoreConfigOrBuilder

Specifies a Metastore configuration.

Protobuf type google.cloud.dataproc.v1.MetastoreConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetastoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastoreConfig.Builder
Overrides

build()

public MetastoreConfig build()
Returns
Type Description
MetastoreConfig

buildPartial()

public MetastoreConfig buildPartial()
Returns
Type Description
MetastoreConfig

clear()

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

clearDataprocMetastoreService()

public MetastoreConfig.Builder clearDataprocMetastoreService()

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

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

Returns
Type Description
MetastoreConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MetastoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetastoreConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MetastoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetastoreConfig.Builder
Overrides

clone()

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

getDataprocMetastoreService()

public String getDataprocMetastoreService()

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

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

Returns
Type Description
String

The dataprocMetastoreService.

getDataprocMetastoreServiceBytes()

public ByteString getDataprocMetastoreServiceBytes()

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

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

Returns
Type Description
ByteString

The bytes for dataprocMetastoreService.

getDefaultInstanceForType()

public MetastoreConfig getDefaultInstanceForType()
Returns
Type Description
MetastoreConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetastoreConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataprocMetastoreService(String value)

public MetastoreConfig.Builder setDataprocMetastoreService(String value)

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

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

Parameter
Name Description
value String

The dataprocMetastoreService to set.

Returns
Type Description
MetastoreConfig.Builder

This builder for chaining.

setDataprocMetastoreServiceBytes(ByteString value)

public MetastoreConfig.Builder setDataprocMetastoreServiceBytes(ByteString value)

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

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

Parameter
Name Description
value ByteString

The bytes for dataprocMetastoreService to set.

Returns
Type Description
MetastoreConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MetastoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetastoreConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetastoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetastoreConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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