• 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 FirewallPolicyRuleMatcherOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.FirewallPolicyRuleMatcher)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
31    * </pre>
32    *
33    * <code>repeated string dest_ip_ranges = 337357713;</code>
34    *
35    * @return A list containing the destIpRanges.
36    */
getDestIpRangesList()37   java.util.List<java.lang.String> getDestIpRangesList();
38   /**
39    *
40    *
41    * <pre>
42    * CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
43    * </pre>
44    *
45    * <code>repeated string dest_ip_ranges = 337357713;</code>
46    *
47    * @return The count of destIpRanges.
48    */
getDestIpRangesCount()49   int getDestIpRangesCount();
50   /**
51    *
52    *
53    * <pre>
54    * CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
55    * </pre>
56    *
57    * <code>repeated string dest_ip_ranges = 337357713;</code>
58    *
59    * @param index The index of the element to return.
60    * @return The destIpRanges at the given index.
61    */
getDestIpRanges(int index)62   java.lang.String getDestIpRanges(int index);
63   /**
64    *
65    *
66    * <pre>
67    * CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
68    * </pre>
69    *
70    * <code>repeated string dest_ip_ranges = 337357713;</code>
71    *
72    * @param index The index of the value to return.
73    * @return The bytes of the destIpRanges at the given index.
74    */
getDestIpRangesBytes(int index)75   com.google.protobuf.ByteString getDestIpRangesBytes(int index);
76 
77   /**
78    *
79    *
80    * <pre>
81    * Pairs of IP protocols and ports that the rule should match.
82    * </pre>
83    *
84    * <code>
85    * repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
86    * </code>
87    */
88   java.util.List<com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config>
getLayer4ConfigsList()89       getLayer4ConfigsList();
90   /**
91    *
92    *
93    * <pre>
94    * Pairs of IP protocols and ports that the rule should match.
95    * </pre>
96    *
97    * <code>
98    * repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
99    * </code>
100    */
getLayer4Configs(int index)101   com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config getLayer4Configs(int index);
102   /**
103    *
104    *
105    * <pre>
106    * Pairs of IP protocols and ports that the rule should match.
107    * </pre>
108    *
109    * <code>
110    * repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
111    * </code>
112    */
getLayer4ConfigsCount()113   int getLayer4ConfigsCount();
114   /**
115    *
116    *
117    * <pre>
118    * Pairs of IP protocols and ports that the rule should match.
119    * </pre>
120    *
121    * <code>
122    * repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
123    * </code>
124    */
125   java.util.List<
126           ? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder>
getLayer4ConfigsOrBuilderList()127       getLayer4ConfigsOrBuilderList();
128   /**
129    *
130    *
131    * <pre>
132    * Pairs of IP protocols and ports that the rule should match.
133    * </pre>
134    *
135    * <code>
136    * repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
137    * </code>
138    */
139   com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder
getLayer4ConfigsOrBuilder(int index)140       getLayer4ConfigsOrBuilder(int index);
141 
142   /**
143    *
144    *
145    * <pre>
146    * CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
147    * </pre>
148    *
149    * <code>repeated string src_ip_ranges = 432128083;</code>
150    *
151    * @return A list containing the srcIpRanges.
152    */
getSrcIpRangesList()153   java.util.List<java.lang.String> getSrcIpRangesList();
154   /**
155    *
156    *
157    * <pre>
158    * CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
159    * </pre>
160    *
161    * <code>repeated string src_ip_ranges = 432128083;</code>
162    *
163    * @return The count of srcIpRanges.
164    */
getSrcIpRangesCount()165   int getSrcIpRangesCount();
166   /**
167    *
168    *
169    * <pre>
170    * CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
171    * </pre>
172    *
173    * <code>repeated string src_ip_ranges = 432128083;</code>
174    *
175    * @param index The index of the element to return.
176    * @return The srcIpRanges at the given index.
177    */
getSrcIpRanges(int index)178   java.lang.String getSrcIpRanges(int index);
179   /**
180    *
181    *
182    * <pre>
183    * CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
184    * </pre>
185    *
186    * <code>repeated string src_ip_ranges = 432128083;</code>
187    *
188    * @param index The index of the value to return.
189    * @return The bytes of the srcIpRanges at the given index.
190    */
getSrcIpRangesBytes(int index)191   com.google.protobuf.ByteString getSrcIpRangesBytes(int index);
192 
193   /**
194    *
195    *
196    * <pre>
197    * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
198    * </pre>
199    *
200    * <code>
201    * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
202    * </code>
203    */
getSrcSecureTagsList()204   java.util.List<com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag> getSrcSecureTagsList();
205   /**
206    *
207    *
208    * <pre>
209    * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
210    * </pre>
211    *
212    * <code>
213    * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
214    * </code>
215    */
getSrcSecureTags(int index)216   com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getSrcSecureTags(int index);
217   /**
218    *
219    *
220    * <pre>
221    * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
222    * </pre>
223    *
224    * <code>
225    * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
226    * </code>
227    */
getSrcSecureTagsCount()228   int getSrcSecureTagsCount();
229   /**
230    *
231    *
232    * <pre>
233    * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
234    * </pre>
235    *
236    * <code>
237    * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
238    * </code>
239    */
240   java.util.List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder>
getSrcSecureTagsOrBuilderList()241       getSrcSecureTagsOrBuilderList();
242   /**
243    *
244    *
245    * <pre>
246    * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
247    * </pre>
248    *
249    * <code>
250    * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
251    * </code>
252    */
getSrcSecureTagsOrBuilder( int index)253   com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder(
254       int index);
255 }
256