Class LookupEntryRequest.Builder

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

public static final class LookupEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<LookupEntryRequest.Builder> implements LookupEntryRequestOrBuilder
 Request message for
 [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
 
Protobuf type google.cloud.datacatalog.v1.LookupEntryRequest
  • 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<LookupEntryRequest.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<LookupEntryRequest.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<LookupEntryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public LookupEntryRequest.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<LookupEntryRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public LookupEntryRequest.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<LookupEntryRequest.Builder>
      Throws:
      IOException
    • getTargetNameCase

      public LookupEntryRequest.TargetNameCase getTargetNameCase()
      Specified by:
      getTargetNameCase in interface LookupEntryRequestOrBuilder
    • clearTargetName

      public LookupEntryRequest.Builder clearTargetName()
    • hasLinkedResource

      public boolean hasLinkedResource()
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Specified by:
      hasLinkedResource in interface LookupEntryRequestOrBuilder
      Returns:
      Whether the linkedResource field is set.
    • getLinkedResource

      public String getLinkedResource()
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Specified by:
      getLinkedResource in interface LookupEntryRequestOrBuilder
      Returns:
      The linkedResource.
    • getLinkedResourceBytes

      public com.google.protobuf.ByteString getLinkedResourceBytes()
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Specified by:
      getLinkedResourceBytes in interface LookupEntryRequestOrBuilder
      Returns:
      The bytes for linkedResource.
    • setLinkedResource

      public LookupEntryRequest.Builder setLinkedResource(String value)
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Parameters:
      value - The linkedResource to set.
      Returns:
      This builder for chaining.
    • clearLinkedResource

      public LookupEntryRequest.Builder clearLinkedResource()
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Returns:
      This builder for chaining.
    • setLinkedResourceBytes

      public LookupEntryRequest.Builder setLinkedResourceBytes(com.google.protobuf.ByteString value)
       The full name of the Google Cloud Platform resource the Data Catalog
       entry represents. For more information, see [Full Resource Name]
       (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      
       Full names are case-sensitive. For example:
      
       * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
       * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
       
      string linked_resource = 1;
      Parameters:
      value - The bytes for linkedResource to set.
      Returns:
      This builder for chaining.
    • hasSqlResource

      public boolean hasSqlResource()
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Specified by:
      hasSqlResource in interface LookupEntryRequestOrBuilder
      Returns:
      Whether the sqlResource field is set.
    • getSqlResource

      public String getSqlResource()
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Specified by:
      getSqlResource in interface LookupEntryRequestOrBuilder
      Returns:
      The sqlResource.
    • getSqlResourceBytes

      public com.google.protobuf.ByteString getSqlResourceBytes()
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Specified by:
      getSqlResourceBytes in interface LookupEntryRequestOrBuilder
      Returns:
      The bytes for sqlResource.
    • setSqlResource

      public LookupEntryRequest.Builder setSqlResource(String value)
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Parameters:
      value - The sqlResource to set.
      Returns:
      This builder for chaining.
    • clearSqlResource

      public LookupEntryRequest.Builder clearSqlResource()
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Returns:
      This builder for chaining.
    • setSqlResourceBytes

      public LookupEntryRequest.Builder setSqlResourceBytes(com.google.protobuf.ByteString value)
       The SQL name of the entry. SQL names are case-sensitive.
      
       Examples:
      
       * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
       * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
       * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
       * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
       * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
      
       Identifiers (`*_ID`) should comply with the
       [Lexical structure in GoogleSQL]
       (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
       
      string sql_resource = 3;
      Parameters:
      value - The bytes for sqlResource to set.
      Returns:
      This builder for chaining.
    • hasFullyQualifiedName

      public boolean hasFullyQualifiedName()
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Specified by:
      hasFullyQualifiedName in interface LookupEntryRequestOrBuilder
      Returns:
      Whether the fullyQualifiedName field is set.
    • getFullyQualifiedName

      public String getFullyQualifiedName()
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Specified by:
      getFullyQualifiedName in interface LookupEntryRequestOrBuilder
      Returns:
      The fullyQualifiedName.
    • getFullyQualifiedNameBytes

      public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Specified by:
      getFullyQualifiedNameBytes in interface LookupEntryRequestOrBuilder
      Returns:
      The bytes for fullyQualifiedName.
    • setFullyQualifiedName

      public LookupEntryRequest.Builder setFullyQualifiedName(String value)
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Parameters:
      value - The fullyQualifiedName to set.
      Returns:
      This builder for chaining.
    • clearFullyQualifiedName

      public LookupEntryRequest.Builder clearFullyQualifiedName()
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Returns:
      This builder for chaining.
    • setFullyQualifiedNameBytes

      public LookupEntryRequest.Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value)
       [Fully Qualified Name
       (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
       of the resource.
      
       FQNs take two forms:
      
       * For non-regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       * For regionalized resources:
      
       `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      
       Example for a DPMS table:
      
       `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
       
      string fully_qualified_name = 5;
      Parameters:
      value - The bytes for fullyQualifiedName to set.
      Returns:
      This builder for chaining.
    • getProject

      public String getProject()
       Project where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string project = 6;
      Specified by:
      getProject in interface LookupEntryRequestOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Project where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string project = 6;
      Specified by:
      getProjectBytes in interface LookupEntryRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

      public LookupEntryRequest.Builder setProject(String value)
       Project where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string project = 6;
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

      public LookupEntryRequest.Builder clearProject()
       Project where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string project = 6;
      Returns:
      This builder for chaining.
    • setProjectBytes

      public LookupEntryRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
       Project where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string project = 6;
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       Location where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string location = 7;
      Specified by:
      getLocation in interface LookupEntryRequestOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Location where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string location = 7;
      Specified by:
      getLocationBytes in interface LookupEntryRequestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public LookupEntryRequest.Builder setLocation(String value)
       Location where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string location = 7;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public LookupEntryRequest.Builder clearLocation()
       Location where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string location = 7;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public LookupEntryRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Location where the lookup should be performed. Required to lookup
       entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
       using its `fully_qualified_name`. Ignored in other cases.
       
      string location = 7;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.