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/container/v1/cluster_service.proto 18 19 package com.google.container.v1; 20 21 public interface NetworkConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. The relative name of the Google Compute Engine 31 * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) 32 * to which the cluster is connected. Example: 33 * projects/my-project/global/networks/my-network 34 * </pre> 35 * 36 * <code>string network = 1;</code> 37 * 38 * @return The network. 39 */ getNetwork()40 java.lang.String getNetwork(); 41 /** 42 * 43 * 44 * <pre> 45 * Output only. The relative name of the Google Compute Engine 46 * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) 47 * to which the cluster is connected. Example: 48 * projects/my-project/global/networks/my-network 49 * </pre> 50 * 51 * <code>string network = 1;</code> 52 * 53 * @return The bytes for network. 54 */ getNetworkBytes()55 com.google.protobuf.ByteString getNetworkBytes(); 56 57 /** 58 * 59 * 60 * <pre> 61 * Output only. The relative name of the Google Compute Engine 62 * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the 63 * cluster is connected. Example: 64 * projects/my-project/regions/us-central1/subnetworks/my-subnet 65 * </pre> 66 * 67 * <code>string subnetwork = 2;</code> 68 * 69 * @return The subnetwork. 70 */ getSubnetwork()71 java.lang.String getSubnetwork(); 72 /** 73 * 74 * 75 * <pre> 76 * Output only. The relative name of the Google Compute Engine 77 * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the 78 * cluster is connected. Example: 79 * projects/my-project/regions/us-central1/subnetworks/my-subnet 80 * </pre> 81 * 82 * <code>string subnetwork = 2;</code> 83 * 84 * @return The bytes for subnetwork. 85 */ getSubnetworkBytes()86 com.google.protobuf.ByteString getSubnetworkBytes(); 87 88 /** 89 * 90 * 91 * <pre> 92 * Whether Intra-node visibility is enabled for this cluster. 93 * This makes same node pod to pod traffic visible for VPC network. 94 * </pre> 95 * 96 * <code>bool enable_intra_node_visibility = 5;</code> 97 * 98 * @return The enableIntraNodeVisibility. 99 */ getEnableIntraNodeVisibility()100 boolean getEnableIntraNodeVisibility(); 101 102 /** 103 * 104 * 105 * <pre> 106 * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules 107 * will be disabled when default_snat_status is disabled. When disabled is set 108 * to false, default IP masquerade rules will be applied to the nodes to 109 * prevent sNAT on cluster internal traffic. 110 * </pre> 111 * 112 * <code>.google.container.v1.DefaultSnatStatus default_snat_status = 7;</code> 113 * 114 * @return Whether the defaultSnatStatus field is set. 115 */ hasDefaultSnatStatus()116 boolean hasDefaultSnatStatus(); 117 /** 118 * 119 * 120 * <pre> 121 * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules 122 * will be disabled when default_snat_status is disabled. When disabled is set 123 * to false, default IP masquerade rules will be applied to the nodes to 124 * prevent sNAT on cluster internal traffic. 125 * </pre> 126 * 127 * <code>.google.container.v1.DefaultSnatStatus default_snat_status = 7;</code> 128 * 129 * @return The defaultSnatStatus. 130 */ getDefaultSnatStatus()131 com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus(); 132 /** 133 * 134 * 135 * <pre> 136 * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules 137 * will be disabled when default_snat_status is disabled. When disabled is set 138 * to false, default IP masquerade rules will be applied to the nodes to 139 * prevent sNAT on cluster internal traffic. 140 * </pre> 141 * 142 * <code>.google.container.v1.DefaultSnatStatus default_snat_status = 7;</code> 143 */ getDefaultSnatStatusOrBuilder()144 com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder(); 145 146 /** 147 * 148 * 149 * <pre> 150 * Whether L4ILB Subsetting is enabled for this cluster. 151 * </pre> 152 * 153 * <code>bool enable_l4ilb_subsetting = 10;</code> 154 * 155 * @return The enableL4ilbSubsetting. 156 */ getEnableL4IlbSubsetting()157 boolean getEnableL4IlbSubsetting(); 158 159 /** 160 * 161 * 162 * <pre> 163 * The desired datapath provider for this cluster. By default, uses the 164 * IPTables-based kube-proxy implementation. 165 * </pre> 166 * 167 * <code>.google.container.v1.DatapathProvider datapath_provider = 11;</code> 168 * 169 * @return The enum numeric value on the wire for datapathProvider. 170 */ getDatapathProviderValue()171 int getDatapathProviderValue(); 172 /** 173 * 174 * 175 * <pre> 176 * The desired datapath provider for this cluster. By default, uses the 177 * IPTables-based kube-proxy implementation. 178 * </pre> 179 * 180 * <code>.google.container.v1.DatapathProvider datapath_provider = 11;</code> 181 * 182 * @return The datapathProvider. 183 */ getDatapathProvider()184 com.google.container.v1.DatapathProvider getDatapathProvider(); 185 186 /** 187 * 188 * 189 * <pre> 190 * The desired state of IPv6 connectivity to Google Services. 191 * By default, no private IPv6 access to or from Google Services (all access 192 * will be via IPv4) 193 * </pre> 194 * 195 * <code>.google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;</code> 196 * 197 * @return The enum numeric value on the wire for privateIpv6GoogleAccess. 198 */ getPrivateIpv6GoogleAccessValue()199 int getPrivateIpv6GoogleAccessValue(); 200 /** 201 * 202 * 203 * <pre> 204 * The desired state of IPv6 connectivity to Google Services. 205 * By default, no private IPv6 access to or from Google Services (all access 206 * will be via IPv4) 207 * </pre> 208 * 209 * <code>.google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12;</code> 210 * 211 * @return The privateIpv6GoogleAccess. 212 */ getPrivateIpv6GoogleAccess()213 com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess(); 214 215 /** 216 * 217 * 218 * <pre> 219 * DNSConfig contains clusterDNS config for this cluster. 220 * </pre> 221 * 222 * <code>.google.container.v1.DNSConfig dns_config = 13;</code> 223 * 224 * @return Whether the dnsConfig field is set. 225 */ hasDnsConfig()226 boolean hasDnsConfig(); 227 /** 228 * 229 * 230 * <pre> 231 * DNSConfig contains clusterDNS config for this cluster. 232 * </pre> 233 * 234 * <code>.google.container.v1.DNSConfig dns_config = 13;</code> 235 * 236 * @return The dnsConfig. 237 */ getDnsConfig()238 com.google.container.v1.DNSConfig getDnsConfig(); 239 /** 240 * 241 * 242 * <pre> 243 * DNSConfig contains clusterDNS config for this cluster. 244 * </pre> 245 * 246 * <code>.google.container.v1.DNSConfig dns_config = 13;</code> 247 */ getDnsConfigOrBuilder()248 com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder(); 249 250 /** 251 * 252 * 253 * <pre> 254 * ServiceExternalIPsConfig specifies if services with externalIPs field are 255 * blocked or not. 256 * </pre> 257 * 258 * <code>.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;</code> 259 * 260 * @return Whether the serviceExternalIpsConfig field is set. 261 */ hasServiceExternalIpsConfig()262 boolean hasServiceExternalIpsConfig(); 263 /** 264 * 265 * 266 * <pre> 267 * ServiceExternalIPsConfig specifies if services with externalIPs field are 268 * blocked or not. 269 * </pre> 270 * 271 * <code>.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;</code> 272 * 273 * @return The serviceExternalIpsConfig. 274 */ getServiceExternalIpsConfig()275 com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig(); 276 /** 277 * 278 * 279 * <pre> 280 * ServiceExternalIPsConfig specifies if services with externalIPs field are 281 * blocked or not. 282 * </pre> 283 * 284 * <code>.google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;</code> 285 */ getServiceExternalIpsConfigOrBuilder()286 com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder(); 287 288 /** 289 * 290 * 291 * <pre> 292 * GatewayAPIConfig contains the desired config of Gateway API on this 293 * cluster. 294 * </pre> 295 * 296 * <code>.google.container.v1.GatewayAPIConfig gateway_api_config = 16;</code> 297 * 298 * @return Whether the gatewayApiConfig field is set. 299 */ hasGatewayApiConfig()300 boolean hasGatewayApiConfig(); 301 /** 302 * 303 * 304 * <pre> 305 * GatewayAPIConfig contains the desired config of Gateway API on this 306 * cluster. 307 * </pre> 308 * 309 * <code>.google.container.v1.GatewayAPIConfig gateway_api_config = 16;</code> 310 * 311 * @return The gatewayApiConfig. 312 */ getGatewayApiConfig()313 com.google.container.v1.GatewayAPIConfig getGatewayApiConfig(); 314 /** 315 * 316 * 317 * <pre> 318 * GatewayAPIConfig contains the desired config of Gateway API on this 319 * cluster. 320 * </pre> 321 * 322 * <code>.google.container.v1.GatewayAPIConfig gateway_api_config = 16;</code> 323 */ getGatewayApiConfigOrBuilder()324 com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBuilder(); 325 } 326