Class CreateJobTemplateRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateJobTemplateRequest build()
Returns
TypeDescription
CreateJobTemplateRequest

buildPartial()

public CreateJobTemplateRequest buildPartial()
Returns
TypeDescription
CreateJobTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateJobTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateJobTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateJobTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateJobTemplateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateJobTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateJobTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the jobTemplate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateJobTemplateRequest other)

public CreateJobTemplateRequest.Builder mergeFrom(CreateJobTemplateRequest other)
Parameter
NameDescription
otherCreateJobTemplateRequest
Returns
TypeDescription
CreateJobTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateJobTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueJobTemplate
Returns
TypeDescription
CreateJobTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateJobTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueJobTemplate
Returns
TypeDescription
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
NameDescription
builderForValueJobTemplate.Builder
Returns
TypeDescription
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
NameDescription
valueString

The jobTemplateId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobTemplateId to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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