Interface KeyOrBuilder (3.48.0)

public interface KeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. See Creating and managing labels.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAndroidSettings()

public abstract AndroidKeySettings getAndroidSettings()

Settings for keys that can be used by Android apps.

.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;

Returns
Type Description
AndroidKeySettings

The androidSettings.

getAndroidSettingsOrBuilder()

public abstract AndroidKeySettingsOrBuilder getAndroidSettingsOrBuilder()

Settings for keys that can be used by Android apps.

.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;

Returns
Type Description
AndroidKeySettingsOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The timestamp corresponding to the creation of this key.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp corresponding to the creation of this key.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. Human-readable display name of this key. Modifiable by user.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. Human-readable display name of this key. Modifiable by user.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getExpressSettings()

public abstract ExpressKeySettings getExpressSettings()

Settings specific to keys that can be used for reCAPTCHA Express.

.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;

Returns
Type Description
ExpressKeySettings

The expressSettings.

getExpressSettingsOrBuilder()

public abstract ExpressKeySettingsOrBuilder getExpressSettingsOrBuilder()

Settings specific to keys that can be used for reCAPTCHA Express.

.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;

Returns
Type Description
ExpressKeySettingsOrBuilder

getIosSettings()

public abstract IOSKeySettings getIosSettings()

Settings for keys that can be used by iOS apps.

.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;

Returns
Type Description
IOSKeySettings

The iosSettings.

getIosSettingsOrBuilder()

public abstract IOSKeySettingsOrBuilder getIosSettingsOrBuilder()

Settings for keys that can be used by iOS apps.

.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;

Returns
Type Description
IOSKeySettingsOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. See Creating and managing labels.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. See Creating and managing labels.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. See Creating and managing labels.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. See Creating and managing labels.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. The resource name for the Key in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name for the Key in the format projects/{project}/keys/{key}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPlatformSettingsCase()

public abstract Key.PlatformSettingsCase getPlatformSettingsCase()
Returns
Type Description
Key.PlatformSettingsCase

getTestingOptions()

public abstract TestingOptions getTestingOptions()

Optional. Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TestingOptions

The testingOptions.

getTestingOptionsOrBuilder()

public abstract TestingOptionsOrBuilder getTestingOptionsOrBuilder()

Optional. Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TestingOptionsOrBuilder

getWafSettings()

public abstract WafSettings getWafSettings()

Optional. Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WafSettings

The wafSettings.

getWafSettingsOrBuilder()

public abstract WafSettingsOrBuilder getWafSettingsOrBuilder()

Optional. Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WafSettingsOrBuilder

getWebSettings()

public abstract WebKeySettings getWebSettings()

Settings for keys that can be used by websites.

.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;

Returns
Type Description
WebKeySettings

The webSettings.

getWebSettingsOrBuilder()

public abstract WebKeySettingsOrBuilder getWebSettingsOrBuilder()

Settings for keys that can be used by websites.

.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;

Returns
Type Description
WebKeySettingsOrBuilder

hasAndroidSettings()

public abstract boolean hasAndroidSettings()

Settings for keys that can be used by Android apps.

.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;

Returns
Type Description
boolean

Whether the androidSettings field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The timestamp corresponding to the creation of this key.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasExpressSettings()

public abstract boolean hasExpressSettings()

Settings specific to keys that can be used for reCAPTCHA Express.

.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;

Returns
Type Description
boolean

Whether the expressSettings field is set.

hasIosSettings()

public abstract boolean hasIosSettings()

Settings for keys that can be used by iOS apps.

.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;

Returns
Type Description
boolean

Whether the iosSettings field is set.

hasTestingOptions()

public abstract boolean hasTestingOptions()

Optional. Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the testingOptions field is set.

hasWafSettings()

public abstract boolean hasWafSettings()

Optional. Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the wafSettings field is set.

hasWebSettings()

public abstract boolean hasWebSettings()

Settings for keys that can be used by websites.

.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;

Returns
Type Description
boolean

Whether the webSettings field is set.