- 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 interface KeyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |
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()
The resource name for the Key in the format
projects/{project}/keys/{key}
.
string name = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
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. |