Interface Task.InfrastructureSpec.VpcNetworkOrBuilder

    • Method Detail

      • hasNetwork

        boolean hasNetwork()
         Optional. The Cloud VPC network in which the job is run. By default,
         the Cloud VPC network named Default within the project is used.
         
        string network = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the network field is set.
      • getNetwork

        String getNetwork()
         Optional. The Cloud VPC network in which the job is run. By default,
         the Cloud VPC network named Default within the project is used.
         
        string network = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The network.
      • getNetworkBytes

        com.google.protobuf.ByteString getNetworkBytes()
         Optional. The Cloud VPC network in which the job is run. By default,
         the Cloud VPC network named Default within the project is used.
         
        string network = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for network.
      • hasSubNetwork

        boolean hasSubNetwork()
         Optional. The Cloud VPC sub-network in which the job is run.
         
        string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the subNetwork field is set.
      • getSubNetwork

        String getSubNetwork()
         Optional. The Cloud VPC sub-network in which the job is run.
         
        string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The subNetwork.
      • getSubNetworkBytes

        com.google.protobuf.ByteString getSubNetworkBytes()
         Optional. The Cloud VPC sub-network in which the job is run.
         
        string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for subNetwork.
      • getNetworkTagsList

        List<String> getNetworkTagsList()
         Optional. List of network tags to apply to the job.
         
        repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the networkTags.
      • getNetworkTagsCount

        int getNetworkTagsCount()
         Optional. List of network tags to apply to the job.
         
        repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of networkTags.
      • getNetworkTags

        String getNetworkTags​(int index)
         Optional. List of network tags to apply to the job.
         
        repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The networkTags at the given index.
      • getNetworkTagsBytes

        com.google.protobuf.ByteString getNetworkTagsBytes​(int index)
         Optional. List of network tags to apply to the job.
         
        repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the networkTags at the given index.