Class EventUpdate.Builder (0.40.0)

public static final class EventUpdate.Builder extends GeneratedMessage.Builder<EventUpdate.Builder> implements EventUpdateOrBuilder

The event update message.

Protobuf type google.cloud.visionai.v1.EventUpdate

Static Methods

getDescriptor()

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

Methods

build()

public EventUpdate build()
Returns
Type Description
EventUpdate

buildPartial()

public EventUpdate buildPartial()
Returns
Type Description
EventUpdate

clear()

public EventUpdate.Builder clear()
Returns
Type Description
EventUpdate.Builder
Overrides

clearEvent()

public EventUpdate.Builder clearEvent()

The name of the event.

string event = 2;

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

clearOffset()

public EventUpdate.Builder clearOffset()

The offset of the message that will be used to acknowledge of the message receiving.

int64 offset = 5;

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

clearSeries()

public EventUpdate.Builder clearSeries()

The name of the series.

string series = 3;

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

clearStream()

public EventUpdate.Builder clearStream()

The name of the stream that the event is attached to.

string stream = 1;

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

clearUpdateTime()

public EventUpdate.Builder clearUpdateTime()

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
EventUpdate.Builder

getDefaultInstanceForType()

public EventUpdate getDefaultInstanceForType()
Returns
Type Description
EventUpdate

getDescriptorForType()

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

getEvent()

public String getEvent()

The name of the event.

string event = 2;

Returns
Type Description
String

The event.

getEventBytes()

public ByteString getEventBytes()

The name of the event.

string event = 2;

Returns
Type Description
ByteString

The bytes for event.

getOffset()

public long getOffset()

The offset of the message that will be used to acknowledge of the message receiving.

int64 offset = 5;

Returns
Type Description
long

The offset.

getSeries()

public String getSeries()

The name of the series.

string series = 3;

Returns
Type Description
String

The series.

getSeriesBytes()

public ByteString getSeriesBytes()

The name of the series.

string series = 3;

Returns
Type Description
ByteString

The bytes for series.

getStream()

public String getStream()

The name of the stream that the event is attached to.

string stream = 1;

Returns
Type Description
String

The stream.

getStreamBytes()

public ByteString getStreamBytes()

The name of the stream that the event is attached to.

string stream = 1;

Returns
Type Description
ByteString

The bytes for stream.

getUpdateTime()

public Timestamp getUpdateTime()

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventUpdate other)

public EventUpdate.Builder mergeFrom(EventUpdate other)
Parameter
Name Description
other EventUpdate
Returns
Type Description
EventUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventUpdate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

public EventUpdate.Builder mergeUpdateTime(Timestamp value)

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
EventUpdate.Builder

setEvent(String value)

public EventUpdate.Builder setEvent(String value)

The name of the event.

string event = 2;

Parameter
Name Description
value String

The event to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setEventBytes(ByteString value)

public EventUpdate.Builder setEventBytes(ByteString value)

The name of the event.

string event = 2;

Parameter
Name Description
value ByteString

The bytes for event to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setOffset(long value)

public EventUpdate.Builder setOffset(long value)

The offset of the message that will be used to acknowledge of the message receiving.

int64 offset = 5;

Parameter
Name Description
value long

The offset to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setSeries(String value)

public EventUpdate.Builder setSeries(String value)

The name of the series.

string series = 3;

Parameter
Name Description
value String

The series to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setSeriesBytes(ByteString value)

public EventUpdate.Builder setSeriesBytes(ByteString value)

The name of the series.

string series = 3;

Parameter
Name Description
value ByteString

The bytes for series to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setStream(String value)

public EventUpdate.Builder setStream(String value)

The name of the stream that the event is attached to.

string stream = 1;

Parameter
Name Description
value String

The stream to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setStreamBytes(ByteString value)

public EventUpdate.Builder setStreamBytes(ByteString value)

The name of the stream that the event is attached to.

string stream = 1;

Parameter
Name Description
value ByteString

The bytes for stream to set.

Returns
Type Description
EventUpdate.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public EventUpdate.Builder setUpdateTime(Timestamp value)

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
EventUpdate.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public EventUpdate.Builder setUpdateTime(Timestamp.Builder builderForValue)

The timestamp when the Event update happens.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EventUpdate.Builder