Class SearchCatalogResult.Builder (1.61.0)

public static final class SearchCatalogResult.Builder extends GeneratedMessageV3.Builder<SearchCatalogResult.Builder> implements SearchCatalogResultOrBuilder

A result that appears in the response of a search request. Each result captures details of one entry that matches the search.

Protobuf type google.cloud.datacatalog.v1beta1.SearchCatalogResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchCatalogResult build()
Returns
Type Description
SearchCatalogResult

buildPartial()

public SearchCatalogResult buildPartial()
Returns
Type Description
SearchCatalogResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLinkedResource()

public SearchCatalogResult.Builder clearLinkedResource()

The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:

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

string linked_resource = 4;

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

clearModifyTime()

public SearchCatalogResult.Builder clearModifyTime()

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Returns
Type Description
SearchCatalogResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelativeResourceName()

public SearchCatalogResult.Builder clearRelativeResourceName()

The relative resource name of the resource in URL format. Examples:

  • projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
  • projects/{project_id}/tagTemplates/{tag_template_id}

string relative_resource_name = 3;

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

clearSearchResultSubtype()

public SearchCatalogResult.Builder clearSearchResultSubtype()

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate.

string search_result_subtype = 2;

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

clearSearchResultType()

public SearchCatalogResult.Builder clearSearchResultType()

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.

.google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1;

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchCatalogResult getDefaultInstanceForType()
Returns
Type Description
SearchCatalogResult

getDescriptorForType()

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

getLinkedResource()

public String getLinkedResource()

The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:

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

string linked_resource = 4;

Returns
Type Description
String

The linkedResource.

getLinkedResourceBytes()

public ByteString getLinkedResourceBytes()

The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:

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

string linked_resource = 4;

Returns
Type Description
ByteString

The bytes for linkedResource.

getModifyTime()

public Timestamp getModifyTime()

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Returns
Type Description
Timestamp

The modifyTime.

getModifyTimeBuilder()

public Timestamp.Builder getModifyTimeBuilder()

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Returns
Type Description
Builder

getModifyTimeOrBuilder()

public TimestampOrBuilder getModifyTimeOrBuilder()

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Returns
Type Description
TimestampOrBuilder

getRelativeResourceName()

public String getRelativeResourceName()

The relative resource name of the resource in URL format. Examples:

  • projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
  • projects/{project_id}/tagTemplates/{tag_template_id}

string relative_resource_name = 3;

Returns
Type Description
String

The relativeResourceName.

getRelativeResourceNameBytes()

public ByteString getRelativeResourceNameBytes()

The relative resource name of the resource in URL format. Examples:

  • projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
  • projects/{project_id}/tagTemplates/{tag_template_id}

string relative_resource_name = 3;

Returns
Type Description
ByteString

The bytes for relativeResourceName.

getSearchResultSubtype()

public String getSearchResultSubtype()

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate.

string search_result_subtype = 2;

Returns
Type Description
String

The searchResultSubtype.

getSearchResultSubtypeBytes()

public ByteString getSearchResultSubtypeBytes()

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate.

string search_result_subtype = 2;

Returns
Type Description
ByteString

The bytes for searchResultSubtype.

getSearchResultType()

public SearchResultType getSearchResultType()

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.

.google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1;

Returns
Type Description
SearchResultType

The searchResultType.

getSearchResultTypeValue()

public int getSearchResultTypeValue()

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.

.google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for searchResultType.

hasModifyTime()

public boolean hasModifyTime()

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Returns
Type Description
boolean

Whether the modifyTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchCatalogResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeModifyTime(Timestamp value)

public SearchCatalogResult.Builder mergeModifyTime(Timestamp value)

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchCatalogResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLinkedResource(String value)

public SearchCatalogResult.Builder setLinkedResource(String value)

The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:

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

string linked_resource = 4;

Parameter
Name Description
value String

The linkedResource to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setLinkedResourceBytes(ByteString value)

public SearchCatalogResult.Builder setLinkedResourceBytes(ByteString value)

The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:

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

string linked_resource = 4;

Parameter
Name Description
value ByteString

The bytes for linkedResource to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setModifyTime(Timestamp value)

public SearchCatalogResult.Builder setModifyTime(Timestamp value)

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
SearchCatalogResult.Builder

setModifyTime(Timestamp.Builder builderForValue)

public SearchCatalogResult.Builder setModifyTime(Timestamp.Builder builderForValue)

Last-modified timestamp of the entry from the managing system.

.google.protobuf.Timestamp modify_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SearchCatalogResult.Builder

setRelativeResourceName(String value)

public SearchCatalogResult.Builder setRelativeResourceName(String value)

The relative resource name of the resource in URL format. Examples:

  • projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
  • projects/{project_id}/tagTemplates/{tag_template_id}

string relative_resource_name = 3;

Parameter
Name Description
value String

The relativeResourceName to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setRelativeResourceNameBytes(ByteString value)

public SearchCatalogResult.Builder setRelativeResourceNameBytes(ByteString value)

The relative resource name of the resource in URL format. Examples:

  • projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
  • projects/{project_id}/tagTemplates/{tag_template_id}

string relative_resource_name = 3;

Parameter
Name Description
value ByteString

The bytes for relativeResourceName to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

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

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

setSearchResultSubtype(String value)

public SearchCatalogResult.Builder setSearchResultSubtype(String value)

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate.

string search_result_subtype = 2;

Parameter
Name Description
value String

The searchResultSubtype to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setSearchResultSubtypeBytes(ByteString value)

public SearchCatalogResult.Builder setSearchResultSubtypeBytes(ByteString value)

Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table, entry.dataStream, tagTemplate.

string search_result_subtype = 2;

Parameter
Name Description
value ByteString

The bytes for searchResultSubtype to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setSearchResultType(SearchResultType value)

public SearchCatalogResult.Builder setSearchResultType(SearchResultType value)

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.

.google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1;

Parameter
Name Description
value SearchResultType

The searchResultType to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setSearchResultTypeValue(int value)

public SearchCatalogResult.Builder setSearchResultTypeValue(int value)

Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.

.google.cloud.datacatalog.v1beta1.SearchResultType search_result_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for searchResultType to set.

Returns
Type Description
SearchCatalogResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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