public final class MatchmakerAdd extends com.google.protobuf.GeneratedMessage implements MatchmakerAddOrBuilder
Start a new matchmaking process.Protobuf type
nakama.realtime.MatchmakerAdd| Modifier and Type | Class and Description |
|---|---|
static class |
MatchmakerAdd.Builder
Start a new matchmaking process.
|
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 |
COUNT_MULTIPLE_FIELD_NUMBER |
static int |
MAX_COUNT_FIELD_NUMBER |
static int |
MIN_COUNT_FIELD_NUMBER |
static int |
NUMERIC_PROPERTIES_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
static int |
STRING_PROPERTIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNumericProperties(java.lang.String key)
Numeric properties.
|
boolean |
containsStringProperties(java.lang.String key)
String properties.
|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.Int32Value |
getCountMultiple()
Optional multiple of the count that must be satisfied.
|
com.google.protobuf.Int32ValueOrBuilder |
getCountMultipleOrBuilder()
Optional multiple of the count that must be satisfied.
|
static MatchmakerAdd |
getDefaultInstance() |
MatchmakerAdd |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMaxCount()
Maximum total user count to match together.
|
int |
getMinCount()
Minimum total user count to match together.
|
java.util.Map<java.lang.String,java.lang.Double> |
getNumericProperties()
Deprecated.
|
int |
getNumericPropertiesCount()
Numeric properties.
|
java.util.Map<java.lang.String,java.lang.Double> |
getNumericPropertiesMap()
Numeric properties.
|
double |
getNumericPropertiesOrDefault(java.lang.String key,
double defaultValue)
Numeric properties.
|
double |
getNumericPropertiesOrThrow(java.lang.String key)
Numeric properties.
|
com.google.protobuf.Parser<MatchmakerAdd> |
getParserForType() |
java.lang.String |
getQuery()
Filter query used to identify suitable users.
|
com.google.protobuf.ByteString |
getQueryBytes()
Filter query used to identify suitable users.
|
int |
getSerializedSize() |
java.util.Map<java.lang.String,java.lang.String> |
getStringProperties()
Deprecated.
|
int |
getStringPropertiesCount()
String properties.
|
java.util.Map<java.lang.String,java.lang.String> |
getStringPropertiesMap()
String properties.
|
java.lang.String |
getStringPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
String properties.
|
java.lang.String |
getStringPropertiesOrThrow(java.lang.String key)
String properties.
|
boolean |
hasCountMultiple()
Optional multiple of the count that must be satisfied.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static MatchmakerAdd.Builder |
newBuilder() |
static MatchmakerAdd.Builder |
newBuilder(MatchmakerAdd prototype) |
MatchmakerAdd.Builder |
newBuilderForType() |
protected MatchmakerAdd.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static MatchmakerAdd |
parseDelimitedFrom(java.io.InputStream input) |
static MatchmakerAdd |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchmakerAdd |
parseFrom(byte[] data) |
static MatchmakerAdd |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchmakerAdd |
parseFrom(java.nio.ByteBuffer data) |
static MatchmakerAdd |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchmakerAdd |
parseFrom(com.google.protobuf.ByteString data) |
static MatchmakerAdd |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchmakerAdd |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MatchmakerAdd |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MatchmakerAdd |
parseFrom(java.io.InputStream input) |
static MatchmakerAdd |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MatchmakerAdd> |
parser() |
MatchmakerAdd.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, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MIN_COUNT_FIELD_NUMBER
public static final int MAX_COUNT_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int STRING_PROPERTIES_FIELD_NUMBER
public static final int NUMERIC_PROPERTIES_FIELD_NUMBER
public static final int COUNT_MULTIPLE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic int getMinCount()
Minimum total user count to match together.
int32 min_count = 1 [json_name = "minCount"];getMinCount in interface MatchmakerAddOrBuilderpublic int getMaxCount()
Maximum total user count to match together.
int32 max_count = 2 [json_name = "maxCount"];getMaxCount in interface MatchmakerAddOrBuilderpublic java.lang.String getQuery()
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];getQuery in interface MatchmakerAddOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];getQueryBytes in interface MatchmakerAddOrBuilderpublic int getStringPropertiesCount()
MatchmakerAddOrBuilderString properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];getStringPropertiesCount in interface MatchmakerAddOrBuilderpublic boolean containsStringProperties(java.lang.String key)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];containsStringProperties in interface MatchmakerAddOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getStringProperties()
getStringPropertiesMap() instead.getStringProperties in interface MatchmakerAddOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getStringPropertiesMap()
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];getStringPropertiesMap in interface MatchmakerAddOrBuilderpublic java.lang.String getStringPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];getStringPropertiesOrDefault in interface MatchmakerAddOrBuilderpublic java.lang.String getStringPropertiesOrThrow(java.lang.String key)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];getStringPropertiesOrThrow in interface MatchmakerAddOrBuilderpublic int getNumericPropertiesCount()
MatchmakerAddOrBuilderNumeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];getNumericPropertiesCount in interface MatchmakerAddOrBuilderpublic boolean containsNumericProperties(java.lang.String key)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];containsNumericProperties in interface MatchmakerAddOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.Double> getNumericProperties()
getNumericPropertiesMap() instead.getNumericProperties in interface MatchmakerAddOrBuilderpublic java.util.Map<java.lang.String,java.lang.Double> getNumericPropertiesMap()
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];getNumericPropertiesMap in interface MatchmakerAddOrBuilderpublic double getNumericPropertiesOrDefault(java.lang.String key,
double defaultValue)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];getNumericPropertiesOrDefault in interface MatchmakerAddOrBuilderpublic double getNumericPropertiesOrThrow(java.lang.String key)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];getNumericPropertiesOrThrow in interface MatchmakerAddOrBuilderpublic boolean hasCountMultiple()
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];hasCountMultiple in interface MatchmakerAddOrBuilderpublic com.google.protobuf.Int32Value getCountMultiple()
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];getCountMultiple in interface MatchmakerAddOrBuilderpublic com.google.protobuf.Int32ValueOrBuilder getCountMultipleOrBuilder()
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];getCountMultipleOrBuilder in interface MatchmakerAddOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MatchmakerAdd parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MatchmakerAdd parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MatchmakerAdd parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MatchmakerAdd parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MatchmakerAdd parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MatchmakerAdd parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MatchmakerAdd parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MatchmakerAdd.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MatchmakerAdd.Builder newBuilder()
public static MatchmakerAdd.Builder newBuilder(MatchmakerAdd prototype)
public MatchmakerAdd.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MatchmakerAdd.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static MatchmakerAdd getDefaultInstance()
public static com.google.protobuf.Parser<MatchmakerAdd> parser()
public com.google.protobuf.Parser<MatchmakerAdd> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic MatchmakerAdd getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder