Class SearchEntriesResponse.Builder (1.49.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.SearchEntriesResult>
Returns
Type Description
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
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value SearchEntriesResult
Returns
Type Description
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
Name Description
builderForValue SearchEntriesResult.Builder
Returns
Type Description
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
Name Description
index int
value SearchEntriesResult
Returns
Type Description
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
Name Description
index int
builderForValue SearchEntriesResult.Builder
Returns
Type Description
SearchEntriesResponse.Builder

addResultsBuilder()

public SearchEntriesResult.Builder addResultsBuilder()

The results matching the search query.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The unreachable to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

build()

public SearchEntriesResponse build()
Returns
Type Description
SearchEntriesResponse

buildPartial()

public SearchEntriesResponse buildPartial()
Returns
Type Description
SearchEntriesResponse

clear()

public SearchEntriesResponse.Builder clear()
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

clearNextPageToken()

public SearchEntriesResponse.Builder clearNextPageToken()

Pagination token.

string next_page_token = 3;

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

clearResults()

public SearchEntriesResponse.Builder clearResults()

The results matching the search query.

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

Returns
Type Description
SearchEntriesResponse.Builder

clearTotalSize()

public SearchEntriesResponse.Builder clearTotalSize()

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

int32 total_size = 2;

Returns
Type Description
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
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

clone()

public SearchEntriesResponse.Builder clone()
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchEntriesResponse getDefaultInstanceForType()
Returns
Type Description
SearchEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Pagination token.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token.

string next_page_token = 3;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
SearchEntriesResult.Builder

getResultsBuilderList()

public List<SearchEntriesResult.Builder> getResultsBuilderList()

The results matching the search query.

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

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

The results matching the search query.

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

Returns
Type Description
int

getResultsList()

public List<SearchEntriesResult> getResultsList()

The results matching the search query.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
SearchEntriesResultOrBuilder

getResultsOrBuilderList()

public List<? extends SearchEntriesResultOrBuilder> getResultsOrBuilderList()

The results matching the search query.

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

Returns
Type Description
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
Type Description
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
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.

repeated string unreachable = 4;

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.

repeated string unreachable = 4;

Returns
Type Description
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
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchEntriesResponse other)

public SearchEntriesResponse.Builder mergeFrom(SearchEntriesResponse other)
Parameter
Name Description
other SearchEntriesResponse
Returns
Type Description
SearchEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchEntriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchEntriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
SearchEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchEntriesResponse.Builder
Overrides

setNextPageToken(String value)

public SearchEntriesResponse.Builder setNextPageToken(String value)

Pagination token.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchEntriesResponse.Builder setNextPageTokenBytes(ByteString value)

Pagination token.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value SearchEntriesResult
Returns
Type Description
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
Name Description
index int
builderForValue SearchEntriesResult.Builder
Returns
Type Description
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
Name Description
value int

The totalSize to set.

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
SearchEntriesResponse.Builder

This builder for chaining.