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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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
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