Class ListEvaluationJobsResponse.Builder (0.123.7)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.EvaluationJob>
Returns
TypeDescription
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
NameDescription
valueEvaluationJob
Returns
TypeDescription
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
NameDescription
builderForValueEvaluationJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvaluationJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvaluationJob.Builder
Returns
TypeDescription
ListEvaluationJobsResponse.Builder

addEvaluationJobsBuilder()

public EvaluationJob.Builder addEvaluationJobsBuilder()

The list of evaluation jobs to return.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EvaluationJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEvaluationJobsResponse build()
Returns
TypeDescription
ListEvaluationJobsResponse

buildPartial()

public ListEvaluationJobsResponse buildPartial()
Returns
TypeDescription
ListEvaluationJobsResponse

clear()

public ListEvaluationJobsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListEvaluationJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEvaluationJobsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListEvaluationJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEvaluationJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEvaluationJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getEvaluationJobsCount()

public int getEvaluationJobsCount()

The list of evaluation jobs to return.

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

Returns
TypeDescription
int

getEvaluationJobsList()

public List<EvaluationJob> getEvaluationJobsList()

The list of evaluation jobs to return.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EvaluationJobOrBuilder

getEvaluationJobsOrBuilderList()

public List<? extends EvaluationJobOrBuilder> getEvaluationJobsOrBuilderList()

The list of evaluation jobs to return.

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

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

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEvaluationJobsResponse other)

public ListEvaluationJobsResponse.Builder mergeFrom(ListEvaluationJobsResponse other)
Parameter
NameDescription
otherListEvaluationJobsResponse
Returns
TypeDescription
ListEvaluationJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEvaluationJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEvaluationJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvaluationJob.Builder
Returns
TypeDescription
ListEvaluationJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListEvaluationJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEvaluationJobsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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