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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job
build()
Job
buildPartial()
Job.Builder
clear()
Job.Builder
clearBatchModePriority()
The processing priority of a batch job.Job.Builder
clearConfig()
The configuration for this job.Job.Builder
clearCreateTime()
Output only.Job.Builder
clearEndTime()
Output only.Job.Builder
clearError()
Output only.Job.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Job.Builder
clearInputUri()
Input only.Job.Builder
clearJobConfig()
Job.Builder
clearLabels()
Job.Builder
clearMode()
The processing mode of the job.Job.Builder
clearName()
The resource name of the job.Job.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Job.Builder
clearOptimization()
Optional.Job.Builder
clearOutputUri()
Input only.Job.Builder
clearStartTime()
Output only.Job.Builder
clearState()
Output only.Job.Builder
clearTemplateId()
Input only.Job.Builder
clearTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job completion.Job.Builder
clone()
boolean
containsLabels(String key)
The labels associated with this job.int
getBatchModePriority()
The processing priority of a batch job.JobConfig
getConfig()
The configuration for this job.JobConfig.Builder
getConfigBuilder()
The configuration for this job.JobConfigOrBuilder
getConfigOrBuilder()
The configuration for this job.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Job
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
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.Job.ProcessingMode
getMode()
The processing mode of the job.int
getModeValue()
The processing mode of the job.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
The resource name of the job.com.google.protobuf.ByteString
getNameBytes()
The resource name of the job.Job.OptimizationStrategy
getOptimization()
Optional.int
getOptimizationValue()
Optional.String
getOutputUri()
Input only.com.google.protobuf.ByteString
getOutputUriBytes()
Input only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Job.Builder
mergeConfig(JobConfig value)
The configuration for this job.Job.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeError(com.google.rpc.Status value)
Output only.Job.Builder
mergeFrom(Job other)
Job.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Job.Builder
mergeFrom(com.google.protobuf.Message other)
Job.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
putAllLabels(Map<String,String> values)
The labels associated with this job.Job.Builder
putLabels(String key, String value)
The labels associated with this job.Job.Builder
removeLabels(String key)
The labels associated with this job.Job.Builder
setBatchModePriority(int value)
The processing priority of a batch job.Job.Builder
setConfig(JobConfig value)
The configuration for this job.Job.Builder
setConfig(JobConfig.Builder builderForValue)
The configuration for this job.Job.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setError(com.google.rpc.Status value)
Output only.Job.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.Job.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job.Builder
setInputUri(String value)
Input only.Job.Builder
setInputUriBytes(com.google.protobuf.ByteString value)
Input only.Job.Builder
setMode(Job.ProcessingMode value)
The processing mode of the job.Job.Builder
setModeValue(int value)
The processing mode of the job.Job.Builder
setName(String value)
The resource name of the job.Job.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the job.Job.Builder
setOptimization(Job.OptimizationStrategy value)
Optional.Job.Builder
setOptimizationValue(int value)
Optional.Job.Builder
setOutputUri(String value)
Input only.Job.Builder
setOutputUriBytes(com.google.protobuf.ByteString value)
Input only.Job.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Job.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setState(Job.ProcessingState value)
Output only.Job.Builder
setStateValue(int value)
Output only.Job.Builder
setTemplateId(String value)
Input only.Job.Builder
setTemplateIdBytes(com.google.protobuf.ByteString value)
Input only.Job.Builder
setTtlAfterCompletionDays(int value)
Job time to live value in days, which will be effective after job completion.Job.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
- Throws:
IOException
-
getJobConfigCase
public Job.JobConfigCase getJobConfigCase()
- Specified by:
getJobConfigCase
in 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:
getName
in 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:
getNameBytes
in 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:
getInputUri
in 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:
getInputUriBytes
in 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:
getOutputUri
in 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:
getOutputUriBytes
in 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:
hasTemplateId
in 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:
getTemplateId
in 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:
getTemplateIdBytes
in 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:
hasConfig
in 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:
getConfig
in 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:
getConfigOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasEndTime
in 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:
getEndTime
in 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:
getEndTimeOrBuilder
in 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:
getTtlAfterCompletionDays
in 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:JobOrBuilder
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
hasError
in 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:
getError
in 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:
getErrorOrBuilder
in 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:
getModeValue
in 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:
getMode
in 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:
getBatchModePriority
in 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:
getOptimizationValue
in 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:
getOptimization
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-