Package com.heroiclabs.nakama.api
Class ListTournamentsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
com.heroiclabs.nakama.api.ListTournamentsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ListTournamentsRequestOrBuilder
,Cloneable
- Enclosing class:
- ListTournamentsRequest
public static final class ListTournamentsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
implements ListTournamentsRequestOrBuilder
List active/upcoming tournaments based on given filters.Protobuf type
nakama.api.ListTournamentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The end of the categories to include.The start of the categories to include.A next page cursor for listings (optional).The end time for tournaments.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Max number of records to return.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The start time for tournaments.clone()
The end of the categories to include.The end of the categories to include.The end of the categories to include.The start of the categories to include.The start of the categories to include.The start of the categories to include.A next page cursor for listings (optional).com.google.protobuf.ByteString
A next page cursor for listings (optional).static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The end time for tournaments.The end time for tournaments.The end time for tournaments.getLimit()
Max number of records to return.Max number of records to return.Max number of records to return.The start time for tournaments.The start time for tournaments.The start time for tournaments.boolean
The end of the categories to include.boolean
The start of the categories to include.boolean
The end time for tournaments.boolean
hasLimit()
Max number of records to return.boolean
The start time for tournaments.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeCategoryEnd
(UInt32Value value) The end of the categories to include.mergeCategoryStart
(UInt32Value value) The start of the categories to include.mergeEndTime
(UInt32Value value) The end time for tournaments.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ListTournamentsRequest other) mergeLimit
(Int32Value value) Max number of records to return.mergeStartTime
(UInt32Value value) The start time for tournaments.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCategoryEnd
(UInt32Value value) The end of the categories to include.setCategoryEnd
(UInt32Value.Builder builderForValue) The end of the categories to include.setCategoryStart
(UInt32Value value) The start of the categories to include.setCategoryStart
(UInt32Value.Builder builderForValue) The start of the categories to include.A next page cursor for listings (optional).setCursorBytes
(com.google.protobuf.ByteString value) A next page cursor for listings (optional).setEndTime
(UInt32Value value) The end time for tournaments.setEndTime
(UInt32Value.Builder builderForValue) The end time for tournaments.setLimit
(Int32Value value) Max number of records to return.setLimit
(Int32Value.Builder builderForValue) Max number of records to return.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime
(UInt32Value value) The start time for tournaments.setStartTime
(UInt32Value.Builder builderForValue) The start time for tournaments.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
setField
public ListTournamentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
clearField
public ListTournamentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
clearOneof
public ListTournamentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
setRepeatedField
public ListTournamentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
addRepeatedField
public ListTournamentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTournamentsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
mergeFrom
public ListTournamentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListTournamentsRequest.Builder>
- Throws:
IOException
-
hasCategoryStart
public boolean hasCategoryStart()The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
- Specified by:
hasCategoryStart
in interfaceListTournamentsRequestOrBuilder
- Returns:
- Whether the categoryStart field is set.
-
getCategoryStart
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
- Specified by:
getCategoryStart
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The categoryStart.
-
setCategoryStart
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
-
setCategoryStart
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
-
mergeCategoryStart
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
-
clearCategoryStart
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
-
getCategoryStartBuilder
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
-
getCategoryStartOrBuilder
The start of the categories to include. Defaults to 0.
.google.protobuf.UInt32Value category_start = 1;
- Specified by:
getCategoryStartOrBuilder
in interfaceListTournamentsRequestOrBuilder
-
hasCategoryEnd
public boolean hasCategoryEnd()The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
- Specified by:
hasCategoryEnd
in interfaceListTournamentsRequestOrBuilder
- Returns:
- Whether the categoryEnd field is set.
-
getCategoryEnd
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
- Specified by:
getCategoryEnd
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The categoryEnd.
-
setCategoryEnd
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
-
setCategoryEnd
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
-
mergeCategoryEnd
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
-
clearCategoryEnd
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
-
getCategoryEndBuilder
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
-
getCategoryEndOrBuilder
The end of the categories to include. Defaults to 128.
.google.protobuf.UInt32Value category_end = 2;
- Specified by:
getCategoryEndOrBuilder
in interfaceListTournamentsRequestOrBuilder
-
hasStartTime
public boolean hasStartTime()The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
- Specified by:
hasStartTime
in interfaceListTournamentsRequestOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
- Specified by:
getStartTime
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The startTime.
-
setStartTime
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
-
setStartTime
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
-
mergeStartTime
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
-
clearStartTime
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
-
getStartTimeBuilder
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
-
getStartTimeOrBuilder
The start time for tournaments. Defaults to epoch.
.google.protobuf.UInt32Value start_time = 3;
- Specified by:
getStartTimeOrBuilder
in interfaceListTournamentsRequestOrBuilder
-
hasEndTime
public boolean hasEndTime()The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
- Specified by:
hasEndTime
in interfaceListTournamentsRequestOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
- Specified by:
getEndTime
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The endTime.
-
setEndTime
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
-
setEndTime
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
-
mergeEndTime
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
-
clearEndTime
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
-
getEndTimeBuilder
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
-
getEndTimeOrBuilder
The end time for tournaments. Defaults to +1 year from current Unix time.
.google.protobuf.UInt32Value end_time = 4;
- Specified by:
getEndTimeOrBuilder
in interfaceListTournamentsRequestOrBuilder
-
hasLimit
public boolean hasLimit()Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
- Specified by:
hasLimit
in interfaceListTournamentsRequestOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
- Specified by:
getLimit
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The limit.
-
setLimit
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
-
setLimit
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
-
mergeLimit
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
-
clearLimit
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
-
getLimitBuilder
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
-
getLimitOrBuilder
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 6;
- Specified by:
getLimitOrBuilder
in interfaceListTournamentsRequestOrBuilder
-
getCursor
A next page cursor for listings (optional).
string cursor = 8;
- Specified by:
getCursor
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()A next page cursor for listings (optional).
string cursor = 8;
- Specified by:
getCursorBytes
in interfaceListTournamentsRequestOrBuilder
- Returns:
- The bytes for cursor.
-
setCursor
A next page cursor for listings (optional).
string cursor = 8;
- Parameters:
value
- The cursor to set.- Returns:
- This builder for chaining.
-
clearCursor
A next page cursor for listings (optional).
string cursor = 8;
- Returns:
- This builder for chaining.
-
setCursorBytes
A next page cursor for listings (optional).
string cursor = 8;
- Parameters:
value
- The bytes for cursor to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListTournamentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-
mergeUnknownFields
public final ListTournamentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListTournamentsRequest.Builder>
-