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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The time to end the fade animation, in seconds.Required.The time to start the fade animation, in seconds.clearXy()Normalized coordinates based on output video resolution.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe time to end the fade animation, in seconds.com.google.protobuf.Duration.BuilderThe time to end the fade animation, in seconds.com.google.protobuf.DurationOrBuilderThe time to end the fade animation, in seconds.Required.intRequired.com.google.protobuf.DurationThe time to start the fade animation, in seconds.com.google.protobuf.Duration.BuilderThe time to start the fade animation, in seconds.com.google.protobuf.DurationOrBuilderThe time to start the fade animation, in seconds.getXy()Normalized coordinates based on output video resolution.Normalized coordinates based on output video resolution.Normalized coordinates based on output video resolution.booleanThe time to end the fade animation, in seconds.booleanThe time to start the fade animation, in seconds.booleanhasXy()Normalized coordinates based on output video resolution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTimeOffset(com.google.protobuf.Duration value) The time to end the fade animation, in seconds.mergeFrom(Overlay.AnimationFade other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTimeOffset(com.google.protobuf.Duration value) The time to start the fade animation, in seconds.Normalized coordinates based on output video resolution.setEndTimeOffset(com.google.protobuf.Duration value) The time to end the fade animation, in seconds.setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue) The time to end the fade animation, in seconds.setFadeType(Overlay.FadeType value) Required.setFadeTypeValue(int value) Required.setStartTimeOffset(com.google.protobuf.Duration value) The time to start the fade animation, in seconds.setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue) The time to start the fade animation, in seconds.Normalized coordinates based on output video resolution.setXy(Overlay.NormalizedCoordinate.Builder builderForValue) Normalized coordinates based on output video resolution.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Overlay.AnimationFade.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Overlay.AnimationFade.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Overlay.AnimationFade.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Overlay.AnimationFade.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getFadeTypeValuein interfaceOverlay.AnimationFadeOrBuilder- Returns:
- The enum numeric value on the wire for fadeType.
-
setFadeTypeValue
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
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:
getFadeTypein interfaceOverlay.AnimationFadeOrBuilder- Returns:
- The fadeType.
-
setFadeType
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
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:
hasXyin interfaceOverlay.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:
getXyin interfaceOverlay.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
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
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:
getXyOrBuilderin interfaceOverlay.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:
hasStartTimeOffsetin interfaceOverlay.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:
getStartTimeOffsetin interfaceOverlay.AnimationFadeOrBuilder- Returns:
- The startTimeOffset.
-
setStartTimeOffset
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
The time to start the fade animation, in seconds. Default: 0
.google.protobuf.Duration start_time_offset = 3; -
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:
getStartTimeOffsetOrBuilderin interfaceOverlay.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:
hasEndTimeOffsetin interfaceOverlay.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:
getEndTimeOffsetin interfaceOverlay.AnimationFadeOrBuilder- Returns:
- The endTimeOffset.
-
setEndTimeOffset
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
The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
.google.protobuf.Duration end_time_offset = 4; -
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:
getEndTimeOffsetOrBuilderin interfaceOverlay.AnimationFadeOrBuilder
-