Class PrivateClusterConfig (1.23.0)

publicfinalclass PrivateClusterConfigextendsGeneratedMessageV3implementsPrivateClusterConfigOrBuilder

Configuration options for the private GKE cluster in a Cloud Composer environment.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER

publicstaticfinalintENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER

publicstaticfinalintMASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
Type Description
int

MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER

publicstaticfinalintMASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticPrivateClusterConfiggetDefaultInstance()
Returns
Type Description
PrivateClusterConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticPrivateClusterConfig.BuildernewBuilder()
Returns
Type Description
PrivateClusterConfig.Builder

newBuilder(PrivateClusterConfig prototype)

publicstaticPrivateClusterConfig.BuildernewBuilder(PrivateClusterConfigprototype)
Parameter
Name Description
prototype PrivateClusterConfig
Returns
Type Description
PrivateClusterConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticPrivateClusterConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticPrivateClusterConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticPrivateClusterConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticPrivateClusterConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticPrivateClusterConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticPrivateClusterConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticPrivateClusterConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateClusterConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<PrivateClusterConfig>parser()
Returns
Type Description
Parser<PrivateClusterConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicPrivateClusterConfiggetDefaultInstanceForType()
Returns
Type Description
PrivateClusterConfig

getEnablePrivateEndpoint()

publicbooleangetEnablePrivateEndpoint()

Optional. If true, access to the public endpoint of the GKE cluster is denied.

bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePrivateEndpoint.

getMasterIpv4CidrBlock()

publicStringgetMasterIpv4CidrBlock()

Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used.

string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The masterIpv4CidrBlock.

getMasterIpv4CidrBlockBytes()

publicByteStringgetMasterIpv4CidrBlockBytes()

Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used.

string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for masterIpv4CidrBlock.

getMasterIpv4ReservedRange()

publicStringgetMasterIpv4ReservedRange()

Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The masterIpv4ReservedRange.

getMasterIpv4ReservedRangeBytes()

publicByteStringgetMasterIpv4ReservedRangeBytes()

Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.

string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for masterIpv4ReservedRange.

getParserForType()

publicParser<PrivateClusterConfig>getParserForType()
Returns
Type Description
Parser<PrivateClusterConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicPrivateClusterConfig.BuildernewBuilderForType()
Returns
Type Description
PrivateClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedPrivateClusterConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivateClusterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicPrivateClusterConfig.BuildertoBuilder()
Returns
Type Description
PrivateClusterConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.