public static final class Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
google.cloud.recaptchaenterprise.v1.Event| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event |
build() |
Event |
buildPartial() |
Event.Builder |
clear() |
Event.Builder |
clearExpectedAction()
Optional.
|
Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Event.Builder |
clearSiteKey()
Optional.
|
Event.Builder |
clearToken()
Optional.
|
Event.Builder |
clearUserAgent()
Optional.
|
Event.Builder |
clearUserIpAddress()
Optional.
|
Event.Builder |
clone() |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExpectedAction()
Optional.
|
com.google.protobuf.ByteString |
getExpectedActionBytes()
Optional.
|
String |
getSiteKey()
Optional.
|
com.google.protobuf.ByteString |
getSiteKeyBytes()
Optional.
|
String |
getToken()
Optional.
|
com.google.protobuf.ByteString |
getTokenBytes()
Optional.
|
String |
getUserAgent()
Optional.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
Optional.
|
String |
getUserIpAddress()
Optional.
|
com.google.protobuf.ByteString |
getUserIpAddressBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Event.Builder |
mergeFrom(Event other) |
Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
setExpectedAction(String value)
Optional.
|
Event.Builder |
setExpectedActionBytes(com.google.protobuf.ByteString value)
Optional.
|
Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Event.Builder |
setSiteKey(String value)
Optional.
|
Event.Builder |
setSiteKeyBytes(com.google.protobuf.ByteString value)
Optional.
|
Event.Builder |
setToken(String value)
Optional.
|
Event.Builder |
setTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
setUserAgent(String value)
Optional.
|
Event.Builder |
setUserAgentBytes(com.google.protobuf.ByteString value)
Optional.
|
Event.Builder |
setUserIpAddress(String value)
Optional.
|
Event.Builder |
setUserIpAddressBytes(com.google.protobuf.ByteString value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<Event.Builder>public Event.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Event.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<Event.Builder>public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Event build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Event buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Event.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.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<Event.Builder>public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.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<Event.Builder>public Event.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<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>public Event.Builder mergeFrom(Event other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.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<Event.Builder>IOExceptionpublic String getToken()
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];getToken in interface EventOrBuilderpublic com.google.protobuf.ByteString getTokenBytes()
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];getTokenBytes in interface EventOrBuilderpublic Event.Builder setToken(String value)
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];value - The token to set.public Event.Builder clearToken()
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];public Event.Builder setTokenBytes(com.google.protobuf.ByteString value)
Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for token to set.public String getSiteKey()
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];getSiteKey in interface EventOrBuilderpublic com.google.protobuf.ByteString getSiteKeyBytes()
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];getSiteKeyBytes in interface EventOrBuilderpublic Event.Builder setSiteKey(String value)
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];value - The siteKey to set.public Event.Builder clearSiteKey()
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];public Event.Builder setSiteKeyBytes(com.google.protobuf.ByteString value)
Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for siteKey to set.public String getUserAgent()
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];getUserAgent in interface EventOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];getUserAgentBytes in interface EventOrBuilderpublic Event.Builder setUserAgent(String value)
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];value - The userAgent to set.public Event.Builder clearUserAgent()
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];public Event.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for userAgent to set.public String getUserIpAddress()
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL];getUserIpAddress in interface EventOrBuilderpublic com.google.protobuf.ByteString getUserIpAddressBytes()
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL];getUserIpAddressBytes in interface EventOrBuilderpublic Event.Builder setUserIpAddress(String value)
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL];value - The userIpAddress to set.public Event.Builder clearUserIpAddress()
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL];public Event.Builder setUserIpAddressBytes(com.google.protobuf.ByteString value)
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for userIpAddress to set.public String getExpectedAction()
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];getExpectedAction in interface EventOrBuilderpublic com.google.protobuf.ByteString getExpectedActionBytes()
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];getExpectedActionBytes in interface EventOrBuilderpublic Event.Builder setExpectedAction(String value)
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];value - The expectedAction to set.public Event.Builder clearExpectedAction()
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];public Event.Builder setExpectedActionBytes(com.google.protobuf.ByteString value)
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for expectedAction to set.public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>Copyright © 2021 Google LLC. All rights reserved.