Interface TokenOptionsOrBuilder

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

    public interface TokenOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAudience()
      Optional.
      com.google.protobuf.ByteString getAudienceBytes()
      Optional.
      String getNonce​(int index)
      Optional.
      com.google.protobuf.ByteString getNonceBytes​(int index)
      Optional.
      int getNonceCount()
      Optional.
      List<String> getNonceList()
      Optional.
      • 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 Detail

      • getAudience

        String getAudience()
         Optional. Optional string to issue the token with a custom audience claim.
         Required if one or more nonces are specified.
         
        string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The audience.
      • getAudienceBytes

        com.google.protobuf.ByteString getAudienceBytes()
         Optional. Optional string to issue the token with a custom audience claim.
         Required if one or more nonces are specified.
         
        string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for audience.
      • getNonceList

        List<String> getNonceList()
         Optional. Optional parameter to place one or more nonces in the eat_nonce
         claim in the output token. The minimum size for JSON-encoded EATs is 10
         bytes and the maximum size is 74 bytes.
         
        repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the nonce.
      • getNonceCount

        int getNonceCount()
         Optional. Optional parameter to place one or more nonces in the eat_nonce
         claim in the output token. The minimum size for JSON-encoded EATs is 10
         bytes and the maximum size is 74 bytes.
         
        repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of nonce.
      • getNonce

        String getNonce​(int index)
         Optional. Optional parameter to place one or more nonces in the eat_nonce
         claim in the output token. The minimum size for JSON-encoded EATs is 10
         bytes and the maximum size is 74 bytes.
         
        repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The nonce at the given index.
      • getNonceBytes

        com.google.protobuf.ByteString getNonceBytes​(int index)
         Optional. Optional parameter to place one or more nonces in the eat_nonce
         claim in the output token. The minimum size for JSON-encoded EATs is 10
         bytes and the maximum size is 74 bytes.
         
        repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the nonce at the given index.