Class DataplexConfig (2.42.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.v1beta.DataplexConfig

Static Fields

LAKE_RESOURCES_FIELD_NUMBER

public static final int LAKE_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataplexConfig getDefaultInstance()
Returns
TypeDescription
DataplexConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataplexConfig.Builder newBuilder()
Returns
TypeDescription
DataplexConfig.Builder

newBuilder(DataplexConfig prototype)

public static DataplexConfig.Builder newBuilder(DataplexConfig prototype)
Parameter
NameDescription
prototypeDataplexConfig
Returns
TypeDescription
DataplexConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataplexConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataplexConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataplexConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataplexConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataplexConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataplexConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataplexConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataplexConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataplexConfig> parser()
Returns
TypeDescription
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.v1beta.Lake> lake_resources = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataplexConfig getDefaultInstanceForType()
Returns
TypeDescription
DataplexConfig

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

getParserForType()

public Parser<DataplexConfig> getParserForType()
Returns
TypeDescription
Parser<DataplexConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataplexConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataplexConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException