public static final class EndpointVerificationInfo.Builder extends GeneratedMessage.Builder<EndpointVerificationInfo.Builder> implements EndpointVerificationInfoOrBuilderInformation about a verification endpoint that can be used for 2FA.
Protobuf type google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EndpointVerificationInfo.BuilderImplements
EndpointVerificationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EndpointVerificationInfo build()| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo |
|
buildPartial()
public EndpointVerificationInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo |
|
clear()
public EndpointVerificationInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
clearEmailAddress()
public EndpointVerificationInfo.Builder clearEmailAddress()Email address for which to trigger a verification request.
string email_address = 1;
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
clearEndpoint()
public EndpointVerificationInfo.Builder clearEndpoint()| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
clearLastVerificationTime()
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];
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
clearPhoneNumber()
public EndpointVerificationInfo.Builder clearPhoneNumber()Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
clearRequestToken()
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];
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EndpointVerificationInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getLastVerificationTimeBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EndpointVerificationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EndpointVerificationInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
mergeFrom(EndpointVerificationInfo other)
public EndpointVerificationInfo.Builder mergeFrom(EndpointVerificationInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
EndpointVerificationInfo |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
mergeLastVerificationTime(Timestamp value)
public EndpointVerificationInfo.Builder mergeLastVerificationTime(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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
setEmailAddress(String value)
public EndpointVerificationInfo.Builder setEmailAddress(String value)Email address for which to trigger a verification request.
string email_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setEmailAddressBytes(ByteString value)
public EndpointVerificationInfo.Builder setEmailAddressBytes(ByteString value)Email address for which to trigger a verification request.
string email_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setLastVerificationTime(Timestamp value)
public EndpointVerificationInfo.Builder setLastVerificationTime(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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
setLastVerificationTime(Timestamp.Builder builderForValue)
public EndpointVerificationInfo.Builder setLastVerificationTime(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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
|
setPhoneNumber(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public EndpointVerificationInfo.Builder setPhoneNumberBytes(ByteString value)Phone number for which to trigger a verification request. Should be given in E.164 format.
string phone_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setRequestToken(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestToken to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setRequestTokenBytes(ByteString value)
public EndpointVerificationInfo.Builder setRequestTokenBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestToken to set. |
| Returns | |
|---|---|
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |