public final class ChannelMessageAck extends com.google.protobuf.GeneratedMessage implements ChannelMessageAckOrBuilder
A receipt reply from a channel message send operation.Protobuf type
nakama.realtime.ChannelMessageAck
Modifier and Type | Class and Description |
---|---|
static class |
ChannelMessageAck.Builder
A receipt reply from a channel message send operation.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CHANNEL_ID_FIELD_NUMBER |
static int |
CODE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
GROUP_ID_FIELD_NUMBER |
static int |
MESSAGE_ID_FIELD_NUMBER |
static int |
PERSISTENT_FIELD_NUMBER |
static int |
ROOM_NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
USER_ID_ONE_FIELD_NUMBER |
static int |
USER_ID_TWO_FIELD_NUMBER |
static int |
USERNAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannelId()
The channel the message was sent to.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel the message was sent to.
|
com.google.protobuf.Int32Value |
getCode()
The code representing a message type or category.
|
com.google.protobuf.Int32ValueOrBuilder |
getCodeOrBuilder()
The code representing a message type or category.
|
com.google.protobuf.Timestamp |
getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
static ChannelMessageAck |
getDefaultInstance() |
ChannelMessageAck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
com.google.protobuf.ByteString |
getGroupIdBytes()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
java.lang.String |
getMessageId()
The unique ID assigned to the message.
|
com.google.protobuf.ByteString |
getMessageIdBytes()
The unique ID assigned to the message.
|
com.google.protobuf.Parser<ChannelMessageAck> |
getParserForType() |
com.google.protobuf.BoolValue |
getPersistent()
True if the message was persisted to the channel's history, false otherwise.
|
com.google.protobuf.BoolValueOrBuilder |
getPersistentOrBuilder()
True if the message was persisted to the channel's history, false otherwise.
|
java.lang.String |
getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
com.google.protobuf.ByteString |
getRoomNameBytes()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
java.lang.String |
getUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
com.google.protobuf.ByteString |
getUserIdOneBytes()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
com.google.protobuf.ByteString |
getUserIdTwoBytes()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUsername()
Username of the message sender.
|
com.google.protobuf.ByteString |
getUsernameBytes()
Username of the message sender.
|
boolean |
hasCode()
The code representing a message type or category.
|
boolean |
hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
|
int |
hashCode() |
boolean |
hasPersistent()
True if the message was persisted to the channel's history, false otherwise.
|
boolean |
hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ChannelMessageAck.Builder |
newBuilder() |
static ChannelMessageAck.Builder |
newBuilder(ChannelMessageAck prototype) |
ChannelMessageAck.Builder |
newBuilderForType() |
protected ChannelMessageAck.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static ChannelMessageAck |
parseDelimitedFrom(java.io.InputStream input) |
static ChannelMessageAck |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelMessageAck |
parseFrom(byte[] data) |
static ChannelMessageAck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelMessageAck |
parseFrom(java.nio.ByteBuffer data) |
static ChannelMessageAck |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelMessageAck |
parseFrom(com.google.protobuf.ByteString data) |
static ChannelMessageAck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelMessageAck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChannelMessageAck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChannelMessageAck |
parseFrom(java.io.InputStream input) |
static ChannelMessageAck |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChannelMessageAck> |
parser() |
ChannelMessageAck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int CHANNEL_ID_FIELD_NUMBER
public static final int MESSAGE_ID_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int PERSISTENT_FIELD_NUMBER
public static final int ROOM_NAME_FIELD_NUMBER
public static final int GROUP_ID_FIELD_NUMBER
public static final int USER_ID_ONE_FIELD_NUMBER
public static final int USER_ID_TWO_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public java.lang.String getChannelId()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel the message was sent to.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChannelMessageAckOrBuilder
public java.lang.String getMessageId()
The unique ID assigned to the message.
string message_id = 2 [json_name = "messageId"];
getMessageId
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getMessageIdBytes()
The unique ID assigned to the message.
string message_id = 2 [json_name = "messageId"];
getMessageIdBytes
in interface ChannelMessageAckOrBuilder
public boolean hasCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
hasCode
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.Int32Value getCode()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
getCode
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getCodeOrBuilder()
The code representing a message type or category.
.google.protobuf.Int32Value code = 3 [json_name = "code"];
getCodeOrBuilder
in interface ChannelMessageAckOrBuilder
public java.lang.String getUsername()
Username of the message sender.
string username = 4 [json_name = "username"];
getUsername
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getUsernameBytes()
Username of the message sender.
string username = 4 [json_name = "username"];
getUsernameBytes
in interface ChannelMessageAckOrBuilder
public boolean hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];
hasCreateTime
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.Timestamp getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];
getCreateTime
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was created.
.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];
getCreateTimeOrBuilder
in interface ChannelMessageAckOrBuilder
public boolean hasUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];
hasUpdateTime
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.Timestamp getUpdateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];
getUpdateTime
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the message was last updated.
.google.protobuf.Timestamp update_time = 6 [json_name = "updateTime"];
getUpdateTimeOrBuilder
in interface ChannelMessageAckOrBuilder
public boolean hasPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 7 [json_name = "persistent"];
hasPersistent
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.BoolValue getPersistent()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 7 [json_name = "persistent"];
getPersistent
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.BoolValueOrBuilder getPersistentOrBuilder()
True if the message was persisted to the channel's history, false otherwise.
.google.protobuf.BoolValue persistent = 7 [json_name = "persistent"];
getPersistentOrBuilder
in interface ChannelMessageAckOrBuilder
public java.lang.String getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 8 [json_name = "roomName"];
getRoomName
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getRoomNameBytes()
The name of the chat room, or an empty string if this message was not sent through a chat room.
string room_name = 8 [json_name = "roomName"];
getRoomNameBytes
in interface ChannelMessageAckOrBuilder
public java.lang.String getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 9 [json_name = "groupId"];
getGroupId
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getGroupIdBytes()
The ID of the group, or an empty string if this message was not sent through a group channel.
string group_id = 9 [json_name = "groupId"];
getGroupIdBytes
in interface ChannelMessageAckOrBuilder
public java.lang.String getUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 10 [json_name = "userIdOne"];
getUserIdOne
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getUserIdOneBytes()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
string user_id_one = 10 [json_name = "userIdOne"];
getUserIdOneBytes
in interface ChannelMessageAckOrBuilder
public java.lang.String getUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 11 [json_name = "userIdTwo"];
getUserIdTwo
in interface ChannelMessageAckOrBuilder
public com.google.protobuf.ByteString getUserIdTwoBytes()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
string user_id_two = 11 [json_name = "userIdTwo"];
getUserIdTwoBytes
in interface ChannelMessageAckOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ChannelMessageAck parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChannelMessageAck parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ChannelMessageAck parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ChannelMessageAck parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ChannelMessageAck parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ChannelMessageAck parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ChannelMessageAck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ChannelMessageAck.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChannelMessageAck.Builder newBuilder()
public static ChannelMessageAck.Builder newBuilder(ChannelMessageAck prototype)
public ChannelMessageAck.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ChannelMessageAck.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static ChannelMessageAck getDefaultInstance()
public static com.google.protobuf.Parser<ChannelMessageAck> parser()
public com.google.protobuf.Parser<ChannelMessageAck> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public ChannelMessageAck getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder