public static final class ChannelMessageUpdate.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelMessageUpdate.Builder> implements ChannelMessageUpdateOrBuilder
Update a message previously sent to a realtime channel.Protobuf type
nakama.realtime.ChannelMessageUpdate| Modifier and Type | Method and Description |
|---|---|
ChannelMessageUpdate |
build() |
ChannelMessageUpdate |
buildPartial() |
ChannelMessageUpdate.Builder |
clear() |
ChannelMessageUpdate.Builder |
clearChannelId()
The channel the message was sent to.
|
ChannelMessageUpdate.Builder |
clearContent()
New message content.
|
ChannelMessageUpdate.Builder |
clearMessageId()
The ID assigned to the message to update.
|
java.lang.String |
getChannelId()
The channel the message was sent to.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel the message was sent to.
|
java.lang.String |
getContent()
New message content.
|
com.google.protobuf.ByteString |
getContentBytes()
New message content.
|
ChannelMessageUpdate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMessageId()
The ID assigned to the message to update.
|
com.google.protobuf.ByteString |
getMessageIdBytes()
The ID assigned to the message to update.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelMessageUpdate.Builder |
mergeFrom(ChannelMessageUpdate other) |
ChannelMessageUpdate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelMessageUpdate.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelMessageUpdate.Builder |
setChannelId(java.lang.String value)
The channel the message was sent to.
|
ChannelMessageUpdate.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The channel the message was sent to.
|
ChannelMessageUpdate.Builder |
setContent(java.lang.String value)
New message content.
|
ChannelMessageUpdate.Builder |
setContentBytes(com.google.protobuf.ByteString value)
New message content.
|
ChannelMessageUpdate.Builder |
setMessageId(java.lang.String value)
The ID assigned to the message to update.
|
ChannelMessageUpdate.Builder |
setMessageIdBytes(com.google.protobuf.ByteString value)
The ID assigned to the message to update.
|
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<ChannelMessageUpdate.Builder>public ChannelMessageUpdate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageUpdate.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<ChannelMessageUpdate.Builder>public ChannelMessageUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChannelMessageUpdate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessageUpdate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChannelMessageUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelMessageUpdate.Builder>public ChannelMessageUpdate.Builder mergeFrom(ChannelMessageUpdate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ChannelMessageUpdate.Builder>public ChannelMessageUpdate.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<ChannelMessageUpdate.Builder>java.io.IOExceptionpublic java.lang.String getChannelId()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];getChannelId in interface ChannelMessageUpdateOrBuilderpublic com.google.protobuf.ByteString getChannelIdBytes()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];getChannelIdBytes in interface ChannelMessageUpdateOrBuilderpublic ChannelMessageUpdate.Builder setChannelId(java.lang.String value)
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];value - The channelId to set.public ChannelMessageUpdate.Builder clearChannelId()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];public ChannelMessageUpdate.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];value - The bytes for channelId to set.public java.lang.String getMessageId()
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];getMessageId in interface ChannelMessageUpdateOrBuilderpublic com.google.protobuf.ByteString getMessageIdBytes()
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];getMessageIdBytes in interface ChannelMessageUpdateOrBuilderpublic ChannelMessageUpdate.Builder setMessageId(java.lang.String value)
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];value - The messageId to set.public ChannelMessageUpdate.Builder clearMessageId()
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];public ChannelMessageUpdate.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];value - The bytes for messageId to set.public java.lang.String getContent()
New message content.
string content = 3 [json_name = "content"];getContent in interface ChannelMessageUpdateOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
New message content.
string content = 3 [json_name = "content"];getContentBytes in interface ChannelMessageUpdateOrBuilderpublic ChannelMessageUpdate.Builder setContent(java.lang.String value)
New message content.
string content = 3 [json_name = "content"];value - The content to set.public ChannelMessageUpdate.Builder clearContent()
New message content.
string content = 3 [json_name = "content"];public ChannelMessageUpdate.Builder setContentBytes(com.google.protobuf.ByteString value)
New message content.
string content = 3 [json_name = "content"];value - The bytes for content to set.