Interface InstanceConfigOrBuilder

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

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

      • getName

        String getName()
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getId

        String getId()
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Returns:
        The bytes for id.
      • getInstanceType

        String getInstanceType()
         Instance type.
         [Available
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string instance_type = 3;
        Returns:
        The instanceType.
      • getInstanceTypeBytes

        com.google.protobuf.ByteString getInstanceTypeBytes()
         Instance type.
         [Available
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string instance_type = 3;
        Returns:
        The bytes for instanceType.
      • getHyperthreading

        boolean getHyperthreading()
         Whether the instance should be provisioned with Hyperthreading enabled.
         
        bool hyperthreading = 4;
        Returns:
        The hyperthreading.
      • getOsImage

        String getOsImage()
         OS image to initialize the instance.
         [Available
         images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string os_image = 5;
        Returns:
        The osImage.
      • getOsImageBytes

        com.google.protobuf.ByteString getOsImageBytes()
         OS image to initialize the instance.
         [Available
         images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string os_image = 5;
        Returns:
        The bytes for osImage.
      • hasClientNetwork

        @Deprecated
        boolean hasClientNetwork()
        Deprecated.
        google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283
         Client network address. Filled if InstanceConfig.multivlan_config is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
        Returns:
        Whether the clientNetwork field is set.
      • getClientNetwork

        @Deprecated
        InstanceConfig.NetworkAddress getClientNetwork()
        Deprecated.
        google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283
         Client network address. Filled if InstanceConfig.multivlan_config is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
        Returns:
        The clientNetwork.
      • getClientNetworkOrBuilder

        @Deprecated
        InstanceConfig.NetworkAddressOrBuilder getClientNetworkOrBuilder()
        Deprecated.
         Client network address. Filled if InstanceConfig.multivlan_config is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
      • hasPrivateNetwork

        @Deprecated
        boolean hasPrivateNetwork()
        Deprecated.
        google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287
         Private network address, if any. Filled if InstanceConfig.multivlan_config
         is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
        Returns:
        Whether the privateNetwork field is set.
      • getPrivateNetwork

        @Deprecated
        InstanceConfig.NetworkAddress getPrivateNetwork()
        Deprecated.
        google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287
         Private network address, if any. Filled if InstanceConfig.multivlan_config
         is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
        Returns:
        The privateNetwork.
      • getPrivateNetworkOrBuilder

        @Deprecated
        InstanceConfig.NetworkAddressOrBuilder getPrivateNetworkOrBuilder()
        Deprecated.
         Private network address, if any. Filled if InstanceConfig.multivlan_config
         is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
      • getUserNote

        String getUserNote()
         User note field, it can be used by customers to add additional information
         for the BMS Ops team .
         
        string user_note = 8;
        Returns:
        The userNote.
      • getUserNoteBytes

        com.google.protobuf.ByteString getUserNoteBytes()
         User note field, it can be used by customers to add additional information
         for the BMS Ops team .
         
        string user_note = 8;
        Returns:
        The bytes for userNote.
      • getAccountNetworksEnabled

        boolean getAccountNetworksEnabled()
         If true networks can be from different projects of the same vendor account.
         
        bool account_networks_enabled = 9;
        Returns:
        The accountNetworksEnabled.
      • getNetworkConfigValue

        int getNetworkConfigValue()
         The type of network configuration on the instance.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
        Returns:
        The enum numeric value on the wire for networkConfig.
      • getNetworkConfig

        InstanceConfig.NetworkConfig getNetworkConfig()
         The type of network configuration on the instance.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
        Returns:
        The networkConfig.
      • getNetworkTemplate

        String getNetworkTemplate()
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Returns:
        The networkTemplate.
      • getNetworkTemplateBytes

        com.google.protobuf.ByteString getNetworkTemplateBytes()
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Returns:
        The bytes for networkTemplate.
      • getLogicalInterfacesList

        List<LogicalInterface> getLogicalInterfacesList()
         List of logical interfaces for the instance. The number of logical
         interfaces will be the same as number of hardware bond/nic on the chosen
         network template. Filled if InstanceConfig.multivlan_config is true.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
      • getLogicalInterfaces

        LogicalInterface getLogicalInterfaces​(int index)
         List of logical interfaces for the instance. The number of logical
         interfaces will be the same as number of hardware bond/nic on the chosen
         network template. Filled if InstanceConfig.multivlan_config is true.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
      • getLogicalInterfacesCount

        int getLogicalInterfacesCount()
         List of logical interfaces for the instance. The number of logical
         interfaces will be the same as number of hardware bond/nic on the chosen
         network template. Filled if InstanceConfig.multivlan_config is true.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
      • getLogicalInterfacesOrBuilderList

        List<? extends LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
         List of logical interfaces for the instance. The number of logical
         interfaces will be the same as number of hardware bond/nic on the chosen
         network template. Filled if InstanceConfig.multivlan_config is true.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
      • getLogicalInterfacesOrBuilder

        LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder​(int index)
         List of logical interfaces for the instance. The number of logical
         interfaces will be the same as number of hardware bond/nic on the chosen
         network template. Filled if InstanceConfig.multivlan_config is true.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
      • getSshKeyNamesList

        List<String> getSshKeyNamesList()
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Returns:
        A list containing the sshKeyNames.
      • getSshKeyNamesCount

        int getSshKeyNamesCount()
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Returns:
        The count of sshKeyNames.
      • getSshKeyNames

        String getSshKeyNames​(int index)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        index - The index of the element to return.
        Returns:
        The sshKeyNames at the given index.
      • getSshKeyNamesBytes

        com.google.protobuf.ByteString getSshKeyNamesBytes​(int index)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sshKeyNames at the given index.