Class EndpointVerificationInfo (3.40.0)

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()
Returns
Type Description
EndpointVerificationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EndpointVerificationInfo.Builder newBuilder()
Returns
Type Description
EndpointVerificationInfo.Builder

newBuilder(EndpointVerificationInfo prototype)

public static EndpointVerificationInfo.Builder newBuilder(EndpointVerificationInfo prototype)
Parameter
Name Description
prototype EndpointVerificationInfo
Returns
Type Description
EndpointVerificationInfo.Builder

parseDelimitedFrom(InputStream input)

public static EndpointVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EndpointVerificationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndpointVerificationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndpointVerificationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EndpointVerificationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EndpointVerificationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndpointVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EndpointVerificationInfo> parser()
Returns
Type Description
Parser<EndpointVerificationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EndpointVerificationInfo getDefaultInstanceForType()
Returns
Type Description
EndpointVerificationInfo

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
Type Description
EndpointVerificationInfo.EndpointCase

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
Type Description
TimestampOrBuilder

getParserForType()

public Parser<EndpointVerificationInfo> getParserForType()
Returns
Type Description
Parser<EndpointVerificationInfo>
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

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EndpointVerificationInfo.Builder newBuilderForType()
Returns
Type Description
EndpointVerificationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EndpointVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EndpointVerificationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EndpointVerificationInfo.Builder toBuilder()
Returns
Type Description
EndpointVerificationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException