Class SearchEntriesResponse.Builder (1.37.0)

public static final class SearchEntriesResponse.Builder extends GeneratedMessageV3.Builder<SearchEntriesResponse.Builder> implements SearchEntriesResponseOrBuilder

Protobuf type google.cloud.dataplex.v1.SearchEntriesResponse

Static Methods

getDescriptor()

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

Methods

addAllResults(Iterable<? extends SearchEntriesResult> values)

public SearchEntriesResponse.Builder addAllResults(Iterable<? extends SearchEntriesResult> values)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.SearchEntriesResult>
Returns
TypeDescription
SearchEntriesResponse.Builder

addAllUnreachable(Iterable<String> values)

public SearchEntriesResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResults(SearchEntriesResult value)

public SearchEntriesResponse.Builder addResults(SearchEntriesResult value)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
valueSearchEntriesResult
Returns
TypeDescription
SearchEntriesResponse.Builder

addResults(SearchEntriesResult.Builder builderForValue)

public SearchEntriesResponse.Builder addResults(SearchEntriesResult.Builder builderForValue)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
builderForValueSearchEntriesResult.Builder
Returns
TypeDescription
SearchEntriesResponse.Builder

addResults(int index, SearchEntriesResult value)

public SearchEntriesResponse.Builder addResults(int index, SearchEntriesResult value)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameters
NameDescription
indexint
valueSearchEntriesResult
Returns
TypeDescription
SearchEntriesResponse.Builder

addResults(int index, SearchEntriesResult.Builder builderForValue)

public SearchEntriesResponse.Builder addResults(int index, SearchEntriesResult.Builder builderForValue)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameters
NameDescription
indexint
builderForValueSearchEntriesResult.Builder
Returns
TypeDescription
SearchEntriesResponse.Builder

addResultsBuilder()

public SearchEntriesResult.Builder addResultsBuilder()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
SearchEntriesResult.Builder

addResultsBuilder(int index)

public SearchEntriesResult.Builder addResultsBuilder(int index)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEntriesResult.Builder

addUnreachable(String value)

public SearchEntriesResponse.Builder addUnreachable(String value)

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public SearchEntriesResponse.Builder addUnreachableBytes(ByteString value)

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

build()

public SearchEntriesResponse build()
Returns
TypeDescription
SearchEntriesResponse

buildPartial()

public SearchEntriesResponse buildPartial()
Returns
TypeDescription
SearchEntriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public SearchEntriesResponse.Builder clearNextPageToken()

Pagination token.

string next_page_token = 3;

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResults()

public SearchEntriesResponse.Builder clearResults()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
SearchEntriesResponse.Builder

clearTotalSize()

public SearchEntriesResponse.Builder clearTotalSize()

The estimated total number of matching entries. Not guaranteed to be accurate.

int32 total_size = 2;

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

clearUnreachable()

public SearchEntriesResponse.Builder clearUnreachable()

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Pagination token.

string next_page_token = 3;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token.

string next_page_token = 3;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getResults(int index)

public SearchEntriesResult getResults(int index)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEntriesResult

getResultsBuilder(int index)

public SearchEntriesResult.Builder getResultsBuilder(int index)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEntriesResult.Builder

getResultsBuilderList()

public List<SearchEntriesResult.Builder> getResultsBuilderList()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
List<Builder>

getResultsCount()

public int getResultsCount()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
int

getResultsList()

public List<SearchEntriesResult> getResultsList()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
List<SearchEntriesResult>

getResultsOrBuilder(int index)

public SearchEntriesResultOrBuilder getResultsOrBuilder(int index)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEntriesResultOrBuilder

getResultsOrBuilderList()

public List<? extends SearchEntriesResultOrBuilder> getResultsOrBuilderList()

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.SearchEntriesResultOrBuilder>

getTotalSize()

public int getTotalSize()

The estimated total number of matching entries. Not guaranteed to be accurate.

int32 total_size = 2;

Returns
TypeDescription
int

The totalSize.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.

repeated string unreachable = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.

repeated string unreachable = 4;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchEntriesResponse other)

public SearchEntriesResponse.Builder mergeFrom(SearchEntriesResponse other)
Parameter
NameDescription
otherSearchEntriesResponse
Returns
TypeDescription
SearchEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeResults(int index)

public SearchEntriesResponse.Builder removeResults(int index)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public SearchEntriesResponse.Builder setNextPageToken(String value)

Pagination token.

string next_page_token = 3;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchEntriesResponse.Builder setNextPageTokenBytes(ByteString value)

Pagination token.

string next_page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

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

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

setResults(int index, SearchEntriesResult value)

public SearchEntriesResponse.Builder setResults(int index, SearchEntriesResult value)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameters
NameDescription
indexint
valueSearchEntriesResult
Returns
TypeDescription
SearchEntriesResponse.Builder

setResults(int index, SearchEntriesResult.Builder builderForValue)

public SearchEntriesResponse.Builder setResults(int index, SearchEntriesResult.Builder builderForValue)

The results matching the search query.

repeated .google.cloud.dataplex.v1.SearchEntriesResult results = 1;

Parameters
NameDescription
indexint
builderForValueSearchEntriesResult.Builder
Returns
TypeDescription
SearchEntriesResponse.Builder

setTotalSize(int value)

public SearchEntriesResponse.Builder setTotalSize(int value)

The estimated total number of matching entries. Not guaranteed to be accurate.

int32 total_size = 2;

Parameter
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public SearchEntriesResponse.Builder setUnreachable(int index, String value)

Unreachable locations. Search results don't include data from those locations.

repeated string unreachable = 4;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
SearchEntriesResponse.Builder

This builder for chaining.