Class MetastoreServiceConfig.Builder (2.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetastoreServiceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

build()

public MetastoreServiceConfig build()
Returns
TypeDescription
MetastoreServiceConfig

buildPartial()

public MetastoreServiceConfig buildPartial()
Returns
TypeDescription
MetastoreServiceConfig

clear()

public MetastoreServiceConfig.Builder clear()
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetastoreServiceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
MetastoreServiceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MetastoreServiceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

clone()

public MetastoreServiceConfig.Builder clone()
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

getDefaultInstanceForType()

public MetastoreServiceConfig getDefaultInstanceForType()
Returns
TypeDescription
MetastoreServiceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for metastoreService.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MetastoreServiceConfig other)

public MetastoreServiceConfig.Builder mergeFrom(MetastoreServiceConfig other)
Parameter
NameDescription
otherMetastoreServiceConfig
Returns
TypeDescription
MetastoreServiceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetastoreServiceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MetastoreServiceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetastoreServiceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MetastoreServiceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The metastoreService to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for metastoreService to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MetastoreServiceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MetastoreServiceConfig.Builder
Overrides