Package ai.chalk.protos.chalk.server.v1
Class GetTokenResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.server.v1.GetTokenResponse
- All Implemented Interfaces:
GetTokenResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GetTokenResponse
extends com.google.protobuf.GeneratedMessageV3
implements GetTokenResponseOrBuilder
Protobuf type
chalk.server.v1.GetTokenResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.server.v1.GetTokenResponseNested 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 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 TypeMethodDescriptionbooleancontainsEngines(String key) Maps of environment_id --> urlbooleanmap<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];booleanmap<string, string> grpc_engines = 8 [json_name = "grpcEngines"];booleanstring access_token = 1 [json_name = "accessToken", (.chalk.utils.v1.sensitive) = true];com.google.protobuf.ByteStringstring access_token = 1 [json_name = "accessToken", (.chalk.utils.v1.sensitive) = true];string api_server = 5 [json_name = "apiServer"];com.google.protobuf.ByteStringstring api_server = 5 [json_name = "apiServer"];static GetTokenResponsestatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intMaps of environment_id --> urlMaps of environment_id --> urlgetEnginesOrDefault(String key, String defaultValue) Maps of environment_id --> urlgetEnginesOrThrow(String key) Maps of environment_id --> urlDeprecated.intmap<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];getEnvironmentIdToNameOrDefault(String key, String defaultValue) map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];com.google.protobuf.Timestamp.google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];intint32 expires_in = 3 [json_name = "expiresIn"];Deprecated.intmap<string, string> grpc_engines = 8 [json_name = "grpcEngines"];map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];getGrpcEnginesOrDefault(String key, String defaultValue) map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];com.google.protobuf.Parser<GetTokenResponse>optional string primary_environment = 6 [json_name = "primaryEnvironment"];com.google.protobuf.ByteStringoptional string primary_environment = 6 [json_name = "primaryEnvironment"];intstring token_type = 2 [json_name = "tokenType"];com.google.protobuf.ByteStringstring token_type = 2 [json_name = "tokenType"];boolean.google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];inthashCode()booleanoptional string primary_environment = 6 [json_name = "primaryEnvironment"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic GetTokenResponse.Builderstatic GetTokenResponse.BuildernewBuilder(GetTokenResponse prototype) protected GetTokenResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetTokenResponseparseDelimitedFrom(InputStream input) static GetTokenResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetTokenResponseparseFrom(byte[] data) static GetTokenResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetTokenResponseparseFrom(com.google.protobuf.ByteString data) static GetTokenResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetTokenResponseparseFrom(com.google.protobuf.CodedInputStream input) static GetTokenResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetTokenResponseparseFrom(InputStream input) static GetTokenResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetTokenResponseparseFrom(ByteBuffer data) static GetTokenResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetTokenResponse>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, 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
-
ACCESS_TOKEN_FIELD_NUMBER
public static final int ACCESS_TOKEN_FIELD_NUMBER- See Also:
-
TOKEN_TYPE_FIELD_NUMBER
public static final int TOKEN_TYPE_FIELD_NUMBER- See Also:
-
EXPIRES_IN_FIELD_NUMBER
public static final int EXPIRES_IN_FIELD_NUMBER- See Also:
-
EXPIRES_AT_FIELD_NUMBER
public static final int EXPIRES_AT_FIELD_NUMBER- See Also:
-
API_SERVER_FIELD_NUMBER
public static final int API_SERVER_FIELD_NUMBER- See Also:
-
PRIMARY_ENVIRONMENT_FIELD_NUMBER
public static final int PRIMARY_ENVIRONMENT_FIELD_NUMBER- See Also:
-
ENGINES_FIELD_NUMBER
public static final int ENGINES_FIELD_NUMBER- See Also:
-
GRPC_ENGINES_FIELD_NUMBER
public static final int GRPC_ENGINES_FIELD_NUMBER- See Also:
-
ENVIRONMENT_ID_TO_NAME_FIELD_NUMBER
public static final int ENVIRONMENT_ID_TO_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAccessToken
string access_token = 1 [json_name = "accessToken", (.chalk.utils.v1.sensitive) = true];- Specified by:
getAccessTokenin interfaceGetTokenResponseOrBuilder- Returns:
- The accessToken.
-
getAccessTokenBytes
public com.google.protobuf.ByteString getAccessTokenBytes()string access_token = 1 [json_name = "accessToken", (.chalk.utils.v1.sensitive) = true];- Specified by:
getAccessTokenBytesin interfaceGetTokenResponseOrBuilder- Returns:
- The bytes for accessToken.
-
getTokenType
string token_type = 2 [json_name = "tokenType"];- Specified by:
getTokenTypein interfaceGetTokenResponseOrBuilder- Returns:
- The tokenType.
-
getTokenTypeBytes
public com.google.protobuf.ByteString getTokenTypeBytes()string token_type = 2 [json_name = "tokenType"];- Specified by:
getTokenTypeBytesin interfaceGetTokenResponseOrBuilder- Returns:
- The bytes for tokenType.
-
getExpiresIn
public int getExpiresIn()int32 expires_in = 3 [json_name = "expiresIn"];- Specified by:
getExpiresInin interfaceGetTokenResponseOrBuilder- Returns:
- The expiresIn.
-
hasExpiresAt
public boolean hasExpiresAt().google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];- Specified by:
hasExpiresAtin interfaceGetTokenResponseOrBuilder- Returns:
- Whether the expiresAt field is set.
-
getExpiresAt
public com.google.protobuf.Timestamp getExpiresAt().google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];- Specified by:
getExpiresAtin interfaceGetTokenResponseOrBuilder- Returns:
- The expiresAt.
-
getExpiresAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder().google.protobuf.Timestamp expires_at = 4 [json_name = "expiresAt"];- Specified by:
getExpiresAtOrBuilderin interfaceGetTokenResponseOrBuilder
-
getApiServer
string api_server = 5 [json_name = "apiServer"];- Specified by:
getApiServerin interfaceGetTokenResponseOrBuilder- Returns:
- The apiServer.
-
getApiServerBytes
public com.google.protobuf.ByteString getApiServerBytes()string api_server = 5 [json_name = "apiServer"];- Specified by:
getApiServerBytesin interfaceGetTokenResponseOrBuilder- Returns:
- The bytes for apiServer.
-
hasPrimaryEnvironment
public boolean hasPrimaryEnvironment()optional string primary_environment = 6 [json_name = "primaryEnvironment"];- Specified by:
hasPrimaryEnvironmentin interfaceGetTokenResponseOrBuilder- Returns:
- Whether the primaryEnvironment field is set.
-
getPrimaryEnvironment
optional string primary_environment = 6 [json_name = "primaryEnvironment"];- Specified by:
getPrimaryEnvironmentin interfaceGetTokenResponseOrBuilder- Returns:
- The primaryEnvironment.
-
getPrimaryEnvironmentBytes
public com.google.protobuf.ByteString getPrimaryEnvironmentBytes()optional string primary_environment = 6 [json_name = "primaryEnvironment"];- Specified by:
getPrimaryEnvironmentBytesin interfaceGetTokenResponseOrBuilder- Returns:
- The bytes for primaryEnvironment.
-
getEnginesCount
public int getEnginesCount()Description copied from interface:GetTokenResponseOrBuilderMaps of environment_id --> url
map<string, string> engines = 7 [json_name = "engines"];- Specified by:
getEnginesCountin interfaceGetTokenResponseOrBuilder
-
containsEngines
Maps of environment_id --> url
map<string, string> engines = 7 [json_name = "engines"];- Specified by:
containsEnginesin interfaceGetTokenResponseOrBuilder
-
getEngines
Deprecated.UsegetEnginesMap()instead.- Specified by:
getEnginesin interfaceGetTokenResponseOrBuilder
-
getEnginesMap
Maps of environment_id --> url
map<string, string> engines = 7 [json_name = "engines"];- Specified by:
getEnginesMapin interfaceGetTokenResponseOrBuilder
-
getEnginesOrDefault
Maps of environment_id --> url
map<string, string> engines = 7 [json_name = "engines"];- Specified by:
getEnginesOrDefaultin interfaceGetTokenResponseOrBuilder
-
getEnginesOrThrow
Maps of environment_id --> url
map<string, string> engines = 7 [json_name = "engines"];- Specified by:
getEnginesOrThrowin interfaceGetTokenResponseOrBuilder
-
getGrpcEnginesCount
public int getGrpcEnginesCount()Description copied from interface:GetTokenResponseOrBuildermap<string, string> grpc_engines = 8 [json_name = "grpcEngines"];- Specified by:
getGrpcEnginesCountin interfaceGetTokenResponseOrBuilder
-
containsGrpcEngines
map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];- Specified by:
containsGrpcEnginesin interfaceGetTokenResponseOrBuilder
-
getGrpcEngines
Deprecated.UsegetGrpcEnginesMap()instead.- Specified by:
getGrpcEnginesin interfaceGetTokenResponseOrBuilder
-
getGrpcEnginesMap
map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];- Specified by:
getGrpcEnginesMapin interfaceGetTokenResponseOrBuilder
-
getGrpcEnginesOrDefault
map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];- Specified by:
getGrpcEnginesOrDefaultin interfaceGetTokenResponseOrBuilder
-
getGrpcEnginesOrThrow
map<string, string> grpc_engines = 8 [json_name = "grpcEngines"];- Specified by:
getGrpcEnginesOrThrowin interfaceGetTokenResponseOrBuilder
-
getEnvironmentIdToNameCount
public int getEnvironmentIdToNameCount()Description copied from interface:GetTokenResponseOrBuildermap<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];- Specified by:
getEnvironmentIdToNameCountin interfaceGetTokenResponseOrBuilder
-
containsEnvironmentIdToName
map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];- Specified by:
containsEnvironmentIdToNamein interfaceGetTokenResponseOrBuilder
-
getEnvironmentIdToName
Deprecated.UsegetEnvironmentIdToNameMap()instead.- Specified by:
getEnvironmentIdToNamein interfaceGetTokenResponseOrBuilder
-
getEnvironmentIdToNameMap
map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];- Specified by:
getEnvironmentIdToNameMapin interfaceGetTokenResponseOrBuilder
-
getEnvironmentIdToNameOrDefault
map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];- Specified by:
getEnvironmentIdToNameOrDefaultin interfaceGetTokenResponseOrBuilder
-
getEnvironmentIdToNameOrThrow
map<string, string> environment_id_to_name = 9 [json_name = "environmentIdToName"];- Specified by:
getEnvironmentIdToNameOrThrowin interfaceGetTokenResponseOrBuilder
-
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 GetTokenResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetTokenResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetTokenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetTokenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetTokenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetTokenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetTokenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetTokenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetTokenResponse 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 GetTokenResponse.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
-