Package pbx

Class Model.ClientAcc

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Model.ClientAcc.Builder
      User creation message {acc}
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      Model.ClientCred getCred​(int index)
      Credentials for verification.
      int getCredCount()
      Credentials for verification.
      java.util.List<Model.ClientCred> getCredList()
      Credentials for verification.
      Model.ClientCredOrBuilder getCredOrBuilder​(int index)
      Credentials for verification.
      java.util.List<? extends Model.ClientCredOrBuilder> getCredOrBuilderList()
      Credentials for verification.
      static Model.ClientAcc getDefaultInstance()  
      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.
      static Model.ClientAcc.Builder newBuilder()  
      static Model.ClientAcc.Builder newBuilder​(Model.ClientAcc prototype)  
      static Model.ClientAcc parseDelimitedFrom​(java.io.InputStream input)  
      static Model.ClientAcc parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientAcc parseFrom​(byte[] data)  
      static Model.ClientAcc parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientAcc parseFrom​(com.google.protobuf.ByteString data)  
      static Model.ClientAcc parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientAcc parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Model.ClientAcc parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientAcc parseFrom​(java.io.InputStream input)  
      static Model.ClientAcc parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Model.ClientAcc parseFrom​(java.nio.ByteBuffer data)  
      static Model.ClientAcc parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Model.ClientAcc> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        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.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasId

        public boolean hasId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        hasId in interface Model.ClientAccOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public java.lang.String getId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        getId in interface Model.ClientAccOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        optional string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface Model.ClientAccOrBuilder
        Returns:
        The bytes for id.
      • getUserId

        public java.lang.String getUserId()
         User being created or updated
         
        string user_id = 2 [json_name = "userId"];
        Specified by:
        getUserId in interface Model.ClientAccOrBuilder
        Returns:
        The userId.
      • getUserIdBytes

        public com.google.protobuf.ByteString getUserIdBytes()
         User being created or updated
         
        string user_id = 2 [json_name = "userId"];
        Specified by:
        getUserIdBytes in interface Model.ClientAccOrBuilder
        Returns:
        The bytes for userId.
      • hasScheme

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

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

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

        public boolean hasSecret()
         Shared secret
         
        optional bytes secret = 4 [json_name = "secret"];
        Specified by:
        hasSecret in interface Model.ClientAccOrBuilder
        Returns:
        Whether the secret field is set.
      • getSecret

        public com.google.protobuf.ByteString getSecret()
         Shared secret
         
        optional bytes secret = 4 [json_name = "secret"];
        Specified by:
        getSecret in interface Model.ClientAccOrBuilder
        Returns:
        The secret.
      • hasLogin

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

        public boolean getLogin()
         Authenticate session with the newly created account
         
        optional bool login = 5 [json_name = "login"];
        Specified by:
        getLogin in interface Model.ClientAccOrBuilder
        Returns:
        The login.
      • getTagsList

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

        public int getTagsCount()
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Specified by:
        getTagsCount in interface Model.ClientAccOrBuilder
        Returns:
        The count of tags.
      • getTags

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

        public com.google.protobuf.ByteString getTagsBytes​(int index)
         Indexable tags for user discovery
         
        repeated string tags = 6 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface Model.ClientAccOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • hasDesc

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

        public Model.SetDesc getDesc()
         User initialization data when creating a new user, otherwise ignored
         
        optional .pbx.SetDesc desc = 7 [json_name = "desc"];
        Specified by:
        getDesc in interface Model.ClientAccOrBuilder
        Returns:
        The desc.
      • getCredOrBuilderList

        public java.util.List<? extends Model.ClientCredOrBuilder> getCredOrBuilderList()
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
      • getCredCount

        public int getCredCount()
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
        Specified by:
        getCredCount in interface Model.ClientAccOrBuilder
      • getCredOrBuilder

        public Model.ClientCredOrBuilder getCredOrBuilder​(int index)
         Credentials for verification.
         
        repeated .pbx.ClientCred cred = 8 [json_name = "cred"];
      • hasToken

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

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

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

        public java.lang.String getState()
         Account state: normal ("ok"), suspended
         
        optional string state = 10 [json_name = "state"];
        Specified by:
        getState in interface Model.ClientAccOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         Account state: normal ("ok"), suspended
         
        optional string state = 10 [json_name = "state"];
        Specified by:
        getStateBytes in interface Model.ClientAccOrBuilder
        Returns:
        The bytes for state.
      • parseFrom

        public static Model.ClientAcc parseFrom​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Model.ClientAcc parseFrom​(java.nio.ByteBuffer data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Model.ClientAcc parseFrom​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientAcc parseFrom​(java.io.InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Model.ClientAcc parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Model.ClientAcc parseDelimitedFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientAcc parseFrom​(com.google.protobuf.CodedInputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Model.ClientAcc parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Model.ClientAcc,​Model.ClientAcc.Builder>
      • parser

        public static com.google.protobuf.Parser<Model.ClientAcc> parser()