public final class Job extends GeneratedMessageV3 implements JobOrBuilder
Transcoding job resource.
Protobuf type google.cloud.video.transcoder.v1beta1.Job
Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
FAILURE_DETAILS_FIELD_NUMBER
public static final int FAILURE_DETAILS_FIELD_NUMBER
Field Value
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER
Field Value
public static final int INPUT_URI_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
ORIGIN_URI_FIELD_NUMBER
public static final int ORIGIN_URI_FIELD_NUMBER
Field Value
OUTPUT_URI_FIELD_NUMBER
public static final int OUTPUT_URI_FIELD_NUMBER
Field Value
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
Field Value
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TEMPLATE_ID_FIELD_NUMBER
public static final int TEMPLATE_ID_FIELD_NUMBER
Field Value
TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER
public static final int TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConfig()
public JobConfig getConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Returns
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Returns
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstance()
public static Job getDefaultInstance()
Returns
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getEndTime()
public Timestamp getEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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];
Parameter
Returns
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];
Returns
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];
Returns
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];
Parameter
Returns
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];
Returns
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];
Returns
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];
Returns
Type | Description |
ByteString | The bytes for failureReason.
|
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];
Returns
Type | Description |
String | The inputUri.
|
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];
Returns
getJobConfigCase()
public Job.JobConfigCase getJobConfigCase()
Returns
getName()
The resource name of the job.
Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
Returns
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;
Returns
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];
Returns
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];
Returns
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];
Returns
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];
Returns
getParserForType()
public Parser<Job> getParserForType()
Returns
Overrides
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;
Returns
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];
Returns
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];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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];
Returns
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];
Returns
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];
Returns
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];
Returns
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;
Returns
Type | Description |
int | The ttlAfterCompletionDays.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasConfig()
public boolean hasConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;
Returns
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];
Returns
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];
Returns
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];
Returns
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];
Returns
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];
Returns
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];
Returns
Type | Description |
boolean | Whether the templateId field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Job.Builder newBuilder()
Returns
newBuilder(Job prototype)
public static Job.Builder newBuilder(Job prototype)
Parameter
Name | Description |
prototype | Job
|
Returns
newBuilderForType()
public Job.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Job.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Job parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Job parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Job parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Job parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Job parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Job parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Job parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Job parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Job parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Job parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Job> parser()
Returns
toBuilder()
public Job.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions