Interface JobOrBuilder

public interface JobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract JobConfig getConfig()

The configuration for this job.

.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;

Returns
TypeDescription
JobConfig

The config.

getConfigOrBuilder()

public abstract JobConfigOrBuilder getConfigOrBuilder()

The configuration for this job.

.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;

Returns
TypeDescription
JobConfigOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getFailureDetails(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
FailureDetail

getFailureDetailsCount()

public abstract 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
TypeDescription
int

getFailureDetailsList()

public abstract 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
TypeDescription
List<FailureDetail>

getFailureDetailsOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
FailureDetailOrBuilder

getFailureDetailsOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1beta1.FailureDetailOrBuilder>

getFailureReason()

public abstract 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
TypeDescription
String

The failureReason.

getFailureReasonBytes()

public abstract 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
TypeDescription
ByteString

The bytes for failureReason.

getInputUri()

public abstract 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
TypeDescription
String

The inputUri.

getInputUriBytes()

public abstract 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
TypeDescription
ByteString

The bytes for inputUri.

getJobConfigCase()

public abstract Job.JobConfigCase getJobConfigCase()
Returns
TypeDescription
Job.JobConfigCase

getName()

public abstract String getName()

The resource name of the job. Format: projects/{project}/locations/{location}/jobs/{job}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the job. Format: projects/{project}/locations/{location}/jobs/{job}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOriginUri()

public abstract 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
TypeDescription
Job.OriginUri

The originUri.

getOriginUriOrBuilder()

public abstract 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
TypeDescription
Job.OriginUriOrBuilder

getOutputUri()

public abstract 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
TypeDescription
String

The outputUri.

getOutputUriBytes()

public abstract 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
TypeDescription
ByteString

The bytes for outputUri.

getPriority()

public abstract 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;

Returns
TypeDescription
int

The priority.

getProgress()

public abstract 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
TypeDescription
Progress

The progress.

getProgressOrBuilder()

public abstract 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
TypeDescription
ProgressOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public abstract 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
TypeDescription
Job.ProcessingState

The state.

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.

getTemplateId()

public abstract 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
TypeDescription
String

The templateId.

getTemplateIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for templateId.

getTtlAfterCompletionDays()

public abstract 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
TypeDescription
int

The ttlAfterCompletionDays.

hasConfig()

public abstract boolean hasConfig()

The configuration for this job.

.google.cloud.video.transcoder.v1beta1.JobConfig config = 5;

Returns
TypeDescription
boolean

Whether the config field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasOriginUri()

public abstract 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
TypeDescription
boolean

Whether the originUri field is set.

hasProgress()

public abstract 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
TypeDescription
boolean

Whether the progress field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasTemplateId()

public abstract 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
TypeDescription
boolean

Whether the templateId field is set.