Class ServiceTokenAgent

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

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

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • CLIENT_ID_FIELD_NUMBER

      public static final int CLIENT_ID_FIELD_NUMBER
      See Also:
    • TEAM_ID_FIELD_NUMBER

      public static final int TEAM_ID_FIELD_NUMBER
      See Also:
    • ENVIRONMENT_FIELD_NUMBER

      public static final int ENVIRONMENT_FIELD_NUMBER
      See Also:
    • PERMISSIONS_FIELD_NUMBER

      public static final int PERMISSIONS_FIELD_NUMBER
      See Also:
    • CUSTOM_CLAIMS_FIELD_NUMBER

      public static final int CUSTOM_CLAIMS_FIELD_NUMBER
      See Also:
    • CUSTOMER_CLAIMS_FIELD_NUMBER

      public static final int CUSTOMER_CLAIMS_FIELD_NUMBER
      See Also:
    • FEATURE_PERMISSIONS_FIELD_NUMBER

      public static final int FEATURE_PERMISSIONS_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
    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface ServiceTokenAgentOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface ServiceTokenAgentOrBuilder
      Returns:
      The bytes for id.
    • getClientId

      public String getClientId()
      string client_id = 2 [json_name = "clientId"];
      Specified by:
      getClientId in interface ServiceTokenAgentOrBuilder
      Returns:
      The clientId.
    • getClientIdBytes

      public com.google.protobuf.ByteString getClientIdBytes()
      string client_id = 2 [json_name = "clientId"];
      Specified by:
      getClientIdBytes in interface ServiceTokenAgentOrBuilder
      Returns:
      The bytes for clientId.
    • getTeamId

      public String getTeamId()
      string team_id = 3 [json_name = "teamId"];
      Specified by:
      getTeamId in interface ServiceTokenAgentOrBuilder
      Returns:
      The teamId.
    • getTeamIdBytes

      public com.google.protobuf.ByteString getTeamIdBytes()
      string team_id = 3 [json_name = "teamId"];
      Specified by:
      getTeamIdBytes in interface ServiceTokenAgentOrBuilder
      Returns:
      The bytes for teamId.
    • getEnvironment

      public String getEnvironment()
      string environment = 4 [json_name = "environment"];
      Specified by:
      getEnvironment in interface ServiceTokenAgentOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      public com.google.protobuf.ByteString getEnvironmentBytes()
      string environment = 4 [json_name = "environment"];
      Specified by:
      getEnvironmentBytes in interface ServiceTokenAgentOrBuilder
      Returns:
      The bytes for environment.
    • getPermissionsList

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

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

      public Permission getPermissions(int index)
      repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];
      Specified by:
      getPermissions in interface ServiceTokenAgentOrBuilder
      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 = 5 [json_name = "permissions"];
      Specified by:
      getPermissionsValueList in interface ServiceTokenAgentOrBuilder
      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 = 5 [json_name = "permissions"];
      Specified by:
      getPermissionsValue in interface ServiceTokenAgentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of permissions at the given index.
    • getCustomClaimsList

      @Deprecated public com.google.protobuf.ProtocolStringList getCustomClaimsList()
      Deprecated.
      chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34
      repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];
      Specified by:
      getCustomClaimsList in interface ServiceTokenAgentOrBuilder
      Returns:
      A list containing the customClaims.
    • getCustomClaimsCount

      @Deprecated public int getCustomClaimsCount()
      Deprecated.
      chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34
      repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];
      Specified by:
      getCustomClaimsCount in interface ServiceTokenAgentOrBuilder
      Returns:
      The count of customClaims.
    • getCustomClaims

      @Deprecated public String getCustomClaims(int index)
      Deprecated.
      chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34
      repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];
      Specified by:
      getCustomClaims in interface ServiceTokenAgentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The customClaims at the given index.
    • getCustomClaimsBytes

      @Deprecated public com.google.protobuf.ByteString getCustomClaimsBytes(int index)
      Deprecated.
      chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34
      repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];
      Specified by:
      getCustomClaimsBytes in interface ServiceTokenAgentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the customClaims at the given index.
    • getCustomerClaimsList

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

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

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

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

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

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

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

      public FeaturePermissionsOrBuilder getFeaturePermissionsOrBuilder()
      .chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];
      Specified by:
      getFeaturePermissionsOrBuilder in interface ServiceTokenAgentOrBuilder
    • 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 ServiceTokenAgent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ServiceTokenAgent.Builder newBuilder()
    • newBuilder

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

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

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

      public static ServiceTokenAgent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ServiceTokenAgent> 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 ServiceTokenAgent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder