Class ClusterNetworking

  • All Implemented Interfaces:
    ClusterNetworkingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ClusterNetworking
    extends com.google.protobuf.GeneratedMessageV3
    implements ClusterNetworkingOrBuilder
     Cluster-wide networking configuration.
     
    Protobuf type google.cloud.edgecontainer.v1.ClusterNetworking
    See Also:
    Serialized Form
    • Field Detail

      • CLUSTER_IPV4_CIDR_BLOCKS_FIELD_NUMBER

        public static final int CLUSTER_IPV4_CIDR_BLOCKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICES_IPV4_CIDR_BLOCKS_FIELD_NUMBER

        public static final int SERVICES_IPV4_CIDR_BLOCKS_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
      • getClusterIpv4CidrBlocksList

        public com.google.protobuf.ProtocolStringList getClusterIpv4CidrBlocksList()
         Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIpv4CidrBlocksList in interface ClusterNetworkingOrBuilder
        Returns:
        A list containing the clusterIpv4CidrBlocks.
      • getClusterIpv4CidrBlocksCount

        public int getClusterIpv4CidrBlocksCount()
         Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIpv4CidrBlocksCount in interface ClusterNetworkingOrBuilder
        Returns:
        The count of clusterIpv4CidrBlocks.
      • getClusterIpv4CidrBlocks

        public String getClusterIpv4CidrBlocks​(int index)
         Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIpv4CidrBlocks in interface ClusterNetworkingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The clusterIpv4CidrBlocks at the given index.
      • getClusterIpv4CidrBlocksBytes

        public com.google.protobuf.ByteString getClusterIpv4CidrBlocksBytes​(int index)
         Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIpv4CidrBlocksBytes in interface ClusterNetworkingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clusterIpv4CidrBlocks at the given index.
      • getServicesIpv4CidrBlocksList

        public com.google.protobuf.ProtocolStringList getServicesIpv4CidrBlocksList()
         Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServicesIpv4CidrBlocksList in interface ClusterNetworkingOrBuilder
        Returns:
        A list containing the servicesIpv4CidrBlocks.
      • getServicesIpv4CidrBlocksCount

        public int getServicesIpv4CidrBlocksCount()
         Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServicesIpv4CidrBlocksCount in interface ClusterNetworkingOrBuilder
        Returns:
        The count of servicesIpv4CidrBlocks.
      • getServicesIpv4CidrBlocks

        public String getServicesIpv4CidrBlocks​(int index)
         Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServicesIpv4CidrBlocks in interface ClusterNetworkingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The servicesIpv4CidrBlocks at the given index.
      • getServicesIpv4CidrBlocksBytes

        public com.google.protobuf.ByteString getServicesIpv4CidrBlocksBytes​(int index)
         Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
         blocks. Only a single block is supported. This field cannot be changed
         after creation.
         
        repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServicesIpv4CidrBlocksBytes in interface ClusterNetworkingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the servicesIpv4CidrBlocks at the given index.
      • 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 ClusterNetworking parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ClusterNetworking parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public com.google.protobuf.Parser<ClusterNetworking> 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 ClusterNetworking getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder