Package ai.chalk.protos.chalk.server.v1
Class UserPermissions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.server.v1.UserPermissions
- All Implemented Interfaces:
UserPermissionsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class UserPermissions
extends com.google.protobuf.GeneratedMessageV3
implements UserPermissionsOrBuilder
Protobuf type
chalk.server.v1.UserPermissions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.server.v1.UserPermissionsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UserPermissionsstatic final com.google.protobuf.Descriptors.Descriptorstring environment_id = 2 [json_name = "environmentId"];com.google.protobuf.ByteStringstring environment_id = 2 [json_name = "environmentId"];com.google.protobuf.Parser<UserPermissions>intstring user_id = 1 [json_name = "userId"];com.google.protobuf.ByteStringstring user_id = 1 [json_name = "userId"];getUserPermissions(int index) repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];intrepeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];intgetUserPermissionsValue(int index) repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];getUserRoles(int index) repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];intrepeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];getUserRolesOrBuilder(int index) repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];List<? extends UserRoleAssignmentOrBuilder>repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic UserPermissions.Builderstatic UserPermissions.BuildernewBuilder(UserPermissions prototype) protected UserPermissions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UserPermissionsparseDelimitedFrom(InputStream input) static UserPermissionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserPermissionsparseFrom(byte[] data) static UserPermissionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserPermissionsparseFrom(com.google.protobuf.ByteString data) static UserPermissionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserPermissionsparseFrom(com.google.protobuf.CodedInputStream input) static UserPermissionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserPermissionsparseFrom(InputStream input) static UserPermissionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserPermissionsparseFrom(ByteBuffer data) static UserPermissionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserPermissions>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- See Also:
-
ENVIRONMENT_ID_FIELD_NUMBER
public static final int ENVIRONMENT_ID_FIELD_NUMBER- See Also:
-
USER_ROLES_FIELD_NUMBER
public static final int USER_ROLES_FIELD_NUMBER- See Also:
-
USER_PERMISSIONS_FIELD_NUMBER
public static final int USER_PERMISSIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUserId
string user_id = 1 [json_name = "userId"];- Specified by:
getUserIdin interfaceUserPermissionsOrBuilder- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()string user_id = 1 [json_name = "userId"];- Specified by:
getUserIdBytesin interfaceUserPermissionsOrBuilder- Returns:
- The bytes for userId.
-
getEnvironmentId
string environment_id = 2 [json_name = "environmentId"];- Specified by:
getEnvironmentIdin interfaceUserPermissionsOrBuilder- Returns:
- The environmentId.
-
getEnvironmentIdBytes
public com.google.protobuf.ByteString getEnvironmentIdBytes()string environment_id = 2 [json_name = "environmentId"];- Specified by:
getEnvironmentIdBytesin interfaceUserPermissionsOrBuilder- Returns:
- The bytes for environmentId.
-
getUserRolesList
repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];- Specified by:
getUserRolesListin interfaceUserPermissionsOrBuilder
-
getUserRolesOrBuilderList
repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];- Specified by:
getUserRolesOrBuilderListin interfaceUserPermissionsOrBuilder
-
getUserRolesCount
public int getUserRolesCount()repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];- Specified by:
getUserRolesCountin interfaceUserPermissionsOrBuilder
-
getUserRoles
repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];- Specified by:
getUserRolesin interfaceUserPermissionsOrBuilder
-
getUserRolesOrBuilder
repeated .chalk.server.v1.UserRoleAssignment user_roles = 3 [json_name = "userRoles"];- Specified by:
getUserRolesOrBuilderin interfaceUserPermissionsOrBuilder
-
getUserPermissionsList
repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];- Specified by:
getUserPermissionsListin interfaceUserPermissionsOrBuilder- Returns:
- A list containing the userPermissions.
-
getUserPermissionsCount
public int getUserPermissionsCount()repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];- Specified by:
getUserPermissionsCountin interfaceUserPermissionsOrBuilder- Returns:
- The count of userPermissions.
-
getUserPermissions
repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];- Specified by:
getUserPermissionsin interfaceUserPermissionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The userPermissions at the given index.
-
getUserPermissionsValueList
repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];- Specified by:
getUserPermissionsValueListin interfaceUserPermissionsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for userPermissions.
-
getUserPermissionsValue
public int getUserPermissionsValue(int index) repeated .chalk.auth.v1.Permission user_permissions = 4 [json_name = "userPermissions"];- Specified by:
getUserPermissionsValuein interfaceUserPermissionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of userPermissions at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UserPermissions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserPermissions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserPermissions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserPermissions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserPermissions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserPermissions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserPermissions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UserPermissions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserPermissions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserPermissions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserPermissions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-