Class PrivateClusterConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.PrivateClusterConfig
All Implemented Interfaces:
PrivateClusterConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessage implements PrivateClusterConfigOrBuilder
 Configuration options for private clusters.
 
Protobuf type google.container.v1.PrivateClusterConfig
See Also:
  • Field Details

    • ENABLE_PRIVATE_NODES_FIELD_NUMBER

      public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER
      See Also:
    • ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER

      public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
      See Also:
    • MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER

      public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
      See Also:
    • PRIVATE_ENDPOINT_FIELD_NUMBER

      public static final int PRIVATE_ENDPOINT_FIELD_NUMBER
      See Also:
    • PUBLIC_ENDPOINT_FIELD_NUMBER

      public static final int PUBLIC_ENDPOINT_FIELD_NUMBER
      See Also:
    • PEERING_NAME_FIELD_NUMBER

      public static final int PEERING_NAME_FIELD_NUMBER
      See Also:
    • MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER

      public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER
      See Also:
    • PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER

      public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEnablePrivateNodes

      @Deprecated public boolean getEnablePrivateNodes()
      Deprecated.
      google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See google/container/v1/cluster_service.proto;l=2365
       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.
      
       Deprecated: Use
       [NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes]
       instead.
       
      bool enable_private_nodes = 1 [deprecated = true];
      Specified by:
      getEnablePrivateNodes in interface PrivateClusterConfigOrBuilder
      Returns:
      The enablePrivateNodes.
    • getEnablePrivateEndpoint

      @Deprecated public boolean getEnablePrivateEndpoint()
      Deprecated.
      google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2373
       Whether the master's internal IP address is used as the cluster endpoint.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint]
       instead. Note that the value of enable_public_endpoint is reversed: if
       enable_private_endpoint is false, then enable_public_endpoint will be true.
       
      bool enable_private_endpoint = 2 [deprecated = true];
      Specified by:
      getEnablePrivateEndpoint in interface PrivateClusterConfigOrBuilder
      Returns:
      The enablePrivateEndpoint.
    • getMasterIpv4CidrBlock

      public 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;
      Specified by:
      getMasterIpv4CidrBlock in interface PrivateClusterConfigOrBuilder
      Returns:
      The masterIpv4CidrBlock.
    • getMasterIpv4CidrBlockBytes

      public 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;
      Specified by:
      getMasterIpv4CidrBlockBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for masterIpv4CidrBlock.
    • getPrivateEndpoint

      @Deprecated public String getPrivateEndpoint()
      Deprecated.
      google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2386
       Output only. The internal IP address of this cluster's master endpoint.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint]
       instead.
       
      string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateEndpoint in interface PrivateClusterConfigOrBuilder
      Returns:
      The privateEndpoint.
    • getPrivateEndpointBytes

      @Deprecated public com.google.protobuf.ByteString getPrivateEndpointBytes()
      Deprecated.
      google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2386
       Output only. The internal IP address of this cluster's master endpoint.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint]
       instead.
       
      string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateEndpointBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for privateEndpoint.
    • getPublicEndpoint

      @Deprecated public String getPublicEndpoint()
      Deprecated.
      google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2394
       Output only. The external IP address of this cluster's master endpoint.
      
       Deprecated:Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint]
       instead.
       
      string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPublicEndpoint in interface PrivateClusterConfigOrBuilder
      Returns:
      The publicEndpoint.
    • getPublicEndpointBytes

      @Deprecated public com.google.protobuf.ByteString getPublicEndpointBytes()
      Deprecated.
      google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2394
       Output only. The external IP address of this cluster's master endpoint.
      
       Deprecated:Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint]
       instead.
       
      string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPublicEndpointBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for publicEndpoint.
    • getPeeringName

      public String getPeeringName()
       Output only. The peering name in the customer VPC used by this cluster.
       
      string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPeeringName in interface PrivateClusterConfigOrBuilder
      Returns:
      The peeringName.
    • getPeeringNameBytes

      public com.google.protobuf.ByteString getPeeringNameBytes()
       Output only. The peering name in the customer VPC used by this cluster.
       
      string peering_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPeeringNameBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for peeringName.
    • hasMasterGlobalAccessConfig

      @Deprecated public boolean hasMasterGlobalAccessConfig()
      Deprecated.
      google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=2405
       Controls master global access settings.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
       instead.
       
      .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
      Specified by:
      hasMasterGlobalAccessConfig in interface PrivateClusterConfigOrBuilder
      Returns:
      Whether the masterGlobalAccessConfig field is set.
    • getMasterGlobalAccessConfig

      @Deprecated public PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()
      Deprecated.
      google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=2405
       Controls master global access settings.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
       instead.
       
      .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
      Specified by:
      getMasterGlobalAccessConfig in interface PrivateClusterConfigOrBuilder
      Returns:
      The masterGlobalAccessConfig.
    • getMasterGlobalAccessConfigOrBuilder

      @Deprecated public PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()
      Deprecated.
       Controls master global access settings.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
       instead.
       
      .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
      Specified by:
      getMasterGlobalAccessConfigOrBuilder in interface PrivateClusterConfigOrBuilder
    • getPrivateEndpointSubnetwork

      @Deprecated public String getPrivateEndpointSubnetwork()
      Deprecated.
      google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=2414
       Subnet to provision the master's private endpoint during cluster creation.
       Specified in projects/*/regions/*/subnetworks/* format.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork]
       instead.
       
      string private_endpoint_subnetwork = 10 [deprecated = true];
      Specified by:
      getPrivateEndpointSubnetwork in interface PrivateClusterConfigOrBuilder
      Returns:
      The privateEndpointSubnetwork.
    • getPrivateEndpointSubnetworkBytes

      @Deprecated public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes()
      Deprecated.
      google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=2414
       Subnet to provision the master's private endpoint during cluster creation.
       Specified in projects/*/regions/*/subnetworks/* format.
      
       Deprecated: Use
       [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork]
       instead.
       
      string private_endpoint_subnetwork = 10 [deprecated = true];
      Specified by:
      getPrivateEndpointSubnetworkBytes in interface PrivateClusterConfigOrBuilder
      Returns:
      The bytes for privateEndpointSubnetwork.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PrivateClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PrivateClusterConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PrivateClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PrivateClusterConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PrivateClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PrivateClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PrivateClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PrivateClusterConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PrivateClusterConfig.Builder newBuilder()
    • newBuilder

      public static PrivateClusterConfig.Builder newBuilder(PrivateClusterConfig prototype)
    • toBuilder

      public PrivateClusterConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PrivateClusterConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PrivateClusterConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PrivateClusterConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<PrivateClusterConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PrivateClusterConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder