public static final class Event.Builder extends GeneratedMessage.Builder<Event.Builder> implements EventOrBuilderDescribes an event and a trigger URI.
Protobuf type google.cloud.video.stitcher.v1.Event
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Event.BuilderImplements
EventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Event build()| Returns | |
|---|---|
| Type | Description |
Event |
|
buildPartial()
public Event buildPartial()| Returns | |
|---|---|
| Type | Description |
Event |
|
clear()
public Event.Builder clear()| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
clearId()
public Event.Builder clearId()The ID of the event.
string id = 3;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
clearOffset()
public Event.Builder clearOffset() The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
clearType()
public Event.Builder clearType()Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
clearUri()
public Event.Builder clearUri()The URI to trigger for this event.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Event getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Event |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()The ID of the event.
string id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The ID of the event.
string id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getOffset()
public Duration getOffset() The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Returns | |
|---|---|
| Type | Description |
Duration |
The offset. |
getOffsetBuilder()
public Duration.Builder getOffsetBuilder() The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getOffsetOrBuilder()
public DurationOrBuilder getOffsetOrBuilder() The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getType()
public Event.EventType getType()Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;
| Returns | |
|---|---|
| Type | Description |
Event.EventType |
The type. |
getTypeValue()
public int getTypeValue()Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUri()
public String getUri()The URI to trigger for this event.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()The URI to trigger for this event.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasOffset()
public boolean hasOffset() The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the offset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Event other)
public Event.Builder mergeFrom(Event other)| Parameter | |
|---|---|
| Name | Description |
other |
Event |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Event.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Event.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
mergeOffset(Duration value)
public Event.Builder mergeOffset(Duration value) The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
setId(String value)
public Event.Builder setId(String value)The ID of the event.
string id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Event.Builder setIdBytes(ByteString value)The ID of the event.
string id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setOffset(Duration value)
public Event.Builder setOffset(Duration value) The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
setOffset(Duration.Builder builderForValue)
public Event.Builder setOffset(Duration.Builder builderForValue) The offset in seconds if the event type is PROGRESS.
.google.protobuf.Duration offset = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
setType(Event.EventType value)
public Event.Builder setType(Event.EventType value)Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Event.EventTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setTypeValue(int value)
public Event.Builder setTypeValue(int value)Describes the event that occurred.
.google.cloud.video.stitcher.v1.Event.EventType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setUri(String value)
public Event.Builder setUri(String value)The URI to trigger for this event.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Event.Builder setUriBytes(ByteString value)The URI to trigger for this event.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
This builder for chaining. |