Class MetastoreServiceConfig.Builder (2.51.0)

public static final class MetastoreServiceConfig.Builder extends GeneratedMessageV3.Builder<MetastoreServiceConfig.Builder> implements MetastoreServiceConfigOrBuilder

Configuration of the Dataproc Metastore Service.

Protobuf type google.cloud.bigquery.connection.v1.MetastoreServiceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MetastoreServiceConfig build()
Returns
Type Description
MetastoreServiceConfig

buildPartial()

public MetastoreServiceConfig buildPartial()
Returns
Type Description
MetastoreServiceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetastoreService()

public MetastoreServiceConfig.Builder clearMetastoreService()

Optional. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[region]/services/[service_id]

string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
MetastoreServiceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MetastoreServiceConfig getDefaultInstanceForType()
Returns
Type Description
MetastoreServiceConfig

getDescriptorForType()

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

getMetastoreService()

public String getMetastoreService()

Optional. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[region]/services/[service_id]

string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The metastoreService.

getMetastoreServiceBytes()

public ByteString getMetastoreServiceBytes()

Optional. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[region]/services/[service_id]

string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for metastoreService.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetastoreServiceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetastoreService(String value)

public MetastoreServiceConfig.Builder setMetastoreService(String value)

Optional. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[region]/services/[service_id]

string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The metastoreService to set.

Returns
Type Description
MetastoreServiceConfig.Builder

This builder for chaining.

setMetastoreServiceBytes(ByteString value)

public MetastoreServiceConfig.Builder setMetastoreServiceBytes(ByteString value)

Optional. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[region]/services/[service_id]

string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for metastoreService to set.

Returns
Type Description
MetastoreServiceConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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