Class SearchCatalogResult (1.29.0)

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

MODIFY_TIME_FIELD_NUMBER

public static final int MODIFY_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

RELATIVE_RESOURCE_NAME_FIELD_NUMBER

public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_RESULT_SUBTYPE_FIELD_NUMBER

public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_RESULT_TYPE_FIELD_NUMBER

public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchCatalogResult getDefaultInstance()
Returns
TypeDescription
SearchCatalogResult

getDescriptor()

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

newBuilder()

public static SearchCatalogResult.Builder newBuilder()
Returns
TypeDescription
SearchCatalogResult.Builder

newBuilder(SearchCatalogResult prototype)

public static SearchCatalogResult.Builder newBuilder(SearchCatalogResult prototype)
Parameter
NameDescription
prototypeSearchCatalogResult
Returns
TypeDescription
SearchCatalogResult.Builder

parseDelimitedFrom(InputStream input)

public static SearchCatalogResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchCatalogResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchCatalogResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchCatalogResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchCatalogResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchCatalogResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchCatalogResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchCatalogResult> parser()
Returns
TypeDescription
Parser<SearchCatalogResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SearchCatalogResult getDefaultInstanceForType()
Returns
TypeDescription
SearchCatalogResult

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

The modifyTime.

getModifyTimeOrBuilder()

public TimestampOrBuilder getModifyTimeOrBuilder()

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

.google.protobuf.Timestamp modify_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<SearchCatalogResult> getParserForType()
Returns
TypeDescription
Parser<SearchCatalogResult>
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for searchResultType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasModifyTime()

public boolean hasModifyTime()

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

.google.protobuf.Timestamp modify_time = 7;

Returns
TypeDescription
boolean

Whether the modifyTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchCatalogResult.Builder newBuilderForType()
Returns
TypeDescription
SearchCatalogResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchCatalogResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchCatalogResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchCatalogResult.Builder toBuilder()
Returns
TypeDescription
SearchCatalogResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException