Class 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 type google.cloud.video.transcoder.v1.Job
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • clear

        public Job.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • getDefaultInstanceForType

        public Job getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Job build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Job buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Job.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • setField

        public Job.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • clearField

        public Job.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • clearOneof

        public Job.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • addRepeatedField

        public Job.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • mergeFrom

        public Job.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Job.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Job.Builder>
        Throws:
        IOException
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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;
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
      • 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 interface JobOrBuilder
      • 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 interface JobOrBuilder
      • 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 interface JobOrBuilder
      • 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 interface JobOrBuilder
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
      • 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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface JobOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • mergeUnknownFields

        public final Job.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>