Class ControlPlaneEndpointsConfig.IPEndpointsConfig (2.56.0)

public static final class ControlPlaneEndpointsConfig.IPEndpointsConfig extends GeneratedMessageV3 implements ControlPlaneEndpointsConfig.IPEndpointsConfigOrBuilder

IP endpoints configuration.

Protobuf type google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ControlPlaneEndpointsConfig.IPEndpointsConfig

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()
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder newBuilder()
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder

newBuilder(ControlPlaneEndpointsConfig.IPEndpointsConfig prototype)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder newBuilder(ControlPlaneEndpointsConfig.IPEndpointsConfig prototype)
Parameter
Name Description
prototype ControlPlaneEndpointsConfig.IPEndpointsConfig
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder

parseDelimitedFrom(InputStream input)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.IPEndpointsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ControlPlaneEndpointsConfig.IPEndpointsConfig> parser()
Returns
Type Description
Parser<IPEndpointsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1.MasterAuthorizedNetworksConfig authorized_networks_config = 4;

Returns
Type Description
MasterAuthorizedNetworksConfig

The authorizedNetworksConfig.

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

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()
Returns
Type Description
Parser<IPEndpointsConfig>
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.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder newBuilderForType()
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder toBuilder()
Returns
Type Description
ControlPlaneEndpointsConfig.IPEndpointsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException