Class ListEvaluationResultsResponse.Builder (0.44.0)

public static final class ListEvaluationResultsResponse.Builder extends GeneratedMessageV3.Builder<ListEvaluationResultsResponse.Builder> implements ListEvaluationResultsResponseOrBuilder

Response message for EvaluationService.ListEvaluationResults method.

Protobuf type google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEvaluationResults(Iterable<? extends ListEvaluationResultsResponse.EvaluationResult> values)

public ListEvaluationResultsResponse.Builder addAllEvaluationResults(Iterable<? extends ListEvaluationResultsResponse.EvaluationResult> values)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult>
Returns
Type Description
ListEvaluationResultsResponse.Builder

addEvaluationResults(ListEvaluationResultsResponse.EvaluationResult value)

public ListEvaluationResultsResponse.Builder addEvaluationResults(ListEvaluationResultsResponse.EvaluationResult value)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
value ListEvaluationResultsResponse.EvaluationResult
Returns
Type Description
ListEvaluationResultsResponse.Builder

addEvaluationResults(ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

public ListEvaluationResultsResponse.Builder addEvaluationResults(ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
builderForValue ListEvaluationResultsResponse.EvaluationResult.Builder
Returns
Type Description
ListEvaluationResultsResponse.Builder

addEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult value)

public ListEvaluationResultsResponse.Builder addEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult value)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameters
Name Description
index int
value ListEvaluationResultsResponse.EvaluationResult
Returns
Type Description
ListEvaluationResultsResponse.Builder

addEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

public ListEvaluationResultsResponse.Builder addEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameters
Name Description
index int
builderForValue ListEvaluationResultsResponse.EvaluationResult.Builder
Returns
Type Description
ListEvaluationResultsResponse.Builder

addEvaluationResultsBuilder()

public ListEvaluationResultsResponse.EvaluationResult.Builder addEvaluationResultsBuilder()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

addEvaluationResultsBuilder(int index)

public ListEvaluationResultsResponse.EvaluationResult.Builder addEvaluationResultsBuilder(int index)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationResultsResponse build()
Returns
Type Description
ListEvaluationResultsResponse

buildPartial()

public ListEvaluationResultsResponse buildPartial()
Returns
Type Description
ListEvaluationResultsResponse

clear()

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

clearEvaluationResults()

public ListEvaluationResultsResponse.Builder clearEvaluationResults()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
ListEvaluationResultsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEvaluationResultsResponse.Builder clearNextPageToken()

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListEvaluationResultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEvaluationResultsResponse getDefaultInstanceForType()
Returns
Type Description
ListEvaluationResultsResponse

getDescriptorForType()

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

getEvaluationResults(int index)

public ListEvaluationResultsResponse.EvaluationResult getEvaluationResults(int index)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult

getEvaluationResultsBuilder(int index)

public ListEvaluationResultsResponse.EvaluationResult.Builder getEvaluationResultsBuilder(int index)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResult.Builder

getEvaluationResultsBuilderList()

public List<ListEvaluationResultsResponse.EvaluationResult.Builder> getEvaluationResultsBuilderList()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
List<Builder>

getEvaluationResultsCount()

public int getEvaluationResultsCount()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
int

getEvaluationResultsList()

public List<ListEvaluationResultsResponse.EvaluationResult> getEvaluationResultsList()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
List<EvaluationResult>

getEvaluationResultsOrBuilder(int index)

public ListEvaluationResultsResponse.EvaluationResultOrBuilder getEvaluationResultsOrBuilder(int index)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationResultsResponse.EvaluationResultOrBuilder

getEvaluationResultsOrBuilderList()

public List<? extends ListEvaluationResultsResponse.EvaluationResultOrBuilder> getEvaluationResultsOrBuilderList()

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResultOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEvaluationResultsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEvaluationResultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEvaluationResultsResponse.Builder
Overrides

removeEvaluationResults(int index)

public ListEvaluationResultsResponse.Builder removeEvaluationResults(int index)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationResultsResponse.Builder

setEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult value)

public ListEvaluationResultsResponse.Builder setEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult value)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameters
Name Description
index int
value ListEvaluationResultsResponse.EvaluationResult
Returns
Type Description
ListEvaluationResultsResponse.Builder

setEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

public ListEvaluationResultsResponse.Builder setEvaluationResults(int index, ListEvaluationResultsResponse.EvaluationResult.Builder builderForValue)

The EvaluationResults.

repeated .google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult evaluation_results = 1;

Parameters
Name Description
index int
builderForValue ListEvaluationResultsResponse.EvaluationResult.Builder
Returns
Type Description
ListEvaluationResultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEvaluationResultsResponse.Builder setNextPageToken(String value)

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEvaluationResultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEvaluationResultsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEvaluationResultsResponse.Builder

This builder for chaining.

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

public ListEvaluationResultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListEvaluationResultsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEvaluationResultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEvaluationResultsResponse.Builder
Overrides