Class CreateJobTemplateRequest.Builder (1.47.0)

public static final class CreateJobTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateJobTemplateRequest.Builder> implements CreateJobTemplateRequestOrBuilder

Request message for TranscoderService.CreateJobTemplate.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateJobTemplateRequest build()
Returns
Type Description
CreateJobTemplateRequest

buildPartial()

public CreateJobTemplateRequest buildPartial()
Returns
Type Description
CreateJobTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobTemplate()

public CreateJobTemplateRequest.Builder clearJobTemplate()

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateJobTemplateRequest.Builder

clearJobTemplateId()

public CreateJobTemplateRequest.Builder clearJobTemplateId()

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression a-zA-Z*.

string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateJobTemplateRequest.Builder clearParent()

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateJobTemplateRequest getDefaultInstanceForType()
Returns
Type Description
CreateJobTemplateRequest

getDescriptorForType()

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

getJobTemplate()

public JobTemplate getJobTemplate()

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
JobTemplate

The jobTemplate.

getJobTemplateBuilder()

public JobTemplate.Builder getJobTemplateBuilder()

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
JobTemplate.Builder

getJobTemplateId()

public String getJobTemplateId()

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression a-zA-Z*.

string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The jobTemplateId.

getJobTemplateIdBytes()

public ByteString getJobTemplateIdBytes()

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression a-zA-Z*.

string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for jobTemplateId.

getJobTemplateOrBuilder()

public JobTemplateOrBuilder getJobTemplateOrBuilder()

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
JobTemplateOrBuilder

getParent()

public String getParent()

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasJobTemplate()

public boolean hasJobTemplate()

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the jobTemplate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateJobTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJobTemplate(JobTemplate value)

public CreateJobTemplateRequest.Builder mergeJobTemplate(JobTemplate value)

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value JobTemplate
Returns
Type Description
CreateJobTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobTemplate(JobTemplate value)

public CreateJobTemplateRequest.Builder setJobTemplate(JobTemplate value)

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value JobTemplate
Returns
Type Description
CreateJobTemplateRequest.Builder

setJobTemplate(JobTemplate.Builder builderForValue)

public CreateJobTemplateRequest.Builder setJobTemplate(JobTemplate.Builder builderForValue)

Required. Parameters for creating job template.

.google.cloud.video.transcoder.v1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];

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

setJobTemplateId(String value)

public CreateJobTemplateRequest.Builder setJobTemplateId(String value)

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression a-zA-Z*.

string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The jobTemplateId to set.

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

setJobTemplateIdBytes(ByteString value)

public CreateJobTemplateRequest.Builder setJobTemplateIdBytes(ByteString value)

Required. The ID to use for the job template, which will become the final component of the job template's resource name.

This value should be 4-63 characters, and valid characters must match the regular expression a-zA-Z*.

string job_template_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for jobTemplateId to set.

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

setParent(String value)

public CreateJobTemplateRequest.Builder setParent(String value)

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateJobTemplateRequest.Builder setParentBytes(ByteString value)

Required. The parent location to create this job template. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateJobTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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