public static final class EndpointVerificationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder> implements EndpointVerificationInfoOrBuilder
Information about a verification endpoint that can be used for 2FA.Protobuf type
google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo| Modifier and Type | Method and Description |
|---|---|
EndpointVerificationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointVerificationInfo |
build() |
EndpointVerificationInfo |
buildPartial() |
EndpointVerificationInfo.Builder |
clear() |
EndpointVerificationInfo.Builder |
clearEmailAddress()
Email address for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
clearEndpoint() |
EndpointVerificationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EndpointVerificationInfo.Builder |
clearLastVerificationTime()
Output only.
|
EndpointVerificationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EndpointVerificationInfo.Builder |
clearPhoneNumber()
Phone number for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
clearRequestToken()
Output only.
|
EndpointVerificationInfo.Builder |
clone() |
EndpointVerificationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEmailAddress()
Email address for which to trigger a verification request.
|
com.google.protobuf.ByteString |
getEmailAddressBytes()
Email address for which to trigger a verification request.
|
EndpointVerificationInfo.EndpointCase |
getEndpointCase() |
com.google.protobuf.Timestamp |
getLastVerificationTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getLastVerificationTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastVerificationTimeOrBuilder()
Output only.
|
String |
getPhoneNumber()
Phone number for which to trigger a verification request.
|
com.google.protobuf.ByteString |
getPhoneNumberBytes()
Phone number for which to trigger a verification request.
|
String |
getRequestToken()
Output only.
|
com.google.protobuf.ByteString |
getRequestTokenBytes()
Output only.
|
boolean |
hasEmailAddress()
Email address for which to trigger a verification request.
|
boolean |
hasLastVerificationTime()
Output only.
|
boolean |
hasPhoneNumber()
Phone number for which to trigger a verification request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EndpointVerificationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EndpointVerificationInfo.Builder |
mergeFrom(EndpointVerificationInfo other) |
EndpointVerificationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
EndpointVerificationInfo.Builder |
mergeLastVerificationTime(com.google.protobuf.Timestamp value)
Output only.
|
EndpointVerificationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EndpointVerificationInfo.Builder |
setEmailAddress(String value)
Email address for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
setEmailAddressBytes(com.google.protobuf.ByteString value)
Email address for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointVerificationInfo.Builder |
setLastVerificationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
EndpointVerificationInfo.Builder |
setLastVerificationTime(com.google.protobuf.Timestamp value)
Output only.
|
EndpointVerificationInfo.Builder |
setPhoneNumber(String value)
Phone number for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
setPhoneNumberBytes(com.google.protobuf.ByteString value)
Phone number for which to trigger a verification request.
|
EndpointVerificationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EndpointVerificationInfo.Builder |
setRequestToken(String value)
Output only.
|
EndpointVerificationInfo.Builder |
setRequestTokenBytes(com.google.protobuf.ByteString value)
Output only.
|
EndpointVerificationInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EndpointVerificationInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EndpointVerificationInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EndpointVerificationInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder mergeFrom(EndpointVerificationInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public EndpointVerificationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EndpointVerificationInfo.Builder>IOExceptionpublic EndpointVerificationInfo.EndpointCase getEndpointCase()
getEndpointCase in interface EndpointVerificationInfoOrBuilderpublic EndpointVerificationInfo.Builder clearEndpoint()
public boolean hasEmailAddress()
Email address for which to trigger a verification request.
string email_address = 1;hasEmailAddress in interface EndpointVerificationInfoOrBuilderpublic String getEmailAddress()
Email address for which to trigger a verification request.
string email_address = 1;getEmailAddress in interface EndpointVerificationInfoOrBuilderpublic com.google.protobuf.ByteString getEmailAddressBytes()
Email address for which to trigger a verification request.
string email_address = 1;getEmailAddressBytes in interface EndpointVerificationInfoOrBuilderpublic EndpointVerificationInfo.Builder setEmailAddress(String value)
Email address for which to trigger a verification request.
string email_address = 1;value - The emailAddress to set.public EndpointVerificationInfo.Builder clearEmailAddress()
Email address for which to trigger a verification request.
string email_address = 1;public EndpointVerificationInfo.Builder setEmailAddressBytes(com.google.protobuf.ByteString value)
Email address for which to trigger a verification request.
string email_address = 1;value - The bytes for emailAddress to set.public boolean hasPhoneNumber()
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;hasPhoneNumber in interface EndpointVerificationInfoOrBuilderpublic String getPhoneNumber()
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;getPhoneNumber in interface EndpointVerificationInfoOrBuilderpublic com.google.protobuf.ByteString getPhoneNumberBytes()
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;getPhoneNumberBytes in interface EndpointVerificationInfoOrBuilderpublic EndpointVerificationInfo.Builder setPhoneNumber(String value)
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;value - The phoneNumber to set.public EndpointVerificationInfo.Builder clearPhoneNumber()
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;public EndpointVerificationInfo.Builder setPhoneNumberBytes(com.google.protobuf.ByteString value)
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;value - The bytes for phoneNumber to set.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];getRequestToken in interface EndpointVerificationInfoOrBuilderpublic com.google.protobuf.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];getRequestTokenBytes in interface EndpointVerificationInfoOrBuilderpublic EndpointVerificationInfo.Builder setRequestToken(String value)
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];value - The requestToken to set.public EndpointVerificationInfo.Builder clearRequestToken()
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];public EndpointVerificationInfo.Builder setRequestTokenBytes(com.google.protobuf.ByteString value)
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];value - The bytes for requestToken to set.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];
hasLastVerificationTime in interface EndpointVerificationInfoOrBuilderpublic com.google.protobuf.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];
getLastVerificationTime in interface EndpointVerificationInfoOrBuilderpublic EndpointVerificationInfo.Builder setLastVerificationTime(com.google.protobuf.Timestamp value)
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];
public EndpointVerificationInfo.Builder setLastVerificationTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public EndpointVerificationInfo.Builder mergeLastVerificationTime(com.google.protobuf.Timestamp value)
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];
public EndpointVerificationInfo.Builder clearLastVerificationTime()
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];
public com.google.protobuf.Timestamp.Builder getLastVerificationTimeBuilder()
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];
public com.google.protobuf.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];
getLastVerificationTimeOrBuilder in interface EndpointVerificationInfoOrBuilderpublic final EndpointVerificationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>public final EndpointVerificationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.