Package pbx
Class Model.ClientCred
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Model.ClientCred,Model.ClientCred.Builder>
-
- pbx.Model.ClientCred
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Model.ClientCredOrBuilder
- Enclosing class:
- Model
public static final class Model.ClientCred extends com.google.protobuf.GeneratedMessageLite<Model.ClientCred,Model.ClientCred.Builder> implements Model.ClientCredOrBuilder
Credentials such as email or phone number
Protobuf typepbx.ClientCred
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.ClientCred.BuilderCredentials such as email or phone number-
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 intMETHOD_FIELD_NUMBERstatic intPARAMS_FIELD_NUMBERstatic intRESPONSE_FIELD_NUMBERstatic intVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsParams(java.lang.String key)Request parameters, such as preferences or country code.protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)static Model.ClientCredgetDefaultInstance()java.lang.StringgetMethod()Credential type, i.e.com.google.protobuf.ByteStringgetMethodBytes()Credential type, i.e.java.util.Map<java.lang.String,com.google.protobuf.ByteString>getParams()Deprecated.intgetParamsCount()Request parameters, such as preferences or country code.java.util.Map<java.lang.String,com.google.protobuf.ByteString>getParamsMap()Request parameters, such as preferences or country code.com.google.protobuf.ByteStringgetParamsOrDefault(java.lang.String key, com.google.protobuf.ByteString defaultValue)Request parameters, such as preferences or country code.com.google.protobuf.ByteStringgetParamsOrThrow(java.lang.String key)Request parameters, such as preferences or country code.java.lang.StringgetResponse()Verification responsecom.google.protobuf.ByteStringgetResponseBytes()Verification responsejava.lang.StringgetValue()Value to verify, i.e.com.google.protobuf.ByteStringgetValueBytes()Value to verify, i.e.static Model.ClientCred.BuildernewBuilder()static Model.ClientCred.BuildernewBuilder(Model.ClientCred prototype)static Model.ClientCredparseDelimitedFrom(java.io.InputStream input)static Model.ClientCredparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientCredparseFrom(byte[] data)static Model.ClientCredparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientCredparseFrom(com.google.protobuf.ByteString data)static Model.ClientCredparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientCredparseFrom(com.google.protobuf.CodedInputStream input)static Model.ClientCredparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientCredparseFrom(java.io.InputStream input)static Model.ClientCredparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.ClientCredparseFrom(java.nio.ByteBuffer data)static Model.ClientCredparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Model.ClientCred>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
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
Credential type, i.e. `email` or `tel`.
string method = 1 [json_name = "method"];- Specified by:
getMethodin interfaceModel.ClientCredOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()
Credential type, i.e. `email` or `tel`.
string method = 1 [json_name = "method"];- Specified by:
getMethodBytesin interfaceModel.ClientCredOrBuilder- Returns:
- The bytes for method.
-
getValue
public java.lang.String getValue()
Value to verify, i.e. `user@example.com` or `+18003287448`
string value = 2 [json_name = "value"];- Specified by:
getValuein interfaceModel.ClientCredOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Value to verify, i.e. `user@example.com` or `+18003287448`
string value = 2 [json_name = "value"];- Specified by:
getValueBytesin interfaceModel.ClientCredOrBuilder- Returns:
- The bytes for value.
-
getResponse
public java.lang.String getResponse()
Verification response
string response = 3 [json_name = "response"];- Specified by:
getResponsein interfaceModel.ClientCredOrBuilder- Returns:
- The response.
-
getResponseBytes
public com.google.protobuf.ByteString getResponseBytes()
Verification response
string response = 3 [json_name = "response"];- Specified by:
getResponseBytesin interfaceModel.ClientCredOrBuilder- Returns:
- The bytes for response.
-
getParamsCount
public int getParamsCount()
Description copied from interface:Model.ClientCredOrBuilderRequest parameters, such as preferences or country code.
map<string, bytes> params = 4 [json_name = "params"];- Specified by:
getParamsCountin interfaceModel.ClientCredOrBuilder
-
containsParams
public boolean containsParams(java.lang.String key)
Request parameters, such as preferences or country code.
map<string, bytes> params = 4 [json_name = "params"];- Specified by:
containsParamsin interfaceModel.ClientCredOrBuilder
-
getParams
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.ByteString> getParams()
Deprecated.UsegetParamsMap()instead.- Specified by:
getParamsin interfaceModel.ClientCredOrBuilder
-
getParamsMap
public java.util.Map<java.lang.String,com.google.protobuf.ByteString> getParamsMap()
Request parameters, such as preferences or country code.
map<string, bytes> params = 4 [json_name = "params"];- Specified by:
getParamsMapin interfaceModel.ClientCredOrBuilder
-
getParamsOrDefault
public com.google.protobuf.ByteString getParamsOrDefault(java.lang.String key, com.google.protobuf.ByteString defaultValue)Request parameters, such as preferences or country code.
map<string, bytes> params = 4 [json_name = "params"];- Specified by:
getParamsOrDefaultin interfaceModel.ClientCredOrBuilder
-
getParamsOrThrow
public com.google.protobuf.ByteString getParamsOrThrow(java.lang.String key)
Request parameters, such as preferences or country code.
map<string, bytes> params = 4 [json_name = "params"];- Specified by:
getParamsOrThrowin interfaceModel.ClientCredOrBuilder
-
parseFrom
public static Model.ClientCred parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.ClientCred parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.ClientCred parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.ClientCred 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.ClientCred parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.ClientCred parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.ClientCred parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.ClientCred parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.ClientCred parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.ClientCred parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.ClientCred parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.ClientCred parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Model.ClientCred.Builder newBuilder()
-
newBuilder
public static Model.ClientCred.Builder newBuilder(Model.ClientCred 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.ClientCred,Model.ClientCred.Builder>
-
getDefaultInstance
public static Model.ClientCred getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model.ClientCred> parser()
-
-