public final class SearchCatalogResult extends GeneratedMessageV3 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 Fields
LINKED_RESOURCE_FIELD_NUMBER
public static final int LINKED_RESOURCE_FIELD_NUMBER
Field Value
RELATIVE_RESOURCE_NAME_FIELD_NUMBER
public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER
Field Value
SEARCH_RESULT_SUBTYPE_FIELD_NUMBER
public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER
Field Value
SEARCH_RESULT_TYPE_FIELD_NUMBER
public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SearchCatalogResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SearchCatalogResult.Builder newBuilder()
Returns
newBuilder(SearchCatalogResult prototype)
public static SearchCatalogResult.Builder newBuilder(SearchCatalogResult prototype)
Parameter
Returns
public static SearchCatalogResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchCatalogResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SearchCatalogResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchCatalogResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SearchCatalogResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchCatalogResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchCatalogResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchCatalogResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchCatalogResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchCatalogResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SearchCatalogResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchCatalogResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SearchCatalogResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SearchCatalogResult getDefaultInstanceForType()
Returns
getLinkedResource()
public String getLinkedResource()
Returns
Type | Description |
String | The linkedResource.
|
getLinkedResourceBytes()
public ByteString getLinkedResourceBytes()
Returns
Type | Description |
ByteString | The bytes for linkedResource.
|
getParserForType()
public Parser<SearchCatalogResult> getParserForType()
Returns
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SearchCatalogResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchCatalogResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SearchCatalogResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions