Package com.google.cloud.datacatalog.v1
Class SearchCatalogResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1.SearchCatalogResult
- All Implemented Interfaces:
SearchCatalogResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SearchCatalogResult
extends com.google.protobuf.GeneratedMessage
implements SearchCatalogResultOrBuilder
Result in the response to a search request. Each result captures details of one entry that matches the search.Protobuf type
google.cloud.datacatalog.v1.SearchCatalogResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult in the response to a search request.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SearchCatalogResultEntry description that can consist of several sentences or paragraphs that describe entry contents.com.google.protobuf.ByteStringEntry description that can consist of several sentences or paragraphs that describe entry contents.static final com.google.protobuf.Descriptors.DescriptorThe display name of the result.com.google.protobuf.ByteStringThe display name of the result.Fully qualified name (FQN) of the resource.com.google.protobuf.ByteStringFully qualified name (FQN) of the resource.Output only.intOutput only.The full name of the Google Cloud resource the entry belongs to.com.google.protobuf.ByteStringThe full name of the Google Cloud resource the entry belongs to.com.google.protobuf.TimestampThe last modification timestamp of the entry in the source system.com.google.protobuf.TimestampOrBuilderThe last modification timestamp of the entry in the source system.com.google.protobuf.Parser<SearchCatalogResult>The relative name of the resource in URL format.com.google.protobuf.ByteStringThe relative name of the resource in URL format.Sub-type of the search result.com.google.protobuf.ByteStringSub-type of the search result.Type of the search result.intType of the search result.intCustom source system that you can manually integrate Data Catalog with.com.google.protobuf.ByteStringCustom source system that you can manually integrate Data Catalog with.inthashCode()booleanOutput only.booleanThe last modification timestamp of the entry in the source system.booleanCustom source system that you can manually integrate Data Catalog with.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SearchCatalogResult.Builderstatic SearchCatalogResult.BuildernewBuilder(SearchCatalogResult prototype) protected SearchCatalogResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SearchCatalogResultparseDelimitedFrom(InputStream input) static SearchCatalogResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchCatalogResultparseFrom(byte[] data) static SearchCatalogResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchCatalogResultparseFrom(com.google.protobuf.ByteString data) static SearchCatalogResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchCatalogResultparseFrom(com.google.protobuf.CodedInputStream input) static SearchCatalogResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchCatalogResultparseFrom(InputStream input) static SearchCatalogResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchCatalogResultparseFrom(ByteBuffer data) static SearchCatalogResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchCatalogResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SEARCH_RESULT_TYPE_FIELD_NUMBER
public static final int SEARCH_RESULT_TYPE_FIELD_NUMBER- See Also:
-
SEARCH_RESULT_SUBTYPE_FIELD_NUMBER
public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER- See Also:
-
RELATIVE_RESOURCE_NAME_FIELD_NUMBER
public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER- See Also:
-
LINKED_RESOURCE_FIELD_NUMBER
public static final int LINKED_RESOURCE_FIELD_NUMBER- See Also:
-
MODIFY_TIME_FIELD_NUMBER
public static final int MODIFY_TIME_FIELD_NUMBER- See Also:
-
INTEGRATED_SYSTEM_FIELD_NUMBER
public static final int INTEGRATED_SYSTEM_FIELD_NUMBER- See Also:
-
USER_SPECIFIED_SYSTEM_FIELD_NUMBER
public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER- See Also:
-
FULLY_QUALIFIED_NAME_FIELD_NUMBER
public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSystemCase
- Specified by:
getSystemCasein interfaceSearchCatalogResultOrBuilder
-
getSearchResultTypeValue
public int getSearchResultTypeValue()Type of the search result. You can use this field to determine which get method to call to fetch the full resource.
.google.cloud.datacatalog.v1.SearchResultType search_result_type = 1;- Specified by:
getSearchResultTypeValuein interfaceSearchCatalogResultOrBuilder- Returns:
- The enum numeric value on the wire for searchResultType.
-
getSearchResultType
Type of the search result. You can use this field to determine which get method to call to fetch the full resource.
.google.cloud.datacatalog.v1.SearchResultType search_result_type = 1;- Specified by:
getSearchResultTypein interfaceSearchCatalogResultOrBuilder- Returns:
- The searchResultType.
-
getSearchResultSubtype
Sub-type of the search result. A dot-delimited full type of the resource. The same type you specify in the `type` search predicate. Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
string search_result_subtype = 2;- Specified by:
getSearchResultSubtypein interfaceSearchCatalogResultOrBuilder- Returns:
- The searchResultSubtype.
-
getSearchResultSubtypeBytes
public com.google.protobuf.ByteString getSearchResultSubtypeBytes()Sub-type of the search result. A dot-delimited full type of the resource. The same type you specify in the `type` search predicate. Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
string search_result_subtype = 2;- Specified by:
getSearchResultSubtypeBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for searchResultSubtype.
-
getRelativeResourceName
The relative 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;- Specified by:
getRelativeResourceNamein interfaceSearchCatalogResultOrBuilder- Returns:
- The relativeResourceName.
-
getRelativeResourceNameBytes
public com.google.protobuf.ByteString getRelativeResourceNameBytes()The relative 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;- Specified by:
getRelativeResourceNameBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for relativeResourceName.
-
getLinkedResource
The full name of the Google Cloud resource the entry belongs to. For more information, see [Full Resource Name] (/apis/design/resource_names#full_resource_name). Example: `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
string linked_resource = 4;- Specified by:
getLinkedResourcein interfaceSearchCatalogResultOrBuilder- Returns:
- The linkedResource.
-
getLinkedResourceBytes
public com.google.protobuf.ByteString getLinkedResourceBytes()The full name of the Google Cloud resource the entry belongs to. For more information, see [Full Resource Name] (/apis/design/resource_names#full_resource_name). Example: `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
string linked_resource = 4;- Specified by:
getLinkedResourceBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for linkedResource.
-
hasModifyTime
public boolean hasModifyTime()The last modification timestamp of the entry in the source system.
.google.protobuf.Timestamp modify_time = 7;- Specified by:
hasModifyTimein interfaceSearchCatalogResultOrBuilder- Returns:
- Whether the modifyTime field is set.
-
getModifyTime
public com.google.protobuf.Timestamp getModifyTime()The last modification timestamp of the entry in the source system.
.google.protobuf.Timestamp modify_time = 7;- Specified by:
getModifyTimein interfaceSearchCatalogResultOrBuilder- Returns:
- The modifyTime.
-
getModifyTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder()The last modification timestamp of the entry in the source system.
.google.protobuf.Timestamp modify_time = 7;- Specified by:
getModifyTimeOrBuilderin interfaceSearchCatalogResultOrBuilder
-
hasIntegratedSystem
public boolean hasIntegratedSystem()Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
.google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIntegratedSystemin interfaceSearchCatalogResultOrBuilder- Returns:
- Whether the integratedSystem field is set.
-
getIntegratedSystemValue
public int getIntegratedSystemValue()Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
.google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIntegratedSystemValuein interfaceSearchCatalogResultOrBuilder- Returns:
- The enum numeric value on the wire for integratedSystem.
-
getIntegratedSystem
Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
.google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIntegratedSystemin interfaceSearchCatalogResultOrBuilder- Returns:
- The integratedSystem.
-
hasUserSpecifiedSystem
public boolean hasUserSpecifiedSystem()Custom source system that you can manually integrate Data Catalog with.
string user_specified_system = 9;- Specified by:
hasUserSpecifiedSystemin interfaceSearchCatalogResultOrBuilder- Returns:
- Whether the userSpecifiedSystem field is set.
-
getUserSpecifiedSystem
Custom source system that you can manually integrate Data Catalog with.
string user_specified_system = 9;- Specified by:
getUserSpecifiedSystemin interfaceSearchCatalogResultOrBuilder- Returns:
- The userSpecifiedSystem.
-
getUserSpecifiedSystemBytes
public com.google.protobuf.ByteString getUserSpecifiedSystemBytes()Custom source system that you can manually integrate Data Catalog with.
string user_specified_system = 9;- Specified by:
getUserSpecifiedSystemBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for userSpecifiedSystem.
-
getFullyQualifiedName
Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` Example for a DPMS table: `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`string fully_qualified_name = 10;- Specified by:
getFullyQualifiedNamein interfaceSearchCatalogResultOrBuilder- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
public com.google.protobuf.ByteString getFullyQualifiedNameBytes()Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` Example for a DPMS table: `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`string fully_qualified_name = 10;- Specified by:
getFullyQualifiedNameBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for fullyQualifiedName.
-
getDisplayName
The display name of the result.
string display_name = 12;- Specified by:
getDisplayNamein interfaceSearchCatalogResultOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the result.
string display_name = 12;- Specified by:
getDisplayNameBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
Entry description that can consist of several sentences or paragraphs that describe entry contents.
string description = 13;- Specified by:
getDescriptionin interfaceSearchCatalogResultOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Entry description that can consist of several sentences or paragraphs that describe entry contents.
string description = 13;- Specified by:
getDescriptionBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for description.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchCatalogResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchCatalogResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchCatalogResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SearchCatalogResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchCatalogResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchCatalogResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchCatalogResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-