Class LookupEntryRequest (1.21.0)

public final class LookupEntryRequest extends GeneratedMessageV3 implements LookupEntryRequestOrBuilder

Request message for LookupEntry.

Protobuf type google.cloud.datacatalog.v1beta1.LookupEntryRequest

Static Fields

LINKED_RESOURCE_FIELD_NUMBER

public static final int LINKED_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_RESOURCE_FIELD_NUMBER

public static final int SQL_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LookupEntryRequest getDefaultInstance()
Returns
TypeDescription
LookupEntryRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LookupEntryRequest.Builder newBuilder()
Returns
TypeDescription
LookupEntryRequest.Builder

newBuilder(LookupEntryRequest prototype)

public static LookupEntryRequest.Builder newBuilder(LookupEntryRequest prototype)
Parameter
NameDescription
prototypeLookupEntryRequest
Returns
TypeDescription
LookupEntryRequest.Builder

parseDelimitedFrom(InputStream input)

public static LookupEntryRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LookupEntryRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LookupEntryRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LookupEntryRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LookupEntryRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LookupEntryRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LookupEntryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LookupEntryRequest> parser()
Returns
TypeDescription
Parser<LookupEntryRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupEntryRequest

getLinkedResource()

public String getLinkedResource()

The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names are case-sensitive. Examples:

  • //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
  • //pubsub.googleapis.com/projects/projectId/topics/topicId

string linked_resource = 1;

Returns
TypeDescription
String

The linkedResource.

getLinkedResourceBytes()

public ByteString getLinkedResourceBytes()

The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names are case-sensitive. Examples:

  • //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
  • //pubsub.googleapis.com/projects/projectId/topics/topicId

string linked_resource = 1;

Returns
TypeDescription
ByteString

The bytes for linkedResource.

getParserForType()

public Parser<LookupEntryRequest> getParserForType()
Returns
TypeDescription
Parser<LookupEntryRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSqlResource()

public String getSqlResource()

The SQL name of the entry. SQL names are case-sensitive. Examples:

  • pubsub.project_id.topic_id
  • pubsub.project_id.topic.id.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 *_ids shoud satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
TypeDescription
String

The sqlResource.

getSqlResourceBytes()

public ByteString getSqlResourceBytes()

The SQL name of the entry. SQL names are case-sensitive. Examples:

  • pubsub.project_id.topic_id
  • pubsub.project_id.topic.id.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 *_ids shoud satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
TypeDescription
ByteString

The bytes for sqlResource.

getTargetNameCase()

public LookupEntryRequest.TargetNameCase getTargetNameCase()
Returns
TypeDescription
LookupEntryRequest.TargetNameCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLinkedResource()

public boolean hasLinkedResource()

The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names are case-sensitive. Examples:

  • //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
  • //pubsub.googleapis.com/projects/projectId/topics/topicId

string linked_resource = 1;

Returns
TypeDescription
boolean

Whether the linkedResource field is set.

hasSqlResource()

public boolean hasSqlResource()

The SQL name of the entry. SQL names are case-sensitive. Examples:

  • pubsub.project_id.topic_id
  • pubsub.project_id.topic.id.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 *_ids shoud satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
TypeDescription
boolean

Whether the sqlResource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LookupEntryRequest.Builder newBuilderForType()
Returns
TypeDescription
LookupEntryRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LookupEntryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LookupEntryRequest.Builder toBuilder()
Returns
TypeDescription
LookupEntryRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException