public static final class EventUpdate.Builder extends GeneratedMessageV3.Builder<EventUpdate.Builder> implements EventUpdateOrBuilderThe event update message.
Protobuf type google.cloud.visionai.v1.EventUpdate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventUpdate.BuilderImplements
EventUpdateOrBuilderStatic 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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public EventUpdate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EventUpdate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EventUpdate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EventUpdate.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
EventUpdate.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
longThe 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 |
|
setSeries(String value)
public EventUpdate.Builder setSeries(String value)The name of the series.
string series = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
|