Class DataplexConfig.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexConfig build()
Returns
TypeDescription
DataplexConfig

buildPartial()

public DataplexConfig buildPartial()
Returns
TypeDescription
DataplexConfig

clear()

public DataplexConfig.Builder clear()
Returns
TypeDescription
DataplexConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearLakeResources()

public DataplexConfig.Builder clearLakeResources()
Returns
TypeDescription
DataplexConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataplexConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public DataplexConfig getDefaultInstanceForType()
Returns
TypeDescription
DataplexConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLakeResources() (deprecated)

public Map<String,Lake> getLakeResources()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueLake
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
Lake

getMutableLakeResources() (deprecated)

public Map<String,Lake> getMutableLakeResources()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Lake>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataplexConfig other)

public DataplexConfig.Builder mergeFrom(DataplexConfig other)
Parameter
NameDescription
otherDataplexConfig
Returns
TypeDescription
DataplexConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataplexConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,Lake>
Returns
TypeDescription
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
NameDescription
keyString
valueLake
Returns
TypeDescription
DataplexConfig.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
NameDescription
keyString
Returns
TypeDescription
DataplexConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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