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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Event
build()
Event
buildPartial()
Event.Builder
clear()
Event.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Event.Builder
clearId()
The ID of the event.Event.Builder
clearOffset()
The offset in seconds if the event type is `PROGRESS`.Event.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Event.Builder
clearType()
Describes the event that occurred.Event.Builder
clearUri()
The URI to trigger for this event.Event.Builder
clone()
Event
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getId()
The ID of the event.com.google.protobuf.ByteString
getIdBytes()
The ID of the event.com.google.protobuf.Duration
getOffset()
The offset in seconds if the event type is `PROGRESS`.com.google.protobuf.Duration.Builder
getOffsetBuilder()
The offset in seconds if the event type is `PROGRESS`.com.google.protobuf.DurationOrBuilder
getOffsetOrBuilder()
The offset in seconds if the event type is `PROGRESS`.Event.EventType
getType()
Describes the event that occurred.int
getTypeValue()
Describes the event that occurred.String
getUri()
The URI to trigger for this event.com.google.protobuf.ByteString
getUriBytes()
The URI to trigger for this event.boolean
hasOffset()
The offset in seconds if the event type is `PROGRESS`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Event.Builder
mergeFrom(Event other)
Event.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Event.Builder
mergeFrom(com.google.protobuf.Message other)
Event.Builder
mergeOffset(com.google.protobuf.Duration value)
The offset in seconds if the event type is `PROGRESS`.Event.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Event.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Event.Builder
setId(String value)
The ID of the event.Event.Builder
setIdBytes(com.google.protobuf.ByteString value)
The ID of the event.Event.Builder
setOffset(com.google.protobuf.Duration value)
The offset in seconds if the event type is `PROGRESS`.Event.Builder
setOffset(com.google.protobuf.Duration.Builder builderForValue)
The offset in seconds if the event type is `PROGRESS`.Event.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Event.Builder
setType(Event.EventType value)
Describes the event that occurred.Event.Builder
setTypeValue(int value)
Describes the event that occurred.Event.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Event.Builder
setUri(String value)
The URI to trigger for this event.Event.Builder
setUriBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
clear
public Event.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<Event.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<Event.Builder>
-
getDefaultInstanceForType
public Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Event build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Event buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Event.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<Event.Builder>
-
setField
public Event.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<Event.Builder>
-
clearField
public Event.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<Event.Builder>
-
clearOneof
public Event.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<Event.Builder>
-
setRepeatedField
public Event.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<Event.Builder>
-
addRepeatedField
public Event.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<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTypeValue
in 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:
getType
in 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:
getUri
in interfaceEventOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
The URI to trigger for this event.
string uri = 2;
- Specified by:
getUriBytes
in 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:
getId
in interfaceEventOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The ID of the event.
string id = 3;
- Specified by:
getIdBytes
in 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:
hasOffset
in 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:
getOffset
in 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:
getOffsetOrBuilder
in interfaceEventOrBuilder
-
setUnknownFields
public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
mergeUnknownFields
public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
-