public static final class SearchCatalogResponse.Builder extends GeneratedMessageV3.Builder<SearchCatalogResponse.Builder> implements SearchCatalogResponseOrBuilder
Response message for
[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
Protobuf type google.cloud.datacatalog.v1.SearchCatalogResponse
Methods
addAllResults(Iterable<? extends SearchCatalogResult> values)
public SearchCatalogResponse.Builder addAllResults(Iterable<? extends SearchCatalogResult> values)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.SearchCatalogResult>
|
Returns
addAllUnreachable(Iterable<String> values)
public SearchCatalogResponse.Builder addAllUnreachable(Iterable<String> values)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchCatalogResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addResults(SearchCatalogResult value)
public SearchCatalogResponse.Builder addResults(SearchCatalogResult value)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
addResults(SearchCatalogResult.Builder builderForValue)
public SearchCatalogResponse.Builder addResults(SearchCatalogResult.Builder builderForValue)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
addResults(int index, SearchCatalogResult value)
public SearchCatalogResponse.Builder addResults(int index, SearchCatalogResult value)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameters
Returns
addResults(int index, SearchCatalogResult.Builder builderForValue)
public SearchCatalogResponse.Builder addResults(int index, SearchCatalogResult.Builder builderForValue)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameters
Returns
addResultsBuilder()
public SearchCatalogResult.Builder addResultsBuilder()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
addResultsBuilder(int index)
public SearchCatalogResult.Builder addResultsBuilder(int index)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
addUnreachable(String value)
public SearchCatalogResponse.Builder addUnreachable(String value)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameter
Name | Description |
value | String
The unreachable to add.
|
Returns
addUnreachableBytes(ByteString value)
public SearchCatalogResponse.Builder addUnreachableBytes(ByteString value)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameter
Name | Description |
value | ByteString
The bytes of the unreachable to add.
|
Returns
build()
public SearchCatalogResponse build()
Returns
buildPartial()
public SearchCatalogResponse buildPartial()
Returns
clear()
public SearchCatalogResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchCatalogResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public SearchCatalogResponse.Builder clearNextPageToken()
Pagination token that can be used in subsequent calls to retrieve the next
page of results.
string next_page_token = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchCatalogResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResults()
public SearchCatalogResponse.Builder clearResults()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
clearUnreachable()
public SearchCatalogResponse.Builder clearUnreachable()
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Returns
clone()
public SearchCatalogResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchCatalogResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Pagination token that can be used in subsequent calls to retrieve the next
page of results.
string next_page_token = 3;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Pagination token that can be used in subsequent calls to retrieve the next
page of results.
string next_page_token = 3;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getResults(int index)
public SearchCatalogResult getResults(int index)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
getResultsBuilder(int index)
public SearchCatalogResult.Builder getResultsBuilder(int index)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
getResultsBuilderList()
public List<SearchCatalogResult.Builder> getResultsBuilderList()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
getResultsCount()
public int getResultsCount()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
getResultsList()
public List<SearchCatalogResult> getResultsList()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
getResultsOrBuilder(int index)
public SearchCatalogResultOrBuilder getResultsOrBuilder(int index)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
getResultsOrBuilderList()
public List<? extends SearchCatalogResultOrBuilder> getResultsOrBuilderList()
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Returns
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder> | |
getUnreachable(int index)
public String getUnreachable(int index)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The unreachable at the given index.
|
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the unreachable at the given index.
|
getUnreachableCount()
public int getUnreachableCount()
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Returns
Type | Description |
int | The count of unreachable.
|
getUnreachableList()
public ProtocolStringList getUnreachableList()
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchCatalogResponse other)
public SearchCatalogResponse.Builder mergeFrom(SearchCatalogResponse other)
Parameter
Returns
public SearchCatalogResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchCatalogResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchCatalogResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResults(int index)
public SearchCatalogResponse.Builder removeResults(int index)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchCatalogResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public SearchCatalogResponse.Builder setNextPageToken(String value)
Pagination token that can be used in subsequent calls to retrieve the next
page of results.
string next_page_token = 3;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public SearchCatalogResponse.Builder setNextPageTokenBytes(ByteString value)
Pagination token that can be used in subsequent calls to retrieve the next
page of results.
string next_page_token = 3;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchCatalogResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResults(int index, SearchCatalogResult value)
public SearchCatalogResponse.Builder setResults(int index, SearchCatalogResult value)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameters
Returns
setResults(int index, SearchCatalogResult.Builder builderForValue)
public SearchCatalogResponse.Builder setResults(int index, SearchCatalogResult.Builder builderForValue)
Search results.
repeated .google.cloud.datacatalog.v1.SearchCatalogResult results = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchCatalogResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUnreachable(int index, String value)
public SearchCatalogResponse.Builder setUnreachable(int index, String value)
Unreachable locations. Search results don't include data from those
locations.
To get additional information on an error, repeat the search request and
restrict it to specific locations by setting the
`SearchCatalogRequest.scope.restricted_locations` parameter.
repeated string unreachable = 6;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The unreachable to set.
|
Returns