Class LookupEntryRequest.Builder (1.61.0)

public static final class LookupEntryRequest.Builder extends GeneratedMessageV3.Builder<LookupEntryRequest.Builder> implements LookupEntryRequestOrBuilder

Request message for LookupEntry.

Protobuf type google.cloud.datacatalog.v1beta1.LookupEntryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupEntryRequest.Builder
Overrides

build()

public LookupEntryRequest build()
Returns
Type Description
LookupEntryRequest

buildPartial()

public LookupEntryRequest buildPartial()
Returns
Type Description
LookupEntryRequest

clear()

public LookupEntryRequest.Builder clear()
Returns
Type Description
LookupEntryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupEntryRequest.Builder
Overrides

clearLinkedResource()

public LookupEntryRequest.Builder clearLinkedResource()

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
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupEntryRequest.Builder
Overrides

clearSqlResource()

public LookupEntryRequest.Builder clearSqlResource()

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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearTargetName()

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

clone()

public LookupEntryRequest.Builder clone()
Returns
Type Description
LookupEntryRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
Type Description
LookupEntryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

The bytes for linkedResource.

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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

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.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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
Type Description
ByteString

The bytes for sqlResource.

getTargetNameCase()

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

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
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.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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Returns
Type Description
boolean

Whether the sqlResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupEntryRequest other)

public LookupEntryRequest.Builder mergeFrom(LookupEntryRequest other)
Parameter
Name Description
other LookupEntryRequest
Returns
Type Description
LookupEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupEntryRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LookupEntryRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LookupEntryRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupEntryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupEntryRequest.Builder
Overrides

setLinkedResource(String value)

public LookupEntryRequest.Builder setLinkedResource(String value)

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;

Parameter
Name Description
value String

The linkedResource to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setLinkedResourceBytes(ByteString value)

public LookupEntryRequest.Builder setLinkedResourceBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for linkedResource to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupEntryRequest.Builder
Overrides

setSqlResource(String value)

public LookupEntryRequest.Builder setSqlResource(String value)

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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Parameter
Name Description
value String

The sqlResource to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setSqlResourceBytes(ByteString value)

public LookupEntryRequest.Builder setSqlResourceBytes(ByteString value)

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 should satisfy the standard SQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.

string sql_resource = 3;

Parameter
Name Description
value ByteString

The bytes for sqlResource to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupEntryRequest.Builder
Overrides