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