Class ListEvaluationJobsResponse.Builder (0.163.0)

public static final class ListEvaluationJobsResponse.Builder extends GeneratedMessageV3.Builder<ListEvaluationJobsResponse.Builder> implements ListEvaluationJobsResponseOrBuilder

Results for listing evaluation jobs.

Protobuf type google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllEvaluationJobs(Iterable<? extends EvaluationJob> values)

public ListEvaluationJobsResponse.Builder addAllEvaluationJobs(Iterable<? extends EvaluationJob> values)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datalabeling.v1beta1.EvaluationJob>
Returns
Type Description
ListEvaluationJobsResponse.Builder

addEvaluationJobs(EvaluationJob value)

public ListEvaluationJobsResponse.Builder addEvaluationJobs(EvaluationJob value)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
value EvaluationJob
Returns
Type Description
ListEvaluationJobsResponse.Builder

addEvaluationJobs(EvaluationJob.Builder builderForValue)

public ListEvaluationJobsResponse.Builder addEvaluationJobs(EvaluationJob.Builder builderForValue)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
builderForValue EvaluationJob.Builder
Returns
Type Description
ListEvaluationJobsResponse.Builder

addEvaluationJobs(int index, EvaluationJob value)

public ListEvaluationJobsResponse.Builder addEvaluationJobs(int index, EvaluationJob value)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameters
Name Description
index int
value EvaluationJob
Returns
Type Description
ListEvaluationJobsResponse.Builder

addEvaluationJobs(int index, EvaluationJob.Builder builderForValue)

public ListEvaluationJobsResponse.Builder addEvaluationJobs(int index, EvaluationJob.Builder builderForValue)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameters
Name Description
index int
builderForValue EvaluationJob.Builder
Returns
Type Description
ListEvaluationJobsResponse.Builder

addEvaluationJobsBuilder()

public EvaluationJob.Builder addEvaluationJobsBuilder()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
EvaluationJob.Builder

addEvaluationJobsBuilder(int index)

public EvaluationJob.Builder addEvaluationJobsBuilder(int index)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
EvaluationJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationJobsResponse build()
Returns
Type Description
ListEvaluationJobsResponse

buildPartial()

public ListEvaluationJobsResponse buildPartial()
Returns
Type Description
ListEvaluationJobsResponse

clear()

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

clearEvaluationJobs()

public ListEvaluationJobsResponse.Builder clearEvaluationJobs()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
ListEvaluationJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEvaluationJobsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
Type Description
ListEvaluationJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEvaluationJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListEvaluationJobsResponse

getDescriptorForType()

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

getEvaluationJobs(int index)

public EvaluationJob getEvaluationJobs(int index)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
EvaluationJob

getEvaluationJobsBuilder(int index)

public EvaluationJob.Builder getEvaluationJobsBuilder(int index)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
EvaluationJob.Builder

getEvaluationJobsBuilderList()

public List<EvaluationJob.Builder> getEvaluationJobsBuilderList()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
List<Builder>

getEvaluationJobsCount()

public int getEvaluationJobsCount()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
int

getEvaluationJobsList()

public List<EvaluationJob> getEvaluationJobsList()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
List<EvaluationJob>

getEvaluationJobsOrBuilder(int index)

public EvaluationJobOrBuilder getEvaluationJobsOrBuilder(int index)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
EvaluationJobOrBuilder

getEvaluationJobsOrBuilderList()

public List<? extends EvaluationJobOrBuilder> getEvaluationJobsOrBuilderList()

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Returns
Type Description
List<? extends com.google.cloud.datalabeling.v1beta1.EvaluationJobOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

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(ListEvaluationJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEvaluationJobs(int index)

public ListEvaluationJobsResponse.Builder removeEvaluationJobs(int index)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEvaluationJobsResponse.Builder

setEvaluationJobs(int index, EvaluationJob value)

public ListEvaluationJobsResponse.Builder setEvaluationJobs(int index, EvaluationJob value)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameters
Name Description
index int
value EvaluationJob
Returns
Type Description
ListEvaluationJobsResponse.Builder

setEvaluationJobs(int index, EvaluationJob.Builder builderForValue)

public ListEvaluationJobsResponse.Builder setEvaluationJobs(int index, EvaluationJob.Builder builderForValue)

The list of evaluation jobs to return.

repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;

Parameters
Name Description
index int
builderForValue EvaluationJob.Builder
Returns
Type Description
ListEvaluationJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEvaluationJobsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEvaluationJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEvaluationJobsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEvaluationJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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