Class ListCustomJobsResponse.Builder (3.48.0)

public static final class ListCustomJobsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomJobsResponse.Builder> implements ListCustomJobsResponseOrBuilder

Response message for JobService.ListCustomJobs

Protobuf type google.cloud.aiplatform.v1.ListCustomJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllCustomJobs(Iterable<? extends CustomJob> values)

public ListCustomJobsResponse.Builder addAllCustomJobs(Iterable<? extends CustomJob> values)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

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

addCustomJobs(CustomJob value)

public ListCustomJobsResponse.Builder addCustomJobs(CustomJob value)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
value CustomJob
Returns
Type Description
ListCustomJobsResponse.Builder

addCustomJobs(CustomJob.Builder builderForValue)

public ListCustomJobsResponse.Builder addCustomJobs(CustomJob.Builder builderForValue)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
builderForValue CustomJob.Builder
Returns
Type Description
ListCustomJobsResponse.Builder

addCustomJobs(int index, CustomJob value)

public ListCustomJobsResponse.Builder addCustomJobs(int index, CustomJob value)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameters
Name Description
index int
value CustomJob
Returns
Type Description
ListCustomJobsResponse.Builder

addCustomJobs(int index, CustomJob.Builder builderForValue)

public ListCustomJobsResponse.Builder addCustomJobs(int index, CustomJob.Builder builderForValue)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameters
Name Description
index int
builderForValue CustomJob.Builder
Returns
Type Description
ListCustomJobsResponse.Builder

addCustomJobsBuilder()

public CustomJob.Builder addCustomJobsBuilder()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Returns
Type Description
CustomJob.Builder

addCustomJobsBuilder(int index)

public CustomJob.Builder addCustomJobsBuilder(int index)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomJobsResponse build()
Returns
Type Description
ListCustomJobsResponse

buildPartial()

public ListCustomJobsResponse buildPartial()
Returns
Type Description
ListCustomJobsResponse

clear()

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

clearCustomJobs()

public ListCustomJobsResponse.Builder clearCustomJobs()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Returns
Type Description
ListCustomJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCustomJobsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListCustomJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomJobs(int index)

public CustomJob getCustomJobs(int index)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomJob

getCustomJobsBuilder(int index)

public CustomJob.Builder getCustomJobsBuilder(int index)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomJob.Builder

getCustomJobsBuilderList()

public List<CustomJob.Builder> getCustomJobsBuilderList()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Returns
Type Description
List<Builder>

getCustomJobsCount()

public int getCustomJobsCount()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Returns
Type Description
int

getCustomJobsList()

public List<CustomJob> getCustomJobsList()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Returns
Type Description
List<CustomJob>

getCustomJobsOrBuilder(int index)

public CustomJobOrBuilder getCustomJobsOrBuilder(int index)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomJobOrBuilder

getCustomJobsOrBuilderList()

public List<? extends CustomJobOrBuilder> getCustomJobsOrBuilderList()

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

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

getDefaultInstanceForType()

public ListCustomJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListCustomJobsResponse

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 ListCustomJobsRequest.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 ListCustomJobsRequest.page_token to obtain that page.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomJobs(int index)

public ListCustomJobsResponse.Builder removeCustomJobs(int index)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCustomJobsResponse.Builder

setCustomJobs(int index, CustomJob value)

public ListCustomJobsResponse.Builder setCustomJobs(int index, CustomJob value)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameters
Name Description
index int
value CustomJob
Returns
Type Description
ListCustomJobsResponse.Builder

setCustomJobs(int index, CustomJob.Builder builderForValue)

public ListCustomJobsResponse.Builder setCustomJobs(int index, CustomJob.Builder builderForValue)

List of CustomJobs in the requested page.

repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;

Parameters
Name Description
index int
builderForValue CustomJob.Builder
Returns
Type Description
ListCustomJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCustomJobsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCustomJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomJobsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListCustomJobsRequest.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
ListCustomJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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