Package com.google.cloud.visionai.v1
Class EventUpdate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
com.google.cloud.visionai.v1.EventUpdate.Builder
- All Implemented Interfaces:
EventUpdateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EventUpdate
public static final class EventUpdate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
implements EventUpdateOrBuilder
The event update message.Protobuf type
google.cloud.visionai.v1.EventUpdate-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the event.The offset of the message that will be used to acknowledge of the message receiving.The name of the series.The name of the stream that the event is attached to.The timestamp when the Event update happens.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvent()The name of the event.com.google.protobuf.ByteStringThe name of the event.longThe offset of the message that will be used to acknowledge of the message receiving.The name of the series.com.google.protobuf.ByteStringThe name of the series.The name of the stream that the event is attached to.com.google.protobuf.ByteStringThe name of the stream that the event is attached to.com.google.protobuf.TimestampThe timestamp when the Event update happens.com.google.protobuf.Timestamp.BuilderThe timestamp when the Event update happens.com.google.protobuf.TimestampOrBuilderThe timestamp when the Event update happens.booleanThe timestamp when the Event update happens.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EventUpdate other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) The timestamp when the Event update happens.The name of the event.setEventBytes(com.google.protobuf.ByteString value) The name of the event.setOffset(long value) The offset of the message that will be used to acknowledge of the message receiving.The name of the series.setSeriesBytes(com.google.protobuf.ByteString value) The name of the series.The name of the stream that the event is attached to.setStreamBytes(com.google.protobuf.ByteString value) The name of the stream that the event is attached to.setUpdateTime(com.google.protobuf.Timestamp value) The timestamp when the Event update happens.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the Event update happens.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventUpdate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder>
-
mergeFrom
public EventUpdate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventUpdate.Builder>- Throws:
IOException
-
getStream
The name of the stream that the event is attached to.
string stream = 1;- Specified by:
getStreamin interfaceEventUpdateOrBuilder- Returns:
- The stream.
-
getStreamBytes
public com.google.protobuf.ByteString getStreamBytes()The name of the stream that the event is attached to.
string stream = 1;- Specified by:
getStreamBytesin interfaceEventUpdateOrBuilder- Returns:
- The bytes for stream.
-
setStream
The name of the stream that the event is attached to.
string stream = 1;- Parameters:
value- The stream to set.- Returns:
- This builder for chaining.
-
clearStream
The name of the stream that the event is attached to.
string stream = 1;- Returns:
- This builder for chaining.
-
setStreamBytes
The name of the stream that the event is attached to.
string stream = 1;- Parameters:
value- The bytes for stream to set.- Returns:
- This builder for chaining.
-
getEvent
The name of the event.
string event = 2;- Specified by:
getEventin interfaceEventUpdateOrBuilder- Returns:
- The event.
-
getEventBytes
public com.google.protobuf.ByteString getEventBytes()The name of the event.
string event = 2;- Specified by:
getEventBytesin interfaceEventUpdateOrBuilder- Returns:
- The bytes for event.
-
setEvent
The name of the event.
string event = 2;- Parameters:
value- The event to set.- Returns:
- This builder for chaining.
-
clearEvent
The name of the event.
string event = 2;- Returns:
- This builder for chaining.
-
setEventBytes
The name of the event.
string event = 2;- Parameters:
value- The bytes for event to set.- Returns:
- This builder for chaining.
-
getSeries
The name of the series.
string series = 3;- Specified by:
getSeriesin interfaceEventUpdateOrBuilder- Returns:
- The series.
-
getSeriesBytes
public com.google.protobuf.ByteString getSeriesBytes()The name of the series.
string series = 3;- Specified by:
getSeriesBytesin interfaceEventUpdateOrBuilder- Returns:
- The bytes for series.
-
setSeries
The name of the series.
string series = 3;- Parameters:
value- The series to set.- Returns:
- This builder for chaining.
-
clearSeries
The name of the series.
string series = 3;- Returns:
- This builder for chaining.
-
setSeriesBytes
The name of the series.
string series = 3;- Parameters:
value- The bytes for series to set.- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4;- Specified by:
hasUpdateTimein interfaceEventUpdateOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimein interfaceEventUpdateOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4; -
setUpdateTime
The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4; -
mergeUpdateTime
The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4; -
clearUpdateTime
The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The timestamp when the Event update happens.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimeOrBuilderin interfaceEventUpdateOrBuilder
-
getOffset
public long getOffset()The offset of the message that will be used to acknowledge of the message receiving.
int64 offset = 5;- Specified by:
getOffsetin interfaceEventUpdateOrBuilder- Returns:
- The offset.
-
setOffset
The offset of the message that will be used to acknowledge of the message receiving.
int64 offset = 5;- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
The offset of the message that will be used to acknowledge of the message receiving.
int64 offset = 5;- Returns:
- This builder for chaining.
-