Class Overlay.AnimationFade.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Overlay.AnimationFade.Builder>
com.google.cloud.video.transcoder.v1.Overlay.AnimationFade.Builder
All Implemented Interfaces:
Overlay.AnimationFadeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Overlay.AnimationFade

public static final class Overlay.AnimationFade.Builder extends com.google.protobuf.GeneratedMessage.Builder<Overlay.AnimationFade.Builder> implements Overlay.AnimationFadeOrBuilder
 Display overlay object with fade animation.
 
Protobuf type google.cloud.video.transcoder.v1.Overlay.AnimationFade
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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

       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

       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

       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

       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

       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