Interface KeyOrBuilder (3.0.3)

public interface KeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">; Creating and managing labels</a>.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AndroidKeySettingsOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The timestamp corresponding to the creation of this Key.

.google.protobuf.Timestamp create_time = 7;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp corresponding to the creation of this Key.

.google.protobuf.Timestamp create_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

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

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

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

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getIosSettings()

public abstract IOSKeySettings getIosSettings()

Settings for keys that can be used by iOS apps.

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

Returns
TypeDescription
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
TypeDescription
IOSKeySettingsOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">; Creating and managing labels</a>.

map<string, string> labels = 6;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">; Creating and managing labels</a>.

map<string, string> labels = 6;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">; Creating and managing labels</a>.

map<string, string> labels = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">; Creating and managing labels</a>.

map<string, string> labels = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPlatformSettingsCase()

public abstract Key.PlatformSettingsCase getPlatformSettingsCase()
Returns
TypeDescription
Key.PlatformSettingsCase

getTestingOptions()

public abstract TestingOptions getTestingOptions()

Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;

Returns
TypeDescription
TestingOptions

The testingOptions.

getTestingOptionsOrBuilder()

public abstract TestingOptionsOrBuilder getTestingOptionsOrBuilder()

Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;

Returns
TypeDescription
TestingOptionsOrBuilder

getWafSettings()

public abstract WafSettings getWafSettings()

Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;

Returns
TypeDescription
WafSettings

The wafSettings.

getWafSettingsOrBuilder()

public abstract WafSettingsOrBuilder getWafSettingsOrBuilder()

Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;

Returns
TypeDescription
WafSettingsOrBuilder

getWebSettings()

public abstract WebKeySettings getWebSettings()

Settings for keys that can be used by websites.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the androidSettings field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The timestamp corresponding to the creation of this Key.

.google.protobuf.Timestamp create_time = 7;

Returns
TypeDescription
boolean

Whether the createTime 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
TypeDescription
boolean

Whether the iosSettings field is set.

hasTestingOptions()

public abstract boolean hasTestingOptions()

Options for user acceptance testing.

.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;

Returns
TypeDescription
boolean

Whether the testingOptions field is set.

hasWafSettings()

public abstract boolean hasWafSettings()

Settings for WAF

.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the webSettings field is set.