• 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 TestingOptionsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.recaptchaenterprise.v1.TestingOptions)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * All assessments for this Key will return this score. Must be between 0
31    * (likely not legitimate) and 1 (likely legitimate) inclusive.
32    * </pre>
33    *
34    * <code>float testing_score = 1;</code>
35    *
36    * @return The testingScore.
37    */
getTestingScore()38   float getTestingScore();
39 
40   /**
41    *
42    *
43    * <pre>
44    * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
45    * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
46    * challenge if CHALLENGE.
47    * </pre>
48    *
49    * <code>
50    * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2;
51    * </code>
52    *
53    * @return The enum numeric value on the wire for testingChallenge.
54    */
getTestingChallengeValue()55   int getTestingChallengeValue();
56   /**
57    *
58    *
59    * <pre>
60    * For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
61    * for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
62    * challenge if CHALLENGE.
63    * </pre>
64    *
65    * <code>
66    * .google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2;
67    * </code>
68    *
69    * @return The testingChallenge.
70    */
getTestingChallenge()71   com.google.recaptchaenterprise.v1.TestingOptions.TestingChallenge getTestingChallenge();
72 }
73