Class ListJobTemplatesResponse.Builder

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

Response message for TranscoderService.ListJobTemplates.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.transcoder.v1beta1.JobTemplate>
Returns
TypeDescription
ListJobTemplatesResponse.Builder

addJobTemplates(JobTemplate value)

public ListJobTemplatesResponse.Builder addJobTemplates(JobTemplate value)

List of job templates in the specified region.

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

Parameter
NameDescription
valueJobTemplate
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameter
NameDescription
builderForValueJobTemplate.Builder
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameters
NameDescription
indexint
valueJobTemplate
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameters
NameDescription
indexint
builderForValueJobTemplate.Builder
Returns
TypeDescription
ListJobTemplatesResponse.Builder

addJobTemplatesBuilder()

public JobTemplate.Builder addJobTemplatesBuilder()

List of job templates in the specified region.

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

Returns
TypeDescription
JobTemplate.Builder

addJobTemplatesBuilder(int index)

public JobTemplate.Builder addJobTemplatesBuilder(int index)

List of job templates in the specified region.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobTemplatesResponse build()
Returns
TypeDescription
ListJobTemplatesResponse

buildPartial()

public ListJobTemplatesResponse buildPartial()
Returns
TypeDescription
ListJobTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobTemplates()

public ListJobTemplatesResponse.Builder clearJobTemplates()

List of job templates in the specified region.

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

Returns
TypeDescription
ListJobTemplatesResponse.Builder

clearNextPageToken()

public ListJobTemplatesResponse.Builder clearNextPageToken()

The pagination token.

string next_page_token = 2;

Returns
TypeDescription
ListJobTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListJobTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListJobTemplatesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobTemplates(int index)

public JobTemplate getJobTemplates(int index)

List of job templates in the specified region.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTemplate

getJobTemplatesBuilder(int index)

public JobTemplate.Builder getJobTemplatesBuilder(int index)

List of job templates in the specified region.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTemplate.Builder

getJobTemplatesBuilderList()

public List<JobTemplate.Builder> getJobTemplatesBuilderList()

List of job templates in the specified region.

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

Returns
TypeDescription
List<Builder>

getJobTemplatesCount()

public int getJobTemplatesCount()

List of job templates in the specified region.

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

Returns
TypeDescription
int

getJobTemplatesList()

public List<JobTemplate> getJobTemplatesList()

List of job templates in the specified region.

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

Returns
TypeDescription
List<JobTemplate>

getJobTemplatesOrBuilder(int index)

public JobTemplateOrBuilder getJobTemplatesOrBuilder(int index)

List of job templates in the specified region.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTemplateOrBuilder

getJobTemplatesOrBuilderList()

public List<? extends JobTemplateOrBuilder> getJobTemplatesOrBuilderList()

List of job templates in the specified region.

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

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1beta1.JobTemplateOrBuilder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListJobTemplatesResponse other)

public ListJobTemplatesResponse.Builder mergeFrom(ListJobTemplatesResponse other)
Parameter
NameDescription
otherListJobTemplatesResponse
Returns
TypeDescription
ListJobTemplatesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListJobTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListJobTemplatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListJobTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameters
NameDescription
indexint
valueJobTemplate
Returns
TypeDescription
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.v1beta1.JobTemplate job_templates = 1;

Parameters
NameDescription
indexint
builderForValueJobTemplate.Builder
Returns
TypeDescription
ListJobTemplatesResponse.Builder

setNextPageToken(String value)

public ListJobTemplatesResponse.Builder setNextPageToken(String value)

The pagination token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListJobTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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