public static final class CreateJobTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateJobTemplateRequest.Builder> implements CreateJobTemplateRequestOrBuilder
Request message for TranscoderService.CreateJobTemplate
.
Protobuf type google.cloud.video.transcoder.v1beta1.CreateJobTemplateRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateJobTemplateRequest build()
Returns
buildPartial()
public CreateJobTemplateRequest buildPartial()
Returns
clear()
public CreateJobTemplateRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateJobTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobTemplate()
public CreateJobTemplateRequest.Builder clearJobTemplate()
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateJobTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateJobTemplateRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateJobTemplateRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJobTemplate()
public JobTemplate getJobTemplate()
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobTemplateBuilder()
public JobTemplate.Builder getJobTemplateBuilder()
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
hasJobTemplate()
public boolean hasJobTemplate()
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateJobTemplateRequest other)
public CreateJobTemplateRequest.Builder mergeFrom(CreateJobTemplateRequest other)
Parameter
Returns
public CreateJobTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateJobTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeJobTemplate(JobTemplate value)
public CreateJobTemplateRequest.Builder mergeJobTemplate(JobTemplate value)
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setJobTemplate(JobTemplate value)
public CreateJobTemplateRequest.Builder setJobTemplate(JobTemplate value)
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setJobTemplate(JobTemplate.Builder builderForValue)
public CreateJobTemplateRequest.Builder setJobTemplate(JobTemplate.Builder builderForValue)
Required. Parameters for creating job template.
.google.cloud.video.transcoder.v1beta1.JobTemplate job_template = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateJobTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides