public static final class ListUserGroupsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListUserGroupsRequest.Builder> implements ListUserGroupsRequestOrBuilder
List the groups a user is part of, and their relationship to each.Protobuf type
nakama.api.ListUserGroupsRequest
Modifier and Type | Method and Description |
---|---|
ListUserGroupsRequest |
build() |
ListUserGroupsRequest |
buildPartial() |
ListUserGroupsRequest.Builder |
clear() |
ListUserGroupsRequest.Builder |
clearCursor()
An optional next page cursor.
|
ListUserGroupsRequest.Builder |
clearLimit()
Max number of records to return.
|
ListUserGroupsRequest.Builder |
clearState()
The user group state to list.
|
ListUserGroupsRequest.Builder |
clearUserId()
ID of the user.
|
java.lang.String |
getCursor()
An optional next page cursor.
|
com.google.protobuf.ByteString |
getCursorBytes()
An optional next page cursor.
|
ListUserGroupsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Int32Value |
getState()
The user group state to list.
|
com.google.protobuf.Int32Value.Builder |
getStateBuilder()
The user group state to list.
|
com.google.protobuf.Int32ValueOrBuilder |
getStateOrBuilder()
The user group state to list.
|
java.lang.String |
getUserId()
ID of the user.
|
com.google.protobuf.ByteString |
getUserIdBytes()
ID of the user.
|
boolean |
hasLimit()
Max number of records to return.
|
boolean |
hasState()
The user group state to list.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListUserGroupsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListUserGroupsRequest.Builder |
mergeFrom(ListUserGroupsRequest other) |
ListUserGroupsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListUserGroupsRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListUserGroupsRequest.Builder |
mergeState(com.google.protobuf.Int32Value value)
The user group state to list.
|
ListUserGroupsRequest.Builder |
setCursor(java.lang.String value)
An optional next page cursor.
|
ListUserGroupsRequest.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
An optional next page cursor.
|
ListUserGroupsRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return.
|
ListUserGroupsRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListUserGroupsRequest.Builder |
setState(com.google.protobuf.Int32Value.Builder builderForValue)
The user group state to list.
|
ListUserGroupsRequest.Builder |
setState(com.google.protobuf.Int32Value value)
The user group state to list.
|
ListUserGroupsRequest.Builder |
setUserId(java.lang.String value)
ID of the user.
|
ListUserGroupsRequest.Builder |
setUserIdBytes(com.google.protobuf.ByteString value)
ID of the user.
|
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<ListUserGroupsRequest.Builder>
public ListUserGroupsRequest.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<ListUserGroupsRequest.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<ListUserGroupsRequest.Builder>
public ListUserGroupsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListUserGroupsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListUserGroupsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListUserGroupsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListUserGroupsRequest.Builder>
public ListUserGroupsRequest.Builder mergeFrom(ListUserGroupsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ListUserGroupsRequest.Builder>
public ListUserGroupsRequest.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<ListUserGroupsRequest.Builder>
java.io.IOException
public java.lang.String getUserId()
ID of the user.
string user_id = 1 [json_name = "userId"];
getUserId
in interface ListUserGroupsRequestOrBuilder
public com.google.protobuf.ByteString getUserIdBytes()
ID of the user.
string user_id = 1 [json_name = "userId"];
getUserIdBytes
in interface ListUserGroupsRequestOrBuilder
public ListUserGroupsRequest.Builder setUserId(java.lang.String value)
ID of the user.
string user_id = 1 [json_name = "userId"];
value
- The userId to set.public ListUserGroupsRequest.Builder clearUserId()
ID of the user.
string user_id = 1 [json_name = "userId"];
public ListUserGroupsRequest.Builder setUserIdBytes(com.google.protobuf.ByteString value)
ID of the user.
string user_id = 1 [json_name = "userId"];
value
- The bytes for userId to set.public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
hasLimit
in interface ListUserGroupsRequestOrBuilder
public com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
getLimit
in interface ListUserGroupsRequestOrBuilder
public ListUserGroupsRequest.Builder setLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListUserGroupsRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListUserGroupsRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListUserGroupsRequest.Builder clearLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public com.google.protobuf.Int32Value.Builder getLimitBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
getLimitOrBuilder
in interface ListUserGroupsRequestOrBuilder
public boolean hasState()
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
hasState
in interface ListUserGroupsRequestOrBuilder
public com.google.protobuf.Int32Value getState()
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
getState
in interface ListUserGroupsRequestOrBuilder
public ListUserGroupsRequest.Builder setState(com.google.protobuf.Int32Value value)
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
public ListUserGroupsRequest.Builder setState(com.google.protobuf.Int32Value.Builder builderForValue)
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
public ListUserGroupsRequest.Builder mergeState(com.google.protobuf.Int32Value value)
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
public ListUserGroupsRequest.Builder clearState()
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
public com.google.protobuf.Int32Value.Builder getStateBuilder()
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
public com.google.protobuf.Int32ValueOrBuilder getStateOrBuilder()
The user group state to list.
.google.protobuf.Int32Value state = 3 [json_name = "state"];
getStateOrBuilder
in interface ListUserGroupsRequestOrBuilder
public java.lang.String getCursor()
An optional next page cursor.
string cursor = 4 [json_name = "cursor"];
getCursor
in interface ListUserGroupsRequestOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
An optional next page cursor.
string cursor = 4 [json_name = "cursor"];
getCursorBytes
in interface ListUserGroupsRequestOrBuilder
public ListUserGroupsRequest.Builder setCursor(java.lang.String value)
An optional next page cursor.
string cursor = 4 [json_name = "cursor"];
value
- The cursor to set.public ListUserGroupsRequest.Builder clearCursor()
An optional next page cursor.
string cursor = 4 [json_name = "cursor"];
public ListUserGroupsRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
An optional next page cursor.
string cursor = 4 [json_name = "cursor"];
value
- The bytes for cursor to set.