public static final class UpdateMessageRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder> implements UpdateMessageRequestOrBuilder
The request to update the status of a message.Protobuf type
satori.api.UpdateMessageRequest| Modifier and Type | Method and Description |
|---|---|
UpdateMessageRequest |
build() |
UpdateMessageRequest |
buildPartial() |
UpdateMessageRequest.Builder |
clear() |
UpdateMessageRequest.Builder |
clearConsumeTime()
The time the message was consumed by the identity.
|
UpdateMessageRequest.Builder |
clearId()
The identifier of the messages.
|
UpdateMessageRequest.Builder |
clearReadTime()
The time the message was read at the client.
|
long |
getConsumeTime()
The time the message was consumed by the identity.
|
UpdateMessageRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
The identifier of the messages.
|
com.google.protobuf.ByteString |
getIdBytes()
The identifier of the messages.
|
long |
getReadTime()
The time the message was read at the client.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateMessageRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateMessageRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateMessageRequest.Builder |
mergeFrom(UpdateMessageRequest other) |
UpdateMessageRequest.Builder |
setConsumeTime(long value)
The time the message was consumed by the identity.
|
UpdateMessageRequest.Builder |
setId(java.lang.String value)
The identifier of the messages.
|
UpdateMessageRequest.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The identifier of the messages.
|
UpdateMessageRequest.Builder |
setReadTime(long value)
The time the message was read at the client.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>public UpdateMessageRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>public UpdateMessageRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdateMessageRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdateMessageRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdateMessageRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateMessageRequest.Builder>public UpdateMessageRequest.Builder mergeFrom(UpdateMessageRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>public UpdateMessageRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateMessageRequest.Builder>java.io.IOExceptionpublic java.lang.String getId()
The identifier of the messages.
string id = 1 [json_name = "id"];getId in interface UpdateMessageRequestOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The identifier of the messages.
string id = 1 [json_name = "id"];getIdBytes in interface UpdateMessageRequestOrBuilderpublic UpdateMessageRequest.Builder setId(java.lang.String value)
The identifier of the messages.
string id = 1 [json_name = "id"];value - The id to set.public UpdateMessageRequest.Builder clearId()
The identifier of the messages.
string id = 1 [json_name = "id"];public UpdateMessageRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
The identifier of the messages.
string id = 1 [json_name = "id"];value - The bytes for id to set.public long getReadTime()
The time the message was read at the client.
int64 read_time = 2 [json_name = "readTime"];getReadTime in interface UpdateMessageRequestOrBuilderpublic UpdateMessageRequest.Builder setReadTime(long value)
The time the message was read at the client.
int64 read_time = 2 [json_name = "readTime"];value - The readTime to set.public UpdateMessageRequest.Builder clearReadTime()
The time the message was read at the client.
int64 read_time = 2 [json_name = "readTime"];public long getConsumeTime()
The time the message was consumed by the identity.
int64 consume_time = 3 [json_name = "consumeTime"];getConsumeTime in interface UpdateMessageRequestOrBuilderpublic UpdateMessageRequest.Builder setConsumeTime(long value)
The time the message was consumed by the identity.
int64 consume_time = 3 [json_name = "consumeTime"];value - The consumeTime to set.public UpdateMessageRequest.Builder clearConsumeTime()
The time the message was consumed by the identity.
int64 consume_time = 3 [json_name = "consumeTime"];