Class Job.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Job.Builder>
com.google.cloud.video.transcoder.v1.Job.Builder
- All Implemented Interfaces:
JobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Job
public static final class Job.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Job.Builder>
implements JobOrBuilder
Transcoding job resource.Protobuf type
google.cloud.video.transcoder.v1.Job-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The processing priority of a batch job.The configuration for this job.Output only.Output only.Output only.Optional.Input only.The processing mode of the job.The resource name of the job.Optional.Input only.Output only.Output only.Input only.Job time to live value in days, which will be effective after job completion.booleancontainsLabels(String key) The labels associated with this job.intThe processing priority of a batch job.The configuration for this job.The configuration for this job.The configuration for this job.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getError()Output only.Output only.Output only.booleanOptional.Input only.com.google.protobuf.ByteStringInput only.Deprecated.intThe labels associated with this job.The labels associated with this job.getLabelsOrDefault(String key, String defaultValue) The labels associated with this job.getLabelsOrThrow(String key) The labels associated with this job.getMode()The processing mode of the job.intThe processing mode of the job.Deprecated.getName()The resource name of the job.com.google.protobuf.ByteStringThe resource name of the job.Optional.intOptional.Input only.com.google.protobuf.ByteStringInput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.Input only.com.google.protobuf.ByteStringInput only.intJob time to live value in days, which will be effective after job completion.booleanThe configuration for this job.booleanOutput only.booleanOutput only.booleanhasError()Output only.booleanOutput only.booleanInput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeConfig(JobConfig value) The configuration for this job.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeError(Status value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) The labels associated with this job.The labels associated with this job.removeLabels(String key) The labels associated with this job.setBatchModePriority(int value) The processing priority of a batch job.The configuration for this job.setConfig(JobConfig.Builder builderForValue) The configuration for this job.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setError(Status.Builder builderForValue) Output only.setFillContentGaps(boolean value) Optional.setInputUri(String value) Input only.setInputUriBytes(com.google.protobuf.ByteString value) Input only.setMode(Job.ProcessingMode value) The processing mode of the job.setModeValue(int value) The processing mode of the job.The resource name of the job.setNameBytes(com.google.protobuf.ByteString value) The resource name of the job.Optional.setOptimizationValue(int value) Optional.setOutputUri(String value) Input only.setOutputUriBytes(com.google.protobuf.ByteString value) Input only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setState(Job.ProcessingState value) Output only.setStateValue(int value) Output only.setTemplateId(String value) Input only.setTemplateIdBytes(com.google.protobuf.ByteString value) Input only.setTtlAfterCompletionDays(int value) Job time to live value in days, which will be effective after job completion.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>- Throws:
IOException
-
getJobConfigCase
- Specified by:
getJobConfigCasein interfaceJobOrBuilder
-
clearJobConfig
-
getName
The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Specified by:
getNamein interfaceJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Specified by:
getNameBytesin interfaceJobOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getInputUriin interfaceJobOrBuilder- Returns:
- The inputUri.
-
getInputUriBytes
public 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];- Specified by:
getInputUriBytesin interfaceJobOrBuilder- Returns:
- The bytes for inputUri.
-
setInputUri
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];- Parameters:
value- The inputUri to set.- Returns:
- This builder for chaining.
-
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`). 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];- Returns:
- This builder for chaining.
-
setInputUriBytes
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];- Parameters:
value- The bytes for inputUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getOutputUriin interfaceJobOrBuilder- Returns:
- The outputUri.
-
getOutputUriBytes
public 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];- Specified by:
getOutputUriBytesin interfaceJobOrBuilder- Returns:
- The bytes for outputUri.
-
setOutputUri
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];- Parameters:
value- The outputUri to set.- Returns:
- This builder for chaining.
-
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/`. 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];- Returns:
- This builder for chaining.
-
setOutputUriBytes
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];- Parameters:
value- The bytes for outputUri to set.- Returns:
- This builder for chaining.
-
hasTemplateId
public boolean hasTemplateId()Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
hasTemplateIdin interfaceJobOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getTemplateIdin interfaceJobOrBuilder- Returns:
- The templateId.
-
getTemplateIdBytes
public com.google.protobuf.ByteString getTemplateIdBytes()Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getTemplateIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for templateId.
-
setTemplateId
Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Parameters:
value- The templateId to set.- Returns:
- This builder for chaining.
-
clearTemplateId
Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Returns:
- This builder for chaining.
-
setTemplateIdBytes
Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}`string template_id = 4 [(.google.api.field_behavior) = INPUT_ONLY];- Parameters:
value- The bytes for templateId to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;- Specified by:
hasConfigin interfaceJobOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;- Specified by:
getConfigin interfaceJobOrBuilder- Returns:
- The config.
-
setConfig
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5; -
setConfig
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5; -
mergeConfig
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5; -
clearConfig
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5; -
getConfigBuilder
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5; -
getConfigOrBuilder
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;- Specified by:
getConfigOrBuilderin interfaceJobOrBuilder
-
getStateValue
public 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];- Specified by:
getStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceJobOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of the job.
.google.cloud.video.transcoder.v1.Job.ProcessingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceJobOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceJobOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceJobOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceJobOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceJobOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceJobOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceJobOrBuilder
-
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;- Specified by:
getTtlAfterCompletionDaysin interfaceJobOrBuilder- Returns:
- The ttlAfterCompletionDays.
-
setTtlAfterCompletionDays
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;- Parameters:
value- The ttlAfterCompletionDays to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:JobOrBuilderThe labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;- Specified by:
getLabelsCountin interfaceJobOrBuilder
-
containsLabels
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;- Specified by:
containsLabelsin interfaceJobOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceJobOrBuilder
-
getLabelsMap
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;- Specified by:
getLabelsMapin interfaceJobOrBuilder
-
getLabelsOrDefault
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;- Specified by:
getLabelsOrDefaultin interfaceJobOrBuilder
-
getLabelsOrThrow
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;- Specified by:
getLabelsOrThrowin interfaceJobOrBuilder
-
clearLabels
-
removeLabels
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16; -
putAllLabels
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16; -
hasError
public boolean hasError()Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceJobOrBuilder- Returns:
- The error.
-
setError
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setError
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeError
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearError
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorBuilder
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorOrBuilder
Output only. An error object that describes the reason for the failure. This property is always present when [ProcessingState][google.cloud.video.transcoder.v1.Job.ProcessingState] is `FAILED`.
.google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceJobOrBuilder
-
getModeValue
public int getModeValue()The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.
.google.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;- Specified by:
getModeValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
setModeValue
The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.
.google.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;- Parameters:
value- The enum numeric value on the wire for mode to set.- Returns:
- This builder for chaining.
-
getMode
The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.
.google.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;- Specified by:
getModein interfaceJobOrBuilder- Returns:
- The mode.
-
setMode
The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.
.google.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`.
.google.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;- Returns:
- This builder for chaining.
-
getBatchModePriority
public int getBatchModePriority()The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job.
int32 batch_mode_priority = 21;- Specified by:
getBatchModePriorityin interfaceJobOrBuilder- Returns:
- The batchModePriority.
-
setBatchModePriority
The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job.
int32 batch_mode_priority = 21;- Parameters:
value- The batchModePriority to set.- Returns:
- This builder for chaining.
-
clearBatchModePriority
The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job.
int32 batch_mode_priority = 21;- Returns:
- This builder for chaining.
-
getOptimizationValue
public int getOptimizationValue()Optional. The optimization strategy of the job. The default is `AUTODETECT`.
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOptimizationValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for optimization.
-
setOptimizationValue
Optional. The optimization strategy of the job. The default is `AUTODETECT`.
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for optimization to set.- Returns:
- This builder for chaining.
-
getOptimization
Optional. The optimization strategy of the job. The default is `AUTODETECT`.
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOptimizationin interfaceJobOrBuilder- Returns:
- The optimization.
-
setOptimization
Optional. The optimization strategy of the job. The default is `AUTODETECT`.
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The optimization to set.- Returns:
- This builder for chaining.
-
clearOptimization
Optional. The optimization strategy of the job. The default is `AUTODETECT`.
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getFillContentGaps
public boolean getFillContentGaps()Optional. Insert silence and duplicate frames when timestamp gaps are detected in a given stream.
bool fill_content_gaps = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFillContentGapsin interfaceJobOrBuilder- Returns:
- The fillContentGaps.
-
setFillContentGaps
Optional. Insert silence and duplicate frames when timestamp gaps are detected in a given stream.
bool fill_content_gaps = 25 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The fillContentGaps to set.- Returns:
- This builder for chaining.
-
clearFillContentGaps
Optional. Insert silence and duplicate frames when timestamp gaps are detected in a given stream.
bool fill_content_gaps = 25 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-