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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DataCatalogConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataCatalogConfig build()
Returns
public DataCatalogConfig buildPartial()
Returns
public DataCatalogConfig.Builder clear()
Returns
Overrides
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
public DataCatalogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DataCatalogConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DataCatalogConfig.Builder clone()
Returns
Overrides
public DataCatalogConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DataCatalogConfig.Builder mergeFrom(DataCatalogConfig other)
Parameter
Returns
public DataCatalogConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DataCatalogConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DataCatalogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public DataCatalogConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataCatalogConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DataCatalogConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides