Interface ServerNetworkTemplateOrBuilder

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

    public interface ServerNetworkTemplateOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. Template's unique name. The full resource name follows the
         pattern:
         `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
         Generally, the {server_network_template} follows the syntax of
         "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Template's unique name. The full resource name follows the
         pattern:
         `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
         Generally, the {server_network_template} follows the syntax of
         "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getApplicableInstanceTypesList

        List<String> getApplicableInstanceTypesList()
         Instance types this template is applicable to.
         
        repeated string applicable_instance_types = 2;
        Returns:
        A list containing the applicableInstanceTypes.
      • getApplicableInstanceTypesCount

        int getApplicableInstanceTypesCount()
         Instance types this template is applicable to.
         
        repeated string applicable_instance_types = 2;
        Returns:
        The count of applicableInstanceTypes.
      • getApplicableInstanceTypes

        String getApplicableInstanceTypes​(int index)
         Instance types this template is applicable to.
         
        repeated string applicable_instance_types = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The applicableInstanceTypes at the given index.
      • getApplicableInstanceTypesBytes

        com.google.protobuf.ByteString getApplicableInstanceTypesBytes​(int index)
         Instance types this template is applicable to.
         
        repeated string applicable_instance_types = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the applicableInstanceTypes at the given index.
      • getLogicalInterfacesList

        List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()
         Logical interfaces.
         
        repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
      • getLogicalInterfaces

        ServerNetworkTemplate.LogicalInterface getLogicalInterfaces​(int index)
         Logical interfaces.
         
        repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
      • getLogicalInterfacesCount

        int getLogicalInterfacesCount()
         Logical interfaces.
         
        repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
      • getLogicalInterfacesOrBuilderList

        List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
         Logical interfaces.
         
        repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
      • getLogicalInterfacesOrBuilder

        ServerNetworkTemplate.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder​(int index)
         Logical interfaces.
         
        repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;