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, 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<ListTournamentsRequest.Builder>
public ListTournamentsRequest.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<ListTournamentsRequest.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<ListTournamentsRequest.Builder>
public ListTournamentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListTournamentsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListTournamentsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListTournamentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListTournamentsRequest.Builder>
java.io.IOException
public boolean hasCategoryStart()
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1 [json_name = "categoryStart"];
hasCategoryStart
in interface ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public boolean hasCategoryEnd()
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2 [json_name = "categoryEnd"];
hasCategoryEnd
in interface ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public boolean hasStartTime()
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3 [json_name = "startTime"];
hasStartTime
in interface ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6 [json_name = "limit"];
hasLimit
in interface ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public 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 ListTournamentsRequestOrBuilder
public java.lang.String getCursor()
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];
getCursor
in interface ListTournamentsRequestOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
A next page cursor for listings (optional).
string cursor = 8 [json_name = "cursor"];
getCursorBytes
in interface ListTournamentsRequestOrBuilder
public 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.