Interface NetworkSpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Whether to enable public internet access.
    The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    com.google.protobuf.ByteString
    The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    The name of the subnet that this instance is in.
    com.google.protobuf.ByteString
    The name of the subnet that this instance is in.

    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

    • getEnableInternetAccess

      boolean getEnableInternetAccess()
       Whether to enable public internet access. Default false.
       
      bool enable_internet_access = 1;
      Returns:
      The enableInternetAccess.
    • getNetwork

      String getNetwork()
       The full name of the Google Compute Engine
       [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
       
      string network = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       The full name of the Google Compute Engine
       [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
       
      string network = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for network.
    • getSubnetwork

      String getSubnetwork()
       The name of the subnet that this instance is in.
       Format:
       `projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}`
       
      string subnetwork = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      com.google.protobuf.ByteString getSubnetworkBytes()
       The name of the subnet that this instance is in.
       Format:
       `projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}`
       
      string subnetwork = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for subnetwork.