Class LookupEntryRequest.Builder (1.42.0)

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

Request message for LookupEntry.

Protobuf type google.cloud.datacatalog.v1.LookupEntryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

build()

public LookupEntryRequest build()
Returns
TypeDescription
LookupEntryRequest

buildPartial()

public LookupEntryRequest buildPartial()
Returns
TypeDescription
LookupEntryRequest

clear()

public LookupEntryRequest.Builder clear()
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

clearFullyQualifiedName()

public LookupEntryRequest.Builder clearFullyQualifiedName()

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
TypeDescription
LookupEntryRequest.Builder

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.

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
TypeDescription
LookupEntryRequest.Builder

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
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

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
TypeDescription
LookupEntryRequest.Builder

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 Standard SQL.

string sql_resource = 3;

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

clearTargetName()

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

clone()

public LookupEntryRequest.Builder clone()
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupEntryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for location.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for project.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for sqlResource.

getTargetNameCase()

public LookupEntryRequest.TargetNameCase getTargetNameCase()
Returns
TypeDescription
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
TypeDescription
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
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.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
TypeDescription
boolean

Whether the sqlResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupEntryRequest other)

public LookupEntryRequest.Builder mergeFrom(LookupEntryRequest other)
Parameter
NameDescription
otherLookupEntryRequest
Returns
TypeDescription
LookupEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupEntryRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

setFullyQualifiedName(String value)

public LookupEntryRequest.Builder setFullyQualifiedName(String value)

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;

Parameter
NameDescription
valueString

The fullyQualifiedName to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setFullyQualifiedNameBytes(ByteString value)

public LookupEntryRequest.Builder setFullyQualifiedNameBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for fullyQualifiedName to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setLinkedResource(String value)

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.

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;

Parameter
NameDescription
valueString

The linkedResource to set.

Returns
TypeDescription
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. 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;

Parameter
NameDescription
valueByteString

The bytes for linkedResource to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setLocation(String value)

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;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public LookupEntryRequest.Builder setLocationBytes(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;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setProject(String value)

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;

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public LookupEntryRequest.Builder setProjectBytes(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;

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.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;

Parameter
NameDescription
valueString

The sqlResource to set.

Returns
TypeDescription
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.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;

Parameter
NameDescription
valueByteString

The bytes for sqlResource to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides