public final class PrivateClusterConfig extends GeneratedMessageV3 implements PrivateClusterConfigOrBuilder
Configuration options for private clusters.
Protobuf type google.container.v1.PrivateClusterConfig
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
ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENABLE_PRIVATE_NODES_FIELD_NUMBER
public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER
public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEERING_NAME_FIELD_NUMBER
public static final int PEERING_NAME_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 PrivateClusterConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivateClusterConfig.Builder newBuilder()
newBuilder(PrivateClusterConfig prototype)
public static PrivateClusterConfig.Builder newBuilder(PrivateClusterConfig prototype)
public static PrivateClusterConfig parseDelimitedFrom(InputStream input)
public static PrivateClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivateClusterConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivateClusterConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateClusterConfig parseFrom(CodedInputStream input)
public static PrivateClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateClusterConfig parseFrom(InputStream input)
public static PrivateClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PrivateClusterConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivateClusterConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PrivateClusterConfig getDefaultInstanceForType()
getEnablePrivateEndpoint() (deprecated)
public boolean getEnablePrivateEndpoint()
Deprecated. google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See
google/container/v1/cluster_service.proto;l=1413
Whether the master's internal IP address is used as the cluster endpoint.
Deprecated: Use
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];
Returns |
Type |
Description |
boolean |
The enablePrivateEndpoint.
|
getEnablePrivateNodes() (deprecated)
public boolean getEnablePrivateNodes()
Deprecated. google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See
google/container/v1/cluster_service.proto;l=1405
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
instead.
bool enable_private_nodes = 1 [deprecated = true];
Returns |
Type |
Description |
boolean |
The enablePrivateNodes.
|
getMasterGlobalAccessConfig() (deprecated)
public PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()
Deprecated. google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated.
See google/container/v1/cluster_service.proto;l=1445
Controls master global access settings.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
instead.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
getMasterGlobalAccessConfigOrBuilder() (deprecated)
public PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()
Controls master global access settings.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
instead.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
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;
Returns |
Type |
Description |
String |
The masterIpv4CidrBlock.
|
getMasterIpv4CidrBlockBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for masterIpv4CidrBlock.
|
getParserForType()
public Parser<PrivateClusterConfig> getParserForType()
Overrides
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];
Returns |
Type |
Description |
String |
The peeringName.
|
getPeeringNameBytes()
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for peeringName.
|
getPrivateEndpoint() (deprecated)
public String getPrivateEndpoint()
Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See
google/container/v1/cluster_service.proto;l=1426
Output only. The internal IP address of this cluster's master endpoint.
Deprecated: Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint
instead.
string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The privateEndpoint.
|
getPrivateEndpointBytes() (deprecated)
public ByteString getPrivateEndpointBytes()
Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See
google/container/v1/cluster_service.proto;l=1426
Output only. The internal IP address of this cluster's master endpoint.
Deprecated: Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint
instead.
string private_endpoint = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for privateEndpoint.
|
getPrivateEndpointSubnetwork() (deprecated)
public String getPrivateEndpointSubnetwork()
Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated.
See google/container/v1/cluster_service.proto;l=1454
Subnet to provision the master's private endpoint during cluster creation.
Specified in projects/*/regions/*/subnetworks/* format.
Deprecated: Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork
instead.
string private_endpoint_subnetwork = 10 [deprecated = true];
Returns |
Type |
Description |
String |
The privateEndpointSubnetwork.
|
getPrivateEndpointSubnetworkBytes() (deprecated)
public ByteString getPrivateEndpointSubnetworkBytes()
Deprecated. google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated.
See google/container/v1/cluster_service.proto;l=1454
Subnet to provision the master's private endpoint during cluster creation.
Specified in projects/*/regions/*/subnetworks/* format.
Deprecated: Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork
instead.
string private_endpoint_subnetwork = 10 [deprecated = true];
Returns |
Type |
Description |
ByteString |
The bytes for privateEndpointSubnetwork.
|
getPublicEndpoint() (deprecated)
public String getPublicEndpoint()
Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See
google/container/v1/cluster_service.proto;l=1434
Output only. The external IP address of this cluster's master endpoint.
Deprecated:Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint
instead.
string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The publicEndpoint.
|
getPublicEndpointBytes() (deprecated)
public ByteString getPublicEndpointBytes()
Deprecated. google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See
google/container/v1/cluster_service.proto;l=1434
Output only. The external IP address of this cluster's master endpoint.
Deprecated:Use
ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint
instead.
string public_endpoint = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for publicEndpoint.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasMasterGlobalAccessConfig() (deprecated)
public boolean hasMasterGlobalAccessConfig()
Deprecated. google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated.
See google/container/v1/cluster_service.proto;l=1445
Controls master global access settings.
Deprecated: Use
[ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
instead.
.google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8 [deprecated = true];
Returns |
Type |
Description |
boolean |
Whether the masterGlobalAccessConfig field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PrivateClusterConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivateClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PrivateClusterConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides