Class EventUpdate.Builder (0.2.0)

public static final class EventUpdate.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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

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