- 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 ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder extends GeneratedMessageV3.Builder<ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder> implements ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder
IP endpoints configuration.
Protobuf type google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ControlPlaneEndpointsConfig.IPEndpointsConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
build()
public ControlPlaneEndpointsConfig.IPEndpointsConfig build()
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig |
buildPartial()
public ControlPlaneEndpointsConfig.IPEndpointsConfig buildPartial()
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig |
clear()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
clearAuthorizedNetworksConfig()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearAuthorizedNetworksConfig()
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 | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
clearEnablePublicEndpoint()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearEnablePublicEndpoint()
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 |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clearEnabled()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearEnabled()
Controls whether to allow direct IP access.
optional bool enabled = 1;
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
clearGlobalAccess()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearGlobalAccess()
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 |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
clearPrivateEndpoint()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearPrivateEndpoint()
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 |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clearPrivateEndpointSubnetwork()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearPrivateEndpointSubnetwork()
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 |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clearPublicEndpoint()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clearPublicEndpoint()
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 |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
clone()
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
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.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig |
The authorizedNetworksConfig. |
getAuthorizedNetworksConfigBuilder()
public MasterAuthorizedNetworksConfig.Builder getAuthorizedNetworksConfigBuilder()
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 | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
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.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfigOrBuilder |
getDefaultInstanceForType()
public ControlPlaneEndpointsConfig.IPEndpointsConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
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.v1.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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder mergeAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
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;
Parameter | |
---|---|
Name | Description |
value |
MasterAuthorizedNetworksConfig |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
mergeFrom(ControlPlaneEndpointsConfig.IPEndpointsConfig other)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder mergeFrom(ControlPlaneEndpointsConfig.IPEndpointsConfig other)
Parameter | |
---|---|
Name | Description |
other |
ControlPlaneEndpointsConfig.IPEndpointsConfig |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
setAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)
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;
Parameter | |
---|---|
Name | Description |
value |
MasterAuthorizedNetworksConfig |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
setAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
MasterAuthorizedNetworksConfig.Builder |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
setEnablePublicEndpoint(boolean value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setEnablePublicEndpoint(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The enablePublicEndpoint to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setEnabled(boolean value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setEnabled(boolean value)
Controls whether to allow direct IP access.
optional bool enabled = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The enabled to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
setGlobalAccess(boolean value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setGlobalAccess(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The globalAccess to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPrivateEndpoint(String value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPrivateEndpoint(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The privateEndpoint to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPrivateEndpointBytes(ByteString value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPrivateEndpointBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for privateEndpoint to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPrivateEndpointSubnetwork(String value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPrivateEndpointSubnetwork(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The privateEndpointSubnetwork to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPrivateEndpointSubnetworkBytes(ByteString value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPrivateEndpointSubnetworkBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for privateEndpointSubnetwork to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPublicEndpoint(String value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPublicEndpoint(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The publicEndpoint to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setPublicEndpointBytes(ByteString value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setPublicEndpointBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for publicEndpoint to set. |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder |