Class 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 the private GKE cluster in a Cloud Composer
     environment.
     
    Protobuf type google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig
    See Also:
    Serialized Form
    • Field Detail

      • 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
      • MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER

        public static final int MASTER_IPV4_RESERVED_RANGE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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:
        getEnablePrivateEndpoint in interface PrivateClusterConfigOrBuilder
        Returns:
        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];
        Specified by:
        getMasterIpv4CidrBlock in interface PrivateClusterConfigOrBuilder
        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:
        getMasterIpv4CidrBlockBytes in interface PrivateClusterConfigOrBuilder
        Returns:
        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 GKE
         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:
        getMasterIpv4ReservedRange in interface PrivateClusterConfigOrBuilder
        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 GKE
         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:
        getMasterIpv4ReservedRangeBytes in interface PrivateClusterConfigOrBuilder
        Returns:
        The bytes for masterIpv4ReservedRange.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public PrivateClusterConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public PrivateClusterConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected PrivateClusterConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<PrivateClusterConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public PrivateClusterConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder