public static final class MatchmakerAdd.Builder extends com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.Builder> implements MatchmakerAddOrBuilder
Start a new matchmaking process.Protobuf type
nakama.realtime.MatchmakerAdd| Modifier and Type | Method and Description |
|---|---|
MatchmakerAdd |
build() |
MatchmakerAdd |
buildPartial() |
MatchmakerAdd.Builder |
clear() |
MatchmakerAdd.Builder |
clearCountMultiple()
Optional multiple of the count that must be satisfied.
|
MatchmakerAdd.Builder |
clearMaxCount()
Maximum total user count to match together.
|
MatchmakerAdd.Builder |
clearMinCount()
Minimum total user count to match together.
|
MatchmakerAdd.Builder |
clearNumericProperties() |
MatchmakerAdd.Builder |
clearQuery()
Filter query used to identify suitable users.
|
MatchmakerAdd.Builder |
clearStringProperties() |
boolean |
containsNumericProperties(java.lang.String key)
Numeric properties.
|
boolean |
containsStringProperties(java.lang.String key)
String properties.
|
com.google.protobuf.Int32Value |
getCountMultiple()
Optional multiple of the count that must be satisfied.
|
com.google.protobuf.Int32Value.Builder |
getCountMultipleBuilder()
Optional multiple of the count that must be satisfied.
|
com.google.protobuf.Int32ValueOrBuilder |
getCountMultipleOrBuilder()
Optional multiple of the count that must be satisfied.
|
MatchmakerAdd |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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> |
getMutableNumericProperties()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableStringProperties()
Deprecated.
|
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.
|
java.lang.String |
getQuery()
Filter query used to identify suitable users.
|
com.google.protobuf.ByteString |
getQueryBytes()
Filter query used to identify suitable users.
|
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
MatchmakerAdd.Builder |
mergeCountMultiple(com.google.protobuf.Int32Value value)
Optional multiple of the count that must be satisfied.
|
MatchmakerAdd.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MatchmakerAdd.Builder |
mergeFrom(MatchmakerAdd other) |
MatchmakerAdd.Builder |
mergeFrom(com.google.protobuf.Message other) |
MatchmakerAdd.Builder |
putAllNumericProperties(java.util.Map<java.lang.String,java.lang.Double> values)
Numeric properties.
|
MatchmakerAdd.Builder |
putAllStringProperties(java.util.Map<java.lang.String,java.lang.String> values)
String properties.
|
MatchmakerAdd.Builder |
putNumericProperties(java.lang.String key,
double value)
Numeric properties.
|
MatchmakerAdd.Builder |
putStringProperties(java.lang.String key,
java.lang.String value)
String properties.
|
MatchmakerAdd.Builder |
removeNumericProperties(java.lang.String key)
Numeric properties.
|
MatchmakerAdd.Builder |
removeStringProperties(java.lang.String key)
String properties.
|
MatchmakerAdd.Builder |
setCountMultiple(com.google.protobuf.Int32Value.Builder builderForValue)
Optional multiple of the count that must be satisfied.
|
MatchmakerAdd.Builder |
setCountMultiple(com.google.protobuf.Int32Value value)
Optional multiple of the count that must be satisfied.
|
MatchmakerAdd.Builder |
setMaxCount(int value)
Maximum total user count to match together.
|
MatchmakerAdd.Builder |
setMinCount(int value)
Minimum total user count to match together.
|
MatchmakerAdd.Builder |
setQuery(java.lang.String value)
Filter query used to identify suitable users.
|
MatchmakerAdd.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
Filter query used to identify suitable users.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.Builder>public MatchmakerAdd.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.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<MatchmakerAdd.Builder>public MatchmakerAdd getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MatchmakerAdd build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MatchmakerAdd buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MatchmakerAdd.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MatchmakerAdd.Builder>public MatchmakerAdd.Builder mergeFrom(MatchmakerAdd other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.Builder>public MatchmakerAdd.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<MatchmakerAdd.Builder>java.io.IOExceptionpublic int getMinCount()
Minimum total user count to match together.
int32 min_count = 1 [json_name = "minCount"];getMinCount in interface MatchmakerAddOrBuilderpublic MatchmakerAdd.Builder setMinCount(int value)
Minimum total user count to match together.
int32 min_count = 1 [json_name = "minCount"];value - The minCount to set.public MatchmakerAdd.Builder clearMinCount()
Minimum total user count to match together.
int32 min_count = 1 [json_name = "minCount"];public int getMaxCount()
Maximum total user count to match together.
int32 max_count = 2 [json_name = "maxCount"];getMaxCount in interface MatchmakerAddOrBuilderpublic MatchmakerAdd.Builder setMaxCount(int value)
Maximum total user count to match together.
int32 max_count = 2 [json_name = "maxCount"];value - The maxCount to set.public MatchmakerAdd.Builder clearMaxCount()
Maximum total user count to match together.
int32 max_count = 2 [json_name = "maxCount"];public 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 MatchmakerAdd.Builder setQuery(java.lang.String value)
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];value - The query to set.public MatchmakerAdd.Builder clearQuery()
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];public MatchmakerAdd.Builder setQueryBytes(com.google.protobuf.ByteString value)
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];value - The bytes for query to set.public 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 MatchmakerAdd.Builder clearStringProperties()
public MatchmakerAdd.Builder removeStringProperties(java.lang.String key)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableStringProperties()
public MatchmakerAdd.Builder putStringProperties(java.lang.String key, java.lang.String value)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];public MatchmakerAdd.Builder putAllStringProperties(java.util.Map<java.lang.String,java.lang.String> values)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];public 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 MatchmakerAdd.Builder clearNumericProperties()
public MatchmakerAdd.Builder removeNumericProperties(java.lang.String key)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];@Deprecated public java.util.Map<java.lang.String,java.lang.Double> getMutableNumericProperties()
public MatchmakerAdd.Builder putNumericProperties(java.lang.String key, double value)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];public MatchmakerAdd.Builder putAllNumericProperties(java.util.Map<java.lang.String,java.lang.Double> values)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];public 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 MatchmakerAdd.Builder setCountMultiple(com.google.protobuf.Int32Value value)
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];public MatchmakerAdd.Builder setCountMultiple(com.google.protobuf.Int32Value.Builder builderForValue)
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];public MatchmakerAdd.Builder mergeCountMultiple(com.google.protobuf.Int32Value value)
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];public MatchmakerAdd.Builder clearCountMultiple()
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];public com.google.protobuf.Int32Value.Builder getCountMultipleBuilder()
Optional multiple of the count that must be satisfied.
.google.protobuf.Int32Value count_multiple = 6 [json_name = "countMultiple"];public 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 MatchmakerAddOrBuilder