Class ListCustomJobsResponse.Builder (3.11.0)

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

Response message for JobService.ListCustomJobs

Protobuf type google.cloud.aiplatform.v1beta1.ListCustomJobsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.CustomJob custom_jobs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.CustomJob>
Returns
TypeDescription
ListCustomJobsResponse.Builder

addCustomJobs(CustomJob value)

public ListCustomJobsResponse.Builder addCustomJobs(CustomJob value)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
valueCustomJob
Returns
TypeDescription
ListCustomJobsResponse.Builder

addCustomJobs(CustomJob.Builder builderForValue)

public ListCustomJobsResponse.Builder addCustomJobs(CustomJob.Builder builderForValue)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
builderForValueCustomJob.Builder
Returns
TypeDescription
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.v1beta1.CustomJob custom_jobs = 1;

Parameters
NameDescription
indexint
valueCustomJob
Returns
TypeDescription
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.v1beta1.CustomJob custom_jobs = 1;

Parameters
NameDescription
indexint
builderForValueCustomJob.Builder
Returns
TypeDescription
ListCustomJobsResponse.Builder

addCustomJobsBuilder()

public CustomJob.Builder addCustomJobsBuilder()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
CustomJob.Builder

addCustomJobsBuilder(int index)

public CustomJob.Builder addCustomJobsBuilder(int index)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomJobsResponse build()
Returns
TypeDescription
ListCustomJobsResponse

buildPartial()

public ListCustomJobsResponse buildPartial()
Returns
TypeDescription
ListCustomJobsResponse

clear()

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

clearCustomJobs()

public ListCustomJobsResponse.Builder clearCustomJobs()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
ListCustomJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListCustomJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListCustomJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomJobs(int index)

public CustomJob getCustomJobs(int index)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomJob

getCustomJobsBuilder(int index)

public CustomJob.Builder getCustomJobsBuilder(int index)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomJob.Builder

getCustomJobsBuilderList()

public List<CustomJob.Builder> getCustomJobsBuilderList()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
List<Builder>

getCustomJobsCount()

public int getCustomJobsCount()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
int

getCustomJobsList()

public List<CustomJob> getCustomJobsList()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
List<CustomJob>

getCustomJobsOrBuilder(int index)

public CustomJobOrBuilder getCustomJobsOrBuilder(int index)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomJobOrBuilder

getCustomJobsOrBuilderList()

public List<? extends CustomJobOrBuilder> getCustomJobsOrBuilderList()

List of CustomJobs in the requested page.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.CustomJobOrBuilder>

getDefaultInstanceForType()

public ListCustomJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(ListCustomJobsResponse other)

public ListCustomJobsResponse.Builder mergeFrom(ListCustomJobsResponse other)
Parameter
NameDescription
otherListCustomJobsResponse
Returns
TypeDescription
ListCustomJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomJobs(int index)

public ListCustomJobsResponse.Builder removeCustomJobs(int index)

List of CustomJobs in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.CustomJob custom_jobs = 1;

Parameters
NameDescription
indexint
valueCustomJob
Returns
TypeDescription
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.v1beta1.CustomJob custom_jobs = 1;

Parameters
NameDescription
indexint
builderForValueCustomJob.Builder
Returns
TypeDescription
ListCustomJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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