Class SearchCatalogResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchCatalogResult.Builder>
com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder
- All Implemented Interfaces:
SearchCatalogResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchCatalogResult
public static final class SearchCatalogResult.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The full name of the cloud resource the entry belongs to.Last-modified timestamp of the entry from the managing system.The relative resource name of the resource in URL format.Sub-type of the search result.Type of the search result.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe full name of the cloud resource the entry belongs to.com.google.protobuf.ByteStringThe full name of the cloud resource the entry belongs to.com.google.protobuf.TimestampLast-modified timestamp of the entry from the managing system.com.google.protobuf.Timestamp.BuilderLast-modified timestamp of the entry from the managing system.com.google.protobuf.TimestampOrBuilderLast-modified timestamp of the entry from the managing system.The relative resource name of the resource in URL format.com.google.protobuf.ByteStringThe relative resource 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.booleanLast-modified timestamp of the entry from the managing system.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchCatalogResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeModifyTime(com.google.protobuf.Timestamp value) Last-modified timestamp of the entry from the managing system.setLinkedResource(String value) The full name of the cloud resource the entry belongs to.setLinkedResourceBytes(com.google.protobuf.ByteString value) The full name of the cloud resource the entry belongs to.setModifyTime(com.google.protobuf.Timestamp value) Last-modified timestamp of the entry from the managing system.setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) Last-modified timestamp of the entry from the managing system.setRelativeResourceName(String value) The relative resource name of the resource in URL format.setRelativeResourceNameBytes(com.google.protobuf.ByteString value) The relative resource name of the resource in URL format.setSearchResultSubtype(String value) Sub-type of the search result.setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) Sub-type of the search result.Type of the search result.setSearchResultTypeValue(int value) Type of the search result.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<SearchCatalogResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchCatalogResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchCatalogResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCatalogResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchCatalogResult.Builder>
-
mergeFrom
public SearchCatalogResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCatalogResult.Builder>- Throws:
IOException
-
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;- Specified by:
getSearchResultTypeValuein interfaceSearchCatalogResultOrBuilder- Returns:
- The enum numeric value on the wire for searchResultType.
-
setSearchResultTypeValue
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;- Parameters:
value- The enum numeric value on the wire for searchResultType to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSearchResultTypein interfaceSearchCatalogResultOrBuilder- Returns:
- The searchResultType.
-
setSearchResultType
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;- Parameters:
value- The searchResultType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getSearchResultSubtypein interfaceSearchCatalogResultOrBuilder- Returns:
- The searchResultSubtype.
-
getSearchResultSubtypeBytes
public com.google.protobuf.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;- Specified by:
getSearchResultSubtypeBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for searchResultSubtype.
-
setSearchResultSubtype
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;- Parameters:
value- The searchResultSubtype to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setSearchResultSubtypeBytes
public SearchCatalogResult.Builder setSearchResultSubtypeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for searchResultSubtype to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRelativeResourceNamein interfaceSearchCatalogResultOrBuilder- Returns:
- The relativeResourceName.
-
getRelativeResourceNameBytes
public com.google.protobuf.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;- Specified by:
getRelativeResourceNameBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for relativeResourceName.
-
setRelativeResourceName
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;- Parameters:
value- The relativeResourceName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRelativeResourceNameBytes
public SearchCatalogResult.Builder setRelativeResourceNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for relativeResourceName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getLinkedResourcein interfaceSearchCatalogResultOrBuilder- Returns:
- The linkedResource.
-
getLinkedResourceBytes
public com.google.protobuf.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;- Specified by:
getLinkedResourceBytesin interfaceSearchCatalogResultOrBuilder- Returns:
- The bytes for linkedResource.
-
setLinkedResource
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;- Parameters:
value- The linkedResource to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLinkedResourceBytes
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;- Parameters:
value- The bytes for linkedResource to set.- Returns:
- This builder for chaining.
-
hasModifyTime
public boolean hasModifyTime()Last-modified timestamp of the entry from the managing 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()Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7;- Specified by:
getModifyTimein interfaceSearchCatalogResultOrBuilder- Returns:
- The modifyTime.
-
setModifyTime
Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7; -
setModifyTime
public SearchCatalogResult.Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7; -
mergeModifyTime
Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7; -
clearModifyTime
Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7; -
getModifyTimeBuilder
public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder()Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7; -
getModifyTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder()Last-modified timestamp of the entry from the managing system.
.google.protobuf.Timestamp modify_time = 7;- Specified by:
getModifyTimeOrBuilderin interfaceSearchCatalogResultOrBuilder
-