Class EndpointVerificationInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
com.google.recaptchaenterprise.v1.EndpointVerificationInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointVerificationInfoOrBuilder,Cloneable
- Enclosing class:
- EndpointVerificationInfo
public static final class EndpointVerificationInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
implements EndpointVerificationInfoOrBuilder
Information about a verification endpoint that can be used for 2FA.Protobuf type
google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Email address for which to trigger a verification request.Output only.Phone number for which to trigger a verification request.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEmail address for which to trigger a verification request.com.google.protobuf.ByteStringEmail address for which to trigger a verification request.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Phone number for which to trigger a verification request.com.google.protobuf.ByteStringPhone number for which to trigger a verification request.Output only.com.google.protobuf.ByteStringOutput only.booleanEmail address for which to trigger a verification request.booleanOutput only.booleanPhone number for which to trigger a verification request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastVerificationTime(com.google.protobuf.Timestamp value) Output only.setEmailAddress(String value) Email address for which to trigger a verification request.setEmailAddressBytes(com.google.protobuf.ByteString value) Email address for which to trigger a verification request.setLastVerificationTime(com.google.protobuf.Timestamp value) Output only.setLastVerificationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setPhoneNumber(String value) Phone number for which to trigger a verification request.setPhoneNumberBytes(com.google.protobuf.ByteString value) Phone number for which to trigger a verification request.setRequestToken(String value) Output only.setRequestTokenBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointVerificationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EndpointVerificationInfo.Builder>
-
mergeFrom
public EndpointVerificationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointVerificationInfo.Builder>- Throws:
IOException
-
getEndpointCase
- Specified by:
getEndpointCasein interfaceEndpointVerificationInfoOrBuilder
-
clearEndpoint
-
hasEmailAddress
public boolean hasEmailAddress()Email address for which to trigger a verification request.
string email_address = 1;- Specified by:
hasEmailAddressin interfaceEndpointVerificationInfoOrBuilder- Returns:
- Whether the emailAddress field is set.
-
getEmailAddress
Email address for which to trigger a verification request.
string email_address = 1;- Specified by:
getEmailAddressin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The emailAddress.
-
getEmailAddressBytes
public com.google.protobuf.ByteString getEmailAddressBytes()Email address for which to trigger a verification request.
string email_address = 1;- Specified by:
getEmailAddressBytesin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The bytes for emailAddress.
-
setEmailAddress
Email address for which to trigger a verification request.
string email_address = 1;- Parameters:
value- The emailAddress to set.- Returns:
- This builder for chaining.
-
clearEmailAddress
Email address for which to trigger a verification request.
string email_address = 1;- Returns:
- This builder for chaining.
-
setEmailAddressBytes
Email address for which to trigger a verification request.
string email_address = 1;- Parameters:
value- The bytes for emailAddress to set.- Returns:
- This builder for chaining.
-
hasPhoneNumber
public boolean hasPhoneNumber()Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;- Specified by:
hasPhoneNumberin interfaceEndpointVerificationInfoOrBuilder- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;- Specified by:
getPhoneNumberin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public 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;- Specified by:
getPhoneNumberBytesin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The bytes for phoneNumber.
-
setPhoneNumber
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;- Parameters:
value- The phoneNumber to set.- Returns:
- This builder for chaining.
-
clearPhoneNumber
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;- Returns:
- This builder for chaining.
-
setPhoneNumberBytes
Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;- Parameters:
value- The bytes for phoneNumber to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getRequestTokenin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The requestToken.
-
getRequestTokenBytes
public 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];- Specified by:
getRequestTokenBytesin interfaceEndpointVerificationInfoOrBuilder- Returns:
- The bytes for requestToken.
-
setRequestToken
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];- Parameters:
value- The requestToken to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setRequestTokenBytes
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];- Parameters:
value- The bytes for requestToken to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasLastVerificationTimein interfaceEndpointVerificationInfoOrBuilder- Returns:
- Whether the lastVerificationTime field is set.
-
getLastVerificationTime
public 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];- Specified by:
getLastVerificationTimein interfaceEndpointVerificationInfoOrBuilder- Returns:
- The lastVerificationTime.
-
setLastVerificationTime
public 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]; -
setLastVerificationTime
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]; -
mergeLastVerificationTime
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]; -
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]; -
getLastVerificationTimeBuilder
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]; -
getLastVerificationTimeOrBuilder
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];- Specified by:
getLastVerificationTimeOrBuilderin interfaceEndpointVerificationInfoOrBuilder
-