public static final class Tournament.Builder extends com.google.protobuf.GeneratedMessage.Builder<Tournament.Builder> implements TournamentOrBuilder
A tournament on the server.Protobuf type
nakama.api.Tournament
Modifier and Type | Method and Description |
---|---|
Tournament |
build() |
Tournament |
buildPartial() |
Tournament.Builder |
clear() |
Tournament.Builder |
clearAuthoritative()
Whether the leaderboard was created authoritatively or not.
|
Tournament.Builder |
clearCanEnter()
True if the tournament is active and can enter.
|
Tournament.Builder |
clearCategory()
The category of the tournament.
|
Tournament.Builder |
clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
Tournament.Builder |
clearDescription()
The description of the tournament.
|
Tournament.Builder |
clearDuration()
Duration of the tournament in seconds.
|
Tournament.Builder |
clearEndActive()
The UNIX time when the tournament stops being active until next reset.
|
Tournament.Builder |
clearEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
Tournament.Builder |
clearId()
The ID of the tournament.
|
Tournament.Builder |
clearMaxNumScore()
The maximum score updates allowed per player for the current tournament.
|
Tournament.Builder |
clearMaxSize()
The maximum number of players for the tournament.
|
Tournament.Builder |
clearMetadata()
Additional information stored as a JSON object.
|
Tournament.Builder |
clearNextReset()
The UNIX time when the tournament is next playable.
|
Tournament.Builder |
clearOperator()
Operator.
|
Tournament.Builder |
clearPrevReset()
The UNIX time when the tournament was last reset.
|
Tournament.Builder |
clearSize()
The current number of players in the tournament.
|
Tournament.Builder |
clearSortOrder()
ASC (0) or DESC (1) sort mode of scores in the tournament.
|
Tournament.Builder |
clearStartActive()
The UNIX time when the tournament start being active.
|
Tournament.Builder |
clearStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
Tournament.Builder |
clearTitle()
The title for the tournament.
|
boolean |
getAuthoritative()
Whether the leaderboard was created authoritatively or not.
|
boolean |
getCanEnter()
True if the tournament is active and can enter.
|
int |
getCategory()
The category of the tournament.
|
com.google.protobuf.Timestamp |
getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
Tournament |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
The description of the tournament.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the tournament.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDuration()
Duration of the tournament in seconds.
|
int |
getEndActive()
The UNIX time when the tournament stops being active until next reset.
|
com.google.protobuf.Timestamp |
getEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
java.lang.String |
getId()
The ID of the tournament.
|
com.google.protobuf.ByteString |
getIdBytes()
The ID of the tournament.
|
int |
getMaxNumScore()
The maximum score updates allowed per player for the current tournament.
|
int |
getMaxSize()
The maximum number of players for the tournament.
|
java.lang.String |
getMetadata()
Additional information stored as a JSON object.
|
com.google.protobuf.ByteString |
getMetadataBytes()
Additional information stored as a JSON object.
|
int |
getNextReset()
The UNIX time when the tournament is next playable.
|
Operator |
getOperator()
Operator.
|
int |
getOperatorValue()
Operator.
|
int |
getPrevReset()
The UNIX time when the tournament was last reset.
|
int |
getSize()
The current number of players in the tournament.
|
int |
getSortOrder()
ASC (0) or DESC (1) sort mode of scores in the tournament.
|
int |
getStartActive()
The UNIX time when the tournament start being active.
|
com.google.protobuf.Timestamp |
getStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
java.lang.String |
getTitle()
The title for the tournament.
|
com.google.protobuf.ByteString |
getTitleBytes()
The title for the tournament.
|
boolean |
hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
boolean |
hasEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
boolean |
hasStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Tournament.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
Tournament.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
Tournament.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Tournament.Builder |
mergeFrom(com.google.protobuf.Message other) |
Tournament.Builder |
mergeFrom(Tournament other) |
Tournament.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
Tournament.Builder |
setAuthoritative(boolean value)
Whether the leaderboard was created authoritatively or not.
|
Tournament.Builder |
setCanEnter(boolean value)
True if the tournament is active and can enter.
|
Tournament.Builder |
setCategory(int value)
The category of the tournament.
|
Tournament.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
Tournament.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
|
Tournament.Builder |
setDescription(java.lang.String value)
The description of the tournament.
|
Tournament.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the tournament.
|
Tournament.Builder |
setDuration(int value)
Duration of the tournament in seconds.
|
Tournament.Builder |
setEndActive(int value)
The UNIX time when the tournament stops being active until next reset.
|
Tournament.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
Tournament.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
|
Tournament.Builder |
setId(java.lang.String value)
The ID of the tournament.
|
Tournament.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The ID of the tournament.
|
Tournament.Builder |
setMaxNumScore(int value)
The maximum score updates allowed per player for the current tournament.
|
Tournament.Builder |
setMaxSize(int value)
The maximum number of players for the tournament.
|
Tournament.Builder |
setMetadata(java.lang.String value)
Additional information stored as a JSON object.
|
Tournament.Builder |
setMetadataBytes(com.google.protobuf.ByteString value)
Additional information stored as a JSON object.
|
Tournament.Builder |
setNextReset(int value)
The UNIX time when the tournament is next playable.
|
Tournament.Builder |
setOperator(Operator value)
Operator.
|
Tournament.Builder |
setOperatorValue(int value)
Operator.
|
Tournament.Builder |
setPrevReset(int value)
The UNIX time when the tournament was last reset.
|
Tournament.Builder |
setSize(int value)
The current number of players in the tournament.
|
Tournament.Builder |
setSortOrder(int value)
ASC (0) or DESC (1) sort mode of scores in the tournament.
|
Tournament.Builder |
setStartActive(int value)
The UNIX time when the tournament start being active.
|
Tournament.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
Tournament.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
|
Tournament.Builder |
setTitle(java.lang.String value)
The title for the tournament.
|
Tournament.Builder |
setTitleBytes(com.google.protobuf.ByteString value)
The title for the tournament.
|
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<Tournament.Builder>
public Tournament.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<Tournament.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<Tournament.Builder>
public Tournament getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Tournament build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Tournament buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Tournament.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Tournament.Builder>
public Tournament.Builder mergeFrom(Tournament other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Tournament.Builder>
public Tournament.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<Tournament.Builder>
java.io.IOException
public java.lang.String getId()
The ID of the tournament.
string id = 1 [json_name = "id"];
getId
in interface TournamentOrBuilder
public com.google.protobuf.ByteString getIdBytes()
The ID of the tournament.
string id = 1 [json_name = "id"];
getIdBytes
in interface TournamentOrBuilder
public Tournament.Builder setId(java.lang.String value)
The ID of the tournament.
string id = 1 [json_name = "id"];
value
- The id to set.public Tournament.Builder clearId()
The ID of the tournament.
string id = 1 [json_name = "id"];
public Tournament.Builder setIdBytes(com.google.protobuf.ByteString value)
The ID of the tournament.
string id = 1 [json_name = "id"];
value
- The bytes for id to set.public java.lang.String getTitle()
The title for the tournament.
string title = 2 [json_name = "title"];
getTitle
in interface TournamentOrBuilder
public com.google.protobuf.ByteString getTitleBytes()
The title for the tournament.
string title = 2 [json_name = "title"];
getTitleBytes
in interface TournamentOrBuilder
public Tournament.Builder setTitle(java.lang.String value)
The title for the tournament.
string title = 2 [json_name = "title"];
value
- The title to set.public Tournament.Builder clearTitle()
The title for the tournament.
string title = 2 [json_name = "title"];
public Tournament.Builder setTitleBytes(com.google.protobuf.ByteString value)
The title for the tournament.
string title = 2 [json_name = "title"];
value
- The bytes for title to set.public java.lang.String getDescription()
The description of the tournament. May be blank.
string description = 3 [json_name = "description"];
getDescription
in interface TournamentOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the tournament. May be blank.
string description = 3 [json_name = "description"];
getDescriptionBytes
in interface TournamentOrBuilder
public Tournament.Builder setDescription(java.lang.String value)
The description of the tournament. May be blank.
string description = 3 [json_name = "description"];
value
- The description to set.public Tournament.Builder clearDescription()
The description of the tournament. May be blank.
string description = 3 [json_name = "description"];
public Tournament.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the tournament. May be blank.
string description = 3 [json_name = "description"];
value
- The bytes for description to set.public int getCategory()
The category of the tournament. e.g. "vip" could be category 1.
uint32 category = 4 [json_name = "category"];
getCategory
in interface TournamentOrBuilder
public Tournament.Builder setCategory(int value)
The category of the tournament. e.g. "vip" could be category 1.
uint32 category = 4 [json_name = "category"];
value
- The category to set.public Tournament.Builder clearCategory()
The category of the tournament. e.g. "vip" could be category 1.
uint32 category = 4 [json_name = "category"];
public int getSortOrder()
ASC (0) or DESC (1) sort mode of scores in the tournament.
uint32 sort_order = 5 [json_name = "sortOrder"];
getSortOrder
in interface TournamentOrBuilder
public Tournament.Builder setSortOrder(int value)
ASC (0) or DESC (1) sort mode of scores in the tournament.
uint32 sort_order = 5 [json_name = "sortOrder"];
value
- The sortOrder to set.public Tournament.Builder clearSortOrder()
ASC (0) or DESC (1) sort mode of scores in the tournament.
uint32 sort_order = 5 [json_name = "sortOrder"];
public int getSize()
The current number of players in the tournament.
uint32 size = 6 [json_name = "size"];
getSize
in interface TournamentOrBuilder
public Tournament.Builder setSize(int value)
The current number of players in the tournament.
uint32 size = 6 [json_name = "size"];
value
- The size to set.public Tournament.Builder clearSize()
The current number of players in the tournament.
uint32 size = 6 [json_name = "size"];
public int getMaxSize()
The maximum number of players for the tournament.
uint32 max_size = 7 [json_name = "maxSize"];
getMaxSize
in interface TournamentOrBuilder
public Tournament.Builder setMaxSize(int value)
The maximum number of players for the tournament.
uint32 max_size = 7 [json_name = "maxSize"];
value
- The maxSize to set.public Tournament.Builder clearMaxSize()
The maximum number of players for the tournament.
uint32 max_size = 7 [json_name = "maxSize"];
public int getMaxNumScore()
The maximum score updates allowed per player for the current tournament.
uint32 max_num_score = 8 [json_name = "maxNumScore"];
getMaxNumScore
in interface TournamentOrBuilder
public Tournament.Builder setMaxNumScore(int value)
The maximum score updates allowed per player for the current tournament.
uint32 max_num_score = 8 [json_name = "maxNumScore"];
value
- The maxNumScore to set.public Tournament.Builder clearMaxNumScore()
The maximum score updates allowed per player for the current tournament.
uint32 max_num_score = 8 [json_name = "maxNumScore"];
public boolean getCanEnter()
True if the tournament is active and can enter. A computed value.
bool can_enter = 9 [json_name = "canEnter"];
getCanEnter
in interface TournamentOrBuilder
public Tournament.Builder setCanEnter(boolean value)
True if the tournament is active and can enter. A computed value.
bool can_enter = 9 [json_name = "canEnter"];
value
- The canEnter to set.public Tournament.Builder clearCanEnter()
True if the tournament is active and can enter. A computed value.
bool can_enter = 9 [json_name = "canEnter"];
public int getEndActive()
The UNIX time when the tournament stops being active until next reset. A computed value.
uint32 end_active = 10 [json_name = "endActive"];
getEndActive
in interface TournamentOrBuilder
public Tournament.Builder setEndActive(int value)
The UNIX time when the tournament stops being active until next reset. A computed value.
uint32 end_active = 10 [json_name = "endActive"];
value
- The endActive to set.public Tournament.Builder clearEndActive()
The UNIX time when the tournament stops being active until next reset. A computed value.
uint32 end_active = 10 [json_name = "endActive"];
public int getNextReset()
The UNIX time when the tournament is next playable. A computed value.
uint32 next_reset = 11 [json_name = "nextReset"];
getNextReset
in interface TournamentOrBuilder
public Tournament.Builder setNextReset(int value)
The UNIX time when the tournament is next playable. A computed value.
uint32 next_reset = 11 [json_name = "nextReset"];
value
- The nextReset to set.public Tournament.Builder clearNextReset()
The UNIX time when the tournament is next playable. A computed value.
uint32 next_reset = 11 [json_name = "nextReset"];
public java.lang.String getMetadata()
Additional information stored as a JSON object.
string metadata = 12 [json_name = "metadata"];
getMetadata
in interface TournamentOrBuilder
public com.google.protobuf.ByteString getMetadataBytes()
Additional information stored as a JSON object.
string metadata = 12 [json_name = "metadata"];
getMetadataBytes
in interface TournamentOrBuilder
public Tournament.Builder setMetadata(java.lang.String value)
Additional information stored as a JSON object.
string metadata = 12 [json_name = "metadata"];
value
- The metadata to set.public Tournament.Builder clearMetadata()
Additional information stored as a JSON object.
string metadata = 12 [json_name = "metadata"];
public Tournament.Builder setMetadataBytes(com.google.protobuf.ByteString value)
Additional information stored as a JSON object.
string metadata = 12 [json_name = "metadata"];
value
- The bytes for metadata to set.public boolean hasCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
hasCreateTime
in interface TournamentOrBuilder
public com.google.protobuf.Timestamp getCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
getCreateTime
in interface TournamentOrBuilder
public Tournament.Builder setCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
public Tournament.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
public Tournament.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
public Tournament.Builder clearCreateTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
.google.protobuf.Timestamp create_time = 13 [json_name = "createTime"];
getCreateTimeOrBuilder
in interface TournamentOrBuilder
public boolean hasStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
hasStartTime
in interface TournamentOrBuilder
public com.google.protobuf.Timestamp getStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
getStartTime
in interface TournamentOrBuilder
public Tournament.Builder setStartTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
public Tournament.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
public Tournament.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
public Tournament.Builder clearStartTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
.google.protobuf.Timestamp start_time = 14 [json_name = "startTime"];
getStartTimeOrBuilder
in interface TournamentOrBuilder
public boolean hasEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
hasEndTime
in interface TournamentOrBuilder
public com.google.protobuf.Timestamp getEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
getEndTime
in interface TournamentOrBuilder
public Tournament.Builder setEndTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
public Tournament.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
public Tournament.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
public Tournament.Builder clearEndTime()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
.google.protobuf.Timestamp end_time = 15 [json_name = "endTime"];
getEndTimeOrBuilder
in interface TournamentOrBuilder
public int getDuration()
Duration of the tournament in seconds.
uint32 duration = 16 [json_name = "duration"];
getDuration
in interface TournamentOrBuilder
public Tournament.Builder setDuration(int value)
Duration of the tournament in seconds.
uint32 duration = 16 [json_name = "duration"];
value
- The duration to set.public Tournament.Builder clearDuration()
Duration of the tournament in seconds.
uint32 duration = 16 [json_name = "duration"];
public int getStartActive()
The UNIX time when the tournament start being active. A computed value.
uint32 start_active = 17 [json_name = "startActive"];
getStartActive
in interface TournamentOrBuilder
public Tournament.Builder setStartActive(int value)
The UNIX time when the tournament start being active. A computed value.
uint32 start_active = 17 [json_name = "startActive"];
value
- The startActive to set.public Tournament.Builder clearStartActive()
The UNIX time when the tournament start being active. A computed value.
uint32 start_active = 17 [json_name = "startActive"];
public int getPrevReset()
The UNIX time when the tournament was last reset. A computed value.
uint32 prev_reset = 18 [json_name = "prevReset"];
getPrevReset
in interface TournamentOrBuilder
public Tournament.Builder setPrevReset(int value)
The UNIX time when the tournament was last reset. A computed value.
uint32 prev_reset = 18 [json_name = "prevReset"];
value
- The prevReset to set.public Tournament.Builder clearPrevReset()
The UNIX time when the tournament was last reset. A computed value.
uint32 prev_reset = 18 [json_name = "prevReset"];
public int getOperatorValue()
Operator.
.nakama.api.Operator operator = 19 [json_name = "operator"];
getOperatorValue
in interface TournamentOrBuilder
public Tournament.Builder setOperatorValue(int value)
Operator.
.nakama.api.Operator operator = 19 [json_name = "operator"];
value
- The enum numeric value on the wire for operator to set.public Operator getOperator()
Operator.
.nakama.api.Operator operator = 19 [json_name = "operator"];
getOperator
in interface TournamentOrBuilder
public Tournament.Builder setOperator(Operator value)
Operator.
.nakama.api.Operator operator = 19 [json_name = "operator"];
value
- The operator to set.public Tournament.Builder clearOperator()
Operator.
.nakama.api.Operator operator = 19 [json_name = "operator"];
public boolean getAuthoritative()
Whether the leaderboard was created authoritatively or not.
bool authoritative = 20 [json_name = "authoritative"];
getAuthoritative
in interface TournamentOrBuilder
public Tournament.Builder setAuthoritative(boolean value)
Whether the leaderboard was created authoritatively or not.
bool authoritative = 20 [json_name = "authoritative"];
value
- The authoritative to set.public Tournament.Builder clearAuthoritative()
Whether the leaderboard was created authoritatively or not.
bool authoritative = 20 [json_name = "authoritative"];