public static final class PrivateClusterConfig.Builder extends GeneratedMessageV3.Builder<PrivateClusterConfig.Builder> implements PrivateClusterConfigOrBuilder
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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivateClusterConfig build()
Returns
buildPartial()
public PrivateClusterConfig buildPartial()
Returns
clear()
public PrivateClusterConfig.Builder clear()
Returns
Overrides
clearEnablePrivateEndpoint()
public PrivateClusterConfig.Builder clearEnablePrivateEndpoint()
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
clearField(Descriptors.FieldDescriptor field)
public PrivateClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMasterIpv4CidrBlock()
public PrivateClusterConfig.Builder clearMasterIpv4CidrBlock()
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
clearMasterIpv4ReservedRange()
public PrivateClusterConfig.Builder clearMasterIpv4ReservedRange()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PrivateClusterConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PrivateClusterConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type |
Description |
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
Type |
Description |
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
Type |
Description |
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
Type |
Description |
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
Type |
Description |
ByteString |
The bytes for masterIpv4ReservedRange.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PrivateClusterConfig other)
public PrivateClusterConfig.Builder mergeFrom(PrivateClusterConfig other)
Parameter
Returns
public PrivateClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivateClusterConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnablePrivateEndpoint(boolean value)
public PrivateClusterConfig.Builder setEnablePrivateEndpoint(boolean value)
Optional. If true
, access to the public endpoint of the GKE cluster is
denied.
bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
boolean
The enablePrivateEndpoint to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMasterIpv4CidrBlock(String value)
public PrivateClusterConfig.Builder setMasterIpv4CidrBlock(String value)
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];
Parameter
Name |
Description |
value |
String
The masterIpv4CidrBlock to set.
|
Returns
setMasterIpv4CidrBlockBytes(ByteString value)
public PrivateClusterConfig.Builder setMasterIpv4CidrBlockBytes(ByteString value)
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];
Parameter
Name |
Description |
value |
ByteString
The bytes for masterIpv4CidrBlock to set.
|
Returns
setMasterIpv4ReservedRange(String value)
public PrivateClusterConfig.Builder setMasterIpv4ReservedRange(String value)
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];
Parameter
Name |
Description |
value |
String
The masterIpv4ReservedRange to set.
|
Returns
setMasterIpv4ReservedRangeBytes(ByteString value)
public PrivateClusterConfig.Builder setMasterIpv4ReservedRangeBytes(ByteString value)
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];
Parameter
Name |
Description |
value |
ByteString
The bytes for masterIpv4ReservedRange to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides