• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto
18 
19 package com.google.recaptchaenterprise.v1;
20 
21 public interface AndroidKeySettingsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.recaptchaenterprise.v1.AndroidKeySettings)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * If set to true, allowed_package_names are not enforced.
31    * </pre>
32    *
33    * <code>bool allow_all_package_names = 2;</code>
34    *
35    * @return The allowAllPackageNames.
36    */
getAllowAllPackageNames()37   boolean getAllowAllPackageNames();
38 
39   /**
40    *
41    *
42    * <pre>
43    * Android package names of apps allowed to use the key.
44    * Example: 'com.companyname.appname'
45    * </pre>
46    *
47    * <code>repeated string allowed_package_names = 1;</code>
48    *
49    * @return A list containing the allowedPackageNames.
50    */
getAllowedPackageNamesList()51   java.util.List<java.lang.String> getAllowedPackageNamesList();
52   /**
53    *
54    *
55    * <pre>
56    * Android package names of apps allowed to use the key.
57    * Example: 'com.companyname.appname'
58    * </pre>
59    *
60    * <code>repeated string allowed_package_names = 1;</code>
61    *
62    * @return The count of allowedPackageNames.
63    */
getAllowedPackageNamesCount()64   int getAllowedPackageNamesCount();
65   /**
66    *
67    *
68    * <pre>
69    * Android package names of apps allowed to use the key.
70    * Example: 'com.companyname.appname'
71    * </pre>
72    *
73    * <code>repeated string allowed_package_names = 1;</code>
74    *
75    * @param index The index of the element to return.
76    * @return The allowedPackageNames at the given index.
77    */
getAllowedPackageNames(int index)78   java.lang.String getAllowedPackageNames(int index);
79   /**
80    *
81    *
82    * <pre>
83    * Android package names of apps allowed to use the key.
84    * Example: 'com.companyname.appname'
85    * </pre>
86    *
87    * <code>repeated string allowed_package_names = 1;</code>
88    *
89    * @param index The index of the value to return.
90    * @return The bytes of the allowedPackageNames at the given index.
91    */
getAllowedPackageNamesBytes(int index)92   com.google.protobuf.ByteString getAllowedPackageNamesBytes(int index);
93 }
94