public static final class ChannelLeave.Builder extends com.google.protobuf.GeneratedMessage.Builder<ChannelLeave.Builder> implements ChannelLeaveOrBuilder
Leave a realtime channel.Protobuf type
nakama.realtime.ChannelLeave
Modifier and Type | Method and Description |
---|---|
ChannelLeave |
build() |
ChannelLeave |
buildPartial() |
ChannelLeave.Builder |
clear() |
ChannelLeave.Builder |
clearChannelId()
The ID of the channel to leave.
|
java.lang.String |
getChannelId()
The ID of the channel to leave.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The ID of the channel to leave.
|
ChannelLeave |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelLeave.Builder |
mergeFrom(ChannelLeave other) |
ChannelLeave.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelLeave.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelLeave.Builder |
setChannelId(java.lang.String value)
The ID of the channel to leave.
|
ChannelLeave.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The ID of the channel to leave.
|
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<ChannelLeave.Builder>
public ChannelLeave.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<ChannelLeave.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<ChannelLeave.Builder>
public ChannelLeave getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChannelLeave build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChannelLeave buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChannelLeave.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChannelLeave.Builder>
public ChannelLeave.Builder mergeFrom(ChannelLeave other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ChannelLeave.Builder>
public ChannelLeave.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<ChannelLeave.Builder>
java.io.IOException
public java.lang.String getChannelId()
The ID of the channel to leave.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelLeaveOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The ID of the channel to leave.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelLeaveOrBuilder
public ChannelLeave.Builder setChannelId(java.lang.String value)
The ID of the channel to leave.
string channel_id = 1 [json_name = "channelId"];
value
- The channelId to set.public ChannelLeave.Builder clearChannelId()
The ID of the channel to leave.
string channel_id = 1 [json_name = "channelId"];
public ChannelLeave.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The ID of the channel to leave.
string channel_id = 1 [json_name = "channelId"];
value
- The bytes for channelId to set.