Class Event.Builder (0.51.0)

public static final class Event.Builder extends GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder

Describes an event and a trigger URI.

Protobuf type google.cloud.video.stitcher.v1.Event

Implements

EventOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Event.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Event.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public Event.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Event.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Event.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Event.Builder
Overrides

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.

clone()

public Event.Builder clone()
Returns
Type Description
Event.Builder
Overrides

getDefaultInstanceForType()

public Event getDefaultInstanceForType()
Returns
Type Description
Event

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Event.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Event.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Event.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Event.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Event.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Event.Builder
Overrides

setId(String value)

public Event.Builder setId(String value)

The ID of the event.

string id = 3;

Parameter
Name Description
value String

The 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 ByteString

The 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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Event.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Event.Builder
Overrides

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.EventType

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
Event.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Event.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Event.Builder
Overrides

setUri(String value)

public Event.Builder setUri(String value)

The URI to trigger for this event.

string uri = 2;

Parameter
Name Description
value String

The 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 ByteString

The bytes for uri to set.

Returns
Type Description
Event.Builder

This builder for chaining.