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, 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<ChannelMessageUpdate.Builder>
public ChannelMessageUpdate.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<ChannelMessageUpdate.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<ChannelMessageUpdate.Builder>
public ChannelMessageUpdate getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelMessageUpdate build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageUpdate buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageUpdate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelMessageUpdate.Builder>
java.io.IOException
public java.lang.String getChannelId()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelMessageUpdateOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelMessageUpdateOrBuilder
public 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 ChannelMessageUpdateOrBuilder
public com.google.protobuf.ByteString getMessageIdBytes()
The ID assigned to the message to update.
string message_id = 2 [json_name = "messageId"];
getMessageIdBytes
in interface ChannelMessageUpdateOrBuilder
public 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 ChannelMessageUpdateOrBuilder
public com.google.protobuf.ByteString getContentBytes()
New message content.
string content = 3 [json_name = "content"];
getContentBytes
in interface ChannelMessageUpdateOrBuilder
public 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.