Interface NetworkConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NetworkConfig, NetworkConfig.Builder

@Generated public interface NetworkConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Allows the TPU node to send and receive packets with non-matching destination or source IPs.
    boolean
    Indicates that external IP addresses would be associated with the TPU workers.
    The name of the network for the TPU node.
    com.google.protobuf.ByteString
    The name of the network for the TPU node.
    int
    Optional.
    The name of the subnetwork for the TPU node.
    com.google.protobuf.ByteString
    The name of the subnetwork for the TPU node.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNetwork

      String getNetwork()
       The name of the network for the TPU node. It must be a preexisting Google
       Compute Engine network. If none is provided, "default" will be used.
       
      string network = 1;
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       The name of the network for the TPU node. It must be a preexisting Google
       Compute Engine network. If none is provided, "default" will be used.
       
      string network = 1;
      Returns:
      The bytes for network.
    • getSubnetwork

      String getSubnetwork()
       The name of the subnetwork for the TPU node. It must be a preexisting
       Google Compute Engine subnetwork. If none is provided, "default" will be
       used.
       
      string subnetwork = 2;
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      com.google.protobuf.ByteString getSubnetworkBytes()
       The name of the subnetwork for the TPU node. It must be a preexisting
       Google Compute Engine subnetwork. If none is provided, "default" will be
       used.
       
      string subnetwork = 2;
      Returns:
      The bytes for subnetwork.
    • getEnableExternalIps

      boolean getEnableExternalIps()
       Indicates that external IP addresses would be associated with the TPU
       workers. If set to false, the specified subnetwork or network should have
       Private Google Access enabled.
       
      bool enable_external_ips = 3;
      Returns:
      The enableExternalIps.
    • getCanIpForward

      boolean getCanIpForward()
       Allows the TPU node to send and receive packets with non-matching
       destination or source IPs. This is required if you plan to use the TPU
       workers to forward routes.
       
      bool can_ip_forward = 4;
      Returns:
      The canIpForward.
    • getQueueCount

      int getQueueCount()
       Optional. Specifies networking queue count for TPU VM instance's network
       interface.
       
      int32 queue_count = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The queueCount.