Class ZoneNetworkConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig
All Implemented Interfaces:
ZoneNetworkConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ZoneNetworkConfig extends com.google.protobuf.GeneratedMessage implements ZoneNetworkConfigOrBuilder
 Networking configuration for a zone.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig
See Also:
  • Field Details

    • MACHINE_MGMT_IPV4_RANGE_FIELD_NUMBER

      public static final int MACHINE_MGMT_IPV4_RANGE_FIELD_NUMBER
      See Also:
    • KUBERNETES_NODE_IPV4_RANGE_FIELD_NUMBER

      public static final int KUBERNETES_NODE_IPV4_RANGE_FIELD_NUMBER
      See Also:
    • KUBERNETES_CONTROL_PLANE_IPV4_RANGE_FIELD_NUMBER

      public static final int KUBERNETES_CONTROL_PLANE_IPV4_RANGE_FIELD_NUMBER
      See Also:
    • MANAGEMENT_IPV4_SUBNET_FIELD_NUMBER

      public static final int MANAGEMENT_IPV4_SUBNET_FIELD_NUMBER
      See Also:
    • KUBERNETES_IPV4_SUBNET_FIELD_NUMBER

      public static final int KUBERNETES_IPV4_SUBNET_FIELD_NUMBER
      See Also:
    • DNS_IPV4_ADDRESSES_FIELD_NUMBER

      public static final int DNS_IPV4_ADDRESSES_FIELD_NUMBER
      See Also:
    • KUBERNETES_PRIMARY_VLAN_ID_FIELD_NUMBER

      public static final int KUBERNETES_PRIMARY_VLAN_ID_FIELD_NUMBER
      See Also:
  • 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
    • getMachineMgmtIpv4Range

      public String getMachineMgmtIpv4Range()
       Required. An IPv4 address block for machine management.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per machine in the Zone.
       Should be in `management_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getMachineMgmtIpv4Range in interface ZoneNetworkConfigOrBuilder
      Returns:
      The machineMgmtIpv4Range.
    • getMachineMgmtIpv4RangeBytes

      public com.google.protobuf.ByteString getMachineMgmtIpv4RangeBytes()
       Required. An IPv4 address block for machine management.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per machine in the Zone.
       Should be in `management_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string machine_mgmt_ipv4_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getMachineMgmtIpv4RangeBytes in interface ZoneNetworkConfigOrBuilder
      Returns:
      The bytes for machineMgmtIpv4Range.
    • getKubernetesNodeIpv4Range

      public String getKubernetesNodeIpv4Range()
       Required. An IPv4 address block for kubernetes nodes.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per machine in the Zone.
       Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getKubernetesNodeIpv4Range in interface ZoneNetworkConfigOrBuilder
      Returns:
      The kubernetesNodeIpv4Range.
    • getKubernetesNodeIpv4RangeBytes

      public com.google.protobuf.ByteString getKubernetesNodeIpv4RangeBytes()
       Required. An IPv4 address block for kubernetes nodes.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per machine in the Zone.
       Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string kubernetes_node_ipv4_range = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getKubernetesNodeIpv4RangeBytes in interface ZoneNetworkConfigOrBuilder
      Returns:
      The bytes for kubernetesNodeIpv4Range.
    • getKubernetesControlPlaneIpv4Range

      public String getKubernetesControlPlaneIpv4Range()
       Required. An IPv4 address block for kubernetes control plane.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per cluster in the Zone.
       Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getKubernetesControlPlaneIpv4Range in interface ZoneNetworkConfigOrBuilder
      Returns:
      The kubernetesControlPlaneIpv4Range.
    • getKubernetesControlPlaneIpv4RangeBytes

      public com.google.protobuf.ByteString getKubernetesControlPlaneIpv4RangeBytes()
       Required. An IPv4 address block for kubernetes control plane.
       Should be a private RFC1918 or public CIDR block large enough to allocate
       at least one address per cluster in the Zone.
       Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
       ranges.
       
      string kubernetes_control_plane_ipv4_range = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
      Specified by:
      getKubernetesControlPlaneIpv4RangeBytes in interface ZoneNetworkConfigOrBuilder
      Returns:
      The bytes for kubernetesControlPlaneIpv4Range.
    • hasManagementIpv4Subnet

      public boolean hasManagementIpv4Subnet()
       Required. An IPv4 subnet for the management network.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasManagementIpv4Subnet in interface ZoneNetworkConfigOrBuilder
      Returns:
      Whether the managementIpv4Subnet field is set.
    • getManagementIpv4Subnet

      public Subnet getManagementIpv4Subnet()
       Required. An IPv4 subnet for the management network.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManagementIpv4Subnet in interface ZoneNetworkConfigOrBuilder
      Returns:
      The managementIpv4Subnet.
    • getManagementIpv4SubnetOrBuilder

      public SubnetOrBuilder getManagementIpv4SubnetOrBuilder()
       Required. An IPv4 subnet for the management network.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet management_ipv4_subnet = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManagementIpv4SubnetOrBuilder in interface ZoneNetworkConfigOrBuilder
    • hasKubernetesIpv4Subnet

      public boolean hasKubernetesIpv4Subnet()
       Optional. An IPv4 subnet for the kubernetes network.
       If unspecified, the kubernetes subnet will be the same as the management
       subnet.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasKubernetesIpv4Subnet in interface ZoneNetworkConfigOrBuilder
      Returns:
      Whether the kubernetesIpv4Subnet field is set.
    • getKubernetesIpv4Subnet

      public Subnet getKubernetesIpv4Subnet()
       Optional. An IPv4 subnet for the kubernetes network.
       If unspecified, the kubernetes subnet will be the same as the management
       subnet.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKubernetesIpv4Subnet in interface ZoneNetworkConfigOrBuilder
      Returns:
      The kubernetesIpv4Subnet.
    • getKubernetesIpv4SubnetOrBuilder

      public SubnetOrBuilder getKubernetesIpv4SubnetOrBuilder()
       Optional. An IPv4 subnet for the kubernetes network.
       If unspecified, the kubernetes subnet will be the same as the management
       subnet.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Subnet kubernetes_ipv4_subnet = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKubernetesIpv4SubnetOrBuilder in interface ZoneNetworkConfigOrBuilder
    • getDnsIpv4AddressesList

      public com.google.protobuf.ProtocolStringList getDnsIpv4AddressesList()
       Optional. DNS nameservers.
       The GDC Infrastructure will resolve DNS queries via these IPs.
       If unspecified, Google DNS is used.
       
      repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getDnsIpv4AddressesList in interface ZoneNetworkConfigOrBuilder
      Returns:
      A list containing the dnsIpv4Addresses.
    • getDnsIpv4AddressesCount

      public int getDnsIpv4AddressesCount()
       Optional. DNS nameservers.
       The GDC Infrastructure will resolve DNS queries via these IPs.
       If unspecified, Google DNS is used.
       
      repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getDnsIpv4AddressesCount in interface ZoneNetworkConfigOrBuilder
      Returns:
      The count of dnsIpv4Addresses.
    • getDnsIpv4Addresses

      public String getDnsIpv4Addresses(int index)
       Optional. DNS nameservers.
       The GDC Infrastructure will resolve DNS queries via these IPs.
       If unspecified, Google DNS is used.
       
      repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getDnsIpv4Addresses in interface ZoneNetworkConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dnsIpv4Addresses at the given index.
    • getDnsIpv4AddressesBytes

      public com.google.protobuf.ByteString getDnsIpv4AddressesBytes(int index)
       Optional. DNS nameservers.
       The GDC Infrastructure will resolve DNS queries via these IPs.
       If unspecified, Google DNS is used.
       
      repeated string dns_ipv4_addresses = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getDnsIpv4AddressesBytes in interface ZoneNetworkConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dnsIpv4Addresses at the given index.
    • getKubernetesPrimaryVlanId

      public int getKubernetesPrimaryVlanId()
       Optional. Kubernetes VLAN ID.
       By default, the kubernetes node, including the primary kubernetes network,
       are in the same VLAN as the machine management network.
       For network segmentation purposes, these can optionally be separated.
       
      int32 kubernetes_primary_vlan_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKubernetesPrimaryVlanId in interface ZoneNetworkConfigOrBuilder
      Returns:
      The kubernetesPrimaryVlanId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ZoneNetworkConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ZoneNetworkConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ZoneNetworkConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ZoneNetworkConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ZoneNetworkConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ZoneNetworkConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static ZoneNetworkConfig.Builder newBuilder()
    • newBuilder

      public static ZoneNetworkConfig.Builder newBuilder(ZoneNetworkConfig prototype)
    • toBuilder

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

      protected ZoneNetworkConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ZoneNetworkConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ZoneNetworkConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ZoneNetworkConfig> 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.GeneratedMessage
    • getDefaultInstanceForType

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