Package ai.chalk.protos.chalk.server.v1
Interface GetTokenRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetTokenRequest,GetTokenRequest.Builder
public interface GetTokenRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring client_id = 1 [json_name = "clientId"];com.google.protobuf.ByteStringstring client_id = 1 [json_name = "clientId"];string client_secret = 2 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];com.google.protobuf.ByteStringstring client_secret = 2 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];string grant_type = 3 [json_name = "grantType"];com.google.protobuf.ByteStringstring grant_type = 3 [json_name = "grantType"];getScope()optional string scope = 4 [json_name = "scope"];com.google.protobuf.ByteStringoptional string scope = 4 [json_name = "scope"];booleanhasScope()optional string scope = 4 [json_name = "scope"];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
-
getClientId
String getClientId()string client_id = 1 [json_name = "clientId"];- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()string client_id = 1 [json_name = "clientId"];- Returns:
- The bytes for clientId.
-
getClientSecret
String getClientSecret()string client_secret = 2 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];- Returns:
- The clientSecret.
-
getClientSecretBytes
com.google.protobuf.ByteString getClientSecretBytes()string client_secret = 2 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];- Returns:
- The bytes for clientSecret.
-
getGrantType
String getGrantType()string grant_type = 3 [json_name = "grantType"];- Returns:
- The grantType.
-
getGrantTypeBytes
com.google.protobuf.ByteString getGrantTypeBytes()string grant_type = 3 [json_name = "grantType"];- Returns:
- The bytes for grantType.
-
hasScope
boolean hasScope()optional string scope = 4 [json_name = "scope"];- Returns:
- Whether the scope field is set.
-
getScope
String getScope()optional string scope = 4 [json_name = "scope"];- Returns:
- The scope.
-
getScopeBytes
com.google.protobuf.ByteString getScopeBytes()optional string scope = 4 [json_name = "scope"];- Returns:
- The bytes for scope.
-