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, 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<ChannelMessageSend.Builder>
public ChannelMessageSend.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<ChannelMessageSend.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<ChannelMessageSend.Builder>
public ChannelMessageSend getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelMessageSend build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageSend buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelMessageSend.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelMessageSend.Builder>
java.io.IOException
public java.lang.String getChannelId()
The channel to sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelMessageSendOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel to sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelMessageSendOrBuilder
public 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 ChannelMessageSendOrBuilder
public com.google.protobuf.ByteString getContentBytes()
Message content.
string content = 2 [json_name = "content"];
getContentBytes
in interface ChannelMessageSendOrBuilder
public 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.