Class ListJobRunsResponse.Builder (1.53.0)

public static final class ListJobRunsResponse.Builder extends GeneratedMessageV3.Builder<ListJobRunsResponse.Builder> implements ListJobRunsResponseOrBuilder

ListJobRunsResponse is the response object returned by ListJobRuns.

Protobuf type google.cloud.deploy.v1.ListJobRunsResponse

Static Methods

getDescriptor()

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

Methods

addAllJobRuns(Iterable<? extends JobRun> values)

public ListJobRunsResponse.Builder addAllJobRuns(Iterable<? extends JobRun> values)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.JobRun>
Returns
Type Description
ListJobRunsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListJobRunsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

addJobRuns(JobRun value)

public ListJobRunsResponse.Builder addJobRuns(JobRun value)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
value JobRun
Returns
Type Description
ListJobRunsResponse.Builder

addJobRuns(JobRun.Builder builderForValue)

public ListJobRunsResponse.Builder addJobRuns(JobRun.Builder builderForValue)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
builderForValue JobRun.Builder
Returns
Type Description
ListJobRunsResponse.Builder

addJobRuns(int index, JobRun value)

public ListJobRunsResponse.Builder addJobRuns(int index, JobRun value)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameters
Name Description
index int
value JobRun
Returns
Type Description
ListJobRunsResponse.Builder

addJobRuns(int index, JobRun.Builder builderForValue)

public ListJobRunsResponse.Builder addJobRuns(int index, JobRun.Builder builderForValue)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameters
Name Description
index int
builderForValue JobRun.Builder
Returns
Type Description
ListJobRunsResponse.Builder

addJobRunsBuilder()

public JobRun.Builder addJobRunsBuilder()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
JobRun.Builder

addJobRunsBuilder(int index)

public JobRun.Builder addJobRunsBuilder(int index)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
index int
Returns
Type Description
JobRun.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListJobRunsResponse.Builder addUnreachable(String value)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListJobRunsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

build()

public ListJobRunsResponse build()
Returns
Type Description
ListJobRunsResponse

buildPartial()

public ListJobRunsResponse buildPartial()
Returns
Type Description
ListJobRunsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobRuns()

public ListJobRunsResponse.Builder clearJobRuns()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
ListJobRunsResponse.Builder

clearNextPageToken()

public ListJobRunsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListJobRunsResponse.Builder clearUnreachable()

Locations that could not be reached

repeated string unreachable = 3;

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobRunsResponse getDefaultInstanceForType()
Returns
Type Description
ListJobRunsResponse

getDescriptorForType()

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

getJobRuns(int index)

public JobRun getJobRuns(int index)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
index int
Returns
Type Description
JobRun

getJobRunsBuilder(int index)

public JobRun.Builder getJobRunsBuilder(int index)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
index int
Returns
Type Description
JobRun.Builder

getJobRunsBuilderList()

public List<JobRun.Builder> getJobRunsBuilderList()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
List<Builder>

getJobRunsCount()

public int getJobRunsCount()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
int

getJobRunsList()

public List<JobRun> getJobRunsList()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
List<JobRun>

getJobRunsOrBuilder(int index)

public JobRunOrBuilder getJobRunsOrBuilder(int index)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
index int
Returns
Type Description
JobRunOrBuilder

getJobRunsOrBuilderList()

public List<? extends JobRunOrBuilder> getJobRunsOrBuilderList()

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.JobRunOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListJobRunsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobRuns(int index)

public ListJobRunsResponse.Builder removeJobRuns(int index)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListJobRunsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobRuns(int index, JobRun value)

public ListJobRunsResponse.Builder setJobRuns(int index, JobRun value)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameters
Name Description
index int
value JobRun
Returns
Type Description
ListJobRunsResponse.Builder

setJobRuns(int index, JobRun.Builder builderForValue)

public ListJobRunsResponse.Builder setJobRuns(int index, JobRun.Builder builderForValue)

The JobRun objects.

repeated .google.cloud.deploy.v1.JobRun job_runs = 1;

Parameters
Name Description
index int
builderForValue JobRun.Builder
Returns
Type Description
ListJobRunsResponse.Builder

setNextPageToken(String value)

public ListJobRunsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobRunsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListJobRunsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListJobRunsResponse.Builder

This builder for chaining.