public static final class ListTuningJobsResponse.Builder extends GeneratedMessageV3.Builder<ListTuningJobsResponse.Builder> implements ListTuningJobsResponseOrBuilder
Response message for
GenAiTuningService.ListTuningJobs
Protobuf type google.cloud.aiplatform.v1beta1.ListTuningJobsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListTuningJobsResponse.Builder addAllTuningJobs(Iterable<? extends TuningJob> values)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.TuningJob>
|
public ListTuningJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListTuningJobsResponse.Builder addTuningJobs(TuningJob value)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public ListTuningJobsResponse.Builder addTuningJobs(TuningJob.Builder builderForValue)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public ListTuningJobsResponse.Builder addTuningJobs(int index, TuningJob value)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public ListTuningJobsResponse.Builder addTuningJobs(int index, TuningJob.Builder builderForValue)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public TuningJob.Builder addTuningJobsBuilder()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public TuningJob.Builder addTuningJobsBuilder(int index)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
index |
int
|
public ListTuningJobsResponse build()
public ListTuningJobsResponse buildPartial()
public ListTuningJobsResponse.Builder clear()
Overrides
public ListTuningJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListTuningJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListTuningJobsResponse.Builder clearTuningJobs()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public ListTuningJobsResponse.Builder clone()
Overrides
public ListTuningJobsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
public TuningJob getTuningJobs(int index)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
index |
int
|
public TuningJob.Builder getTuningJobsBuilder(int index)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
index |
int
|
public List<TuningJob.Builder> getTuningJobsBuilderList()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public int getTuningJobsCount()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Returns |
Type |
Description |
int |
|
public List<TuningJob> getTuningJobsList()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public TuningJobOrBuilder getTuningJobsOrBuilder(int index)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends TuningJobOrBuilder> getTuningJobsOrBuilderList()
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TuningJobOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListTuningJobsResponse.Builder mergeFrom(ListTuningJobsResponse other)
public ListTuningJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListTuningJobsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListTuningJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListTuningJobsResponse.Builder removeTuningJobs(int index)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
Parameter |
Name |
Description |
index |
int
|
public ListTuningJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListTuningJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ListTuningJobsResponse.Builder setTuningJobs(int index, TuningJob value)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public ListTuningJobsResponse.Builder setTuningJobs(int index, TuningJob.Builder builderForValue)
List of TuningJobs in the requested page.
repeated .google.cloud.aiplatform.v1beta1.TuningJob tuning_jobs = 1;
public final ListTuningJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides