Class EndpointVerificationInfo (3.15.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
TypeDescription
int

LAST_VERIFICATION_TIME_FIELD_NUMBER

public static final int LAST_VERIFICATION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_TOKEN_FIELD_NUMBER

public static final int REQUEST_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EndpointVerificationInfo getDefaultInstance()
Returns
TypeDescription
EndpointVerificationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EndpointVerificationInfo.Builder newBuilder()
Returns
TypeDescription
EndpointVerificationInfo.Builder

newBuilder(EndpointVerificationInfo prototype)

public static EndpointVerificationInfo.Builder newBuilder(EndpointVerificationInfo prototype)
Parameter
NameDescription
prototypeEndpointVerificationInfo
Returns
TypeDescription
EndpointVerificationInfo.Builder

parseDelimitedFrom(InputStream input)

public static EndpointVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EndpointVerificationInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndpointVerificationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndpointVerificationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EndpointVerificationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EndpointVerificationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndpointVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EndpointVerificationInfo> parser()
Returns
TypeDescription
Parser<EndpointVerificationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EndpointVerificationInfo getDefaultInstanceForType()
Returns
TypeDescription
EndpointVerificationInfo

getEmailAddress()

public String getEmailAddress()

Email address for which to trigger a verification request.

string email_address = 1;

Returns
TypeDescription
String

The emailAddress.

getEmailAddressBytes()

public ByteString getEmailAddressBytes()

Email address for which to trigger a verification request.

string email_address = 1;

Returns
TypeDescription
ByteString

The bytes for emailAddress.

getEndpointCase()

public EndpointVerificationInfo.EndpointCase getEndpointCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<EndpointVerificationInfo> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requestToken.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEmailAddress()

public boolean hasEmailAddress()

Email address for which to trigger a verification request.

string email_address = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the phoneNumber field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EndpointVerificationInfo.Builder newBuilderForType()
Returns
TypeDescription
EndpointVerificationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EndpointVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EndpointVerificationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EndpointVerificationInfo.Builder toBuilder()
Returns
TypeDescription
EndpointVerificationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException