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.v1alpha.DataplexConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DataplexConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataplexConfig build()
Returns
public DataplexConfig buildPartial()
Returns
public DataplexConfig.Builder clear()
Returns
Overrides
public DataplexConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DataplexConfig.Builder clearLakeResources()
Returns
public DataplexConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DataplexConfig.Builder clone()
Returns
Overrides
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.v1alpha.Lake> lake_resources = 1;
Parameter
Returns
public DataplexConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,Lake> getLakeResources()
Returns
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.v1alpha.Lake> lake_resources = 1;
Returns
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.v1alpha.Lake> lake_resources = 1;
Returns
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.v1alpha.Lake> lake_resources = 1;
Parameters
Returns
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.v1alpha.Lake> lake_resources = 1;
Parameter
Returns
public Map<String,Lake> getMutableLakeResources()
Use alternate mutation accessors instead.
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DataplexConfig.Builder mergeFrom(DataplexConfig other)
Parameter
Returns
public DataplexConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DataplexConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DataplexConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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.v1alpha.Lake> lake_resources = 1;
Parameter
Returns
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.v1alpha.Lake> lake_resources = 1;
Parameters
Returns
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.v1alpha.Lake> lake_resources = 1;
Parameter
Returns
public DataplexConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataplexConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DataplexConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides