Class EnvironmentPermissions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.auth.v1.EnvironmentPermissions
All Implemented Interfaces:
EnvironmentPermissionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class EnvironmentPermissions extends com.google.protobuf.GeneratedMessageV3 implements EnvironmentPermissionsOrBuilder
Protobuf type chalk.auth.v1.EnvironmentPermissions
See Also:
  • Field Details

    • PERMISSIONS_FIELD_NUMBER

      public static final int PERMISSIONS_FIELD_NUMBER
      See Also:
    • FEATURE_PERMISSIONS_FIELD_NUMBER

      public static final int FEATURE_PERMISSIONS_FIELD_NUMBER
      See Also:
    • CUSTOMER_CLAIMS_FIELD_NUMBER

      public static final int CUSTOMER_CLAIMS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getPermissionsList

      public List<Permission> getPermissionsList()
      repeated .chalk.auth.v1.Permission permissions = 2 [json_name = "permissions"];
      Specified by:
      getPermissionsList in interface EnvironmentPermissionsOrBuilder
      Returns:
      A list containing the permissions.
    • getPermissionsCount

      public int getPermissionsCount()
      repeated .chalk.auth.v1.Permission permissions = 2 [json_name = "permissions"];
      Specified by:
      getPermissionsCount in interface EnvironmentPermissionsOrBuilder
      Returns:
      The count of permissions.
    • getPermissions

      public Permission getPermissions(int index)
      repeated .chalk.auth.v1.Permission permissions = 2 [json_name = "permissions"];
      Specified by:
      getPermissions in interface EnvironmentPermissionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.
    • getPermissionsValueList

      public List<Integer> getPermissionsValueList()
      repeated .chalk.auth.v1.Permission permissions = 2 [json_name = "permissions"];
      Specified by:
      getPermissionsValueList in interface EnvironmentPermissionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for permissions.
    • getPermissionsValue

      public int getPermissionsValue(int index)
      repeated .chalk.auth.v1.Permission permissions = 2 [json_name = "permissions"];
      Specified by:
      getPermissionsValue in interface EnvironmentPermissionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of permissions at the given index.
    • hasFeaturePermissions

      public boolean hasFeaturePermissions()
      .chalk.auth.v1.FeaturePermissions feature_permissions = 3 [json_name = "featurePermissions"];
      Specified by:
      hasFeaturePermissions in interface EnvironmentPermissionsOrBuilder
      Returns:
      Whether the featurePermissions field is set.
    • getFeaturePermissions

      public FeaturePermissions getFeaturePermissions()
      .chalk.auth.v1.FeaturePermissions feature_permissions = 3 [json_name = "featurePermissions"];
      Specified by:
      getFeaturePermissions in interface EnvironmentPermissionsOrBuilder
      Returns:
      The featurePermissions.
    • getFeaturePermissionsOrBuilder

      public FeaturePermissionsOrBuilder getFeaturePermissionsOrBuilder()
      .chalk.auth.v1.FeaturePermissions feature_permissions = 3 [json_name = "featurePermissions"];
      Specified by:
      getFeaturePermissionsOrBuilder in interface EnvironmentPermissionsOrBuilder
    • getCustomerClaimsList

      public List<CustomClaim> getCustomerClaimsList()
      repeated .chalk.auth.v1.CustomClaim customer_claims = 4 [json_name = "customerClaims"];
      Specified by:
      getCustomerClaimsList in interface EnvironmentPermissionsOrBuilder
    • getCustomerClaimsOrBuilderList

      public List<? extends CustomClaimOrBuilder> getCustomerClaimsOrBuilderList()
      repeated .chalk.auth.v1.CustomClaim customer_claims = 4 [json_name = "customerClaims"];
      Specified by:
      getCustomerClaimsOrBuilderList in interface EnvironmentPermissionsOrBuilder
    • getCustomerClaimsCount

      public int getCustomerClaimsCount()
      repeated .chalk.auth.v1.CustomClaim customer_claims = 4 [json_name = "customerClaims"];
      Specified by:
      getCustomerClaimsCount in interface EnvironmentPermissionsOrBuilder
    • getCustomerClaims

      public CustomClaim getCustomerClaims(int index)
      repeated .chalk.auth.v1.CustomClaim customer_claims = 4 [json_name = "customerClaims"];
      Specified by:
      getCustomerClaims in interface EnvironmentPermissionsOrBuilder
    • getCustomerClaimsOrBuilder

      public CustomClaimOrBuilder getCustomerClaimsOrBuilder(int index)
      repeated .chalk.auth.v1.CustomClaim customer_claims = 4 [json_name = "customerClaims"];
      Specified by:
      getCustomerClaimsOrBuilder in interface EnvironmentPermissionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EnvironmentPermissions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EnvironmentPermissions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnvironmentPermissions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EnvironmentPermissions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EnvironmentPermissions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnvironmentPermissions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EnvironmentPermissions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EnvironmentPermissions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EnvironmentPermissions.Builder newBuilder()
    • newBuilder

      public static EnvironmentPermissions.Builder newBuilder(EnvironmentPermissions prototype)
    • toBuilder

      public EnvironmentPermissions.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EnvironmentPermissions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static EnvironmentPermissions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EnvironmentPermissions> parser()
    • getParserForType

      public com.google.protobuf.Parser<EnvironmentPermissions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public EnvironmentPermissions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder