All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.RouterNatRuleOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface RouterNatRuleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouterNatRule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The action to be enforced for traffic that matches this rule.
   * 
* * optional .google.cloud.compute.v1.RouterNatRuleAction action = 187661878; * * @return Whether the action field is set. */ boolean hasAction(); /** * * *
   * The action to be enforced for traffic that matches this rule.
   * 
* * optional .google.cloud.compute.v1.RouterNatRuleAction action = 187661878; * * @return The action. */ com.google.cloud.compute.v1.RouterNatRuleAction getAction(); /** * * *
   * The action to be enforced for traffic that matches this rule.
   * 
* * optional .google.cloud.compute.v1.RouterNatRuleAction action = 187661878; */ com.google.cloud.compute.v1.RouterNatRuleActionOrBuilder getActionOrBuilder(); /** * * *
   * An optional description of this rule.
   * 
* * optional string description = 422937596; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * An optional description of this rule.
   * 
* * optional string description = 422937596; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * An optional description of this rule.
   * 
* * optional string description = 422937596; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`
   * 
* * optional string match = 103668165; * * @return Whether the match field is set. */ boolean hasMatch(); /** * * *
   * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`
   * 
* * optional string match = 103668165; * * @return The match. */ java.lang.String getMatch(); /** * * *
   * CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The following example is a valid match expression for private NAT: `nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`
   * 
* * optional string match = 103668165; * * @return The bytes for match. */ com.google.protobuf.ByteString getMatchBytes(); /** * * *
   * An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT.
   * 
* * optional uint32 rule_number = 535211500; * * @return Whether the ruleNumber field is set. */ boolean hasRuleNumber(); /** * * *
   * An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT.
   * 
* * optional uint32 rule_number = 535211500; * * @return The ruleNumber. */ int getRuleNumber(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy