• 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/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface SecurityPolicyRuleRedirectOptionsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
31    * </pre>
32    *
33    * <code>optional string target = 192835985;</code>
34    *
35    * @return Whether the target field is set.
36    */
hasTarget()37   boolean hasTarget();
38   /**
39    *
40    *
41    * <pre>
42    * Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
43    * </pre>
44    *
45    * <code>optional string target = 192835985;</code>
46    *
47    * @return The target.
48    */
getTarget()49   java.lang.String getTarget();
50   /**
51    *
52    *
53    * <pre>
54    * Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
55    * </pre>
56    *
57    * <code>optional string target = 192835985;</code>
58    *
59    * @return The bytes for target.
60    */
getTargetBytes()61   com.google.protobuf.ByteString getTargetBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * Type of the redirect action.
68    * Check the Type enum for the list of possible values.
69    * </pre>
70    *
71    * <code>optional string type = 3575610;</code>
72    *
73    * @return Whether the type field is set.
74    */
hasType()75   boolean hasType();
76   /**
77    *
78    *
79    * <pre>
80    * Type of the redirect action.
81    * Check the Type enum for the list of possible values.
82    * </pre>
83    *
84    * <code>optional string type = 3575610;</code>
85    *
86    * @return The type.
87    */
getType()88   java.lang.String getType();
89   /**
90    *
91    *
92    * <pre>
93    * Type of the redirect action.
94    * Check the Type enum for the list of possible values.
95    * </pre>
96    *
97    * <code>optional string type = 3575610;</code>
98    *
99    * @return The bytes for type.
100    */
getTypeBytes()101   com.google.protobuf.ByteString getTypeBytes();
102 }
103