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, 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.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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<MatchmakerAdd.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<MatchmakerAdd.Builder>
public MatchmakerAdd getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MatchmakerAdd build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MatchmakerAdd buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MatchmakerAdd.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MatchmakerAdd.Builder>
java.io.IOException
public int getMinCount()
Minimum total user count to match together.
int32 min_count = 1 [json_name = "minCount"];
getMinCount
in interface MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public com.google.protobuf.ByteString getQueryBytes()
Filter query used to identify suitable users.
string query = 3 [json_name = "query"];
getQueryBytes
in interface MatchmakerAddOrBuilder
public 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()
MatchmakerAddOrBuilder
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];
getStringPropertiesCount
in interface MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getStringPropertiesMap()
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];
getStringPropertiesMap
in interface MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public java.lang.String getStringPropertiesOrThrow(java.lang.String key)
String properties.
map<string, string> string_properties = 4 [json_name = "stringProperties"];
getStringPropertiesOrThrow
in interface MatchmakerAddOrBuilder
public 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()
MatchmakerAddOrBuilder
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];
getNumericPropertiesCount
in interface MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public java.util.Map<java.lang.String,java.lang.Double> getNumericPropertiesMap()
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];
getNumericPropertiesMap
in interface MatchmakerAddOrBuilder
public double getNumericPropertiesOrDefault(java.lang.String key, double defaultValue)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];
getNumericPropertiesOrDefault
in interface MatchmakerAddOrBuilder
public double getNumericPropertiesOrThrow(java.lang.String key)
Numeric properties.
map<string, double> numeric_properties = 5 [json_name = "numericProperties"];
getNumericPropertiesOrThrow
in interface MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public 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 MatchmakerAddOrBuilder
public 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