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 booleancontainsLabels(String key)See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.AndroidKeySettingsgetAndroidSettings()Settings for keys that can be used by Android apps.AndroidKeySettingsOrBuildergetAndroidSettingsOrBuilder()Settings for keys that can be used by Android apps.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDisplayName()Human-readable display name of this key.com.google.protobuf.ByteStringgetDisplayNameBytes()Human-readable display name of this key.IOSKeySettingsgetIosSettings()Settings for keys that can be used by iOS apps.IOSKeySettingsOrBuildergetIosSettingsOrBuilder()Settings for keys that can be used by iOS apps.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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>.StringgetLabelsOrDefault(String key, String defaultValue)See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.StringgetLabelsOrThrow(String key)See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels"> Creating and managing labels</a>.StringgetName()The resource name for the Key in the format "projects/{project}/keys/{key}".com.google.protobuf.ByteStringgetNameBytes()The resource name for the Key in the format "projects/{project}/keys/{key}".Key.PlatformSettingsCasegetPlatformSettingsCase()TestingOptionsgetTestingOptions()Options for user acceptance testing.TestingOptionsOrBuildergetTestingOptionsOrBuilder()Options for user acceptance testing.WafSettingsgetWafSettings()Settings for WAFWafSettingsOrBuildergetWafSettingsOrBuilder()Settings for WAFWebKeySettingsgetWebSettings()Settings for keys that can be used by websites.WebKeySettingsOrBuildergetWebSettingsOrBuilder()Settings for keys that can be used by websites.booleanhasAndroidSettings()Settings for keys that can be used by Android apps.booleanhasCreateTime()Output only.booleanhasIosSettings()Settings for keys that can be used by iOS apps.booleanhasTestingOptions()Options for user acceptance testing.booleanhasWafSettings()Settings for WAFbooleanhasWebSettings()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()
-
-