Class DataplexConfig (2.55.0)

public final class DataplexConfig extends GeneratedMessageV3 implements DataplexConfigOrBuilder

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

Protobuf type google.cloud.metastore.v1alpha.DataplexConfig

Static Fields

LAKE_RESOURCES_FIELD_NUMBER

public static final int LAKE_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataplexConfig getDefaultInstance()
Returns
Type Description
DataplexConfig

getDescriptor()

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

newBuilder()

public static DataplexConfig.Builder newBuilder()
Returns
Type Description
DataplexConfig.Builder

newBuilder(DataplexConfig prototype)

public static DataplexConfig.Builder newBuilder(DataplexConfig prototype)
Parameter
Name Description
prototype DataplexConfig
Returns
Type Description
DataplexConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataplexConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataplexConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataplexConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataplexConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataplexConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataplexConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataplexConfig> parser()
Returns
Type Description
Parser<DataplexConfig>

Methods

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.v1alpha.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataplexConfig getDefaultInstanceForType()
Returns
Type Description
DataplexConfig

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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.Lake> lake_resources = 1;

Parameter
Name Description
key String
Returns
Type Description
Lake

getParserForType()

public Parser<DataplexConfig> getParserForType()
Returns
Type Description
Parser<DataplexConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataplexConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataplexConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException