Class LookupEntryRequest

  • All Implemented Interfaces:
    LookupEntryRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class LookupEntryRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements LookupEntryRequestOrBuilder
     Request message for
     [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
     
    Protobuf type google.cloud.datacatalog.v1.LookupEntryRequest
    See Also:
    Serialized Form
    • Field Detail

      • LINKED_RESOURCE_FIELD_NUMBER

        public static final int LINKED_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SQL_RESOURCE_FIELD_NUMBER

        public static final int SQL_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FULLY_QUALIFIED_NAME_FIELD_NUMBER

        public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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 Standard SQL]
         (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 Standard SQL]
         (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 Standard SQL]
         (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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static LookupEntryRequest parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static LookupEntryRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected LookupEntryRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<LookupEntryRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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