Class DataCatalogConfig.Builder (2.43.0)

public static final class DataCatalogConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataCatalogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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