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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Overlay.AnimationFade
build()
Overlay.AnimationFade
buildPartial()
Overlay.AnimationFade.Builder
clear()
Overlay.AnimationFade.Builder
clearEndTimeOffset()
The time to end the fade animation, in seconds.Overlay.AnimationFade.Builder
clearFadeType()
Required.Overlay.AnimationFade.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Overlay.AnimationFade.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Overlay.AnimationFade.Builder
clearStartTimeOffset()
The time to start the fade animation, in seconds.Overlay.AnimationFade.Builder
clearXy()
Normalized coordinates based on output video resolution.Overlay.AnimationFade.Builder
clone()
Overlay.AnimationFade
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Duration
getEndTimeOffset()
The time to end the fade animation, in seconds.com.google.protobuf.Duration.Builder
getEndTimeOffsetBuilder()
The time to end the fade animation, in seconds.com.google.protobuf.DurationOrBuilder
getEndTimeOffsetOrBuilder()
The time to end the fade animation, in seconds.Overlay.FadeType
getFadeType()
Required.int
getFadeTypeValue()
Required.com.google.protobuf.Duration
getStartTimeOffset()
The time to start the fade animation, in seconds.com.google.protobuf.Duration.Builder
getStartTimeOffsetBuilder()
The time to start the fade animation, in seconds.com.google.protobuf.DurationOrBuilder
getStartTimeOffsetOrBuilder()
The time to start the fade animation, in seconds.Overlay.NormalizedCoordinate
getXy()
Normalized coordinates based on output video resolution.Overlay.NormalizedCoordinate.Builder
getXyBuilder()
Normalized coordinates based on output video resolution.Overlay.NormalizedCoordinateOrBuilder
getXyOrBuilder()
Normalized coordinates based on output video resolution.boolean
hasEndTimeOffset()
The time to end the fade animation, in seconds.boolean
hasStartTimeOffset()
The time to start the fade animation, in seconds.boolean
hasXy()
Normalized coordinates based on output video resolution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Overlay.AnimationFade.Builder
mergeEndTimeOffset(com.google.protobuf.Duration value)
The time to end the fade animation, in seconds.Overlay.AnimationFade.Builder
mergeFrom(Overlay.AnimationFade other)
Overlay.AnimationFade.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Overlay.AnimationFade.Builder
mergeFrom(com.google.protobuf.Message other)
Overlay.AnimationFade.Builder
mergeStartTimeOffset(com.google.protobuf.Duration value)
The time to start the fade animation, in seconds.Overlay.AnimationFade.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Overlay.AnimationFade.Builder
mergeXy(Overlay.NormalizedCoordinate value)
Normalized coordinates based on output video resolution.Overlay.AnimationFade.Builder
setEndTimeOffset(com.google.protobuf.Duration value)
The time to end the fade animation, in seconds.Overlay.AnimationFade.Builder
setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
The time to end the fade animation, in seconds.Overlay.AnimationFade.Builder
setFadeType(Overlay.FadeType value)
Required.Overlay.AnimationFade.Builder
setFadeTypeValue(int value)
Required.Overlay.AnimationFade.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Overlay.AnimationFade.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Overlay.AnimationFade.Builder
setStartTimeOffset(com.google.protobuf.Duration value)
The time to start the fade animation, in seconds.Overlay.AnimationFade.Builder
setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
The time to start the fade animation, in seconds.Overlay.AnimationFade.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Overlay.AnimationFade.Builder
setXy(Overlay.NormalizedCoordinate value)
Normalized coordinates based on output video resolution.Overlay.AnimationFade.Builder
setXy(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clear
public Overlay.AnimationFade.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
getDefaultInstanceForType
public Overlay.AnimationFade getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Overlay.AnimationFade build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Overlay.AnimationFade buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Overlay.AnimationFade.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
setField
public Overlay.AnimationFade.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clearField
public Overlay.AnimationFade.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
clearOneof
public Overlay.AnimationFade.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
mergeFrom
public Overlay.AnimationFade.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Overlay.AnimationFade.Builder>
-
mergeFrom
public Overlay.AnimationFade.Builder mergeFrom(Overlay.AnimationFade other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getFadeTypeValue
in 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:
getFadeType
in 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:
hasXy
in 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:
getXy
in 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:
getXyOrBuilder
in 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:
hasStartTimeOffset
in 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:
getStartTimeOffset
in 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:
getStartTimeOffsetOrBuilder
in 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:
hasEndTimeOffset
in 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:
getEndTimeOffset
in 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:
getEndTimeOffsetOrBuilder
in interfaceOverlay.AnimationFadeOrBuilder
-
setUnknownFields
public final Overlay.AnimationFade.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
mergeUnknownFields
public final Overlay.AnimationFade.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder>
-
-