Class LookupEntryRequest (1.60.0)

public final class LookupEntryRequest extends GeneratedMessageV3 implements LookupEntryRequestOrBuilder

Request message for LookupEntry.

Protobuf type google.cloud.datacatalog.v1.LookupEntryRequest

Static Fields

FULLY_QUALIFIED_NAME_FIELD_NUMBER

public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
Field Value
Type Description
int

LINKED_RESOURCE_FIELD_NUMBER

public static final int LINKED_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

SQL_RESOURCE_FIELD_NUMBER

public static final int SQL_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LookupEntryRequest getDefaultInstance()
Returns
Type Description
LookupEntryRequest

getDescriptor()

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

newBuilder()

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

newBuilder(LookupEntryRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
Type Description
LookupEntryRequest

getFullyQualifiedName()

public String getFullyQualifiedName()

Fully Qualified Name (FQN) 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
Type Description
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Fully Qualified Name (FQN) 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
Type Description
ByteString

The bytes for fullyQualifiedName.

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.

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
Type Description
String

The linkedResource.

getLinkedResourceBytes()

public ByteString getLinkedResourceBytes()

The full name of the Google Cloud Platform resource the Data Catalog entry represents. For more information, see 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
Type Description
ByteString

The bytes for linkedResource.

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;

Returns
Type Description
String

The location.

getLocationBytes()

public 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;

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

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

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;

Returns
Type Description
String

The project.

getProjectBytes()

public 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;

Returns
Type Description
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

string sql_resource = 3;

Returns
Type Description
String

The sqlResource.

getSqlResourceBytes()

public 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.

string sql_resource = 3;

Returns
Type Description
ByteString

The bytes for sqlResource.

getTargetNameCase()

public LookupEntryRequest.TargetNameCase getTargetNameCase()
Returns
Type Description
LookupEntryRequest.TargetNameCase

hasFullyQualifiedName()

public boolean hasFullyQualifiedName()

Fully Qualified Name (FQN) 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
Type Description
boolean

Whether the fullyQualifiedName field is set.

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.

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
Type Description
boolean

Whether the linkedResource field is set.

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.

string sql_resource = 3;

Returns
Type Description
boolean

Whether the sqlResource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LookupEntryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LookupEntryRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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