Class ListNasJobsResponse.Builder (3.32.0)

public static final class ListNasJobsResponse.Builder extends GeneratedMessageV3.Builder<ListNasJobsResponse.Builder> implements ListNasJobsResponseOrBuilder

Response message for JobService.ListNasJobs

Protobuf type google.cloud.aiplatform.v1.ListNasJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllNasJobs(Iterable<? extends NasJob> values)

public ListNasJobsResponse.Builder addAllNasJobs(Iterable<? extends NasJob> values)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

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

addNasJobs(NasJob value)

public ListNasJobsResponse.Builder addNasJobs(NasJob value)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
valueNasJob
Returns
TypeDescription
ListNasJobsResponse.Builder

addNasJobs(NasJob.Builder builderForValue)

public ListNasJobsResponse.Builder addNasJobs(NasJob.Builder builderForValue)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
builderForValueNasJob.Builder
Returns
TypeDescription
ListNasJobsResponse.Builder

addNasJobs(int index, NasJob value)

public ListNasJobsResponse.Builder addNasJobs(int index, NasJob value)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameters
NameDescription
indexint
valueNasJob
Returns
TypeDescription
ListNasJobsResponse.Builder

addNasJobs(int index, NasJob.Builder builderForValue)

public ListNasJobsResponse.Builder addNasJobs(int index, NasJob.Builder builderForValue)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameters
NameDescription
indexint
builderForValueNasJob.Builder
Returns
TypeDescription
ListNasJobsResponse.Builder

addNasJobsBuilder()

public NasJob.Builder addNasJobsBuilder()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Returns
TypeDescription
NasJob.Builder

addNasJobsBuilder(int index)

public NasJob.Builder addNasJobsBuilder(int index)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NasJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNasJobsResponse build()
Returns
TypeDescription
ListNasJobsResponse

buildPartial()

public ListNasJobsResponse buildPartial()
Returns
TypeDescription
ListNasJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNasJobs()

public ListNasJobsResponse.Builder clearNasJobs()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Returns
TypeDescription
ListNasJobsResponse.Builder

clearNextPageToken()

public ListNasJobsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListNasJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNasJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNasJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNasJobs(int index)

public NasJob getNasJobs(int index)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NasJob

getNasJobsBuilder(int index)

public NasJob.Builder getNasJobsBuilder(int index)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NasJob.Builder

getNasJobsBuilderList()

public List<NasJob.Builder> getNasJobsBuilderList()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Returns
TypeDescription
List<Builder>

getNasJobsCount()

public int getNasJobsCount()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Returns
TypeDescription
int

getNasJobsList()

public List<NasJob> getNasJobsList()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Returns
TypeDescription
List<NasJob>

getNasJobsOrBuilder(int index)

public NasJobOrBuilder getNasJobsOrBuilder(int index)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NasJobOrBuilder

getNasJobsOrBuilderList()

public List<? extends NasJobOrBuilder> getNasJobsOrBuilderList()

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListNasJobsRequest.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 ListNasJobsRequest.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(ListNasJobsResponse other)

public ListNasJobsResponse.Builder mergeFrom(ListNasJobsResponse other)
Parameter
NameDescription
otherListNasJobsResponse
Returns
TypeDescription
ListNasJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNasJobs(int index)

public ListNasJobsResponse.Builder removeNasJobs(int index)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNasJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNasJobs(int index, NasJob value)

public ListNasJobsResponse.Builder setNasJobs(int index, NasJob value)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameters
NameDescription
indexint
valueNasJob
Returns
TypeDescription
ListNasJobsResponse.Builder

setNasJobs(int index, NasJob.Builder builderForValue)

public ListNasJobsResponse.Builder setNasJobs(int index, NasJob.Builder builderForValue)

List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.

repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;

Parameters
NameDescription
indexint
builderForValueNasJob.Builder
Returns
TypeDescription
ListNasJobsResponse.Builder

setNextPageToken(String value)

public ListNasJobsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListNasJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNasJobsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListNasJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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