- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class Key.Builder extends GeneratedMessageV3.Builder<Key.Builder> implements KeyOrBuilder
A key used to identify and configure applications (web and/or mobile) that use reCAPTCHA Enterprise.
Protobuf type google.cloud.recaptchaenterprise.v1beta1.Key
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Key.BuilderImplements
KeyOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Key.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Key.Builder |
build()
public Key build()
Type | Description |
Key |
buildPartial()
public Key buildPartial()
Type | Description |
Key |
clear()
public Key.Builder clear()
Type | Description |
Key.Builder |
clearAndroidSettings()
public Key.Builder clearAndroidSettings()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Type | Description |
Key.Builder |
clearDisplayName()
public Key.Builder clearDisplayName()
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
Type | Description |
Key.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Key.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Key.Builder |
clearIosSettings()
public Key.Builder clearIosSettings()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Type | Description |
Key.Builder |
clearName()
public Key.Builder clearName()
The resource name for the Key in the format "projects/{project_number}/keys/{key_id}".
string name = 1;
Type | Description |
Key.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Key.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Key.Builder |
clearPlatformSettings()
public Key.Builder clearPlatformSettings()
Type | Description |
Key.Builder |
clearWebSettings()
public Key.Builder clearWebSettings()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Type | Description |
Key.Builder |
clone()
public Key.Builder clone()
Type | Description |
Key.Builder |
getAndroidSettings()
public AndroidKeySettings getAndroidSettings()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Type | Description |
AndroidKeySettings | The androidSettings. |
getAndroidSettingsBuilder()
public AndroidKeySettings.Builder getAndroidSettingsBuilder()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Type | Description |
AndroidKeySettings.Builder |
getAndroidSettingsOrBuilder()
public AndroidKeySettingsOrBuilder getAndroidSettingsOrBuilder()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Type | Description |
AndroidKeySettingsOrBuilder |
getDefaultInstanceForType()
public Key getDefaultInstanceForType()
Type | Description |
Key |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getIosSettings()
public IOSKeySettings getIosSettings()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Type | Description |
IOSKeySettings | The iosSettings. |
getIosSettingsBuilder()
public IOSKeySettings.Builder getIosSettingsBuilder()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Type | Description |
IOSKeySettings.Builder |
getIosSettingsOrBuilder()
public IOSKeySettingsOrBuilder getIosSettingsOrBuilder()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Type | Description |
IOSKeySettingsOrBuilder |
getName()
public String getName()
The resource name for the Key in the format "projects/{project_number}/keys/{key_id}".
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name for the Key in the format "projects/{project_number}/keys/{key_id}".
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPlatformSettingsCase()
public Key.PlatformSettingsCase getPlatformSettingsCase()
Type | Description |
Key.PlatformSettingsCase |
getWebSettings()
public WebKeySettings getWebSettings()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Type | Description |
WebKeySettings | The webSettings. |
getWebSettingsBuilder()
public WebKeySettings.Builder getWebSettingsBuilder()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Type | Description |
WebKeySettings.Builder |
getWebSettingsOrBuilder()
public WebKeySettingsOrBuilder getWebSettingsOrBuilder()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Type | Description |
WebKeySettingsOrBuilder |
hasAndroidSettings()
public boolean hasAndroidSettings()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Type | Description |
boolean | Whether the androidSettings field is set. |
hasIosSettings()
public boolean hasIosSettings()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Type | Description |
boolean | Whether the iosSettings field is set. |
hasWebSettings()
public boolean hasWebSettings()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Type | Description |
boolean | Whether the webSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAndroidSettings(AndroidKeySettings value)
public Key.Builder mergeAndroidSettings(AndroidKeySettings value)
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Name | Description |
value | AndroidKeySettings |
Type | Description |
Key.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Key.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Key.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Key.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Key.Builder |
mergeFrom(Key other)
public Key.Builder mergeFrom(Key other)
Name | Description |
other | Key |
Type | Description |
Key.Builder |
mergeIosSettings(IOSKeySettings value)
public Key.Builder mergeIosSettings(IOSKeySettings value)
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Name | Description |
value | IOSKeySettings |
Type | Description |
Key.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Key.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Key.Builder |
mergeWebSettings(WebKeySettings value)
public Key.Builder mergeWebSettings(WebKeySettings value)
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Name | Description |
value | WebKeySettings |
Type | Description |
Key.Builder |
setAndroidSettings(AndroidKeySettings value)
public Key.Builder setAndroidSettings(AndroidKeySettings value)
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Name | Description |
value | AndroidKeySettings |
Type | Description |
Key.Builder |
setAndroidSettings(AndroidKeySettings.Builder builderForValue)
public Key.Builder setAndroidSettings(AndroidKeySettings.Builder builderForValue)
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1beta1.AndroidKeySettings android_settings = 4;
Name | Description |
builderForValue | AndroidKeySettings.Builder |
Type | Description |
Key.Builder |
setDisplayName(String value)
public Key.Builder setDisplayName(String value)
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
Key.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Key.Builder setDisplayNameBytes(ByteString value)
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Key.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Key.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Key.Builder |
setIosSettings(IOSKeySettings value)
public Key.Builder setIosSettings(IOSKeySettings value)
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Name | Description |
value | IOSKeySettings |
Type | Description |
Key.Builder |
setIosSettings(IOSKeySettings.Builder builderForValue)
public Key.Builder setIosSettings(IOSKeySettings.Builder builderForValue)
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1beta1.IOSKeySettings ios_settings = 5;
Name | Description |
builderForValue | IOSKeySettings.Builder |
Type | Description |
Key.Builder |
setName(String value)
public Key.Builder setName(String value)
The resource name for the Key in the format "projects/{project_number}/keys/{key_id}".
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Key.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Key.Builder setNameBytes(ByteString value)
The resource name for the Key in the format "projects/{project_number}/keys/{key_id}".
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Key.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Key.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Key.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Key.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Key.Builder |
setWebSettings(WebKeySettings value)
public Key.Builder setWebSettings(WebKeySettings value)
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Name | Description |
value | WebKeySettings |
Type | Description |
Key.Builder |
setWebSettings(WebKeySettings.Builder builderForValue)
public Key.Builder setWebSettings(WebKeySettings.Builder builderForValue)
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1beta1.WebKeySettings web_settings = 3;
Name | Description |
builderForValue | WebKeySettings.Builder |
Type | Description |
Key.Builder |