Class Overlay.AnimationFade.Builder

    • Method Detail

      • getDescriptor

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

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

        public Overlay.AnimationFade.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<Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • getDefaultInstanceForType

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

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

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

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • clearField

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • clearOneof

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • setRepeatedField

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • addRepeatedField

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
      • mergeFrom

        public Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
        Throws:
        IOException
      • getFadeTypeValue

        public int getFadeTypeValue()
         Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
         
        .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFadeTypeValue in interface Overlay.AnimationFadeOrBuilder
        Returns:
        The enum numeric value on the wire for fadeType.
      • setFadeTypeValue

        public Overlay.AnimationFade.Builder setFadeTypeValue​(int value)
         Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
         
        .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for fadeType to set.
        Returns:
        This builder for chaining.
      • getFadeType

        public Overlay.FadeType getFadeType()
         Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
         
        .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFadeType in interface Overlay.AnimationFadeOrBuilder
        Returns:
        The fadeType.
      • setFadeType

        public Overlay.AnimationFade.Builder setFadeType​(Overlay.FadeType value)
         Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
         
        .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The fadeType to set.
        Returns:
        This builder for chaining.
      • clearFadeType

        public Overlay.AnimationFade.Builder clearFadeType()
         Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
         
        .google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasXy

        public boolean hasXy()
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        Specified by:
        hasXy in interface Overlay.AnimationFadeOrBuilder
        Returns:
        Whether the xy field is set.
      • getXy

        public Overlay.NormalizedCoordinate getXy()
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        Specified by:
        getXy in interface Overlay.AnimationFadeOrBuilder
        Returns:
        The xy.
      • setXy

        public Overlay.AnimationFade.Builder setXy​(Overlay.NormalizedCoordinate value)
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      • setXy

        public Overlay.AnimationFade.Builder setXy​(Overlay.NormalizedCoordinate.Builder builderForValue)
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      • mergeXy

        public Overlay.AnimationFade.Builder mergeXy​(Overlay.NormalizedCoordinate value)
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      • clearXy

        public Overlay.AnimationFade.Builder clearXy()
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      • getXyBuilder

        public Overlay.NormalizedCoordinate.Builder getXyBuilder()
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
      • getXyOrBuilder

        public Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder()
         Normalized coordinates based on output video resolution. Valid
         values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
         object. For example, use the x and y coordinates {0,0} to position the
         top-left corner of the overlay animation in the top-left corner of the
         output video.
         
        .google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;
        Specified by:
        getXyOrBuilder in interface Overlay.AnimationFadeOrBuilder
      • hasStartTimeOffset

        public boolean hasStartTimeOffset()
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
        Specified by:
        hasStartTimeOffset in interface Overlay.AnimationFadeOrBuilder
        Returns:
        Whether the startTimeOffset field is set.
      • getStartTimeOffset

        public com.google.protobuf.Duration getStartTimeOffset()
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
        Specified by:
        getStartTimeOffset in interface Overlay.AnimationFadeOrBuilder
        Returns:
        The startTimeOffset.
      • setStartTimeOffset

        public Overlay.AnimationFade.Builder setStartTimeOffset​(com.google.protobuf.Duration value)
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
      • setStartTimeOffset

        public Overlay.AnimationFade.Builder setStartTimeOffset​(com.google.protobuf.Duration.Builder builderForValue)
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
      • mergeStartTimeOffset

        public Overlay.AnimationFade.Builder mergeStartTimeOffset​(com.google.protobuf.Duration value)
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
      • clearStartTimeOffset

        public Overlay.AnimationFade.Builder clearStartTimeOffset()
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
      • getStartTimeOffsetBuilder

        public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder()
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
      • getStartTimeOffsetOrBuilder

        public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
         The time to start the fade animation, in seconds. Default: 0
         
        .google.protobuf.Duration start_time_offset = 3;
        Specified by:
        getStartTimeOffsetOrBuilder in interface Overlay.AnimationFadeOrBuilder
      • hasEndTimeOffset

        public boolean hasEndTimeOffset()
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
        Specified by:
        hasEndTimeOffset in interface Overlay.AnimationFadeOrBuilder
        Returns:
        Whether the endTimeOffset field is set.
      • getEndTimeOffset

        public com.google.protobuf.Duration getEndTimeOffset()
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
        Specified by:
        getEndTimeOffset in interface Overlay.AnimationFadeOrBuilder
        Returns:
        The endTimeOffset.
      • setEndTimeOffset

        public Overlay.AnimationFade.Builder setEndTimeOffset​(com.google.protobuf.Duration value)
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
      • setEndTimeOffset

        public Overlay.AnimationFade.Builder setEndTimeOffset​(com.google.protobuf.Duration.Builder builderForValue)
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
      • mergeEndTimeOffset

        public Overlay.AnimationFade.Builder mergeEndTimeOffset​(com.google.protobuf.Duration value)
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
      • clearEndTimeOffset

        public Overlay.AnimationFade.Builder clearEndTimeOffset()
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
      • getEndTimeOffsetBuilder

        public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder()
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
      • getEndTimeOffsetOrBuilder

        public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
         The time to end the fade animation, in seconds. Default:
         `start_time_offset` + 1s
         
        .google.protobuf.Duration end_time_offset = 4;
        Specified by:
        getEndTimeOffsetOrBuilder in interface Overlay.AnimationFadeOrBuilder
      • setUnknownFields

        public final Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>
      • mergeUnknownFields

        public final Overlay.AnimationFade.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<Overlay.AnimationFade.Builder>