Package com.google.container.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration options for private clusters.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PrivateClusterConfigstatic final com.google.protobuf.Descriptors.DescriptorbooleanDeprecated.google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated.booleanDeprecated.google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated.Deprecated.google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated.Deprecated.The IP range in CIDR notation to use for the hosted master network.com.google.protobuf.ByteStringThe IP range in CIDR notation to use for the hosted master network.com.google.protobuf.Parser<PrivateClusterConfig>Output only.com.google.protobuf.ByteStringOutput only.Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.PrivateClusterConfig.private_endpoint is deprecated.Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated.Deprecated.google.container.v1.PrivateClusterConfig.public_endpoint is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.PrivateClusterConfig.public_endpoint is deprecated.intinthashCode()booleanDeprecated.google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic PrivateClusterConfig.Builderstatic PrivateClusterConfig.BuildernewBuilder(PrivateClusterConfig prototype) protected PrivateClusterConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PrivateClusterConfigparseDelimitedFrom(InputStream input) static PrivateClusterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrivateClusterConfigparseFrom(byte[] data) static PrivateClusterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrivateClusterConfigparseFrom(com.google.protobuf.ByteString data) static PrivateClusterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrivateClusterConfigparseFrom(com.google.protobuf.CodedInputStream input) static PrivateClusterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrivateClusterConfigparseFrom(InputStream input) static PrivateClusterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PrivateClusterConfigparseFrom(ByteBuffer data) static PrivateClusterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PrivateClusterConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEnablePrivateNodes
Deprecated.google.container.v1.PrivateClusterConfig.enable_private_nodes is deprecated. See google/container/v1/cluster_service.proto;l=2365Whether 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:
getEnablePrivateNodesin interfacePrivateClusterConfigOrBuilder- Returns:
- The enablePrivateNodes.
-
getEnablePrivateEndpoint
Deprecated.google.container.v1.PrivateClusterConfig.enable_private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2373Whether 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:
getEnablePrivateEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The enablePrivateEndpoint.
-
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:
getMasterIpv4CidrBlockin interfacePrivateClusterConfigOrBuilder- 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:
getMasterIpv4CidrBlockBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for masterIpv4CidrBlock.
-
getPrivateEndpoint
Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2386Output 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:
getPrivateEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The privateEndpoint.
-
getPrivateEndpointBytes
Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2386Output 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:
getPrivateEndpointBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for privateEndpoint.
-
getPublicEndpoint
Deprecated.google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2394Output 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:
getPublicEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The publicEndpoint.
-
getPublicEndpointBytes
Deprecated.google.container.v1.PrivateClusterConfig.public_endpoint is deprecated. See google/container/v1/cluster_service.proto;l=2394Output 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:
getPublicEndpointBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for publicEndpoint.
-
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:
getPeeringNamein interfacePrivateClusterConfigOrBuilder- 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:
getPeeringNameBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for peeringName.
-
hasMasterGlobalAccessConfig
Deprecated.google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=2405Controls 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:
hasMasterGlobalAccessConfigin interfacePrivateClusterConfigOrBuilder- Returns:
- Whether the masterGlobalAccessConfig field is set.
-
getMasterGlobalAccessConfig
Deprecated.google.container.v1.PrivateClusterConfig.master_global_access_config is deprecated. See google/container/v1/cluster_service.proto;l=2405Controls 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:
getMasterGlobalAccessConfigin interfacePrivateClusterConfigOrBuilder- 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:
getMasterGlobalAccessConfigOrBuilderin interfacePrivateClusterConfigOrBuilder
-
getPrivateEndpointSubnetwork
Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=2414Subnet 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:
getPrivateEndpointSubnetworkin interfacePrivateClusterConfigOrBuilder- Returns:
- The privateEndpointSubnetwork.
-
getPrivateEndpointSubnetworkBytes
Deprecated.google.container.v1.PrivateClusterConfig.private_endpoint_subnetwork is deprecated. See google/container/v1/cluster_service.proto;l=2414Subnet 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:
getPrivateEndpointSubnetworkBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for privateEndpointSubnetwork.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static PrivateClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PrivateClusterConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-