Class PrivateClusterConfig (1.41.0)

public final class PrivateClusterConfig extends GeneratedMessageV3 implements PrivateClusterConfigOrBuilder

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

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

Static Fields

ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER

public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER

public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER
Field Value
TypeDescription
int

MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER

public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivateClusterConfig getDefaultInstance()
Returns
TypeDescription
PrivateClusterConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PrivateClusterConfig.Builder newBuilder()
Returns
TypeDescription
PrivateClusterConfig.Builder

newBuilder(PrivateClusterConfig prototype)

public static PrivateClusterConfig.Builder newBuilder(PrivateClusterConfig prototype)
Parameter
NameDescription
prototypePrivateClusterConfig
Returns
TypeDescription
PrivateClusterConfig.Builder

parseDelimitedFrom(InputStream input)

public static PrivateClusterConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivateClusterConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivateClusterConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivateClusterConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivateClusterConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivateClusterConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivateClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivateClusterConfig> parser()
Returns
TypeDescription
Parser<PrivateClusterConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivateClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
PrivateClusterConfig

getEnablePrivateEndpoint()

public boolean getEnablePrivateEndpoint()

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
TypeDescription
boolean

The enablePrivateEndpoint.

getMasterIpv4CidrBlock()

public String getMasterIpv4CidrBlock()

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
TypeDescription
String

The masterIpv4CidrBlock.

getMasterIpv4CidrBlockBytes()

public ByteString getMasterIpv4CidrBlockBytes()

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
TypeDescription
ByteString

The bytes for masterIpv4CidrBlock.

getMasterIpv4ReservedRange()

public String getMasterIpv4ReservedRange()

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
TypeDescription
String

The masterIpv4ReservedRange.

getMasterIpv4ReservedRangeBytes()

public ByteString getMasterIpv4ReservedRangeBytes()

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
TypeDescription
ByteString

The bytes for masterIpv4ReservedRange.

getParserForType()

public Parser<PrivateClusterConfig> getParserForType()
Returns
TypeDescription
Parser<PrivateClusterConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivateClusterConfig.Builder newBuilderForType()
Returns
TypeDescription
PrivateClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivateClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivateClusterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivateClusterConfig.Builder toBuilder()
Returns
TypeDescription
PrivateClusterConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException