public final class Key extends GeneratedMessageV3 implements KeyOrBuilder
   
   A key used to identify and configure applications (web and/or mobile) that
 use reCAPTCHA Enterprise.
 Protobuf type google.cloud.recaptchaenterprise.v1.Key
 
  
  
  
  Fields
  
  ANDROID_SETTINGS_FIELD_NUMBER
  
    public static final int ANDROID_SETTINGS_FIELD_NUMBER
   
  Field Value
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  Field Value
  
  DISPLAY_NAME_FIELD_NUMBER
  
    public static final int DISPLAY_NAME_FIELD_NUMBER
   
  Field Value
  
  IOS_SETTINGS_FIELD_NUMBER
  
    public static final int IOS_SETTINGS_FIELD_NUMBER
   
  Field Value
  
  LABELS_FIELD_NUMBER
  
    public static final int LABELS_FIELD_NUMBER
   
  Field Value
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  Field Value
  
  TESTING_OPTIONS_FIELD_NUMBER
  
    public static final int TESTING_OPTIONS_FIELD_NUMBER
   
  Field Value
  
  WEB_SETTINGS_FIELD_NUMBER
  
    public static final int WEB_SETTINGS_FIELD_NUMBER
   
  Field Value
  
  Methods
  
  
  containsLabels(String key)
  
    public boolean containsLabels(String key)
   
  
  Parameter
  
  Returns
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  getAndroidSettings()
  
    public AndroidKeySettings getAndroidSettings()
   
   Settings for keys that can be used by Android apps.
 .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
 
  Returns
  
  
  getAndroidSettingsOrBuilder()
  
    public AndroidKeySettingsOrBuilder getAndroidSettingsOrBuilder()
   
   Settings for keys that can be used by Android apps.
 .google.cloud.recaptchaenterprise.v1.AndroidKeySettings android_settings = 4;
 
  Returns
  
  
  getCreateTime()
  
    public Timestamp getCreateTime()
   
   The timestamp corresponding to the creation of this Key.
 .google.protobuf.Timestamp create_time = 7;
 
  Returns
  
  
  getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   The timestamp corresponding to the creation of this Key.
 .google.protobuf.Timestamp create_time = 7;
 
  Returns
  
  
  getDefaultInstance()
  
    public static Key getDefaultInstance()
   
  Returns
  
  
  getDefaultInstanceForType()
  
    public Key getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  getDisplayName()
  
    public String getDisplayName()
   
   Human-readable display name of this key. Modifiable by user.
 string display_name = 2;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | String | 
        The displayName. 
 | 
      
    
  
  
  getDisplayNameBytes()
  
    public ByteString getDisplayNameBytes()
   
   Human-readable display name of this key. Modifiable by user.
 string display_name = 2;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | ByteString | 
        The bytes for displayName. 
 | 
      
    
  
  
  getIosSettings()
  
    public IOSKeySettings getIosSettings()
   
   Settings for keys that can be used by iOS apps.
 .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
 
  Returns
  
  
  getIosSettingsOrBuilder()
  
    public IOSKeySettingsOrBuilder getIosSettingsOrBuilder()
   
   Settings for keys that can be used by iOS apps.
 .google.cloud.recaptchaenterprise.v1.IOSKeySettings ios_settings = 5;
 
  Returns
  
  
  getLabels()
  
    public Map<String,String> getLabels()
   
  
  Returns
  
  
  getLabelsCount()
  
    public int getLabelsCount()
   
  
  Returns
  
  
  getLabelsMap()
  
    public Map<String,String> getLabelsMap()
   
  
  Returns
  
  
  getLabelsOrDefault(String key, String defaultValue)
  
    public String getLabelsOrDefault(String key, String defaultValue)
   
  
  Parameters
  
  Returns
  
  
  getLabelsOrThrow(String key)
  
    public String getLabelsOrThrow(String key)
   
  
  Parameter
  
  Returns
  
  
  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 ByteString getNameBytes()
   
   The resource name for the Key in the format
 "projects/{project}/keys/{key}".
 string name = 1;
 
  Returns
  
  
  getParserForType()
  
    public Parser<Key> getParserForType()
   
  Returns
  
  Overrides
  
  
  
  
    public Key.PlatformSettingsCase getPlatformSettingsCase()
   
  Returns
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  getTestingOptions()
  
    public TestingOptions getTestingOptions()
   
   Options for user acceptance testing.
 .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
 
  Returns
  
  
  getTestingOptionsOrBuilder()
  
    public TestingOptionsOrBuilder getTestingOptionsOrBuilder()
   
   Options for user acceptance testing.
 .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
 
  Returns
  
  
  getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  getWebSettings()
  
    public WebKeySettings getWebSettings()
   
   Settings for keys that can be used by websites.
 .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
 
  Returns
  
  
  getWebSettingsOrBuilder()
  
    public WebKeySettingsOrBuilder getWebSettingsOrBuilder()
   
   Settings for keys that can be used by websites.
 .google.cloud.recaptchaenterprise.v1.WebKeySettings web_settings = 3;
 
  Returns
  
  
  hasAndroidSettings()
  
    public 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 boolean hasCreateTime()
   
   The timestamp corresponding to the creation of this Key.
 .google.protobuf.Timestamp create_time = 7;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the createTime field is set. 
 | 
      
    
  
  
  hasIosSettings()
  
    public 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 boolean hasTestingOptions()
   
   Options for user acceptance testing.
 .google.cloud.recaptchaenterprise.v1.TestingOptions testing_options = 9;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the testingOptions field is set. 
 | 
      
    
  
  
  hasWebSettings()
  
    public 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. 
 | 
      
    
  
  
  hashCode()
  
  Returns
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  internalGetMapField(int number)
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | number | 
        int
  | 
      
    
  
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  newBuilder()
  
    public static Key.Builder newBuilder()
   
  Returns
  
  
  newBuilder(Key prototype)
  
    public static Key.Builder newBuilder(Key prototype)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | prototype | 
        Key
  | 
      
    
  
  Returns
  
  
  newBuilderForType()
  
    public Key.Builder newBuilderForType()
   
  Returns
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Key.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  
  
    public static Key parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Key parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data)
  
    public static Key parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | data | 
        byte[]
  | 
      
    
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Key parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data)
  
    public static Key parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Key parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Key parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Key parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Key parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Key parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data)
  
    public static Key parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Key parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parser()
  
    public static Parser<Key> parser()
   
  Returns
  
  
  toBuilder()
  
    public Key.Builder toBuilder()
   
  Returns
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions