Package com.google.container.v1
Interface ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ControlPlaneEndpointsConfig.IPEndpointsConfig,ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder
- Enclosing class:
- ControlPlaneEndpointsConfig
public static interface ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration of authorized networks.Configuration of authorized networks.booleanControls whether to allow direct IP access.booleanControls whether the control plane allows access through a public IP.booleanControls whether the control plane's private endpoint is accessible from sources in other regions.Output only.com.google.protobuf.ByteStringOutput only.Subnet to provision the master's private endpoint during cluster creation.com.google.protobuf.ByteStringSubnet to provision the master's private endpoint during cluster creation.Output only.com.google.protobuf.ByteStringOutput only.booleanConfiguration of authorized networks.booleanControls whether to allow direct IP access.booleanControls whether the control plane allows access through a public IP.booleanControls whether the control plane's private endpoint is accessible from sources in other regions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEnabled
boolean hasEnabled()Controls whether to allow direct IP access.
optional bool enabled = 1;- Returns:
- Whether the enabled field is set.
-
getEnabled
boolean getEnabled()Controls whether to allow direct IP access.
optional bool enabled = 1;- Returns:
- The enabled.
-
hasEnablePublicEndpoint
boolean hasEnablePublicEndpoint()Controls whether the control plane allows access through a public IP. It is invalid to specify both [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same time.
optional bool enable_public_endpoint = 2;- Returns:
- Whether the enablePublicEndpoint field is set.
-
getEnablePublicEndpoint
boolean getEnablePublicEndpoint()Controls whether the control plane allows access through a public IP. It is invalid to specify both [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same time.
optional bool enable_public_endpoint = 2;- Returns:
- The enablePublicEndpoint.
-
hasGlobalAccess
boolean hasGlobalAccess()Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both [PrivateClusterMasterGlobalAccessConfig.enabled][google.container.v1.PrivateClusterMasterGlobalAccessConfig.enabled] and this field at the same time.
optional bool global_access = 3;- Returns:
- Whether the globalAccess field is set.
-
getGlobalAccess
boolean getGlobalAccess()Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both [PrivateClusterMasterGlobalAccessConfig.enabled][google.container.v1.PrivateClusterMasterGlobalAccessConfig.enabled] and this field at the same time.
optional bool global_access = 3;- Returns:
- The globalAccess.
-
hasAuthorizedNetworksConfig
boolean hasAuthorizedNetworksConfig()Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.
.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;- Returns:
- Whether the authorizedNetworksConfig field is set.
-
getAuthorizedNetworksConfig
MasterAuthorizedNetworksConfig getAuthorizedNetworksConfig()Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.
.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;- Returns:
- The authorizedNetworksConfig.
-
getAuthorizedNetworksConfigOrBuilder
MasterAuthorizedNetworksConfigOrBuilder getAuthorizedNetworksConfigOrBuilder()Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both [Cluster.masterAuthorizedNetworksConfig][] and this field at the same time.
.google.container.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4; -
getPublicEndpoint
String getPublicEndpoint()Output only. The external IP address of this cluster's control plane. Only populated if enabled.
string public_endpoint = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The publicEndpoint.
-
getPublicEndpointBytes
com.google.protobuf.ByteString getPublicEndpointBytes()Output only. The external IP address of this cluster's control plane. Only populated if enabled.
string public_endpoint = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for publicEndpoint.
-
getPrivateEndpoint
String getPrivateEndpoint()Output only. The internal IP address of this cluster's control plane. Only populated if enabled.
string private_endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The privateEndpoint.
-
getPrivateEndpointBytes
com.google.protobuf.ByteString getPrivateEndpointBytes()Output only. The internal IP address of this cluster's control plane. Only populated if enabled.
string private_endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for privateEndpoint.
-
getPrivateEndpointSubnetwork
String getPrivateEndpointSubnetwork()Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the same time.
string private_endpoint_subnetwork = 7;- 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. It is invalid to specify both [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the same time.
string private_endpoint_subnetwork = 7;- Returns:
- The bytes for privateEndpointSubnetwork.
-