public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Transcoding job resource.
Protobuf type google.cloud.video.transcoder.v1beta1.Job
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Job.BuilderImplements
JobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFailureDetails(Iterable<? extends FailureDetail> values)
public Job.Builder addAllFailureDetails(Iterable<? extends FailureDetail> values)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.video.transcoder.v1beta1.FailureDetail> |
Type | Description |
Job.Builder |
addFailureDetails(FailureDetail value)
public Job.Builder addFailureDetails(FailureDetail value)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | FailureDetail |
Type | Description |
Job.Builder |
addFailureDetails(FailureDetail.Builder builderForValue)
public Job.Builder addFailureDetails(FailureDetail.Builder builderForValue)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | FailureDetail.Builder |
Type | Description |
Job.Builder |
addFailureDetails(int index, FailureDetail value)
public Job.Builder addFailureDetails(int index, FailureDetail value)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | FailureDetail |
Type | Description |
Job.Builder |
addFailureDetails(int index, FailureDetail.Builder builderForValue)
public Job.Builder addFailureDetails(int index, FailureDetail.Builder builderForValue)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | FailureDetail.Builder |
Type | Description |
Job.Builder |
addFailureDetailsBuilder()
public FailureDetail.Builder addFailureDetailsBuilder()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
FailureDetail.Builder |
addFailureDetailsBuilder(int index)
public FailureDetail.Builder addFailureDetailsBuilder(int index)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
FailureDetail.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Job.Builder |
build()
public Job build()
Type | Description |
Job |
buildPartial()
public Job buildPartial()
Type | Description |
Job |
clear()
public Job.Builder clear()
Type | Description |
Job.Builder |
clearConfig()
public Job.Builder clearConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Type | Description |
Job.Builder |
clearCreateTime()
public Job.Builder clearCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearEndTime()
public Job.Builder clearEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearFailureDetails()
public Job.Builder clearFailureDetails()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearFailureReason()
public Job.Builder clearFailureReason()
Output only. A description of the reason for the failure. This property is
always present when state
is FAILED
.
string failure_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Job.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Job.Builder |
clearInputUri()
public Job.Builder clearInputUri()
Input only. Specify the input_uri
to populate empty uri
fields in each element of
Job.config.inputs
or JobTemplate.config.inputs
when using template.
URI of the media. Input files must be at least 5 seconds in duration and
stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4
).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Job.Builder | This builder for chaining. |
clearJobConfig()
public Job.Builder clearJobConfig()
Type | Description |
Job.Builder |
clearName()
public Job.Builder clearName()
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Type | Description |
Job.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Job.Builder |
clearOriginUri()
public Job.Builder clearOriginUri()
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearOutputUri()
public Job.Builder clearOutputUri()
Input only. Specify the output_uri
to populate an empty Job.config.output.uri
or
JobTemplate.config.output.uri
when using template.
URI for the output file(s). For example, gs://my-bucket/outputs/
.
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Job.Builder | This builder for chaining. |
clearPriority()
public Job.Builder clearPriority()
Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
int32 priority = 6;
Type | Description |
Job.Builder | This builder for chaining. |
clearProgress()
public Job.Builder clearProgress()
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearStartTime()
public Job.Builder clearStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder |
clearState()
public Job.Builder clearState()
Output only. The current state of the job.
.google.cloud.video.transcoder.v1beta1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.Builder | This builder for chaining. |
clearTemplateId()
public Job.Builder clearTemplateId()
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
Job.Builder | This builder for chaining. |
clearTtlAfterCompletionDays()
public Job.Builder clearTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Type | Description |
Job.Builder | This builder for chaining. |
clone()
public Job.Builder clone()
Type | Description |
Job.Builder |
getConfig()
public JobConfig getConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Type | Description |
JobConfig | The config. |
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Type | Description |
JobConfig.Builder |
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Type | Description |
JobConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Type | Description |
Job |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getFailureDetails(int index)
public FailureDetail getFailureDetails(int index)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
FailureDetail |
getFailureDetailsBuilder(int index)
public FailureDetail.Builder getFailureDetailsBuilder(int index)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
FailureDetail.Builder |
getFailureDetailsBuilderList()
public List<FailureDetail.Builder> getFailureDetailsBuilderList()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
getFailureDetailsCount()
public int getFailureDetailsCount()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getFailureDetailsList()
public List<FailureDetail> getFailureDetailsList()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<FailureDetail> |
getFailureDetailsOrBuilder(int index)
public FailureDetailOrBuilder getFailureDetailsOrBuilder(int index)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
FailureDetailOrBuilder |
getFailureDetailsOrBuilderList()
public List<? extends FailureDetailOrBuilder> getFailureDetailsOrBuilderList()
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.video.transcoder.v1beta1.FailureDetailOrBuilder> |
getFailureReason()
public String getFailureReason()
Output only. A description of the reason for the failure. This property is
always present when state
is FAILED
.
string failure_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The failureReason. |
getFailureReasonBytes()
public ByteString getFailureReasonBytes()
Output only. A description of the reason for the failure. This property is
always present when state
is FAILED
.
string failure_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for failureReason. |
getInputUri()
public String getInputUri()
Input only. Specify the input_uri
to populate empty uri
fields in each element of
Job.config.inputs
or JobTemplate.config.inputs
when using template.
URI of the media. Input files must be at least 5 seconds in duration and
stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4
).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The inputUri. |
getInputUriBytes()
public ByteString getInputUriBytes()
Input only. Specify the input_uri
to populate empty uri
fields in each element of
Job.config.inputs
or JobTemplate.config.inputs
when using template.
URI of the media. Input files must be at least 5 seconds in duration and
stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4
).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for inputUri. |
getJobConfigCase()
public Job.JobConfigCase getJobConfigCase()
Type | Description |
Job.JobConfigCase |
getName()
public String getName()
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOriginUri()
public Job.OriginUri getOriginUri()
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.OriginUri | The originUri. |
getOriginUriBuilder()
public Job.OriginUri.Builder getOriginUriBuilder()
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.OriginUri.Builder |
getOriginUriOrBuilder()
public Job.OriginUriOrBuilder getOriginUriOrBuilder()
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.OriginUriOrBuilder |
getOutputUri()
public String getOutputUri()
Input only. Specify the output_uri
to populate an empty Job.config.output.uri
or
JobTemplate.config.output.uri
when using template.
URI for the output file(s). For example, gs://my-bucket/outputs/
.
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The outputUri. |
getOutputUriBytes()
public ByteString getOutputUriBytes()
Input only. Specify the output_uri
to populate an empty Job.config.output.uri
or
JobTemplate.config.output.uri
when using template.
URI for the output file(s). For example, gs://my-bucket/outputs/
.
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for outputUri. |
getPriority()
public int getPriority()
Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
int32 priority = 6;
Type | Description |
int | The priority. |
getProgress()
public Progress getProgress()
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Progress | The progress. |
getProgressBuilder()
public Progress.Builder getProgressBuilder()
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Progress.Builder |
getProgressOrBuilder()
public ProgressOrBuilder getProgressOrBuilder()
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProgressOrBuilder |
getStartTime()
public Timestamp getStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getState()
public Job.ProcessingState getState()
Output only. The current state of the job.
.google.cloud.video.transcoder.v1beta1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Job.ProcessingState | The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the job.
.google.cloud.video.transcoder.v1beta1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getTemplateId()
public String getTemplateId()
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The templateId. |
getTemplateIdBytes()
public ByteString getTemplateIdBytes()
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for templateId. |
getTtlAfterCompletionDays()
public int getTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Type | Description |
int | The ttlAfterCompletionDays. |
hasConfig()
public boolean hasConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Type | Description |
boolean | Whether the config field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasEndTime()
public boolean hasEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the endTime field is set. |
hasOriginUri()
public boolean hasOriginUri()
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the originUri field is set. |
hasProgress()
public boolean hasProgress()
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the progress field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the startTime field is set. |
hasTemplateId()
public boolean hasTemplateId()
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
boolean | Whether the templateId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfig(JobConfig value)
public Job.Builder mergeConfig(JobConfig value)
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Name | Description |
value | JobConfig |
Type | Description |
Job.Builder |
mergeCreateTime(Timestamp value)
public Job.Builder mergeCreateTime(Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
mergeEndTime(Timestamp value)
public Job.Builder mergeEndTime(Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
mergeFrom(Job other)
public Job.Builder mergeFrom(Job other)
Name | Description |
other | Job |
Type | Description |
Job.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Job.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Job.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Job.Builder |
mergeOriginUri(Job.OriginUri value)
public Job.Builder mergeOriginUri(Job.OriginUri value)
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Job.OriginUri |
Type | Description |
Job.Builder |
mergeProgress(Progress value)
public Job.Builder mergeProgress(Progress value)
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Progress |
Type | Description |
Job.Builder |
mergeStartTime(Timestamp value)
public Job.Builder mergeStartTime(Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Job.Builder |
removeFailureDetails(int index)
public Job.Builder removeFailureDetails(int index)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Job.Builder |
setConfig(JobConfig value)
public Job.Builder setConfig(JobConfig value)
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Name | Description |
value | JobConfig |
Type | Description |
Job.Builder |
setConfig(JobConfig.Builder builderForValue)
public Job.Builder setConfig(JobConfig.Builder builderForValue)
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Name | Description |
builderForValue | JobConfig.Builder |
Type | Description |
Job.Builder |
setCreateTime(Timestamp value)
public Job.Builder setCreateTime(Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Job.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Job.Builder |
setEndTime(Timestamp value)
public Job.Builder setEndTime(Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Job.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Job.Builder |
setFailureDetails(int index, FailureDetail value)
public Job.Builder setFailureDetails(int index, FailureDetail value)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | FailureDetail |
Type | Description |
Job.Builder |
setFailureDetails(int index, FailureDetail.Builder builderForValue)
public Job.Builder setFailureDetails(int index, FailureDetail.Builder builderForValue)
Output only. List of failure details. This property may contain additional
information about the failure when failure_reason
is present.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
repeated .google.cloud.video.transcoder.v1beta1.FailureDetail failure_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | FailureDetail.Builder |
Type | Description |
Job.Builder |
setFailureReason(String value)
public Job.Builder setFailureReason(String value)
Output only. A description of the reason for the failure. This property is
always present when state
is FAILED
.
string failure_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The failureReason to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setFailureReasonBytes(ByteString value)
public Job.Builder setFailureReasonBytes(ByteString value)
Output only. A description of the reason for the failure. This property is
always present when state
is FAILED
.
string failure_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for failureReason to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Job.Builder |
setInputUri(String value)
public Job.Builder setInputUri(String value)
Input only. Specify the input_uri
to populate empty uri
fields in each element of
Job.config.inputs
or JobTemplate.config.inputs
when using template.
URI of the media. Input files must be at least 5 seconds in duration and
stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4
).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The inputUri to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setInputUriBytes(ByteString value)
public Job.Builder setInputUriBytes(ByteString value)
Input only. Specify the input_uri
to populate empty uri
fields in each element of
Job.config.inputs
or JobTemplate.config.inputs
when using template.
URI of the media. Input files must be at least 5 seconds in duration and
stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4
).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for inputUri to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setName(String value)
public Job.Builder setName(String value)
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Job.Builder setNameBytes(ByteString value)
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setOriginUri(Job.OriginUri value)
public Job.Builder setOriginUri(Job.OriginUri value)
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Job.OriginUri |
Type | Description |
Job.Builder |
setOriginUri(Job.OriginUri.Builder builderForValue)
public Job.Builder setOriginUri(Job.OriginUri.Builder builderForValue)
Output only. The origin URI. <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Job.OriginUri origin_uri = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Job.OriginUri.Builder |
Type | Description |
Job.Builder |
setOutputUri(String value)
public Job.Builder setOutputUri(String value)
Input only. Specify the output_uri
to populate an empty Job.config.output.uri
or
JobTemplate.config.output.uri
when using template.
URI for the output file(s). For example, gs://my-bucket/outputs/
.
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The outputUri to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setOutputUriBytes(ByteString value)
public Job.Builder setOutputUriBytes(ByteString value)
Input only. Specify the output_uri
to populate an empty Job.config.output.uri
or
JobTemplate.config.output.uri
when using template.
URI for the output file(s). For example, gs://my-bucket/outputs/
.
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for outputUri to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setPriority(int value)
public Job.Builder setPriority(int value)
Specify the priority of the job. Enter a value between 0 and 100, where 0 is the lowest priority and 100 is the highest priority. The default is 0.
int32 priority = 6;
Name | Description |
value | int The priority to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setProgress(Progress value)
public Job.Builder setProgress(Progress value)
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Progress |
Type | Description |
Job.Builder |
setProgress(Progress.Builder builderForValue)
public Job.Builder setProgress(Progress.Builder builderForValue)
Output only. Estimated fractional progress, from 0
to 1
for each
step.
<aside class="note"><b>Note</b>: This feature is not yet available.</aside>
.google.cloud.video.transcoder.v1beta1.Progress progress = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Progress.Builder |
Type | Description |
Job.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Job.Builder |
setStartTime(Timestamp value)
public Job.Builder setStartTime(Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Job.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Job.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Job.Builder |
setState(Job.ProcessingState value)
public Job.Builder setState(Job.ProcessingState value)
Output only. The current state of the job.
.google.cloud.video.transcoder.v1beta1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Job.ProcessingState The state to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setStateValue(int value)
public Job.Builder setStateValue(int value)
Output only. The current state of the job.
.google.cloud.video.transcoder.v1beta1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setTemplateId(String value)
public Job.Builder setTemplateId(String value)
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | String The templateId to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setTemplateIdBytes(ByteString value)
public Job.Builder setTemplateIdBytes(ByteString value)
Input only. Specify the template_id
to use for populating Job.config
. The default
is preset/web-hd
.
Preset Transcoder templates:
preset/{preset_id}
- User defined JobTemplate:
{job_template_id}
string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Name | Description |
value | ByteString The bytes for templateId to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setTtlAfterCompletionDays(int value)
public Job.Builder setTtlAfterCompletionDays(int value)
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Name | Description |
value | int The ttlAfterCompletionDays to set. |
Type | Description |
Job.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Job.Builder |