Send feedback
Class EndpointVerificationInfo (3.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.13.0 keyboard_arrow_down
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 Type Description int
LAST_VERIFICATION_TIME_FIELD_NUMBER
public static final int LAST_VERIFICATION_TIME_FIELD_NUMBER
Field Value Type Description int
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value Type Description int
REQUEST_TOKEN_FIELD_NUMBER
public static final int REQUEST_TOKEN_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static EndpointVerificationInfo getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static EndpointVerificationInfo . Builder newBuilder ()
newBuilder(EndpointVerificationInfo prototype)
public static EndpointVerificationInfo . Builder newBuilder ( EndpointVerificationInfo prototype )
public static EndpointVerificationInfo parseDelimitedFrom ( InputStream input )
public static EndpointVerificationInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static EndpointVerificationInfo parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static EndpointVerificationInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static EndpointVerificationInfo parseFrom ( CodedInputStream input )
public static EndpointVerificationInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static EndpointVerificationInfo parseFrom ( InputStream input )
public static EndpointVerificationInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static EndpointVerificationInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EndpointVerificationInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<EndpointVerificationInfo> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public EndpointVerificationInfo getDefaultInstanceForType ()
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 ()
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];
getParserForType()
public Parser<EndpointVerificationInfo> getParserForType ()
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 Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
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 Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public EndpointVerificationInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EndpointVerificationInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public EndpointVerificationInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]