Package com.google.container.v1beta1
Class PrivateClusterConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1beta1.PrivateClusterConfig
-
- All Implemented Interfaces:
PrivateClusterConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3 implements PrivateClusterConfigOrBuilder
Configuration options for private clusters.
Protobuf typegoogle.container.v1beta1.PrivateClusterConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivateClusterConfig.BuilderConfiguration options for private clusters.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intENABLE_PRIVATE_ENDPOINT_FIELD_NUMBERstatic intENABLE_PRIVATE_NODES_FIELD_NUMBERstatic intMASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBERstatic intMASTER_IPV4_CIDR_BLOCK_FIELD_NUMBERstatic intPEERING_NAME_FIELD_NUMBERstatic intPRIVATE_ENDPOINT_FIELD_NUMBERstatic intPRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBERstatic intPUBLIC_ENDPOINT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static PrivateClusterConfiggetDefaultInstance()PrivateClusterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnablePrivateEndpoint()Whether the master's internal IP address is used as the cluster endpoint.booleangetEnablePrivateNodes()Whether nodes have internal IP addresses only.PrivateClusterMasterGlobalAccessConfiggetMasterGlobalAccessConfig()Controls master global access settings.PrivateClusterMasterGlobalAccessConfigOrBuildergetMasterGlobalAccessConfigOrBuilder()Controls master global access settings.StringgetMasterIpv4CidrBlock()The IP range in CIDR notation to use for the hosted master network.com.google.protobuf.ByteStringgetMasterIpv4CidrBlockBytes()The IP range in CIDR notation to use for the hosted master network.com.google.protobuf.Parser<PrivateClusterConfig>getParserForType()StringgetPeeringName()Output only.com.google.protobuf.ByteStringgetPeeringNameBytes()Output only.StringgetPrivateEndpoint()Output only.com.google.protobuf.ByteStringgetPrivateEndpointBytes()Output only.StringgetPrivateEndpointSubnetwork()Subnet to provision the master's private endpoint during cluster creation.com.google.protobuf.ByteStringgetPrivateEndpointSubnetworkBytes()Subnet to provision the master's private endpoint during cluster creation.StringgetPublicEndpoint()Output only.com.google.protobuf.ByteStringgetPublicEndpointBytes()Output only.intgetSerializedSize()inthashCode()booleanhasMasterGlobalAccessConfig()Controls master global access settings.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PrivateClusterConfig.BuildernewBuilder()static PrivateClusterConfig.BuildernewBuilder(PrivateClusterConfig prototype)PrivateClusterConfig.BuildernewBuilderForType()protected PrivateClusterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()PrivateClusterConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENABLE_PRIVATE_NODES_FIELD_NUMBER
public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_ENDPOINT_FIELD_NUMBER
public static final int PRIVATE_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLIC_ENDPOINT_FIELD_NUMBER
public static final int PUBLIC_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEERING_NAME_FIELD_NUMBER
public static final int PEERING_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER
public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER
public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getEnablePrivateNodesin interfacePrivateClusterConfigOrBuilder- Returns:
- The enablePrivateNodes.
-
getEnablePrivateEndpoint
public boolean getEnablePrivateEndpoint()
Whether the master's internal IP address is used as the cluster endpoint.
bool enable_private_endpoint = 2;- Specified by:
getEnablePrivateEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The enablePrivateEndpoint.
-
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;- 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
public String getPrivateEndpoint()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;- Specified by:
getPrivateEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The privateEndpoint.
-
getPrivateEndpointBytes
public com.google.protobuf.ByteString getPrivateEndpointBytes()
Output only. The internal IP address of this cluster's master endpoint.
string private_endpoint = 4;- Specified by:
getPrivateEndpointBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for privateEndpoint.
-
getPublicEndpoint
public String getPublicEndpoint()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;- Specified by:
getPublicEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The publicEndpoint.
-
getPublicEndpointBytes
public com.google.protobuf.ByteString getPublicEndpointBytes()
Output only. The external IP address of this cluster's master endpoint.
string public_endpoint = 5;- Specified by:
getPublicEndpointBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for publicEndpoint.
-
getPeeringName
public String getPeeringName()
Output only. The peering name in the customer VPC used by this cluster.
string peering_name = 7;- 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;- Specified by:
getPeeringNameBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for peeringName.
-
hasMasterGlobalAccessConfig
public boolean hasMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;- Specified by:
hasMasterGlobalAccessConfigin interfacePrivateClusterConfigOrBuilder- Returns:
- Whether the masterGlobalAccessConfig field is set.
-
getMasterGlobalAccessConfig
public PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;- Specified by:
getMasterGlobalAccessConfigin interfacePrivateClusterConfigOrBuilder- Returns:
- The masterGlobalAccessConfig.
-
getMasterGlobalAccessConfigOrBuilder
public PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder()
Controls master global access settings.
.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8;- Specified by:
getMasterGlobalAccessConfigOrBuilderin interfacePrivateClusterConfigOrBuilder
-
getPrivateEndpointSubnetwork
public String getPrivateEndpointSubnetwork()
Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.
string private_endpoint_subnetwork = 10;- Specified by:
getPrivateEndpointSubnetworkin interfacePrivateClusterConfigOrBuilder- Returns:
- The privateEndpointSubnetwork.
-
getPrivateEndpointSubnetworkBytes
public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes()
Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.
string private_endpoint_subnetwork = 10;- 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static PrivateClusterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PrivateClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PrivateClusterConfig parseDelimitedFrom(InputStream input) throws IOException
- 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
public PrivateClusterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PrivateClusterConfig.Builder newBuilder()
-
newBuilder
public static PrivateClusterConfig.Builder newBuilder(PrivateClusterConfig prototype)
-
toBuilder
public PrivateClusterConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PrivateClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PrivateClusterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PrivateClusterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<PrivateClusterConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PrivateClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-