Class DataplexConfig.Builder (2.45.0)

public static final class DataplexConfig.Builder extends GeneratedMessageV3.Builder<DataplexConfig.Builder> implements DataplexConfigOrBuilder

Specifies how metastore metadata should be integrated with the Dataplex service.

Protobuf type google.cloud.metastore.v1beta.DataplexConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexConfig build()
Returns
Type Description
DataplexConfig

buildPartial()

public DataplexConfig buildPartial()
Returns
Type Description
DataplexConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLakeResources()

public DataplexConfig.Builder clearLakeResources()
Returns
Type Description
DataplexConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

containsLakeResources(String key)

public boolean containsLakeResources(String key)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public DataplexConfig getDefaultInstanceForType()
Returns
Type Description
DataplexConfig

getDescriptorForType()

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

getLakeResources() (deprecated)

public Map<String,Lake> getLakeResources()
Returns
Type Description
Map<String,Lake>

getLakeResourcesCount()

public int getLakeResourcesCount()

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Returns
Type Description
int

getLakeResourcesMap()

public Map<String,Lake> getLakeResourcesMap()

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Returns
Type Description
Map<String,Lake>

getLakeResourcesOrDefault(String key, Lake defaultValue)

public Lake getLakeResourcesOrDefault(String key, Lake defaultValue)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameters
Name Description
key String
defaultValue Lake
Returns
Type Description
Lake

getLakeResourcesOrThrow(String key)

public Lake getLakeResourcesOrThrow(String key)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
Lake

getMutableLakeResources() (deprecated)

public Map<String,Lake> getMutableLakeResources()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Lake>

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataplexConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataplexConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataplexConfig.Builder
Overrides

putAllLakeResources(Map<String,Lake> values)

public DataplexConfig.Builder putAllLakeResources(Map<String,Lake> values)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameter
Name Description
values Map<String,Lake>
Returns
Type Description
DataplexConfig.Builder

putLakeResources(String key, Lake value)

public DataplexConfig.Builder putLakeResources(String key, Lake value)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameters
Name Description
key String
value Lake
Returns
Type Description
DataplexConfig.Builder

putLakeResourcesBuilderIfAbsent(String key)

public Lake.Builder putLakeResourcesBuilderIfAbsent(String key)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
Lake.Builder

removeLakeResources(String key)

public DataplexConfig.Builder removeLakeResources(String key)

A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

map<string, .google.cloud.metastore.v1beta.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
DataplexConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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