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 RouterNatSubnetworkToNatOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouterNatSubnetworkToNat) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * URL for the subnetwork resource that will use NAT. 31 * </pre> 32 * 33 * <code>optional string name = 3373707;</code> 34 * 35 * @return Whether the name field is set. 36 */ hasName()37 boolean hasName(); 38 /** 39 * 40 * 41 * <pre> 42 * URL for the subnetwork resource that will use NAT. 43 * </pre> 44 * 45 * <code>optional string name = 3373707;</code> 46 * 47 * @return The name. 48 */ getName()49 java.lang.String getName(); 50 /** 51 * 52 * 53 * <pre> 54 * URL for the subnetwork resource that will use NAT. 55 * </pre> 56 * 57 * <code>optional string name = 3373707;</code> 58 * 59 * @return The bytes for name. 60 */ getNameBytes()61 com.google.protobuf.ByteString getNameBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. 68 * </pre> 69 * 70 * <code>repeated string secondary_ip_range_names = 264315097;</code> 71 * 72 * @return A list containing the secondaryIpRangeNames. 73 */ getSecondaryIpRangeNamesList()74 java.util.List<java.lang.String> getSecondaryIpRangeNamesList(); 75 /** 76 * 77 * 78 * <pre> 79 * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. 80 * </pre> 81 * 82 * <code>repeated string secondary_ip_range_names = 264315097;</code> 83 * 84 * @return The count of secondaryIpRangeNames. 85 */ getSecondaryIpRangeNamesCount()86 int getSecondaryIpRangeNamesCount(); 87 /** 88 * 89 * 90 * <pre> 91 * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. 92 * </pre> 93 * 94 * <code>repeated string secondary_ip_range_names = 264315097;</code> 95 * 96 * @param index The index of the element to return. 97 * @return The secondaryIpRangeNames at the given index. 98 */ getSecondaryIpRangeNames(int index)99 java.lang.String getSecondaryIpRangeNames(int index); 100 /** 101 * 102 * 103 * <pre> 104 * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. 105 * </pre> 106 * 107 * <code>repeated string secondary_ip_range_names = 264315097;</code> 108 * 109 * @param index The index of the value to return. 110 * @return The bytes of the secondaryIpRangeNames at the given index. 111 */ getSecondaryIpRangeNamesBytes(int index)112 com.google.protobuf.ByteString getSecondaryIpRangeNamesBytes(int index); 113 114 /** 115 * 116 * 117 * <pre> 118 * Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] 119 * Check the SourceIpRangesToNat enum for the list of possible values. 120 * </pre> 121 * 122 * <code>repeated string source_ip_ranges_to_nat = 388310386;</code> 123 * 124 * @return A list containing the sourceIpRangesToNat. 125 */ getSourceIpRangesToNatList()126 java.util.List<java.lang.String> getSourceIpRangesToNatList(); 127 /** 128 * 129 * 130 * <pre> 131 * Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] 132 * Check the SourceIpRangesToNat enum for the list of possible values. 133 * </pre> 134 * 135 * <code>repeated string source_ip_ranges_to_nat = 388310386;</code> 136 * 137 * @return The count of sourceIpRangesToNat. 138 */ getSourceIpRangesToNatCount()139 int getSourceIpRangesToNatCount(); 140 /** 141 * 142 * 143 * <pre> 144 * Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] 145 * Check the SourceIpRangesToNat enum for the list of possible values. 146 * </pre> 147 * 148 * <code>repeated string source_ip_ranges_to_nat = 388310386;</code> 149 * 150 * @param index The index of the element to return. 151 * @return The sourceIpRangesToNat at the given index. 152 */ getSourceIpRangesToNat(int index)153 java.lang.String getSourceIpRangesToNat(int index); 154 /** 155 * 156 * 157 * <pre> 158 * Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] 159 * Check the SourceIpRangesToNat enum for the list of possible values. 160 * </pre> 161 * 162 * <code>repeated string source_ip_ranges_to_nat = 388310386;</code> 163 * 164 * @param index The index of the value to return. 165 * @return The bytes of the sourceIpRangesToNat at the given index. 166 */ getSourceIpRangesToNatBytes(int index)167 com.google.protobuf.ByteString getSourceIpRangesToNatBytes(int index); 168 } 169