Interface KeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Key,Key.Builder
@Generated
public interface KeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Settings for keys that can be used by Android apps.Settings for keys that can be used by Android apps.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.Settings for keys that can be used by reCAPTCHA Express.Settings for keys that can be used by reCAPTCHA Express.Settings for keys that can be used by iOS apps.Settings for keys that can be used by iOS apps.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.Optional.Optional.Optional.Settings for keys that can be used by websites.Settings for keys that can be used by websites.booleanSettings for keys that can be used by Android apps.booleanOutput only.booleanSettings for keys that can be used by reCAPTCHA Express.booleanSettings for keys that can be used by iOS apps.booleanOptional.booleanOptional.booleanSettings for keys that can be used by websites.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. Human-readable display name of this key. Modifiable by user.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. Human-readable display name of this key. Modifiable by user.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- 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; -
hasExpressSettings
boolean hasExpressSettings()Settings for keys that can be used by reCAPTCHA Express.
.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;- Returns:
- Whether the expressSettings field is set.
-
getExpressSettings
ExpressKeySettings getExpressSettings()Settings for keys that can be used by reCAPTCHA Express.
.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11;- Returns:
- The expressSettings.
-
getExpressSettingsOrBuilder
ExpressKeySettingsOrBuilder getExpressSettingsOrBuilder()Settings for keys that can be used by reCAPTCHA Express.
.google.cloud.recaptchaenterprise.v1.ExpressKeySettings express_settings = 11; -
getLabelsCount
int getLabelsCount()Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels).
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels).
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels).
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels).
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels).
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
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()Optional. Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the testingOptions field is set.
-
getTestingOptions
TestingOptions getTestingOptions()Optional. Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The testingOptions.
-
getTestingOptionsOrBuilder
TestingOptionsOrBuilder getTestingOptionsOrBuilder()Optional. Options for user acceptance testing.
.google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasWafSettings
boolean hasWafSettings()Optional. Settings for Web Application Firewall (WAF).
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the wafSettings field is set.
-
getWafSettings
WafSettings getWafSettings()Optional. Settings for Web Application Firewall (WAF).
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The wafSettings.
-
getWafSettingsOrBuilder
WafSettingsOrBuilder getWafSettingsOrBuilder()Optional. Settings for Web Application Firewall (WAF).
.google.cloud.recaptchaenterprise.v1.WafSettings waf_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getPlatformSettingsCase
Key.PlatformSettingsCase getPlatformSettingsCase()
-