public static final class SearchCatalogResult.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
SearchCatalogResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchCatalogResult |
build() |
SearchCatalogResult |
buildPartial() |
SearchCatalogResult.Builder |
clear() |
SearchCatalogResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SearchCatalogResult.Builder |
clearLinkedResource()
The full name of the cloud resource the entry belongs to.
|
SearchCatalogResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SearchCatalogResult.Builder |
clearRelativeResourceName()
The relative resource name of the resource in URL format.
|
SearchCatalogResult.Builder |
clearSearchResultSubtype()
Sub-type of the search result.
|
SearchCatalogResult.Builder |
clearSearchResultType()
Type of the search result.
|
SearchCatalogResult.Builder |
clone() |
SearchCatalogResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLinkedResource()
The full name of the cloud resource the entry belongs to.
|
com.google.protobuf.ByteString |
getLinkedResourceBytes()
The full name of the cloud resource the entry belongs to.
|
String |
getRelativeResourceName()
The relative resource name of the resource in URL format.
|
com.google.protobuf.ByteString |
getRelativeResourceNameBytes()
The relative resource name of the resource in URL format.
|
String |
getSearchResultSubtype()
Sub-type of the search result.
|
com.google.protobuf.ByteString |
getSearchResultSubtypeBytes()
Sub-type of the search result.
|
SearchResultType |
getSearchResultType()
Type of the search result.
|
int |
getSearchResultTypeValue()
Type of the search result.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SearchCatalogResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SearchCatalogResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
SearchCatalogResult.Builder |
mergeFrom(SearchCatalogResult other) |
SearchCatalogResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SearchCatalogResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchCatalogResult.Builder |
setLinkedResource(String value)
The full name of the cloud resource the entry belongs to.
|
SearchCatalogResult.Builder |
setLinkedResourceBytes(com.google.protobuf.ByteString value)
The full name of the cloud resource the entry belongs to.
|
SearchCatalogResult.Builder |
setRelativeResourceName(String value)
The relative resource name of the resource in URL format.
|
SearchCatalogResult.Builder |
setRelativeResourceNameBytes(com.google.protobuf.ByteString value)
The relative resource name of the resource in URL format.
|
SearchCatalogResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SearchCatalogResult.Builder |
setSearchResultSubtype(String value)
Sub-type of the search result.
|
SearchCatalogResult.Builder |
setSearchResultSubtypeBytes(com.google.protobuf.ByteString value)
Sub-type of the search result.
|
SearchCatalogResult.Builder |
setSearchResultType(SearchResultType value)
Type of the search result.
|
SearchCatalogResult.Builder |
setSearchResultTypeValue(int value)
Type of the search result.
|
SearchCatalogResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SearchCatalogResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SearchCatalogResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SearchCatalogResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder mergeFrom(SearchCatalogResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public SearchCatalogResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchCatalogResult.Builder>IOExceptionpublic 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;getSearchResultTypeValue in interface SearchCatalogResultOrBuilderpublic 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;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;getSearchResultType in interface SearchCatalogResultOrBuilderpublic 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;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;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;getSearchResultSubtype in interface SearchCatalogResultOrBuilderpublic 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;getSearchResultSubtypeBytes in interface SearchCatalogResultOrBuilderpublic 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;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;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;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;getRelativeResourceName in interface SearchCatalogResultOrBuilderpublic 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;getRelativeResourceNameBytes in interface SearchCatalogResultOrBuilderpublic 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;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;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;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;getLinkedResource in interface SearchCatalogResultOrBuilderpublic 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;getLinkedResourceBytes in interface SearchCatalogResultOrBuilderpublic 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;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;public SearchCatalogResult.Builder setLinkedResourceBytes(com.google.protobuf.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;public final SearchCatalogResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>public final SearchCatalogResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogResult.Builder>Copyright © 2019 Google LLC. All rights reserved.