Class SearchCatalogResponse.Builder (1.19.0)

public static final class SearchCatalogResponse.Builder extends GeneratedMessageV3.Builder<SearchCatalogResponse.Builder> implements SearchCatalogResponseOrBuilder

Response message for SearchCatalog.

Protobuf type google.cloud.datacatalog.v1beta1.SearchCatalogResponse

Static Methods

getDescriptor()

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

Methods

addAllResults(Iterable<? extends SearchCatalogResult> values)

public SearchCatalogResponse.Builder addAllResults(Iterable<? extends SearchCatalogResult> values)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.v1beta1.SearchCatalogResult>
Returns
TypeDescription
SearchCatalogResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

addResults(SearchCatalogResult value)

public SearchCatalogResponse.Builder addResults(SearchCatalogResult value)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
valueSearchCatalogResult
Returns
TypeDescription
SearchCatalogResponse.Builder

addResults(SearchCatalogResult.Builder builderForValue)

public SearchCatalogResponse.Builder addResults(SearchCatalogResult.Builder builderForValue)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
builderForValueSearchCatalogResult.Builder
Returns
TypeDescription
SearchCatalogResponse.Builder

addResults(int index, SearchCatalogResult value)

public SearchCatalogResponse.Builder addResults(int index, SearchCatalogResult value)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameters
NameDescription
indexint
valueSearchCatalogResult
Returns
TypeDescription
SearchCatalogResponse.Builder

addResults(int index, SearchCatalogResult.Builder builderForValue)

public SearchCatalogResponse.Builder addResults(int index, SearchCatalogResult.Builder builderForValue)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameters
NameDescription
indexint
builderForValueSearchCatalogResult.Builder
Returns
TypeDescription
SearchCatalogResponse.Builder

addResultsBuilder()

public SearchCatalogResult.Builder addResultsBuilder()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
SearchCatalogResult.Builder

addResultsBuilder(int index)

public SearchCatalogResult.Builder addResultsBuilder(int index)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchCatalogResult.Builder

build()

public SearchCatalogResponse build()
Returns
TypeDescription
SearchCatalogResponse

buildPartial()

public SearchCatalogResponse buildPartial()
Returns
TypeDescription
SearchCatalogResponse

clear()

public SearchCatalogResponse.Builder clear()
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchCatalogResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

clearNextPageToken()

public SearchCatalogResponse.Builder clearNextPageToken()

The token that can be used to retrieve the next page of results.

string next_page_token = 3;

Returns
TypeDescription
SearchCatalogResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCatalogResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

clearResults()

public SearchCatalogResponse.Builder clearResults()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
SearchCatalogResponse.Builder

clone()

public SearchCatalogResponse.Builder clone()
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchCatalogResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchCatalogResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The token that can be used to retrieve the next page of results.

string next_page_token = 3;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token that can be used to retrieve the next page of results.

string next_page_token = 3;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getResults(int index)

public SearchCatalogResult getResults(int index)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchCatalogResult

getResultsBuilder(int index)

public SearchCatalogResult.Builder getResultsBuilder(int index)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchCatalogResult.Builder

getResultsBuilderList()

public List<SearchCatalogResult.Builder> getResultsBuilderList()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
List<Builder>

getResultsCount()

public int getResultsCount()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
int

getResultsList()

public List<SearchCatalogResult> getResultsList()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
List<SearchCatalogResult>

getResultsOrBuilder(int index)

public SearchCatalogResultOrBuilder getResultsOrBuilder(int index)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchCatalogResultOrBuilder

getResultsOrBuilderList()

public List<? extends SearchCatalogResultOrBuilder> getResultsOrBuilderList()

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchCatalogResponse other)

public SearchCatalogResponse.Builder mergeFrom(SearchCatalogResponse other)
Parameter
NameDescription
otherSearchCatalogResponse
Returns
TypeDescription
SearchCatalogResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCatalogResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchCatalogResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

removeResults(int index)

public SearchCatalogResponse.Builder removeResults(int index)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchCatalogResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

setNextPageToken(String value)

public SearchCatalogResponse.Builder setNextPageToken(String value)

The token that can be used to retrieve the next page of results.

string next_page_token = 3;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
SearchCatalogResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchCatalogResponse.Builder setNextPageTokenBytes(ByteString value)

The token that can be used to retrieve the next page of results.

string next_page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
SearchCatalogResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchCatalogResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides

setResults(int index, SearchCatalogResult value)

public SearchCatalogResponse.Builder setResults(int index, SearchCatalogResult value)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameters
NameDescription
indexint
valueSearchCatalogResult
Returns
TypeDescription
SearchCatalogResponse.Builder

setResults(int index, SearchCatalogResult.Builder builderForValue)

public SearchCatalogResponse.Builder setResults(int index, SearchCatalogResult.Builder builderForValue)

Search results.

repeated .google.cloud.datacatalog.v1beta1.SearchCatalogResult results = 1;

Parameters
NameDescription
indexint
builderForValueSearchCatalogResult.Builder
Returns
TypeDescription
SearchCatalogResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCatalogResponse.Builder
Overrides