Package ai.chalk.protos.chalk.auth.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.auth.v1.ServiceTokenAgentNested 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 intstatic 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 TypeMethodDescriptionbooleanstring 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.com.google.protobuf.ProtocolStringListDeprecated.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"];static ServiceTokenAgentstatic final com.google.protobuf.Descriptors.Descriptorstring 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"];com.google.protobuf.Parser<ServiceTokenAgent>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"];intstring 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"];inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ServiceTokenAgent.Builderstatic ServiceTokenAgent.BuildernewBuilder(ServiceTokenAgent prototype) protected ServiceTokenAgent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ServiceTokenAgentparseDelimitedFrom(InputStream input) static ServiceTokenAgentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceTokenAgentparseFrom(byte[] data) static ServiceTokenAgentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceTokenAgentparseFrom(com.google.protobuf.ByteString data) static ServiceTokenAgentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceTokenAgentparseFrom(com.google.protobuf.CodedInputStream input) static ServiceTokenAgentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceTokenAgentparseFrom(InputStream input) static ServiceTokenAgentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceTokenAgentparseFrom(ByteBuffer data) static ServiceTokenAgentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceTokenAgent>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
-
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
- 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
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceServiceTokenAgentOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceServiceTokenAgentOrBuilder- Returns:
- The bytes for id.
-
getClientId
string client_id = 2 [json_name = "clientId"];- Specified by:
getClientIdin interfaceServiceTokenAgentOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()string client_id = 2 [json_name = "clientId"];- Specified by:
getClientIdBytesin interfaceServiceTokenAgentOrBuilder- Returns:
- The bytes for clientId.
-
getTeamId
string team_id = 3 [json_name = "teamId"];- Specified by:
getTeamIdin interfaceServiceTokenAgentOrBuilder- Returns:
- The teamId.
-
getTeamIdBytes
public com.google.protobuf.ByteString getTeamIdBytes()string team_id = 3 [json_name = "teamId"];- Specified by:
getTeamIdBytesin interfaceServiceTokenAgentOrBuilder- Returns:
- The bytes for teamId.
-
getEnvironment
string environment = 4 [json_name = "environment"];- Specified by:
getEnvironmentin interfaceServiceTokenAgentOrBuilder- Returns:
- The environment.
-
getEnvironmentBytes
public com.google.protobuf.ByteString getEnvironmentBytes()string environment = 4 [json_name = "environment"];- Specified by:
getEnvironmentBytesin interfaceServiceTokenAgentOrBuilder- Returns:
- The bytes for environment.
-
getPermissionsList
repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Specified by:
getPermissionsListin interfaceServiceTokenAgentOrBuilder- Returns:
- A list containing the permissions.
-
getPermissionsCount
public int getPermissionsCount()repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Specified by:
getPermissionsCountin interfaceServiceTokenAgentOrBuilder- Returns:
- The count of permissions.
-
getPermissions
repeated .chalk.auth.v1.Permission permissions = 5 [json_name = "permissions"];- Specified by:
getPermissionsin interfaceServiceTokenAgentOrBuilder- 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"];- Specified by:
getPermissionsValueListin interfaceServiceTokenAgentOrBuilder- 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:
getPermissionsValuein interfaceServiceTokenAgentOrBuilder- 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];- Specified by:
getCustomClaimsListin interfaceServiceTokenAgentOrBuilder- 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];- Specified by:
getCustomClaimsCountin interfaceServiceTokenAgentOrBuilder- 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];- Specified by:
getCustomClaimsin interfaceServiceTokenAgentOrBuilder- 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];- Specified by:
getCustomClaimsBytesin interfaceServiceTokenAgentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customClaims at the given index.
-
getCustomerClaimsList
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];- Specified by:
getCustomerClaimsListin interfaceServiceTokenAgentOrBuilder
-
getCustomerClaimsOrBuilderList
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];- Specified by:
getCustomerClaimsOrBuilderListin interfaceServiceTokenAgentOrBuilder
-
getCustomerClaimsCount
public int getCustomerClaimsCount()repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];- Specified by:
getCustomerClaimsCountin interfaceServiceTokenAgentOrBuilder
-
getCustomerClaims
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];- Specified by:
getCustomerClaimsin interfaceServiceTokenAgentOrBuilder
-
getCustomerClaimsOrBuilder
repeated .chalk.auth.v1.CustomClaim customer_claims = 7 [json_name = "customerClaims"];- Specified by:
getCustomerClaimsOrBuilderin interfaceServiceTokenAgentOrBuilder
-
hasFeaturePermissions
public boolean hasFeaturePermissions().chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];- Specified by:
hasFeaturePermissionsin interfaceServiceTokenAgentOrBuilder- Returns:
- Whether the featurePermissions field is set.
-
getFeaturePermissions
.chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];- Specified by:
getFeaturePermissionsin interfaceServiceTokenAgentOrBuilder- Returns:
- The featurePermissions.
-
getFeaturePermissionsOrBuilder
.chalk.auth.v1.FeaturePermissions feature_permissions = 8 [json_name = "featurePermissions"];- Specified by:
getFeaturePermissionsOrBuilderin interfaceServiceTokenAgentOrBuilder
-
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 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
- Throws:
IOException
-
parseFrom
public static ServiceTokenAgent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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 ServiceTokenAgent.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
-