Package ai.chalk.protos.chalk.auth.v1
Interface ServiceTokenAgentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceTokenAgent,ServiceTokenAgent.Builder
public interface ServiceTokenAgentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring client_id = 2 [json_name = "clientId"];com.google.protobuf.ByteStringstring client_id = 2 [json_name = "clientId"];getCustomClaims(int index) Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated.com.google.protobuf.ByteStringgetCustomClaimsBytes(int index) Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated.intDeprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated.Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated.getCustomerClaims(int index) repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];intrepeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];getCustomerClaimsOrBuilder(int index) repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];List<? extends CustomClaimOrBuilder>repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];string environment = 4 [json_name = "environment"];com.google.protobuf.ByteStringstring environment = 4 [json_name = "environment"];.chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];.chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];getId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];getPermissions(int index) repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];intrepeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];intgetPermissionsValue(int index) repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];string team_id = 3 [json_name = "teamId"];com.google.protobuf.ByteStringstring team_id = 3 [json_name = "teamId"];boolean.chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getClientId
String getClientId()string client_id = 2 [json_name = "clientId"];- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()string client_id = 2 [json_name = "clientId"];- Returns:
- The bytes for clientId.
-
getTeamId
String getTeamId()string team_id = 3 [json_name = "teamId"];- Returns:
- The teamId.
-
getTeamIdBytes
com.google.protobuf.ByteString getTeamIdBytes()string team_id = 3 [json_name = "teamId"];- Returns:
- The bytes for teamId.
-
getEnvironment
String getEnvironment()string environment = 4 [json_name = "environment"];- Returns:
- The environment.
-
getEnvironmentBytes
com.google.protobuf.ByteString getEnvironmentBytes()string environment = 4 [json_name = "environment"];- Returns:
- The bytes for environment.
-
getPermissionsList
List<Permission> getPermissionsList()repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Returns:
- A list containing the permissions.
-
getPermissionsCount
int getPermissionsCount()repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Returns:
- The count of permissions.
-
getPermissions
repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsValueList
repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Returns:
- A list containing the enum numeric values on the wire for permissions.
-
getPermissionsValue
int getPermissionsValue(int index) repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- 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.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];- Returns:
- A list containing the customClaims.
-
getCustomClaimsCount
Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];- Returns:
- The count of customClaims.
-
getCustomClaims
Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The customClaims at the given index.
-
getCustomClaimsBytes
Deprecated.chalk.auth.v1.ServiceTokenAgent.custom_claims is deprecated. See chalk/auth/v1/agent.proto;l=34repeated string custom_claims = 6 [json_name = "customClaims", deprecated = true];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customClaims at the given index.
-
getCustomerClaimsList
List<CustomClaim> getCustomerClaimsList()repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"]; -
getCustomerClaims
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"]; -
getCustomerClaimsCount
int getCustomerClaimsCount()repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"]; -
getCustomerClaimsOrBuilderList
List<? extends CustomClaimOrBuilder> getCustomerClaimsOrBuilderList()repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"]; -
getCustomerClaimsOrBuilder
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"]; -
hasFeaturePermissions
boolean hasFeaturePermissions().chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];- Returns:
- Whether the featurePermissions field is set.
-
getFeaturePermissions
FeaturePermissions getFeaturePermissions().chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];- Returns:
- The featurePermissions.
-
getFeaturePermissionsOrBuilder
FeaturePermissionsOrBuilder getFeaturePermissionsOrBuilder().chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];
-