Class Config (0.83.0)

public final class Config extends GeneratedMessage implements ConfigOrBuilder

Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.

Protobuf type google.cloud.datacatalog.lineage.configmanagement.v1.Config

Implements

ConfigOrBuilder

Static Fields

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
Type Description
int

INGESTION_FIELD_NUMBER

public static final int INGESTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Config getDefaultInstance()
Returns
Type Description
Config

getDescriptor()

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

newBuilder()

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

newBuilder(Config prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Config getDefaultInstanceForType()
Returns
Type Description
Config

getEtag()

public String getEtag()

Optional. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the etag in the read-modify-write cycle to perform config updates in order to avoid race conditions: An etag is returned in the response to GetConfig, and systems are expected to put that etag in the request to UpdateConfig to ensure that their change will be applied to the same version of the config. If an etag is not provided in the call to UpdateConfig, then the existing config, if any, will be overwritten.

string etag = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the etag in the read-modify-write cycle to perform config updates in order to avoid race conditions: An etag is returned in the response to GetConfig, and systems are expected to put that etag in the request to UpdateConfig to ensure that their change will be applied to the same version of the config. If an etag is not provided in the call to UpdateConfig, then the existing config, if any, will be overwritten.

string etag = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getIngestion()

public Config.Ingestion getIngestion()

Optional. Ingestion rule for Data Lineage ingestion.

.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Config.Ingestion

The ingestion.

getIngestionOrBuilder()

public Config.IngestionOrBuilder getIngestionOrBuilder()

Optional. Ingestion rule for Data Lineage ingestion.

.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Config.IngestionOrBuilder

getName()

public String getName()

Identifier. The resource name of the config. Format: organizations/{organization_id}/locations/global/config folders/{folder_id}/locations/global/config projects/{project_id}/locations/global/config projects/{project_number}/locations/global/config

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the config. Format: organizations/{organization_id}/locations/global/config folders/{folder_id}/locations/global/config projects/{project_id}/locations/global/config projects/{project_number}/locations/global/config

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasIngestion()

public boolean hasIngestion()

Optional. Ingestion rule for Data Lineage ingestion.

.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ingestion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Config.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Config.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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