Send feedback
  
   
 
  
    
      Class ControlPlaneEndpointsConfig.IPEndpointsConfig (2.81.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ControlPlaneEndpointsConfig . IPEndpointsConfig   extends   GeneratedMessageV3   implements   ControlPlaneEndpointsConfig . IPEndpointsConfigOrBuilder  
   IP endpoints configuration.
 Protobuf type google.container.v1beta1.ControlPlaneEndpointsConfig.IPEndpointsConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER 
  
    
public   static   final   int   AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ENABLED_FIELD_NUMBER 
  
    
public   static   final   int   ENABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ENABLE_PUBLIC_ENDPOINT_FIELD_NUMBER 
  
    
public   static   final   int   ENABLE_PUBLIC_ENDPOINT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GLOBAL_ACCESS_FIELD_NUMBER 
  
    
public   static   final   int   GLOBAL_ACCESS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PRIVATE_ENDPOINT_FIELD_NUMBER 
  
    
public   static   final   int   PRIVATE_ENDPOINT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER 
  
    
public   static   final   int   PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PUBLIC_ENDPOINT_FIELD_NUMBER 
  
    
public   static   final   int   PUBLIC_ENDPOINT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig . Builder   newBuilder ()  
  
  newBuilder(ControlPlaneEndpointsConfig.IPEndpointsConfig prototype) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig . Builder   newBuilder ( ControlPlaneEndpointsConfig . IPEndpointsConfig   prototype )  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ControlPlaneEndpointsConfig . IPEndpointsConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ControlPlaneEndpointsConfig . IPEndpointsConfig >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getAuthorizedNetworksConfig() 
  
    
public   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.v1beta1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;
 
getAuthorizedNetworksConfigOrBuilder() 
  
    
public   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.v1beta1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;
 
getDefaultInstanceForType() 
  
    
public   ControlPlaneEndpointsConfig . IPEndpointsConfig   getDefaultInstanceForType ()  
  
  getEnablePublicEndpoint() 
  
    
public   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  
      
        Type Description  
      
        boolean The enablePublicEndpoint.
 
     
  
  getEnabled() 
  
    
public   boolean   getEnabled ()  
   Controls whether to allow direct IP access.
 optional bool enabled = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean The enabled.
 
     
  
  getGlobalAccess() 
  
    
public   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 
 and this field at the same time.
 optional bool global_access = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean The globalAccess.
 
     
  
  getParserForType() 
  
    
public   Parser<ControlPlaneEndpointsConfig . IPEndpointsConfig >  getParserForType ()  
  
  Overrides 
  
  getPrivateEndpoint() 
  
    
public   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  
      
        Type Description  
      
        String The privateEndpoint.
 
     
  
  getPrivateEndpointBytes() 
  
    
public   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  
      
        Type Description  
      
        ByteString The bytes for privateEndpoint.
 
     
  
  getPrivateEndpointSubnetwork() 
  
    
public   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  
      
        Type Description  
      
        String The privateEndpointSubnetwork.
 
     
  
  getPrivateEndpointSubnetworkBytes() 
  
    
public   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  
      
        Type Description  
      
        ByteString The bytes for privateEndpointSubnetwork.
 
     
  
  getPublicEndpoint() 
  
    
public   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  
      
        Type Description  
      
        String The publicEndpoint.
 
     
  
  getPublicEndpointBytes() 
  
    
public   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  
      
        Type Description  
      
        ByteString The bytes for publicEndpoint.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasAuthorizedNetworksConfig() 
  
    
public   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.v1beta1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the authorizedNetworksConfig field is set.
 
     
  
  hasEnablePublicEndpoint() 
  
    
public   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  
      
        Type Description  
      
        boolean Whether the enablePublicEndpoint field is set.
 
     
  
  hasEnabled() 
  
    
public   boolean   hasEnabled ()  
   Controls whether to allow direct IP access.
 optional bool enabled = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the enabled field is set.
 
     
  
  hasGlobalAccess() 
  
    
public   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 
 and this field at the same time.
 optional bool global_access = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the globalAccess field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ControlPlaneEndpointsConfig . IPEndpointsConfig . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ControlPlaneEndpointsConfig . IPEndpointsConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   ControlPlaneEndpointsConfig . IPEndpointsConfig . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]