Class Event.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.cloud.video.stitcher.v1.Event.Builder
- All Implemented Interfaces:
EventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Event
public static final class Event.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
implements EventOrBuilder
Describes an event and a trigger URI.Protobuf type
google.cloud.video.stitcher.v1.Event-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()The ID of the event.The offset in seconds if the event type is `PROGRESS`.Describes the event that occurred.clearUri()The URI to trigger for this event.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The ID of the event.com.google.protobuf.ByteStringThe ID of the event.com.google.protobuf.DurationThe offset in seconds if the event type is `PROGRESS`.com.google.protobuf.Duration.BuilderThe offset in seconds if the event type is `PROGRESS`.com.google.protobuf.DurationOrBuilderThe offset in seconds if the event type is `PROGRESS`.getType()Describes the event that occurred.intDescribes the event that occurred.getUri()The URI to trigger for this event.com.google.protobuf.ByteStringThe URI to trigger for this event.booleanThe offset in seconds if the event type is `PROGRESS`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOffset(com.google.protobuf.Duration value) The offset in seconds if the event type is `PROGRESS`.The ID of the event.setIdBytes(com.google.protobuf.ByteString value) The ID of the event.setOffset(com.google.protobuf.Duration value) The offset in seconds if the event type is `PROGRESS`.setOffset(com.google.protobuf.Duration.Builder builderForValue) The offset in seconds if the event type is `PROGRESS`.setType(Event.EventType value) Describes the event that occurred.setTypeValue(int value) Describes the event that occurred.The URI to trigger for this event.setUriBytes(com.google.protobuf.ByteString value) The URI to trigger for this event.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<Event.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<Event.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<Event.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<Event.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
mergeFrom
public Event.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<Event.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Specified by:
getTypeValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Specified by:
getTypein interfaceEventOrBuilder- Returns:
- The type.
-
setType
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Returns:
- This builder for chaining.
-
getUri
The URI to trigger for this event.
string uri = 2;- Specified by:
getUriin interfaceEventOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()The URI to trigger for this event.
string uri = 2;- Specified by:
getUriBytesin interfaceEventOrBuilder- Returns:
- The bytes for uri.
-
setUri
The URI to trigger for this event.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
The URI to trigger for this event.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
The URI to trigger for this event.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getId
The ID of the event.
string id = 3;- Specified by:
getIdin interfaceEventOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The ID of the event.
string id = 3;- Specified by:
getIdBytesin interfaceEventOrBuilder- Returns:
- The bytes for id.
-
setId
The ID of the event.
string id = 3;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The ID of the event.
string id = 3;- Returns:
- This builder for chaining.
-
setIdBytes
The ID of the event.
string id = 3;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasOffset
public boolean hasOffset()The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;- Specified by:
hasOffsetin interfaceEventOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
public com.google.protobuf.Duration getOffset()The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;- Specified by:
getOffsetin interfaceEventOrBuilder- Returns:
- The offset.
-
setOffset
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4; -
setOffset
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4; -
mergeOffset
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4; -
clearOffset
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4; -
getOffsetBuilder
public com.google.protobuf.Duration.Builder getOffsetBuilder()The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4; -
getOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getOffsetOrBuilder()The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;- Specified by:
getOffsetOrBuilderin interfaceEventOrBuilder
-