public static final class ListTournamentsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTournamentsRequest.Builder> implements ListTournamentsRequestOrBuilder
List active/upcoming tournaments based on given filters.Protobuf type
nakama.api.ListTournamentsRequest| Modifier and Type | Method and Description |
|---|---|
ListTournamentsRequest |
build() |
ListTournamentsRequest |
buildPartial() |
ListTournamentsRequest.Builder |
clear() |
ListTournamentsRequest.Builder |
clearCategoryEnd()
The end of the categories to include.
|
ListTournamentsRequest.Builder |
clearCategoryStart()
The start of the categories to include.
|
ListTournamentsRequest.Builder |
clearCursor()
A next page cursor for listings (optional).
|
ListTournamentsRequest.Builder |
clearEndTime()
The end time for tournaments.
|
ListTournamentsRequest.Builder |
clearLimit()
Max number of records to return.
|
ListTournamentsRequest.Builder |
clearStartTime()
The start time for tournaments.
|
com.google.protobuf.UInt32Value |
getCategoryEnd()
The end of the categories to include.
|
com.google.protobuf.UInt32Value.Builder |
getCategoryEndBuilder()
The end of the categories to include.
|
com.google.protobuf.UInt32ValueOrBuilder |
getCategoryEndOrBuilder()
The end of the categories to include.
|
com.google.protobuf.UInt32Value |
getCategoryStart()
The start of the categories to include.
|
com.google.protobuf.UInt32Value.Builder |
getCategoryStartBuilder()
The start of the categories to include.
|
com.google.protobuf.UInt32ValueOrBuilder |
getCategoryStartOrBuilder()
The start of the categories to include.
|
java.lang.String |
getCursor()
A next page cursor for listings (optional).
|
com.google.protobuf.ByteString |
getCursorBytes()
A next page cursor for listings (optional).
|
ListTournamentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.UInt32Value |
getEndTime()
The end time for tournaments.
|
com.google.protobuf.UInt32Value.Builder |
getEndTimeBuilder()
The end time for tournaments.
|
com.google.protobuf.UInt32ValueOrBuilder |
getEndTimeOrBuilder()
The end time for tournaments.
|
com.google.protobuf.Int32Value |
getLimit()
Max number of records to return.
|
com.google.protobuf.Int32Value.Builder |
getLimitBuilder()
Max number of records to return.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
Max number of records to return.
|
com.google.protobuf.UInt32Value |
getStartTime()
The start time for tournaments.
|
com.google.protobuf.UInt32Value.Builder |
getStartTimeBuilder()
The start time for tournaments.
|
com.google.protobuf.UInt32ValueOrBuilder |
getStartTimeOrBuilder()
The start time for tournaments.
|
boolean |
hasCategoryEnd()
The end of the categories to include.
|
boolean |
hasCategoryStart()
The start of the categories to include.
|
boolean |
hasEndTime()
The end time for tournaments.
|
boolean |
hasLimit()
Max number of records to return.
|
boolean |
hasStartTime()
The start time for tournaments.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTournamentsRequest.Builder |
mergeCategoryEnd(com.google.protobuf.UInt32Value value)
The end of the categories to include.
|
ListTournamentsRequest.Builder |
mergeCategoryStart(com.google.protobuf.UInt32Value value)
The start of the categories to include.
|
ListTournamentsRequest.Builder |
mergeEndTime(com.google.protobuf.UInt32Value value)
The end time for tournaments.
|
ListTournamentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListTournamentsRequest.Builder |
mergeFrom(ListTournamentsRequest other) |
ListTournamentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListTournamentsRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListTournamentsRequest.Builder |
mergeStartTime(com.google.protobuf.UInt32Value value)
The start time for tournaments.
|
ListTournamentsRequest.Builder |
setCategoryEnd(com.google.protobuf.UInt32Value.Builder builderForValue)
The end of the categories to include.
|
ListTournamentsRequest.Builder |
setCategoryEnd(com.google.protobuf.UInt32Value value)
The end of the categories to include.
|
ListTournamentsRequest.Builder |
setCategoryStart(com.google.protobuf.UInt32Value.Builder builderForValue)
The start of the categories to include.
|
ListTournamentsRequest.Builder |
setCategoryStart(com.google.protobuf.UInt32Value value)
The start of the categories to include.
|
ListTournamentsRequest.Builder |
setCursor(java.lang.String value)
A next page cursor for listings (optional).
|
ListTournamentsRequest.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
A next page cursor for listings (optional).
|
ListTournamentsRequest.Builder |
setEndTime(com.google.protobuf.UInt32Value.Builder builderForValue)
The end time for tournaments.
|
ListTournamentsRequest.Builder |
setEndTime(com.google.protobuf.UInt32Value value)
The end time for tournaments.
|
ListTournamentsRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return.
|
ListTournamentsRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListTournamentsRequest.Builder |
setStartTime(com.google.protobuf.UInt32Value.Builder builderForValue)
The start time for tournaments.
|
ListTournamentsRequest.Builder |
setStartTime(com.google.protobuf.UInt32Value value)
The start time for tournaments.
|
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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListTournamentsRequest.Builder>public ListTournamentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListTournamentsRequest.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<ListTournamentsRequest.Builder>public ListTournamentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListTournamentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListTournamentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListTournamentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTournamentsRequest.Builder>public ListTournamentsRequest.Builder mergeFrom(ListTournamentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListTournamentsRequest.Builder>public ListTournamentsRequest.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<ListTournamentsRequest.Builder>java.io.IOExceptionpublic boolean hasCategoryStart()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];hasCategoryStart in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.UInt32Value getCategoryStart()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];getCategoryStart in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setCategoryStart(com.google.protobuf.UInt32Value value)
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];public ListTournamentsRequest.Builder setCategoryStart(com.google.protobuf.UInt32Value.Builder builderForValue)
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];public ListTournamentsRequest.Builder mergeCategoryStart(com.google.protobuf.UInt32Value value)
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];public ListTournamentsRequest.Builder clearCategoryStart()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];public com.google.protobuf.UInt32Value.Builder getCategoryStartBuilder()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];public com.google.protobuf.UInt32ValueOrBuilder getCategoryStartOrBuilder()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];getCategoryStartOrBuilder in interface ListTournamentsRequestOrBuilderpublic boolean hasCategoryEnd()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];hasCategoryEnd in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.UInt32Value getCategoryEnd()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];getCategoryEnd in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setCategoryEnd(com.google.protobuf.UInt32Value value)
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];public ListTournamentsRequest.Builder setCategoryEnd(com.google.protobuf.UInt32Value.Builder builderForValue)
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];public ListTournamentsRequest.Builder mergeCategoryEnd(com.google.protobuf.UInt32Value value)
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];public ListTournamentsRequest.Builder clearCategoryEnd()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];public com.google.protobuf.UInt32Value.Builder getCategoryEndBuilder()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];public com.google.protobuf.UInt32ValueOrBuilder getCategoryEndOrBuilder()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];getCategoryEndOrBuilder in interface ListTournamentsRequestOrBuilderpublic boolean hasStartTime()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];hasStartTime in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.UInt32Value getStartTime()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];getStartTime in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setStartTime(com.google.protobuf.UInt32Value value)
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];public ListTournamentsRequest.Builder setStartTime(com.google.protobuf.UInt32Value.Builder builderForValue)
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];public ListTournamentsRequest.Builder mergeStartTime(com.google.protobuf.UInt32Value value)
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];public ListTournamentsRequest.Builder clearStartTime()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];public com.google.protobuf.UInt32Value.Builder getStartTimeBuilder()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];public com.google.protobuf.UInt32ValueOrBuilder getStartTimeOrBuilder()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];getStartTimeOrBuilder in interface ListTournamentsRequestOrBuilderpublic boolean hasEndTime()
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];hasEndTime in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.UInt32Value getEndTime()
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];getEndTime in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setEndTime(com.google.protobuf.UInt32Value value)
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];public ListTournamentsRequest.Builder setEndTime(com.google.protobuf.UInt32Value.Builder builderForValue)
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];public ListTournamentsRequest.Builder mergeEndTime(com.google.protobuf.UInt32Value value)
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];public ListTournamentsRequest.Builder clearEndTime()
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];public com.google.protobuf.UInt32Value.Builder getEndTimeBuilder()
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];public com.google.protobuf.UInt32ValueOrBuilder getEndTimeOrBuilder()
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4 [json_name = "endTime"];getEndTimeOrBuilder in interface ListTournamentsRequestOrBuilderpublic boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];hasLimit in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];getLimit in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];public ListTournamentsRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];public ListTournamentsRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];public ListTournamentsRequest.Builder clearLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];public com.google.protobuf.Int32Value.Builder getLimitBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];getLimitOrBuilder in interface ListTournamentsRequestOrBuilderpublic java.lang.String getCursor()
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];getCursor in interface ListTournamentsRequestOrBuilderpublic com.google.protobuf.ByteString getCursorBytes()
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];getCursorBytes in interface ListTournamentsRequestOrBuilderpublic ListTournamentsRequest.Builder setCursor(java.lang.String value)
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];value - The cursor to set.public ListTournamentsRequest.Builder clearCursor()
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];public ListTournamentsRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];value - The bytes for cursor to set.