public static final class EndpointVerificationInfo.Builder extends GeneratedMessageV3.Builder<EndpointVerificationInfo.Builder> implements EndpointVerificationInfoOrBuilderInformation about a verification endpoint that can be used for 2FA.
Protobuf type google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EndpointVerificationInfo.BuilderImplements
EndpointVerificationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EndpointVerificationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
EndpointVerificationInfo.Builder |
build()
public EndpointVerificationInfo build()| Type | Description |
EndpointVerificationInfo |
buildPartial()
public EndpointVerificationInfo buildPartial()| Type | Description |
EndpointVerificationInfo |
clear()
public EndpointVerificationInfo.Builder clear()| Type | Description |
EndpointVerificationInfo.Builder |
clearEmailAddress()
public EndpointVerificationInfo.Builder clearEmailAddress()Email address for which to trigger a verification request.
string email_address = 1;
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
clearEndpoint()
public EndpointVerificationInfo.Builder clearEndpoint()| Type | Description |
EndpointVerificationInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public EndpointVerificationInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| 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];
| Type | Description |
EndpointVerificationInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EndpointVerificationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| 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;
| 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];
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
clone()
public EndpointVerificationInfo.Builder clone()| Type | Description |
EndpointVerificationInfo.Builder |
getDefaultInstanceForType()
public EndpointVerificationInfo getDefaultInstanceForType()| Type | Description |
EndpointVerificationInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getEmailAddress()
public String getEmailAddress()Email address for which to trigger a verification request.
string email_address = 1;
| Type | Description |
String |
The emailAddress. |
getEmailAddressBytes()
public ByteString getEmailAddressBytes()Email address for which to trigger a verification request.
string email_address = 1;
| Type | Description |
ByteString |
The bytes for emailAddress. |
getEndpointCase()
public EndpointVerificationInfo.EndpointCase getEndpointCase()| 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];
| 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];
| 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];
| 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;
| 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;
| 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];
| 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];
| Type | Description |
ByteString |
The bytes for requestToken. |
hasEmailAddress()
public boolean hasEmailAddress()Email address for which to trigger a verification request.
string email_address = 1;
| 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];
| 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;
| Type | Description |
boolean |
Whether the phoneNumber field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EndpointVerificationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
EndpointVerificationInfo.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public EndpointVerificationInfo.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
EndpointVerificationInfo.Builder |
mergeFrom(EndpointVerificationInfo other)
public EndpointVerificationInfo.Builder mergeFrom(EndpointVerificationInfo other)| Name | Description |
other |
EndpointVerificationInfo |
| 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];
| Name | Description |
value |
Timestamp |
| Type | Description |
EndpointVerificationInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EndpointVerificationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| 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;
| Name | Description |
value |
StringThe emailAddress to set. |
| 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;
| Name | Description |
value |
ByteStringThe bytes for emailAddress to set. |
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EndpointVerificationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
EndpointVerificationInfo.Builder |
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];
| Name | Description |
value |
Timestamp |
| 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];
| Name | Description |
builderForValue |
Builder |
| 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;
| Name | Description |
value |
StringThe phoneNumber to set. |
| 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;
| Name | Description |
value |
ByteStringThe bytes for phoneNumber to set. |
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EndpointVerificationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
EndpointVerificationInfo.Builder |
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];
| Name | Description |
value |
StringThe requestToken to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for requestToken to set. |
| Type | Description |
EndpointVerificationInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EndpointVerificationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
EndpointVerificationInfo.Builder |