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 SecurityPolicyRuleMatcherOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyRuleMatcher) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. 31 * </pre> 32 * 33 * <code>optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610; 34 * </code> 35 * 36 * @return Whether the config field is set. 37 */ hasConfig()38 boolean hasConfig(); 39 /** 40 * 41 * 42 * <pre> 43 * The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. 44 * </pre> 45 * 46 * <code>optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610; 47 * </code> 48 * 49 * @return The config. 50 */ getConfig()51 com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig getConfig(); 52 /** 53 * 54 * 55 * <pre> 56 * The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. 57 * </pre> 58 * 59 * <code>optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610; 60 * </code> 61 */ getConfigOrBuilder()62 com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder getConfigOrBuilder(); 63 64 /** 65 * 66 * 67 * <pre> 68 * User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. 69 * </pre> 70 * 71 * <code>optional .google.cloud.compute.v1.Expr expr = 3127797;</code> 72 * 73 * @return Whether the expr field is set. 74 */ hasExpr()75 boolean hasExpr(); 76 /** 77 * 78 * 79 * <pre> 80 * User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. 81 * </pre> 82 * 83 * <code>optional .google.cloud.compute.v1.Expr expr = 3127797;</code> 84 * 85 * @return The expr. 86 */ getExpr()87 com.google.cloud.compute.v1.Expr getExpr(); 88 /** 89 * 90 * 91 * <pre> 92 * User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. 93 * </pre> 94 * 95 * <code>optional .google.cloud.compute.v1.Expr expr = 3127797;</code> 96 */ getExprOrBuilder()97 com.google.cloud.compute.v1.ExprOrBuilder getExprOrBuilder(); 98 99 /** 100 * 101 * 102 * <pre> 103 * Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. 104 * Check the VersionedExpr enum for the list of possible values. 105 * </pre> 106 * 107 * <code>optional string versioned_expr = 322286013;</code> 108 * 109 * @return Whether the versionedExpr field is set. 110 */ hasVersionedExpr()111 boolean hasVersionedExpr(); 112 /** 113 * 114 * 115 * <pre> 116 * Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. 117 * Check the VersionedExpr enum for the list of possible values. 118 * </pre> 119 * 120 * <code>optional string versioned_expr = 322286013;</code> 121 * 122 * @return The versionedExpr. 123 */ getVersionedExpr()124 java.lang.String getVersionedExpr(); 125 /** 126 * 127 * 128 * <pre> 129 * Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. 130 * Check the VersionedExpr enum for the list of possible values. 131 * </pre> 132 * 133 * <code>optional string versioned_expr = 322286013;</code> 134 * 135 * @return The bytes for versionedExpr. 136 */ getVersionedExprBytes()137 com.google.protobuf.ByteString getVersionedExprBytes(); 138 } 139