Package pbx
Class Model.ClientAcc
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Model.ClientAcc,Model.ClientAcc.Builder>
-
- pbx.Model.ClientAcc
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Model.ClientAccOrBuilder
- Enclosing class:
- Model
public static final class Model.ClientAcc extends com.google.protobuf.GeneratedMessageLite<Model.ClientAcc,Model.ClientAcc.Builder> implements Model.ClientAccOrBuilder
User creation message {acc}Protobuf typepbx.ClientAcc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.ClientAcc.BuilderUser 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCRED_FIELD_NUMBERstatic intDESC_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLOGIN_FIELD_NUMBERstatic intSCHEME_FIELD_NUMBERstatic intSECRET_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTOKEN_FIELD_NUMBERstatic intUSER_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)Model.ClientCredgetCred(int index)Credentials for verification.intgetCredCount()Credentials for verification.java.util.List<Model.ClientCred>getCredList()Credentials for verification.Model.ClientCredOrBuildergetCredOrBuilder(int index)Credentials for verification.java.util.List<? extends Model.ClientCredOrBuilder>getCredOrBuilderList()Credentials for verification.static Model.ClientAccgetDefaultInstance()Model.SetDescgetDesc()User initialization data when creating a new user, otherwise ignoredjava.lang.StringgetId()optional string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()optional string id = 1 [json_name = "id"];booleangetLogin()Authenticate session with the newly created accountjava.lang.StringgetScheme()The initial authentication scheme the account can usecom.google.protobuf.ByteStringgetSchemeBytes()The initial authentication scheme the account can usecom.google.protobuf.ByteStringgetSecret()Shared secretjava.lang.StringgetState()Account state: normal ("ok"), suspendedcom.google.protobuf.ByteStringgetStateBytes()Account state: normal ("ok"), suspendedjava.lang.StringgetTags(int index)Indexable tags for user discoverycom.google.protobuf.ByteStringgetTagsBytes(int index)Indexable tags for user discoveryintgetTagsCount()Indexable tags for user discoveryjava.util.List<java.lang.String>getTagsList()Indexable tags for user discoverycom.google.protobuf.ByteStringgetToken()Authentication token used for resetting a password.java.lang.StringgetUserId()User being created or updatedcom.google.protobuf.ByteStringgetUserIdBytes()User being created or updatedbooleanhasDesc()User initialization data when creating a new user, otherwise ignoredbooleanhasId()optional string id = 1 [json_name = "id"];booleanhasLogin()Authenticate session with the newly created accountbooleanhasScheme()The initial authentication scheme the account can usebooleanhasSecret()Shared secretbooleanhasState()Account state: normal ("ok"), suspendedbooleanhasToken()Authentication token used for resetting a password.static Model.ClientAcc.BuildernewBuilder()static Model.ClientAcc.BuildernewBuilder(Model.ClientAcc prototype)static Model.ClientAccparseDelimitedFrom(java.io.InputStream input)static Model.ClientAccparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientAccparseFrom(byte[] data)static Model.ClientAccparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientAccparseFrom(com.google.protobuf.ByteString data)static Model.ClientAccparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientAccparseFrom(com.google.protobuf.CodedInputStream input)static Model.ClientAccparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientAccparseFrom(java.io.InputStream input)static Model.ClientAccparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientAccparseFrom(java.nio.ByteBuffer data)static Model.ClientAccparseFrom(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
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEME_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGIN_FIELD_NUMBER
public static final int LOGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESC_FIELD_NUMBER
public static final int DESC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRED_FIELD_NUMBER
public static final int CRED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasId
public boolean hasId()
optional string id = 1 [json_name = "id"];- Specified by:
hasIdin interfaceModel.ClientAccOrBuilder- Returns:
- Whether the id field is set.
-
getId
public java.lang.String getId()
optional string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceModel.ClientAccOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
optional string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceModel.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:
getUserIdin interfaceModel.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:
getUserIdBytesin interfaceModel.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:
hasSchemein interfaceModel.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:
getSchemein interfaceModel.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:
getSchemeBytesin interfaceModel.ClientAccOrBuilder- Returns:
- The bytes for scheme.
-
hasSecret
public boolean hasSecret()
Shared secret
optional bytes secret = 4 [json_name = "secret"];- Specified by:
hasSecretin interfaceModel.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:
getSecretin interfaceModel.ClientAccOrBuilder- Returns:
- The secret.
-
hasLogin
public boolean hasLogin()
Authenticate session with the newly created account
optional bool login = 5 [json_name = "login"];- Specified by:
hasLoginin interfaceModel.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:
getLoginin interfaceModel.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:
getTagsListin interfaceModel.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:
getTagsCountin interfaceModel.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:
getTagsin interfaceModel.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:
getTagsBytesin interfaceModel.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:
hasDescin interfaceModel.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:
getDescin interfaceModel.ClientAccOrBuilder- Returns:
- The desc.
-
getCredList
public java.util.List<Model.ClientCred> getCredList()
Credentials for verification.
repeated .pbx.ClientCred cred = 8 [json_name = "cred"];- Specified by:
getCredListin interfaceModel.ClientAccOrBuilder
-
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:
getCredCountin interfaceModel.ClientAccOrBuilder
-
getCred
public Model.ClientCred getCred(int index)
Credentials for verification.
repeated .pbx.ClientCred cred = 8 [json_name = "cred"];- Specified by:
getCredin interfaceModel.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:
hasTokenin interfaceModel.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:
getTokenin interfaceModel.ClientAccOrBuilder- Returns:
- The token.
-
hasState
public boolean hasState()
Account state: normal ("ok"), suspendedoptional string state = 10 [json_name = "state"];- Specified by:
hasStatein interfaceModel.ClientAccOrBuilder- Returns:
- Whether the state field is set.
-
getState
public java.lang.String getState()
Account state: normal ("ok"), suspendedoptional string state = 10 [json_name = "state"];- Specified by:
getStatein interfaceModel.ClientAccOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
Account state: normal ("ok"), suspendedoptional string state = 10 [json_name = "state"];- Specified by:
getStateBytesin interfaceModel.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
-
newBuilder
public static Model.ClientAcc.Builder newBuilder()
-
newBuilder
public static Model.ClientAcc.Builder newBuilder(Model.ClientAcc prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Model.ClientAcc,Model.ClientAcc.Builder>
-
getDefaultInstance
public static Model.ClientAcc getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model.ClientAcc> parser()
-
-