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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchCatalogResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchCatalogResult build()
Returns
buildPartial()
public SearchCatalogResult buildPartial()
Returns
clear()
public SearchCatalogResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchCatalogResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchCatalogResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
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
clone()
public SearchCatalogResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchCatalogResult getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchCatalogResult other)
public SearchCatalogResult.Builder mergeFrom(SearchCatalogResult other)
Parameter
Returns
public SearchCatalogResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchCatalogResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchCatalogResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchCatalogResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchCatalogResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchCatalogResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides