Interface TokenOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Token, Token.Builder

@Generated public interface TokenOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The ip address of the authentication server that produced the token.
    The service for which the token is intended.
    com.google.protobuf.ByteString
    The service for which the token is intended.
    long
    The actual token payload.
    The credentials for the token.
    The credentials for the token.
    boolean
    The credentials for the token.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getTokenId

      long getTokenId()
       The actual token payload.
       
      fixed64 token_id = 1;
      Returns:
      The tokenId.
    • getService

      String getService()
       The service for which the token is intended.
       
      string service = 2;
      Returns:
      The service.
    • getServiceBytes

      com.google.protobuf.ByteString getServiceBytes()
       The service for which the token is intended.
       
      string service = 2;
      Returns:
      The bytes for service.
    • hasUserContext

      boolean hasUserContext()
       The credentials for the token.
       
      .io.deephaven.proto.auth.UserContext user_context = 3;
      Returns:
      Whether the userContext field is set.
    • getUserContext

      UserContext getUserContext()
       The credentials for the token.
       
      .io.deephaven.proto.auth.UserContext user_context = 3;
      Returns:
      The userContext.
    • getUserContextOrBuilder

      UserContextOrBuilder getUserContextOrBuilder()
       The credentials for the token.
       
      .io.deephaven.proto.auth.UserContext user_context = 3;
    • getIpAddress

      com.google.protobuf.ByteString getIpAddress()
       The ip address of the authentication server that produced the token.
       
      bytes ip_address = 4;
      Returns:
      The ipAddress.