Class DataCatalogConfig.Builder (2.84.0)

public static final class DataCatalogConfig.Builder extends GeneratedMessage.Builder<DataCatalogConfig.Builder> implements DataCatalogConfigOrBuilder

Specifies how metastore metadata should be integrated with the Data Catalog service.

Protobuf type google.cloud.metastore.v1beta.DataCatalogConfig

Static Methods

getDescriptor()

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

Methods

build()

public DataCatalogConfig build()
Returns
Type Description
DataCatalogConfig

buildPartial()

public DataCatalogConfig buildPartial()
Returns
Type Description
DataCatalogConfig

clear()

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

clearEnabled()

public DataCatalogConfig.Builder clearEnabled()

Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.

bool enabled = 2;

Returns
Type Description
DataCatalogConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataCatalogConfig getDefaultInstanceForType()
Returns
Type Description
DataCatalogConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.

bool enabled = 2;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataCatalogConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public DataCatalogConfig.Builder setEnabled(boolean value)

Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.

bool enabled = 2;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
DataCatalogConfig.Builder

This builder for chaining.