public static final class SearchCatalogResult.Builder extends GeneratedMessage.Builder<SearchCatalogResult.Builder> implements SearchCatalogResultOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchCatalogResult.BuilderImplements
SearchCatalogResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
getDefaultInstanceForType()
public SearchCatalogResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchCatalogResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchCatalogResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogResult.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for relativeResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogResult.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
SearchResultTypeThe 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 |
intThe enum numeric value on the wire for searchResultType to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogResult.Builder |
This builder for chaining. |