java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Config.Builder>
com.google.cloud.datacatalog.lineage.configmanagement.v1.Config.Builder
All Implemented Interfaces:
ConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Config

public static final class Config.Builder extends com.google.protobuf.GeneratedMessage.Builder<Config.Builder> 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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Config.Builder>
    • clear

      public Config.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Config.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Config.Builder>
    • getDefaultInstanceForType

      public Config getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Config build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Config buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Config.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Config.Builder>
    • mergeFrom

      public Config.Builder mergeFrom(Config other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Config.Builder>
    • mergeFrom

      public Config.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Config.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface ConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface ConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public Config.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasIngestion in interface ConfigOrBuilder
      Returns:
      Whether the ingestion field is set.
    • 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];
      Specified by:
      getIngestion in interface ConfigOrBuilder
      Returns:
      The ingestion.
    • setIngestion

      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];
    • setIngestion

      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];
    • mergeIngestion

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getIngestionOrBuilder in interface ConfigOrBuilder
    • 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];
      Specified by:
      getEtag in interface ConfigOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.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];
      Specified by:
      getEtagBytes in interface ConfigOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      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];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setEtagBytes

      public Config.Builder setEtagBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.