Class ListTuningJobsResponse.Builder (3.45.0)

public static final class ListTuningJobsResponse.Builder extends GeneratedMessageV3.Builder<ListTuningJobsResponse.Builder> implements ListTuningJobsResponseOrBuilder

Response message for GenAiTuningService.ListTuningJobs

Protobuf type google.cloud.aiplatform.v1.ListTuningJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllTuningJobs(Iterable<? extends TuningJob> values)

public ListTuningJobsResponse.Builder addAllTuningJobs(Iterable<? extends TuningJob> values)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.TuningJob>
Returns
Type Description
ListTuningJobsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTuningJobs(TuningJob value)

public ListTuningJobsResponse.Builder addTuningJobs(TuningJob value)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
value TuningJob
Returns
Type Description
ListTuningJobsResponse.Builder

addTuningJobs(TuningJob.Builder builderForValue)

public ListTuningJobsResponse.Builder addTuningJobs(TuningJob.Builder builderForValue)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
builderForValue TuningJob.Builder
Returns
Type Description
ListTuningJobsResponse.Builder

addTuningJobs(int index, TuningJob value)

public ListTuningJobsResponse.Builder addTuningJobs(int index, TuningJob value)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameters
Name Description
index int
value TuningJob
Returns
Type Description
ListTuningJobsResponse.Builder

addTuningJobs(int index, TuningJob.Builder builderForValue)

public ListTuningJobsResponse.Builder addTuningJobs(int index, TuningJob.Builder builderForValue)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameters
Name Description
index int
builderForValue TuningJob.Builder
Returns
Type Description
ListTuningJobsResponse.Builder

addTuningJobsBuilder()

public TuningJob.Builder addTuningJobsBuilder()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
TuningJob.Builder

addTuningJobsBuilder(int index)

public TuningJob.Builder addTuningJobsBuilder(int index)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TuningJob.Builder

build()

public ListTuningJobsResponse build()
Returns
Type Description
ListTuningJobsResponse

buildPartial()

public ListTuningJobsResponse buildPartial()
Returns
Type Description
ListTuningJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTuningJobsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListTuningJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTuningJobs()

public ListTuningJobsResponse.Builder clearTuningJobs()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
ListTuningJobsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTuningJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListTuningJobsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTuningJobs(int index)

public TuningJob getTuningJobs(int index)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TuningJob

getTuningJobsBuilder(int index)

public TuningJob.Builder getTuningJobsBuilder(int index)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TuningJob.Builder

getTuningJobsBuilderList()

public List<TuningJob.Builder> getTuningJobsBuilderList()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
List<Builder>

getTuningJobsCount()

public int getTuningJobsCount()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
int

getTuningJobsList()

public List<TuningJob> getTuningJobsList()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
List<TuningJob>

getTuningJobsOrBuilder(int index)

public TuningJobOrBuilder getTuningJobsOrBuilder(int index)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
TuningJobOrBuilder

getTuningJobsOrBuilderList()

public List<? extends TuningJobOrBuilder> getTuningJobsOrBuilderList()

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.TuningJobOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTuningJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTuningJobs(int index)

public ListTuningJobsResponse.Builder removeTuningJobs(int index)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTuningJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTuningJobsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTuningJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTuningJobsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTuningJobsResponse.Builder

This builder for chaining.

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

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

setTuningJobs(int index, TuningJob value)

public ListTuningJobsResponse.Builder setTuningJobs(int index, TuningJob value)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameters
Name Description
index int
value TuningJob
Returns
Type Description
ListTuningJobsResponse.Builder

setTuningJobs(int index, TuningJob.Builder builderForValue)

public ListTuningJobsResponse.Builder setTuningJobs(int index, TuningJob.Builder builderForValue)

List of TuningJobs in the requested page.

repeated .google.cloud.aiplatform.v1.TuningJob tuning_jobs = 1;

Parameters
Name Description
index int
builderForValue TuningJob.Builder
Returns
Type Description
ListTuningJobsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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