Interface KeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Key
,Key.Builder
public interface KeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.AndroidKeySettings
getAndroidSettings()
Settings for keys that can be used by Android apps.AndroidKeySettingsOrBuilder
getAndroidSettingsOrBuilder()
Settings for keys that can be used by Android apps.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDisplayName()
Human-readable display name of this key.com.google.protobuf.ByteString
getDisplayNameBytes()
Human-readable display name of this key.IOSKeySettings
getIosSettings()
Settings for keys that can be used by iOS apps.IOSKeySettingsOrBuilder
getIosSettingsOrBuilder()
Settings for keys that can be used by iOS apps.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.Map<String,String>
getLabelsMap()
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.String
getLabelsOrDefault(String key, String defaultValue)
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.String
getLabelsOrThrow(String key)
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.String
getName()
The resource name for the Key in the format "projects/{project}/keys/{key}".com.google.protobuf.ByteString
getNameBytes()
The resource name for the Key in the format "projects/{project}/keys/{key}".Key.PlatformSettingsCase
getPlatformSettingsCase()
TestingOptions
getTestingOptions()
Options for user acceptance testing.TestingOptionsOrBuilder
getTestingOptionsOrBuilder()
Options for user acceptance testing.WafSettings
getWafSettings()
Settings for WAFWafSettingsOrBuilder
getWafSettingsOrBuilder()
Settings for WAFWebKeySettings
getWebSettings()
Settings for keys that can be used by websites.WebKeySettingsOrBuilder
getWebSettingsOrBuilder()
Settings for keys that can be used by websites.boolean
hasAndroidSettings()
Settings for keys that can be used by Android apps.boolean
hasCreateTime()
Output only.boolean
hasIosSettings()
Settings for keys that can be used by iOS apps.boolean
hasTestingOptions()
Options for user acceptance testing.boolean
hasWafSettings()
Settings for WAFboolean
hasWebSettings()
Settings for keys that can be used by websites.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name for the Key in the format "projects/{project}/keys/{key}".
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name for the Key in the format "projects/{project}/keys/{key}".
string name = 1;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Human-readable display name of this key. Modifiable by user.
string display_name = 2;
- Returns:
- The bytes for displayName.
-
hasWebSettings
boolean hasWebSettings()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
- Returns:
- Whether the webSettings field is set.
-
getWebSettings
WebKeySettings getWebSettings()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
- Returns:
- The webSettings.
-
getWebSettingsOrBuilder
WebKeySettingsOrBuilder getWebSettingsOrBuilder()
Settings for keys that can be used by websites.
.google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
-
hasAndroidSettings
boolean hasAndroidSettings()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
- Returns:
- Whether the androidSettings field is set.
-
getAndroidSettings
AndroidKeySettings getAndroidSettings()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
- Returns:
- The androidSettings.
-
getAndroidSettingsOrBuilder
AndroidKeySettingsOrBuilder getAndroidSettingsOrBuilder()
Settings for keys that can be used by Android apps.
.google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
-
hasIosSettings
boolean hasIosSettings()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
- Returns:
- Whether the iosSettings field is set.
-
getIosSettings
IOSKeySettings getIosSettings()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
- Returns:
- The iosSettings.
-
getIosSettingsOrBuilder
IOSKeySettingsOrBuilder getIosSettingsOrBuilder()
Settings for keys that can be used by iOS apps.
.google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
-
getLabelsCount
int getLabelsCount()
See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.
map<string, string> labels = 6;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
hasCreateTime
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:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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];
-
hasTestingOptions
boolean hasTestingOptions()
Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
- Returns:
- Whether the testingOptions field is set.
-
getTestingOptions
TestingOptions getTestingOptions()
Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
- Returns:
- The testingOptions.
-
getTestingOptionsOrBuilder
TestingOptionsOrBuilder getTestingOptionsOrBuilder()
Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
-
hasWafSettings
boolean hasWafSettings()
Settings for WAF
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;
- Returns:
- Whether the wafSettings field is set.
-
getWafSettings
WafSettings getWafSettings()
Settings for WAF
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;
- Returns:
- The wafSettings.
-
getWafSettingsOrBuilder
WafSettingsOrBuilder getWafSettingsOrBuilder()
Settings for WAF
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10;
-
getPlatformSettingsCase
Key.PlatformSettingsCase getPlatformSettingsCase()
-
-