Class ListJobTemplatesResponse.Builder (1.44.0)

public static final class ListJobTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListJobTemplatesResponse.Builder> implements ListJobTemplatesResponseOrBuilder

Response message for TranscoderService.ListJobTemplates.

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

Static Methods

getDescriptor()

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

Methods

addAllJobTemplates(Iterable<? extends JobTemplate> values)

public ListJobTemplatesResponse.Builder addAllJobTemplates(Iterable<? extends JobTemplate> values)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.transcoder.v1.JobTemplate>
Returns
Type Description
ListJobTemplatesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

addJobTemplates(JobTemplate value)

public ListJobTemplatesResponse.Builder addJobTemplates(JobTemplate value)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
value JobTemplate
Returns
Type Description
ListJobTemplatesResponse.Builder

addJobTemplates(JobTemplate.Builder builderForValue)

public ListJobTemplatesResponse.Builder addJobTemplates(JobTemplate.Builder builderForValue)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
builderForValue JobTemplate.Builder
Returns
Type Description
ListJobTemplatesResponse.Builder

addJobTemplates(int index, JobTemplate value)

public ListJobTemplatesResponse.Builder addJobTemplates(int index, JobTemplate value)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameters
Name Description
index int
value JobTemplate
Returns
Type Description
ListJobTemplatesResponse.Builder

addJobTemplates(int index, JobTemplate.Builder builderForValue)

public ListJobTemplatesResponse.Builder addJobTemplates(int index, JobTemplate.Builder builderForValue)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameters
Name Description
index int
builderForValue JobTemplate.Builder
Returns
Type Description
ListJobTemplatesResponse.Builder

addJobTemplatesBuilder()

public JobTemplate.Builder addJobTemplatesBuilder()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
JobTemplate.Builder

addJobTemplatesBuilder(int index)

public JobTemplate.Builder addJobTemplatesBuilder(int index)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
JobTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListJobTemplatesResponse.Builder addUnreachable(String value)

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListJobTemplatesResponse.Builder addUnreachableBytes(ByteString value)

List of regions that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

build()

public ListJobTemplatesResponse build()
Returns
Type Description
ListJobTemplatesResponse

buildPartial()

public ListJobTemplatesResponse buildPartial()
Returns
Type Description
ListJobTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobTemplates()

public ListJobTemplatesResponse.Builder clearJobTemplates()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
ListJobTemplatesResponse.Builder

clearNextPageToken()

public ListJobTemplatesResponse.Builder clearNextPageToken()

The pagination token.

string next_page_token = 2;

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListJobTemplatesResponse.Builder clearUnreachable()

List of regions that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListJobTemplatesResponse

getDescriptorForType()

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

getJobTemplates(int index)

public JobTemplate getJobTemplates(int index)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
JobTemplate

getJobTemplatesBuilder(int index)

public JobTemplate.Builder getJobTemplatesBuilder(int index)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
JobTemplate.Builder

getJobTemplatesBuilderList()

public List<JobTemplate.Builder> getJobTemplatesBuilderList()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
List<Builder>

getJobTemplatesCount()

public int getJobTemplatesCount()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
int

getJobTemplatesList()

public List<JobTemplate> getJobTemplatesList()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
List<JobTemplate>

getJobTemplatesOrBuilder(int index)

public JobTemplateOrBuilder getJobTemplatesOrBuilder(int index)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
JobTemplateOrBuilder

getJobTemplatesOrBuilderList()

public List<? extends JobTemplateOrBuilder> getJobTemplatesOrBuilderList()

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder>

getNextPageToken()

public String getNextPageToken()

The pagination token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token.

string next_page_token = 2;

Returns
Type Description
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
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)

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

List of regions that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobTemplates(int index)

public ListJobTemplatesResponse.Builder removeJobTemplates(int index)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ListJobTemplatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobTemplates(int index, JobTemplate value)

public ListJobTemplatesResponse.Builder setJobTemplates(int index, JobTemplate value)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameters
Name Description
index int
value JobTemplate
Returns
Type Description
ListJobTemplatesResponse.Builder

setJobTemplates(int index, JobTemplate.Builder builderForValue)

public ListJobTemplatesResponse.Builder setJobTemplates(int index, JobTemplate.Builder builderForValue)

List of job templates in the specified region.

repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;

Parameters
Name Description
index int
builderForValue JobTemplate.Builder
Returns
Type Description
ListJobTemplatesResponse.Builder

setNextPageToken(String value)

public ListJobTemplatesResponse.Builder setNextPageToken(String value)

The pagination token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListJobTemplatesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

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

This builder for chaining.