public static final class Config.Builder extends GeneratedMessage.Builder<Config.Builder> implements ConfigOrBuilderConfiguration 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Config.BuilderImplements
ConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Config build()| Returns | |
|---|---|
| Type | Description |
Config |
|
buildPartial()
public Config buildPartial()| Returns | |
|---|---|
| Type | Description |
Config |
|
clear()
public Config.Builder clear()| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
clearEtag()
public Config.Builder clearEtag() 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 |
Config.Builder |
This builder for chaining. |
clearIngestion()
public Config.Builder clearIngestion()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.Builder |
|
clearName()
public Config.Builder clearName() 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 |
Config.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Config getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Config |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getIngestionBuilder()
public Config.Ingestion.Builder getIngestionBuilder()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.Builder |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Config other)
public Config.Builder mergeFrom(Config other)| Parameter | |
|---|---|
| Name | Description |
other |
Config |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Config.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
mergeIngestion(Config.Ingestion value)
public Config.Builder mergeIngestion(Config.Ingestion value)Optional. Ingestion rule for Data Lineage ingestion.
.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Config.Ingestion |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
setEtag(String value)
public Config.Builder setEtag(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Config.Builder setEtagBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setIngestion(Config.Ingestion value)
public Config.Builder setIngestion(Config.Ingestion value)Optional. Ingestion rule for Data Lineage ingestion.
.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Config.Ingestion |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
setIngestion(Config.Ingestion.Builder builderForValue)
public Config.Builder setIngestion(Config.Ingestion.Builder builderForValue)Optional. Ingestion rule for Data Lineage ingestion.
.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion ingestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Config.Ingestion.Builder |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
setName(String value)
public Config.Builder setName(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Config.Builder setNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |