Package pbx

Interface Model.ClientAccOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Model.ClientAcc, Model.ClientAcc.Builder
    Enclosing class:
    Model

    public static interface Model.ClientAccOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Model.ClientCred getCred​(int index)
      Credentials for verification.
      int getCredCount()
      Credentials for verification.
      java.util.List<Model.ClientCred> getCredList()
      Credentials for verification.
      Model.SetDesc getDesc()
      User initialization data when creating a new user, otherwise ignored
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      boolean getLogin()
      Authenticate session with the newly created account
      java.lang.String getScheme()
      The initial authentication scheme the account can use
      com.google.protobuf.ByteString getSchemeBytes()
      The initial authentication scheme the account can use
      com.google.protobuf.ByteString getSecret()
      Shared secret
      java.lang.String getState()
      Account state: normal ("ok"), suspended
      com.google.protobuf.ByteString getStateBytes()
      Account state: normal ("ok"), suspended
      java.lang.String getTags​(int index)
      Indexable tags for user discovery
      com.google.protobuf.ByteString getTagsBytes​(int index)
      Indexable tags for user discovery
      int getTagsCount()
      Indexable tags for user discovery
      java.util.List<java.lang.String> getTagsList()
      Indexable tags for user discovery
      com.google.protobuf.ByteString getToken()
      Authentication token used for resetting a password.
      java.lang.String getUserId()
      User being created or updated
      com.google.protobuf.ByteString getUserIdBytes()
      User being created or updated
      boolean hasDesc()
      User initialization data when creating a new user, otherwise ignored
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        java.lang.String getId()
        string id = 1 [json_name = "id"];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Returns:
        The bytes for id.
      • getUserId

        java.lang.String getUserId()
         User being created or updated
         
        string user_id = 2 [json_name = "userId"];
        Returns:
        The userId.
      • getUserIdBytes

        com.google.protobuf.ByteString getUserIdBytes()
         User being created or updated
         
        string user_id = 2 [json_name = "userId"];
        Returns:
        The bytes for userId.
      • getScheme

        java.lang.String getScheme()
         The initial authentication scheme the account can use
         
        string scheme = 3 [json_name = "scheme"];
        Returns:
        The scheme.
      • getSchemeBytes

        com.google.protobuf.ByteString getSchemeBytes()
         The initial authentication scheme the account can use
         
        string scheme = 3 [json_name = "scheme"];
        Returns:
        The bytes for scheme.
      • getSecret

        com.google.protobuf.ByteString getSecret()
         Shared secret
         
        bytes secret = 4 [json_name = "secret"];
        Returns:
        The secret.
      • getLogin

        boolean getLogin()
         Authenticate session with the newly created account
         
        bool login = 5 [json_name = "login"];
        Returns:
        The login.
      • getTagsList

        java.util.List<java.lang.String> getTagsList()
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Returns:
        A list containing the tags.
      • getTagsCount

        int getTagsCount()
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Returns:
        The count of tags.
      • getTags

        java.lang.String getTags​(int index)
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        com.google.protobuf.ByteString getTagsBytes​(int index)
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • hasDesc

        boolean hasDesc()
         User initialization data when creating a new user, otherwise ignored
         
        .pbx.SetDesc desc = 7 [json_name = "desc"];
        Returns:
        Whether the desc field is set.
      • getDesc

        Model.SetDesc getDesc()
         User initialization data when creating a new user, otherwise ignored
         
        .pbx.SetDesc desc = 7 [json_name = "desc"];
        Returns:
        The desc.
      • getCredList

        java.util.List<Model.ClientCred> getCredList()
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
      • getCred

        Model.ClientCred getCred​(int index)
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
      • getCredCount

        int getCredCount()
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
      • getToken

        com.google.protobuf.ByteString getToken()
         Authentication token used for resetting a password.
         
        bytes token = 9 [json_name = "token"];
        Returns:
        The token.
      • getState

        java.lang.String getState()
         Account state: normal ("ok"), suspended
         
        string state = 10 [json_name = "state"];
        Returns:
        The state.
      • getStateBytes

        com.google.protobuf.ByteString getStateBytes()
         Account state: normal ("ok"), suspended
         
        string state = 10 [json_name = "state"];
        Returns:
        The bytes for state.