Class Event.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
Describes an event and a trigger URI.
Protobuf typegoogle.cloud.video.stitcher.v1.Event
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Eventbuild()EventbuildPartial()Event.Builderclear()Event.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Event.BuilderclearId()The ID of the event.Event.BuilderclearOffset()The offset in seconds if the event type is `PROGRESS`.Event.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Event.BuilderclearType()Describes the event that occurred.Event.BuilderclearUri()The URI to trigger for this event.Event.Builderclone()EventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()The ID of the event.com.google.protobuf.ByteStringgetIdBytes()The ID of the event.com.google.protobuf.DurationgetOffset()The offset in seconds if the event type is `PROGRESS`.com.google.protobuf.Duration.BuildergetOffsetBuilder()The offset in seconds if the event type is `PROGRESS`.com.google.protobuf.DurationOrBuildergetOffsetOrBuilder()The offset in seconds if the event type is `PROGRESS`.Event.EventTypegetType()Describes the event that occurred.intgetTypeValue()Describes the event that occurred.StringgetUri()The URI to trigger for this event.com.google.protobuf.ByteStringgetUriBytes()The URI to trigger for this event.booleanhasOffset()The offset in seconds if the event type is `PROGRESS`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Event.BuildermergeFrom(Event other)Event.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Event.BuildermergeFrom(com.google.protobuf.Message other)Event.BuildermergeOffset(com.google.protobuf.Duration value)The offset in seconds if the event type is `PROGRESS`.Event.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Event.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Event.BuildersetId(String value)The ID of the event.Event.BuildersetIdBytes(com.google.protobuf.ByteString value)The ID of the event.Event.BuildersetOffset(com.google.protobuf.Duration value)The offset in seconds if the event type is `PROGRESS`.Event.BuildersetOffset(com.google.protobuf.Duration.Builder builderForValue)The offset in seconds if the event type is `PROGRESS`.Event.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Event.BuildersetType(Event.EventType value)Describes the event that occurred.Event.BuildersetTypeValue(int value)Describes the event that occurred.Event.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Event.BuildersetUri(String value)The URI to trigger for this event.Event.BuildersetUriBytes(com.google.protobuf.ByteString value)The URI to trigger for this event.-
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<Event.Builder>
-
clear
public Event.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<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.GeneratedMessageV3.Builder<Event.Builder>
-
getDefaultInstanceForType
public Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Event build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Event buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Event.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<Event.Builder>
-
setField
public Event.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<Event.Builder>
-
clearField
public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
clearOneof
public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
setRepeatedField
public Event.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<Event.Builder>
-
addRepeatedField
public Event.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<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Event.Builder setTypeValue(int value)
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
public Event.EventType getType()
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Specified by:
getTypein interfaceEventOrBuilder- Returns:
- The type.
-
setType
public Event.Builder setType(Event.EventType value)
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
public Event.Builder clearType()
Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;- Returns:
- This builder for chaining.
-
getUri
public String 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
public Event.Builder setUri(String value)
The URI to trigger for this event.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public Event.Builder clearUri()
The URI to trigger for this event.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
public Event.Builder setUriBytes(com.google.protobuf.ByteString value)
The URI to trigger for this event.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getId
public String 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
public Event.Builder setId(String value)
The ID of the event.
string id = 3;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Event.Builder clearId()
The ID of the event.
string id = 3;- Returns:
- This builder for chaining.
-
setIdBytes
public Event.Builder setIdBytes(com.google.protobuf.ByteString value)
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
public Event.Builder setOffset(com.google.protobuf.Duration value)
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;
-
setOffset
public Event.Builder setOffset(com.google.protobuf.Duration.Builder builderForValue)
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;
-
mergeOffset
public Event.Builder mergeOffset(com.google.protobuf.Duration value)
The offset in seconds if the event type is `PROGRESS`.
.google.protobuf.Duration offset = 4;
-
clearOffset
public Event.Builder 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
-
setUnknownFields
public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
mergeUnknownFields
public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
-