Class DataCatalogConfig.Builder (2.21.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.v1alpha.DataCatalogConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataCatalogConfig build()
Returns
TypeDescription
DataCatalogConfig

buildPartial()

public DataCatalogConfig buildPartial()
Returns
TypeDescription
DataCatalogConfig

clear()

public DataCatalogConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataCatalogConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataCatalogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataCatalogConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DataCatalogConfig getDefaultInstanceForType()
Returns
TypeDescription
DataCatalogConfig

getDescriptorForType()

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

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataCatalogConfig other)

public DataCatalogConfig.Builder mergeFrom(DataCatalogConfig other)
Parameter
NameDescription
otherDataCatalogConfig
Returns
TypeDescription
DataCatalogConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataCatalogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
DataCatalogConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DataCatalogConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataCatalogConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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