Class ListJobTemplatesResponse.Builder (1.0.4)

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
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.v1.JobTemplate job_templates = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.transcoder.v1.JobTemplate>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
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.v1.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.v1.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.v1.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.v1.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.v1.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

addUnreachable(String value)

public ListJobTemplatesResponse.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
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListJobTemplatesResponse.Builder

This builder for chaining.

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.v1.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

clearUnreachable()

public ListJobTemplatesResponse.Builder clearUnreachable()

List of regions that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListJobTemplatesResponse.Builder

This builder for chaining.

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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.JobTemplate job_templates = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.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.

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(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.v1.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.v1.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.v1.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

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListJobTemplatesResponse.Builder

This builder for chaining.