Class Job.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Transcoding job resource.
Protobuf typegoogle.cloud.video.transcoder.v1.Job
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Job.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Jobbuild()JobbuildPartial()Job.Builderclear()Job.BuilderclearBatchModePriority()The processing priority of a batch job.Job.BuilderclearConfig()The configuration for this job.Job.BuilderclearCreateTime()Output only.Job.BuilderclearEndTime()Output only.Job.BuilderclearError()Output only.Job.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Job.BuilderclearInputUri()Input only.Job.BuilderclearJobConfig()Job.BuilderclearLabels()Job.BuilderclearMode()The processing mode of the job.Job.BuilderclearName()The resource name of the job.Job.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Job.BuilderclearOptimization()Optional.Job.BuilderclearOutputUri()Input only.Job.BuilderclearStartTime()Output only.Job.BuilderclearState()Output only.Job.BuilderclearTemplateId()Input only.Job.BuilderclearTtlAfterCompletionDays()Job time to live value in days, which will be effective after job completion.Job.Builderclone()booleancontainsLabels(String key)The labels associated with this job.intgetBatchModePriority()The processing priority of a batch job.JobConfiggetConfig()The configuration for this job.JobConfig.BuildergetConfigBuilder()The configuration for this job.JobConfigOrBuildergetConfigOrBuilder()The configuration for this job.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.JobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetInputUri()Input only.com.google.protobuf.ByteStringgetInputUriBytes()Input only.Job.JobConfigCasegetJobConfigCase()Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels associated with this job.Map<String,String>getLabelsMap()The labels associated with this job.StringgetLabelsOrDefault(String key, String defaultValue)The labels associated with this job.StringgetLabelsOrThrow(String key)The labels associated with this job.Job.ProcessingModegetMode()The processing mode of the job.intgetModeValue()The processing mode of the job.Map<String,String>getMutableLabels()Deprecated.StringgetName()The resource name of the job.com.google.protobuf.ByteStringgetNameBytes()The resource name of the job.Job.OptimizationStrategygetOptimization()Optional.intgetOptimizationValue()Optional.StringgetOutputUri()Input only.com.google.protobuf.ByteStringgetOutputUriBytes()Input only.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.Job.ProcessingStategetState()Output only.intgetStateValue()Output only.StringgetTemplateId()Input only.com.google.protobuf.ByteStringgetTemplateIdBytes()Input only.intgetTtlAfterCompletionDays()Job time to live value in days, which will be effective after job completion.booleanhasConfig()The configuration for this job.booleanhasCreateTime()Output only.booleanhasEndTime()Output only.booleanhasError()Output only.booleanhasStartTime()Output only.booleanhasTemplateId()Input only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Job.BuildermergeConfig(JobConfig value)The configuration for this job.Job.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergeError(com.google.rpc.Status value)Output only.Job.BuildermergeFrom(Job other)Job.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Job.BuildermergeFrom(com.google.protobuf.Message other)Job.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Job.BuilderputAllLabels(Map<String,String> values)The labels associated with this job.Job.BuilderputLabels(String key, String value)The labels associated with this job.Job.BuilderremoveLabels(String key)The labels associated with this job.Job.BuildersetBatchModePriority(int value)The processing priority of a batch job.Job.BuildersetConfig(JobConfig value)The configuration for this job.Job.BuildersetConfig(JobConfig.Builder builderForValue)The configuration for this job.Job.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetError(com.google.rpc.Status value)Output only.Job.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.Job.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Job.BuildersetInputUri(String value)Input only.Job.BuildersetInputUriBytes(com.google.protobuf.ByteString value)Input only.Job.BuildersetMode(Job.ProcessingMode value)The processing mode of the job.Job.BuildersetModeValue(int value)The processing mode of the job.Job.BuildersetName(String value)The resource name of the job.Job.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the job.Job.BuildersetOptimization(Job.OptimizationStrategy value)Optional.Job.BuildersetOptimizationValue(int value)Optional.Job.BuildersetOutputUri(String value)Input only.Job.BuildersetOutputUriBytes(com.google.protobuf.ByteString value)Input only.Job.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Job.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetState(Job.ProcessingState value)Output only.Job.BuildersetStateValue(int value)Output only.Job.BuildersetTemplateId(String value)Input only.Job.BuildersetTemplateIdBytes(com.google.protobuf.ByteString value)Input only.Job.BuildersetTtlAfterCompletionDays(int value)Job time to live value in days, which will be effective after job completion.Job.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Job.JobConfigCase getJobConfigCase()
- Specified by:
getJobConfigCasein interfaceJobOrBuilder
-
clearJobConfig
public Job.Builder clearJobConfig()
-
getName
public String 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
public Job.Builder setName(String value)
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
public Job.Builder clearName()
The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Job.Builder setNameBytes(com.google.protobuf.ByteString value)
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
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`). 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
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`). 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
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`). 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
public Job.Builder setInputUriBytes(com.google.protobuf.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`). 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
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/`. 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
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/`. 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
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/`. 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
public Job.Builder setOutputUriBytes(com.google.protobuf.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/`. 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
public String 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
public Job.Builder setTemplateId(String value)
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
public Job.Builder 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
public Job.Builder setTemplateIdBytes(com.google.protobuf.ByteString value)
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
public JobConfig getConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;- Specified by:
getConfigin interfaceJobOrBuilder- Returns:
- The config.
-
setConfig
public Job.Builder setConfig(JobConfig value)
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;
-
setConfig
public Job.Builder setConfig(JobConfig.Builder builderForValue)
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;
-
mergeConfig
public Job.Builder mergeConfig(JobConfig value)
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;
-
clearConfig
public Job.Builder clearConfig()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;
-
getConfigBuilder
public JobConfig.Builder getConfigBuilder()
The configuration for this job.
.google.cloud.video.transcoder.v1.JobConfig config = 5;
-
getConfigOrBuilder
public JobConfigOrBuilder 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
public Job.Builder setStateValue(int value)
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
public 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];- Specified by:
getStatein interfaceJobOrBuilder- Returns:
- The state.
-
setState
public Job.Builder setState(Job.ProcessingState value)
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
public Job.Builder 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
public Job.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Job.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Job.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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
public Job.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStartTime
public Job.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStartTime
public Job.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStartTime
public Job.Builder 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
public Job.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEndTime
public Job.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEndTime
public Job.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEndTime
public Job.Builder 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
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;- Parameters:
value- The ttlAfterCompletionDays to set.- Returns:
- 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;- 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
public 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;- Specified by:
containsLabelsin interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceJobOrBuilder
-
getLabelsMap
public 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;- Specified by:
getLabelsMapin interfaceJobOrBuilder
-
getLabelsOrDefault
public 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;- Specified by:
getLabelsOrDefaultin interfaceJobOrBuilder
-
getLabelsOrThrow
public 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;- Specified by:
getLabelsOrThrowin interfaceJobOrBuilder
-
clearLabels
public Job.Builder clearLabels()
-
removeLabels
public Job.Builder removeLabels(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Job.Builder putLabels(String key, String value)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
-
putAllLabels
public Job.Builder putAllLabels(Map<String,String> values)
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 `state` 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
public 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];- Specified by:
getErrorin interfaceJobOrBuilder- Returns:
- The error.
-
setError
public Job.Builder setError(com.google.rpc.Status value)
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];
-
setError
public Job.Builder setError(com.google.rpc.Status.Builder builderForValue)
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];
-
mergeError
public Job.Builder mergeError(com.google.rpc.Status value)
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];
-
clearError
public Job.Builder clearError()
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];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
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];
-
getErrorOrBuilder
public 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];- 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
public Job.Builder setModeValue(int value)
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
public Job.ProcessingMode 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
public Job.Builder setMode(Job.ProcessingMode value)
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
public Job.Builder 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
public Job.Builder setBatchModePriority(int value)
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
public Job.Builder 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
public Job.Builder setOptimizationValue(int value)
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
public Job.OptimizationStrategy 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
public Job.Builder setOptimization(Job.OptimizationStrategy value)
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
public Job.Builder 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.
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-