Class Overlay.AnimationFade.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder> implements Overlay.AnimationFadeOrBuilder
Display overlay object with fade animation.
Protobuf typegoogle.cloud.video.transcoder.v1.Overlay.AnimationFade
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Overlay.AnimationFade.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Overlay.AnimationFadebuild()Overlay.AnimationFadebuildPartial()Overlay.AnimationFade.Builderclear()Overlay.AnimationFade.BuilderclearEndTimeOffset()The time to end the fade animation, in seconds.Overlay.AnimationFade.BuilderclearFadeType()Required.Overlay.AnimationFade.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Overlay.AnimationFade.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Overlay.AnimationFade.BuilderclearStartTimeOffset()The time to start the fade animation, in seconds.Overlay.AnimationFade.BuilderclearXy()Normalized coordinates based on output video resolution.Overlay.AnimationFade.Builderclone()Overlay.AnimationFadegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetEndTimeOffset()The time to end the fade animation, in seconds.com.google.protobuf.Duration.BuildergetEndTimeOffsetBuilder()The time to end the fade animation, in seconds.com.google.protobuf.DurationOrBuildergetEndTimeOffsetOrBuilder()The time to end the fade animation, in seconds.Overlay.FadeTypegetFadeType()Required.intgetFadeTypeValue()Required.com.google.protobuf.DurationgetStartTimeOffset()The time to start the fade animation, in seconds.com.google.protobuf.Duration.BuildergetStartTimeOffsetBuilder()The time to start the fade animation, in seconds.com.google.protobuf.DurationOrBuildergetStartTimeOffsetOrBuilder()The time to start the fade animation, in seconds.Overlay.NormalizedCoordinategetXy()Normalized coordinates based on output video resolution.Overlay.NormalizedCoordinate.BuildergetXyBuilder()Normalized coordinates based on output video resolution.Overlay.NormalizedCoordinateOrBuildergetXyOrBuilder()Normalized coordinates based on output video resolution.booleanhasEndTimeOffset()The time to end the fade animation, in seconds.booleanhasStartTimeOffset()The time to start the fade animation, in seconds.booleanhasXy()Normalized coordinates based on output video resolution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Overlay.AnimationFade.BuildermergeEndTimeOffset(com.google.protobuf.Duration value)The time to end the fade animation, in seconds.Overlay.AnimationFade.BuildermergeFrom(Overlay.AnimationFade other)Overlay.AnimationFade.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Overlay.AnimationFade.BuildermergeFrom(com.google.protobuf.Message other)Overlay.AnimationFade.BuildermergeStartTimeOffset(com.google.protobuf.Duration value)The time to start the fade animation, in seconds.Overlay.AnimationFade.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Overlay.AnimationFade.BuildermergeXy(Overlay.NormalizedCoordinate value)Normalized coordinates based on output video resolution.Overlay.AnimationFade.BuildersetEndTimeOffset(com.google.protobuf.Duration value)The time to end the fade animation, in seconds.Overlay.AnimationFade.BuildersetEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)The time to end the fade animation, in seconds.Overlay.AnimationFade.BuildersetFadeType(Overlay.FadeType value)Required.Overlay.AnimationFade.BuildersetFadeTypeValue(int value)Required.Overlay.AnimationFade.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Overlay.AnimationFade.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Overlay.AnimationFade.BuildersetStartTimeOffset(com.google.protobuf.Duration value)The time to start the fade animation, in seconds.Overlay.AnimationFade.BuildersetStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)The time to start the fade animation, in seconds.Overlay.AnimationFade.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Overlay.AnimationFade.BuildersetXy(Overlay.NormalizedCoordinate value)Normalized coordinates based on output video resolution.Overlay.AnimationFade.BuildersetXy(Overlay.NormalizedCoordinate.Builder builderForValue)Normalized coordinates based on output video resolution.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
getDefaultInstanceForType
public Overlay.AnimationFade getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Overlay.AnimationFade build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Overlay.AnimationFade buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Overlay.AnimationFade.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
setField
public Overlay.AnimationFade.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clearField
public Overlay.AnimationFade.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clearOneof
public Overlay.AnimationFade.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
addRepeatedField
public Overlay.AnimationFade.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
mergeFrom
public Overlay.AnimationFade.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Overlay.AnimationFade.Builder>
-
mergeFrom
public Overlay.AnimationFade.Builder mergeFrom(Overlay.AnimationFade other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
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
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:
getFadeTypein interfaceOverlay.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:
hasXyin interfaceOverlay.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:
getXyin interfaceOverlay.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:
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
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:
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
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:
getEndTimeOffsetOrBuilderin interfaceOverlay.AnimationFadeOrBuilder
-
setUnknownFields
public final Overlay.AnimationFade.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
mergeUnknownFields
public final Overlay.AnimationFade.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
-