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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<UpdateMessageRequest.Builder>
public UpdateMessageRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateMessageRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateMessageRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateMessageRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateMessageRequest.Builder>
java.io.IOException
public java.lang.String getId()
The identifier of the messages.
string id = 1 [json_name = "id"];
getId
in interface UpdateMessageRequestOrBuilder
public com.google.protobuf.ByteString getIdBytes()
The identifier of the messages.
string id = 1 [json_name = "id"];
getIdBytes
in interface UpdateMessageRequestOrBuilder
public 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 UpdateMessageRequestOrBuilder
public 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 UpdateMessageRequestOrBuilder
public 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"];