Class ListJobRunsResponse.Builder (1.7.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.JobRun>
Returns
TypeDescription
ListJobRunsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueJobRun
Returns
TypeDescription
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
NameDescription
builderForValueJobRun.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueJobRun
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobRun.Builder
Returns
TypeDescription
ListJobRunsResponse.Builder

addJobRunsBuilder()

public JobRun.Builder addJobRunsBuilder()

The JobRun objects.

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

Returns
TypeDescription
JobRun.Builder

addJobRunsBuilder(int index)

public JobRun.Builder addJobRunsBuilder(int index)

The JobRun objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobRun.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListJobRunsResponse.Builder addUnreachable(String value)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListJobRunsResponse.Builder

This builder for chaining.

build()

public ListJobRunsResponse build()
Returns
TypeDescription
ListJobRunsResponse

buildPartial()

public ListJobRunsResponse buildPartial()
Returns
TypeDescription
ListJobRunsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobRuns()

public ListJobRunsResponse.Builder clearJobRuns()

The JobRun objects.

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

Returns
TypeDescription
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
TypeDescription
ListJobRunsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListJobRunsResponse.Builder clearUnreachable()

Locations that could not be reached

repeated string unreachable = 3;

Returns
TypeDescription
ListJobRunsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobRunsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListJobRunsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobRuns(int index)

public JobRun getJobRuns(int index)

The JobRun objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobRun

getJobRunsBuilder(int index)

public JobRun.Builder getJobRunsBuilder(int index)

The JobRun objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobRun.Builder

getJobRunsBuilderList()

public List<JobRun.Builder> getJobRunsBuilderList()

The JobRun objects.

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

Returns
TypeDescription
List<Builder>

getJobRunsCount()

public int getJobRunsCount()

The JobRun objects.

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

Returns
TypeDescription
int

getJobRunsList()

public List<JobRun> getJobRunsList()

The JobRun objects.

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

Returns
TypeDescription
List<JobRun>

getJobRunsOrBuilder(int index)

public JobRunOrBuilder getJobRunsOrBuilder(int index)

The JobRun objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobRunOrBuilder

getJobRunsOrBuilderList()

public List<? extends JobRunOrBuilder> getJobRunsOrBuilderList()

The JobRun objects.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListJobRunsResponse other)

public ListJobRunsResponse.Builder mergeFrom(ListJobRunsResponse other)
Parameter
NameDescription
otherListJobRunsResponse
Returns
TypeDescription
ListJobRunsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListJobRunsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListJobRunsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListJobRunsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListJobRunsResponse.Builder

This builder for chaining.