Class ClusterNetworking.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder>
com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder
All Implemented Interfaces:
ClusterNetworkingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ClusterNetworking

public static final class ClusterNetworking.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder> implements ClusterNetworkingOrBuilder
 Cluster-wide networking configuration.
 
Protobuf type google.cloud.edgecontainer.v1.ClusterNetworking
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder>
    • clear

      public ClusterNetworking.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder>
    • getDefaultInstanceForType

      public ClusterNetworking getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public ClusterNetworking.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterNetworking.Builder>
    • mergeFrom

      public ClusterNetworking.Builder mergeFrom(ClusterNetworking other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClusterNetworking.Builder>
    • mergeFrom

      public ClusterNetworking.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterNetworking.Builder>
      Throws:
      IOException
    • 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.
    • setClusterIpv4CidrBlocks

      public ClusterNetworking.Builder setClusterIpv4CidrBlocks(int index, String value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The clusterIpv4CidrBlocks to set.
      Returns:
      This builder for chaining.
    • addClusterIpv4CidrBlocks

      public ClusterNetworking.Builder addClusterIpv4CidrBlocks(String value)
       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];
      Parameters:
      value - The clusterIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.
    • addAllClusterIpv4CidrBlocks

      public ClusterNetworking.Builder addAllClusterIpv4CidrBlocks(Iterable<String> values)
       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];
      Parameters:
      values - The clusterIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.
    • clearClusterIpv4CidrBlocks

      public ClusterNetworking.Builder clearClusterIpv4CidrBlocks()
       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];
      Returns:
      This builder for chaining.
    • addClusterIpv4CidrBlocksBytes

      public ClusterNetworking.Builder addClusterIpv4CidrBlocksBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes of the clusterIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.
    • 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.
    • setServicesIpv4CidrBlocks

      public ClusterNetworking.Builder setServicesIpv4CidrBlocks(int index, String value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The servicesIpv4CidrBlocks to set.
      Returns:
      This builder for chaining.
    • addServicesIpv4CidrBlocks

      public ClusterNetworking.Builder addServicesIpv4CidrBlocks(String value)
       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];
      Parameters:
      value - The servicesIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.
    • addAllServicesIpv4CidrBlocks

      public ClusterNetworking.Builder addAllServicesIpv4CidrBlocks(Iterable<String> values)
       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];
      Parameters:
      values - The servicesIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.
    • clearServicesIpv4CidrBlocks

      public ClusterNetworking.Builder clearServicesIpv4CidrBlocks()
       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];
      Returns:
      This builder for chaining.
    • addServicesIpv4CidrBlocksBytes

      public ClusterNetworking.Builder addServicesIpv4CidrBlocksBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes of the servicesIpv4CidrBlocks to add.
      Returns:
      This builder for chaining.