public interface JobOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this job.
|
JobConfig |
getConfig()
The configuration for this job.
|
JobConfigOrBuilder |
getConfigOrBuilder()
The configuration for this job.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
String |
getInputUri()
Input only.
|
com.google.protobuf.ByteString |
getInputUriBytes()
Input only.
|
Job.JobConfigCase |
getJobConfigCase() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this job.
|
Map<String,String> |
getLabelsMap()
The labels associated with this job.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this job.
|
String |
getLabelsOrThrow(String key)
The labels associated with this job.
|
String |
getName()
The resource name of the job.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the job.
|
String |
getOutputUri()
Input only.
|
com.google.protobuf.ByteString |
getOutputUriBytes()
Input only.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Job.ProcessingState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getTemplateId()
Input only.
|
com.google.protobuf.ByteString |
getTemplateIdBytes()
Input only.
|
int |
getTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job
completion.
|
boolean |
hasConfig()
The configuration for this job.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasTemplateId()
Input only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The resource name of the job.
Format: `projects/{project_number}/locations/{location}/jobs/{job}`
string name = 1;com.google.protobuf.ByteString getNameBytes()
The resource name of the job.
Format: `projects/{project_number}/locations/{location}/jobs/{job}`
string name = 1;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`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];com.google.protobuf.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`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY];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/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];com.google.protobuf.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/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
string output_uri = 3 [(.google.api.field_behavior) = INPUT_ONLY];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];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];com.google.protobuf.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];boolean hasConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;JobConfig getConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;JobConfigOrBuilder getConfigOrBuilder()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;int getStateValue()
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Job.ProcessingState getState()
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
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;int getLabelsCount()
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;boolean containsLabels(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;String getLabelsOrThrow(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;boolean hasError()
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.rpc.Status getError()
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];Job.JobConfigCase getJobConfigCase()
Copyright © 2022 Google LLC. All rights reserved.