Package com.google.container.v1
Interface PrivateClusterConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PrivateClusterConfig
,PrivateClusterConfig.Builder
public interface PrivateClusterConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.boolean
getEnablePrivateNodes()
Whether nodes have internal IP addresses only.PrivateClusterMasterGlobalAccessConfig
getMasterGlobalAccessConfig()
Controls master global access settings.PrivateClusterMasterGlobalAccessConfigOrBuilder
getMasterGlobalAccessConfigOrBuilder()
Controls master global access settings.String
getMasterIpv4CidrBlock()
The IP range in CIDR notation to use for the hosted master network.com.google.protobuf.ByteString
getMasterIpv4CidrBlockBytes()
The IP range in CIDR notation to use for the hosted master network.String
getPeeringName()
Output only.com.google.protobuf.ByteString
getPeeringNameBytes()
Output only.String
getPrivateEndpoint()
Output only.com.google.protobuf.ByteString
getPrivateEndpointBytes()
Output only.String
getPrivateEndpointSubnetwork()
Subnet to provision the master's private endpoint during cluster creation.com.google.protobuf.ByteString
getPrivateEndpointSubnetworkBytes()
Subnet to provision the master's private endpoint during cluster creation.String
getPublicEndpoint()
Output only.com.google.protobuf.ByteString
getPublicEndpointBytes()
Output only.boolean
hasMasterGlobalAccessConfig()
Controls master global access settings.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnablePrivateNodes
boolean getEnablePrivateNodes()
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
bool enable_private_nodes = 1;
- Returns:
- The enablePrivateNodes.
-
getEnablePrivateEndpoint
boolean getEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.
bool enable_private_endpoint = 2;
- Returns:
- The enablePrivateEndpoint.
-
getMasterIpv4CidrBlock
String getMasterIpv4CidrBlock()
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
string master_ipv4_cidr_block = 3;
- Returns:
- The masterIpv4CidrBlock.
-
getMasterIpv4CidrBlockBytes
com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes()
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
string master_ipv4_cidr_block = 3;
- Returns:
- The bytes for masterIpv4CidrBlock.
-
getPrivateEndpoint
String getPrivateEndpoint()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
- Returns:
- The privateEndpoint.
-
getPrivateEndpointBytes
com.google.protobuf.ByteString getPrivateEndpointBytes()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
- Returns:
- The bytes for privateEndpoint.
-
getPublicEndpoint
String getPublicEndpoint()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
- Returns:
- The publicEndpoint.
-
getPublicEndpointBytes
com.google.protobuf.ByteString getPublicEndpointBytes()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
- Returns:
- The bytes for publicEndpoint.
-
getPeeringName
String getPeeringName()
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
- Returns:
- The peeringName.
-
getPeeringNameBytes
com.google.protobuf.ByteString getPeeringNameBytes()
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
- Returns:
- The bytes for peeringName.
-
hasMasterGlobalAccessConfig
boolean hasMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
- Returns:
- Whether the masterGlobalAccessConfig field is set.
-
getMasterGlobalAccessConfig
PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
- Returns:
- The masterGlobalAccessConfig.
-
getMasterGlobalAccessConfigOrBuilder
PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()
Controls master global access settings.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
-
getPrivateEndpointSubnetwork
String getPrivateEndpointSubnetwork()
Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.
string private_endpoint_subnetwork = 10;
- Returns:
- The privateEndpointSubnetwork.
-
getPrivateEndpointSubnetworkBytes
com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes()
Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.
string private_endpoint_subnetwork = 10;
- Returns:
- The bytes for privateEndpointSubnetwork.
-
-