- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class PrivateClusterConfig.Builder extends GeneratedMessageV3.Builder<PrivateClusterConfig.Builder> implements PrivateClusterConfigOrBuilder
Configuration options for private clusters.
Protobuf type google.container.v1beta1.PrivateClusterConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivateClusterConfig.BuilderImplements
PrivateClusterConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrivateClusterConfig.Builder |
build()
public PrivateClusterConfig build()
Type | Description |
PrivateClusterConfig |
buildPartial()
public PrivateClusterConfig buildPartial()
Type | Description |
PrivateClusterConfig |
clear()
public PrivateClusterConfig.Builder clear()
Type | Description |
PrivateClusterConfig.Builder |
clearEnablePrivateEndpoint()
public PrivateClusterConfig.Builder clearEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.
bool enable_private_endpoint = 2;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clearEnablePrivateNodes()
public PrivateClusterConfig.Builder clearEnablePrivateNodes()
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;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PrivateClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PrivateClusterConfig.Builder |
clearMasterGlobalAccessConfig()
public PrivateClusterConfig.Builder clearMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Type | Description |
PrivateClusterConfig.Builder |
clearMasterIpv4CidrBlock()
public PrivateClusterConfig.Builder clearMasterIpv4CidrBlock()
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;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PrivateClusterConfig.Builder |
clearPeeringName()
public PrivateClusterConfig.Builder clearPeeringName()
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clearPrivateEndpoint()
public PrivateClusterConfig.Builder clearPrivateEndpoint()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clearPublicEndpoint()
public PrivateClusterConfig.Builder clearPublicEndpoint()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
clone()
public PrivateClusterConfig.Builder clone()
Type | Description |
PrivateClusterConfig.Builder |
getDefaultInstanceForType()
public PrivateClusterConfig getDefaultInstanceForType()
Type | Description |
PrivateClusterConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnablePrivateEndpoint()
public boolean getEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.
bool enable_private_endpoint = 2;
Type | Description |
boolean | The enablePrivateEndpoint. |
getEnablePrivateNodes()
public 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;
Type | Description |
boolean | The enablePrivateNodes. |
getMasterGlobalAccessConfig()
public PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Type | Description |
PrivateClusterMasterGlobalAccessConfig | The masterGlobalAccessConfig. |
getMasterGlobalAccessConfigBuilder()
public PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Type | Description |
PrivateClusterMasterGlobalAccessConfig.Builder |
getMasterGlobalAccessConfigOrBuilder()
public PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Type | Description |
PrivateClusterMasterGlobalAccessConfigOrBuilder |
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;
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;
Type | Description |
ByteString | The bytes for masterIpv4CidrBlock. |
getPeeringName()
public String getPeeringName()
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
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;
Type | Description |
ByteString | The bytes for peeringName. |
getPrivateEndpoint()
public String getPrivateEndpoint()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
Type | Description |
String | The privateEndpoint. |
getPrivateEndpointBytes()
public ByteString getPrivateEndpointBytes()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
Type | Description |
ByteString | The bytes for privateEndpoint. |
getPublicEndpoint()
public String getPublicEndpoint()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
Type | Description |
String | The publicEndpoint. |
getPublicEndpointBytes()
public ByteString getPublicEndpointBytes()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
Type | Description |
ByteString | The bytes for publicEndpoint. |
hasMasterGlobalAccessConfig()
public boolean hasMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Type | Description |
boolean | Whether the masterGlobalAccessConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PrivateClusterConfig other)
public PrivateClusterConfig.Builder mergeFrom(PrivateClusterConfig other)
Name | Description |
other | PrivateClusterConfig |
Type | Description |
PrivateClusterConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivateClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PrivateClusterConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PrivateClusterConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PrivateClusterConfig.Builder |
mergeMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)
public PrivateClusterConfig.Builder mergeMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Name | Description |
value | PrivateClusterMasterGlobalAccessConfig |
Type | Description |
PrivateClusterConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PrivateClusterConfig.Builder |
setEnablePrivateEndpoint(boolean value)
public PrivateClusterConfig.Builder setEnablePrivateEndpoint(boolean value)
Whether the master's internal IP address is used as the cluster endpoint.
bool enable_private_endpoint = 2;
Name | Description |
value | boolean The enablePrivateEndpoint to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setEnablePrivateNodes(boolean value)
public PrivateClusterConfig.Builder setEnablePrivateNodes(boolean value)
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;
Name | Description |
value | boolean The enablePrivateNodes to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrivateClusterConfig.Builder |
setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)
public PrivateClusterConfig.Builder setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig value)
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Name | Description |
value | PrivateClusterMasterGlobalAccessConfig |
Type | Description |
PrivateClusterConfig.Builder |
setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig.Builder builderForValue)
public PrivateClusterConfig.Builder setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig.Builder builderForValue)
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;
Name | Description |
builderForValue | PrivateClusterMasterGlobalAccessConfig.Builder |
Type | Description |
PrivateClusterConfig.Builder |
setMasterIpv4CidrBlock(String value)
public PrivateClusterConfig.Builder setMasterIpv4CidrBlock(String value)
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;
Name | Description |
value | String The masterIpv4CidrBlock to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setMasterIpv4CidrBlockBytes(ByteString value)
public PrivateClusterConfig.Builder setMasterIpv4CidrBlockBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for masterIpv4CidrBlock to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPeeringName(String value)
public PrivateClusterConfig.Builder setPeeringName(String value)
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
Name | Description |
value | String The peeringName to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPeeringNameBytes(ByteString value)
public PrivateClusterConfig.Builder setPeeringNameBytes(ByteString value)
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;
Name | Description |
value | ByteString The bytes for peeringName to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPrivateEndpoint(String value)
public PrivateClusterConfig.Builder setPrivateEndpoint(String value)
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
Name | Description |
value | String The privateEndpoint to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPrivateEndpointBytes(ByteString value)
public PrivateClusterConfig.Builder setPrivateEndpointBytes(ByteString value)
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;
Name | Description |
value | ByteString The bytes for privateEndpoint to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPublicEndpoint(String value)
public PrivateClusterConfig.Builder setPublicEndpoint(String value)
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
Name | Description |
value | String The publicEndpoint to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setPublicEndpointBytes(ByteString value)
public PrivateClusterConfig.Builder setPublicEndpointBytes(ByteString value)
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;
Name | Description |
value | ByteString The bytes for publicEndpoint to set. |
Type | Description |
PrivateClusterConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PrivateClusterConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PrivateClusterConfig.Builder |