Class LinkToken

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

public final class LinkToken extends com.google.protobuf.GeneratedMessageV3 implements LinkTokenOrBuilder
Protobuf type chalk.server.v1.LinkToken
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type chalk.server.v1.LinkToken

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    optional string active_environment = 5 [json_name = "activeEnvironment"];
    com.google.protobuf.ByteString
    optional string active_environment = 5 [json_name = "activeEnvironment"];
    string api_server = 4 [json_name = "apiServer"];
    com.google.protobuf.ByteString
    string api_server = 4 [json_name = "apiServer"];
    string client_id = 2 [json_name = "clientId"];
    com.google.protobuf.ByteString
    string client_id = 2 [json_name = "clientId"];
    string client_secret = 3 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];
    com.google.protobuf.ByteString
    string client_secret = 3 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];
    static LinkToken
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    com.google.protobuf.Parser<LinkToken>
     
    int
     
    com.google.protobuf.Timestamp
    .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
    com.google.protobuf.TimestampOrBuilder
    .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
    boolean
    optional string active_environment = 5 [json_name = "activeEnvironment"];
    int
     
    boolean
    .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(LinkToken prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static LinkToken
     
    static LinkToken
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkToken
    parseFrom(byte[] data)
     
    static LinkToken
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkToken
    parseFrom(com.google.protobuf.ByteString data)
     
    static LinkToken
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkToken
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static LinkToken
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkToken
     
    static LinkToken
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LinkToken
     
    static LinkToken
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LinkToken>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CLIENT_ID_FIELD_NUMBER

      public static final int CLIENT_ID_FIELD_NUMBER
      See Also:
    • CLIENT_SECRET_FIELD_NUMBER

      public static final int CLIENT_SECRET_FIELD_NUMBER
      See Also:
    • API_SERVER_FIELD_NUMBER

      public static final int API_SERVER_FIELD_NUMBER
      See Also:
    • ACTIVE_ENVIRONMENT_FIELD_NUMBER

      public static final int ACTIVE_ENVIRONMENT_FIELD_NUMBER
      See Also:
    • VALID_UNTIL_FIELD_NUMBER

      public static final int VALID_UNTIL_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
    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface LinkTokenOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

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

      public String getClientSecret()
      string client_secret = 3 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];
      Specified by:
      getClientSecret in interface LinkTokenOrBuilder
      Returns:
      The clientSecret.
    • getClientSecretBytes

      public com.google.protobuf.ByteString getClientSecretBytes()
      string client_secret = 3 [json_name = "clientSecret", (.chalk.utils.v1.sensitive) = true];
      Specified by:
      getClientSecretBytes in interface LinkTokenOrBuilder
      Returns:
      The bytes for clientSecret.
    • getApiServer

      public String getApiServer()
      string api_server = 4 [json_name = "apiServer"];
      Specified by:
      getApiServer in interface LinkTokenOrBuilder
      Returns:
      The apiServer.
    • getApiServerBytes

      public com.google.protobuf.ByteString getApiServerBytes()
      string api_server = 4 [json_name = "apiServer"];
      Specified by:
      getApiServerBytes in interface LinkTokenOrBuilder
      Returns:
      The bytes for apiServer.
    • hasActiveEnvironment

      public boolean hasActiveEnvironment()
      optional string active_environment = 5 [json_name = "activeEnvironment"];
      Specified by:
      hasActiveEnvironment in interface LinkTokenOrBuilder
      Returns:
      Whether the activeEnvironment field is set.
    • getActiveEnvironment

      public String getActiveEnvironment()
      optional string active_environment = 5 [json_name = "activeEnvironment"];
      Specified by:
      getActiveEnvironment in interface LinkTokenOrBuilder
      Returns:
      The activeEnvironment.
    • getActiveEnvironmentBytes

      public com.google.protobuf.ByteString getActiveEnvironmentBytes()
      optional string active_environment = 5 [json_name = "activeEnvironment"];
      Specified by:
      getActiveEnvironmentBytes in interface LinkTokenOrBuilder
      Returns:
      The bytes for activeEnvironment.
    • hasValidUntil

      public boolean hasValidUntil()
      .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
      Specified by:
      hasValidUntil in interface LinkTokenOrBuilder
      Returns:
      Whether the validUntil field is set.
    • getValidUntil

      public com.google.protobuf.Timestamp getValidUntil()
      .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
      Specified by:
      getValidUntil in interface LinkTokenOrBuilder
      Returns:
      The validUntil.
    • getValidUntilOrBuilder

      public com.google.protobuf.TimestampOrBuilder getValidUntilOrBuilder()
      .google.protobuf.Timestamp valid_until = 6 [json_name = "validUntil"];
      Specified by:
      getValidUntilOrBuilder in interface LinkTokenOrBuilder
    • 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 LinkToken parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static LinkToken.Builder newBuilder()
    • newBuilder

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

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

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

      public static LinkToken getDefaultInstance()
    • parser

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

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