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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateJobTemplateRequest build()
buildPartial()
public CreateJobTemplateRequest buildPartial()
clear()
public CreateJobTemplateRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateJobTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateJobTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateJobTemplateRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateJobTemplateRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateJobTemplateRequest other)
public CreateJobTemplateRequest.Builder mergeFrom(CreateJobTemplateRequest other)
public CreateJobTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateJobTemplateRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateJobTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides