Class PrivateClusterConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.PrivateClusterConfig.Builder
- All Implemented Interfaces:
PrivateClusterConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivateClusterConfig
public static final class PrivateClusterConfig.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PrivateClusterConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnablePrivateEndpoint(boolean value) Optional.setMasterIpv4CidrBlock(String value) Optional.setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) Optional.setMasterIpv4ReservedRange(String value) Output only.setMasterIpv4ReservedRangeBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<PrivateClusterConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateClusterConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivateClusterConfig.Builder>
-
mergeFrom
public PrivateClusterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateClusterConfig.Builder>- Throws:
IOException
-
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];- Specified by:
getEnablePrivateEndpointin interfacePrivateClusterConfigOrBuilder- Returns:
- The enablePrivateEndpoint.
-
setEnablePrivateEndpoint
Optional. If `true`, access to the public endpoint of the GKE cluster is denied.
bool enable_private_endpoint = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enablePrivateEndpoint to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getMasterIpv4CidrBlockin interfacePrivateClusterConfigOrBuilder- Returns:
- The masterIpv4CidrBlock.
-
getMasterIpv4CidrBlockBytes
public com.google.protobuf.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];- Specified by:
getMasterIpv4CidrBlockBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for masterIpv4CidrBlock.
-
setMasterIpv4CidrBlock
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];- Parameters:
value- The masterIpv4CidrBlock to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setMasterIpv4CidrBlockBytes
public PrivateClusterConfig.Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.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];- Parameters:
value- The bytes for masterIpv4CidrBlock to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getMasterIpv4ReservedRangein interfacePrivateClusterConfigOrBuilder- Returns:
- The masterIpv4ReservedRange.
-
getMasterIpv4ReservedRangeBytes
public com.google.protobuf.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];- Specified by:
getMasterIpv4ReservedRangeBytesin interfacePrivateClusterConfigOrBuilder- Returns:
- The bytes for masterIpv4ReservedRange.
-
setMasterIpv4ReservedRange
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];- Parameters:
value- The masterIpv4ReservedRange to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setMasterIpv4ReservedRangeBytes
public PrivateClusterConfig.Builder setMasterIpv4ReservedRangeBytes(com.google.protobuf.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];- Parameters:
value- The bytes for masterIpv4ReservedRange to set.- Returns:
- This builder for chaining.
-