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()
      optional string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      optional 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
      boolean hasId()
      optional string id = 1 [json_name = "id"];
      boolean hasLogin()
      Authenticate session with the newly created account
      boolean hasScheme()
      The initial authentication scheme the account can use
      boolean hasSecret()
      Shared secret
      boolean hasState()
      Account state: normal ("ok"), suspended
      boolean hasToken()
      Authentication token used for resetting a password.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasId

        boolean hasId()
        optional string id = 1 [json_name = "id"];
        Returns:
        Whether the id field is set.
      • getId

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

        com.google.protobuf.ByteString getIdBytes()
        optional 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.
      • hasScheme

        boolean hasScheme()
         The initial authentication scheme the account can use
         
        optional string scheme = 3 [json_name = "scheme"];
        Returns:
        Whether the scheme field is set.
      • getScheme

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

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

        boolean hasSecret()
         Shared secret
         
        optional bytes secret = 4 [json_name = "secret"];
        Returns:
        Whether the secret field is set.
      • getSecret

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

        boolean hasLogin()
         Authenticate session with the newly created account
         
        optional bool login = 5 [json_name = "login"];
        Returns:
        Whether the login field is set.
      • getLogin

        boolean getLogin()
         Authenticate session with the newly created account
         
        optional 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
         
        optional .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
         
        optional .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"];
      • hasToken

        boolean hasToken()
         Authentication token used for resetting a password.
         
        optional bytes token = 9 [json_name = "token"];
        Returns:
        Whether the token field is set.
      • getToken

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

        boolean hasState()
         Account state: normal ("ok"), suspended
         
        optional string state = 10 [json_name = "state"];
        Returns:
        Whether the state field is set.
      • getState

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

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