Class JobTemplate.Builder

public static final class JobTemplate.Builder extends GeneratedMessageV3.Builder<JobTemplate.Builder> implements JobTemplateOrBuilder

Transcoding job template resource.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobTemplate build()
Returns
TypeDescription
JobTemplate

buildPartial()

public JobTemplate buildPartial()
Returns
TypeDescription
JobTemplate

clear()

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

clearConfig()

public JobTemplate.Builder clearConfig()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
TypeDescription
JobTemplate.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public JobTemplate.Builder clearName()

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

string name = 1;

Returns
TypeDescription
JobTemplate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConfig()

public JobConfig getConfig()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
TypeDescription
JobConfig

The config.

getConfigBuilder()

public JobConfig.Builder getConfigBuilder()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
TypeDescription
JobConfig.Builder

getConfigOrBuilder()

public JobConfigOrBuilder getConfigOrBuilder()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
TypeDescription
JobConfigOrBuilder

getDefaultInstanceForType()

public JobTemplate getDefaultInstanceForType()
Returns
TypeDescription
JobTemplate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasConfig()

public boolean hasConfig()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
TypeDescription
boolean

Whether the config field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfig(JobConfig value)

public JobTemplate.Builder mergeConfig(JobConfig value)

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Parameter
NameDescription
valueJobConfig
Returns
TypeDescription
JobTemplate.Builder

mergeFrom(JobTemplate other)

public JobTemplate.Builder mergeFrom(JobTemplate other)
Parameter
NameDescription
otherJobTemplate
Returns
TypeDescription
JobTemplate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfig(JobConfig value)

public JobTemplate.Builder setConfig(JobConfig value)

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Parameter
NameDescription
valueJobConfig
Returns
TypeDescription
JobTemplate.Builder

setConfig(JobConfig.Builder builderForValue)

public JobTemplate.Builder setConfig(JobConfig.Builder builderForValue)

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Parameter
NameDescription
builderForValueJobConfig.Builder
Returns
TypeDescription
JobTemplate.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public JobTemplate.Builder setName(String value)

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
JobTemplate.Builder

This builder for chaining.

setNameBytes(ByteString value)

public JobTemplate.Builder setNameBytes(ByteString value)

The resource name of the job template. Format: projects/{project_number}/locations/{location}/jobTemplates/{job_template}

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
JobTemplate.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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