Class ListBatchPredictionJobsResponse.Builder (3.42.0)

public static final class ListBatchPredictionJobsResponse.Builder extends GeneratedMessageV3.Builder<ListBatchPredictionJobsResponse.Builder> implements ListBatchPredictionJobsResponseOrBuilder

Response message for JobService.ListBatchPredictionJobs

Protobuf type google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllBatchPredictionJobs(Iterable<? extends BatchPredictionJob> values)

public ListBatchPredictionJobsResponse.Builder addAllBatchPredictionJobs(Iterable<? extends BatchPredictionJob> values)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.BatchPredictionJob>
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

addBatchPredictionJobs(BatchPredictionJob value)

public ListBatchPredictionJobsResponse.Builder addBatchPredictionJobs(BatchPredictionJob value)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
valueBatchPredictionJob
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

addBatchPredictionJobs(BatchPredictionJob.Builder builderForValue)

public ListBatchPredictionJobsResponse.Builder addBatchPredictionJobs(BatchPredictionJob.Builder builderForValue)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
builderForValueBatchPredictionJob.Builder
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

addBatchPredictionJobs(int index, BatchPredictionJob value)

public ListBatchPredictionJobsResponse.Builder addBatchPredictionJobs(int index, BatchPredictionJob value)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameters
NameDescription
indexint
valueBatchPredictionJob
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

addBatchPredictionJobs(int index, BatchPredictionJob.Builder builderForValue)

public ListBatchPredictionJobsResponse.Builder addBatchPredictionJobs(int index, BatchPredictionJob.Builder builderForValue)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameters
NameDescription
indexint
builderForValueBatchPredictionJob.Builder
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

addBatchPredictionJobsBuilder()

public BatchPredictionJob.Builder addBatchPredictionJobsBuilder()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
BatchPredictionJob.Builder

addBatchPredictionJobsBuilder(int index)

public BatchPredictionJob.Builder addBatchPredictionJobsBuilder(int index)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBatchPredictionJobsResponse build()
Returns
TypeDescription
ListBatchPredictionJobsResponse

buildPartial()

public ListBatchPredictionJobsResponse buildPartial()
Returns
TypeDescription
ListBatchPredictionJobsResponse

clear()

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

clearBatchPredictionJobs()

public ListBatchPredictionJobsResponse.Builder clearBatchPredictionJobs()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBatchPredictionJobsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBatchPredictionJobs(int index)

public BatchPredictionJob getBatchPredictionJobs(int index)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJob

getBatchPredictionJobsBuilder(int index)

public BatchPredictionJob.Builder getBatchPredictionJobsBuilder(int index)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJob.Builder

getBatchPredictionJobsBuilderList()

public List<BatchPredictionJob.Builder> getBatchPredictionJobsBuilderList()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
List<Builder>

getBatchPredictionJobsCount()

public int getBatchPredictionJobsCount()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
int

getBatchPredictionJobsList()

public List<BatchPredictionJob> getBatchPredictionJobsList()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
List<BatchPredictionJob>

getBatchPredictionJobsOrBuilder(int index)

public BatchPredictionJobOrBuilder getBatchPredictionJobsOrBuilder(int index)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchPredictionJobOrBuilder

getBatchPredictionJobsOrBuilderList()

public List<? extends BatchPredictionJobOrBuilder> getBatchPredictionJobsOrBuilderList()

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.BatchPredictionJobOrBuilder>

getDefaultInstanceForType()

public ListBatchPredictionJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBatchPredictionJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.

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

public ListBatchPredictionJobsResponse.Builder mergeFrom(ListBatchPredictionJobsResponse other)
Parameter
NameDescription
otherListBatchPredictionJobsResponse
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBatchPredictionJobs(int index)

public ListBatchPredictionJobsResponse.Builder removeBatchPredictionJobs(int index)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

setBatchPredictionJobs(int index, BatchPredictionJob value)

public ListBatchPredictionJobsResponse.Builder setBatchPredictionJobs(int index, BatchPredictionJob value)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameters
NameDescription
indexint
valueBatchPredictionJob
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

setBatchPredictionJobs(int index, BatchPredictionJob.Builder builderForValue)

public ListBatchPredictionJobsResponse.Builder setBatchPredictionJobs(int index, BatchPredictionJob.Builder builderForValue)

List of BatchPredictionJobs in the requested page.

repeated .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_jobs = 1;

Parameters
NameDescription
indexint
builderForValueBatchPredictionJob.Builder
Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBatchPredictionJobsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBatchPredictionJobsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListBatchPredictionJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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