public final class EndpointVerificationInfo extends GeneratedMessageV3 implements EndpointVerificationInfoOrBuilder
Information about a verification endpoint that can be used for 2FA.
Protobuf type google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo
Static Fields
EMAIL_ADDRESS_FIELD_NUMBER
public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value
LAST_VERIFICATION_TIME_FIELD_NUMBER
public static final int LAST_VERIFICATION_TIME_FIELD_NUMBER
Field Value
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
REQUEST_TOKEN_FIELD_NUMBER
public static final int REQUEST_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EndpointVerificationInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EndpointVerificationInfo.Builder newBuilder()
Returns
newBuilder(EndpointVerificationInfo prototype)
public static EndpointVerificationInfo.Builder newBuilder(EndpointVerificationInfo prototype)
Parameter
Returns
public static EndpointVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EndpointVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EndpointVerificationInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EndpointVerificationInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EndpointVerificationInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EndpointVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EndpointVerificationInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EndpointVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EndpointVerificationInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EndpointVerificationInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EndpointVerificationInfo getDefaultInstanceForType()
Returns
getEmailAddress()
public String getEmailAddress()
Email address for which to trigger a verification request.
string email_address = 1;
Returns
Type | Description |
String | The emailAddress.
|
getEmailAddressBytes()
public ByteString getEmailAddressBytes()
Email address for which to trigger a verification request.
string email_address = 1;
Returns
Type | Description |
ByteString | The bytes for emailAddress.
|
getEndpointCase()
public EndpointVerificationInfo.EndpointCase getEndpointCase()
Returns
getLastVerificationTime()
public Timestamp getLastVerificationTime()
Output only. Timestamp of the last successful verification for the
endpoint, if any.
.google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
Timestamp | The lastVerificationTime.
|
getLastVerificationTimeOrBuilder()
public TimestampOrBuilder getLastVerificationTimeOrBuilder()
Output only. Timestamp of the last successful verification for the
endpoint, if any.
.google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<EndpointVerificationInfo> getParserForType()
Returns
Overrides
getPhoneNumber()
public String getPhoneNumber()
Phone number for which to trigger a verification request. Should be given
in E.164 format.
string phone_number = 2;
Returns
Type | Description |
String | The phoneNumber.
|
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()
Phone number for which to trigger a verification request. Should be given
in E.164 format.
string phone_number = 2;
Returns
Type | Description |
ByteString | The bytes for phoneNumber.
|
getRequestToken()
public String getRequestToken()
Output only. Token to provide to the client to trigger endpoint
verification. It must be used within 15 minutes.
string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The requestToken.
|
getRequestTokenBytes()
public ByteString getRequestTokenBytes()
Output only. Token to provide to the client to trigger endpoint
verification. It must be used within 15 minutes.
string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for requestToken.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEmailAddress()
public boolean hasEmailAddress()
Email address for which to trigger a verification request.
string email_address = 1;
Returns
Type | Description |
boolean | Whether the emailAddress field is set.
|
hasLastVerificationTime()
public boolean hasLastVerificationTime()
Output only. Timestamp of the last successful verification for the
endpoint, if any.
.google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the lastVerificationTime field is set.
|
hasPhoneNumber()
public boolean hasPhoneNumber()
Phone number for which to trigger a verification request. Should be given
in E.164 format.
string phone_number = 2;
Returns
Type | Description |
boolean | Whether the phoneNumber field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EndpointVerificationInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EndpointVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EndpointVerificationInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions