Class ListJobsResponse.Builder (1.35.0)

public static final class ListJobsResponse.Builder extends GeneratedMessageV3.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilder

Response message for TranscoderService.ListJobs.

Protobuf type google.cloud.video.transcoder.v1.ListJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllJobs(Iterable<? extends Job> values)

public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.transcoder.v1.Job>
Returns
TypeDescription
ListJobsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

addJobs(Job value)

public ListJobsResponse.Builder addJobs(Job value)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
valueJob
Returns
TypeDescription
ListJobsResponse.Builder

addJobs(Job.Builder builderForValue)

public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
ListJobsResponse.Builder

addJobs(int index, Job value)

public ListJobsResponse.Builder addJobs(int index, Job value)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameters
NameDescription
indexint
valueJob
Returns
TypeDescription
ListJobsResponse.Builder

addJobs(int index, Job.Builder builderForValue)

public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameters
NameDescription
indexint
builderForValueJob.Builder
Returns
TypeDescription
ListJobsResponse.Builder

addJobsBuilder()

public Job.Builder addJobsBuilder()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
Job.Builder

addJobsBuilder(int index)

public Job.Builder addJobsBuilder(int index)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Job.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListJobsResponse.Builder addUnreachable(String value)

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListJobsResponse.Builder addUnreachableBytes(ByteString value)

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

build()

public ListJobsResponse build()
Returns
TypeDescription
ListJobsResponse

buildPartial()

public ListJobsResponse buildPartial()
Returns
TypeDescription
ListJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobs()

public ListJobsResponse.Builder clearJobs()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
ListJobsResponse.Builder

clearNextPageToken()

public ListJobsResponse.Builder clearNextPageToken()

The pagination token.

string next_page_token = 2;

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListJobsResponse.Builder clearUnreachable()

List of regions that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobs(int index)

public Job getJobs(int index)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Job

getJobsBuilder(int index)

public Job.Builder getJobsBuilder(int index)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Job.Builder

getJobsBuilderList()

public List<Job.Builder> getJobsBuilderList()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
List<Builder>

getJobsCount()

public int getJobsCount()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
int

getJobsList()

public List<Job> getJobsList()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
List<Job>

getJobsOrBuilder(int index)

public JobOrBuilder getJobsOrBuilder(int index)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobOrBuilder

getJobsOrBuilderList()

public List<? extends JobOrBuilder> getJobsOrBuilderList()

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.JobOrBuilder>

getNextPageToken()

public String getNextPageToken()

The pagination token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

List of regions 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)

List of regions 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()

List of regions that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

List of regions 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(ListJobsResponse other)

public ListJobsResponse.Builder mergeFrom(ListJobsResponse other)
Parameter
NameDescription
otherListJobsResponse
Returns
TypeDescription
ListJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobs(int index)

public ListJobsResponse.Builder removeJobs(int index)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobs(int index, Job value)

public ListJobsResponse.Builder setJobs(int index, Job value)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameters
NameDescription
indexint
valueJob
Returns
TypeDescription
ListJobsResponse.Builder

setJobs(int index, Job.Builder builderForValue)

public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)

List of jobs in the specified region.

repeated .google.cloud.video.transcoder.v1.Job jobs = 1;

Parameters
NameDescription
indexint
builderForValueJob.Builder
Returns
TypeDescription
ListJobsResponse.Builder

setNextPageToken(String value)

public ListJobsResponse.Builder setNextPageToken(String value)

The pagination token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobsResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

List of regions 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
ListJobsResponse.Builder

This builder for chaining.