Class InstanceConfig.Builder

  • All Implemented Interfaces:
    InstanceConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    InstanceConfig

    public static final class InstanceConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
    implements InstanceConfigOrBuilder
     Configuration parameters for a new instance.
     
    Protobuf type google.cloud.baremetalsolution.v2.InstanceConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • clear

        public InstanceConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • getDefaultInstanceForType

        public InstanceConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public InstanceConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public InstanceConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public InstanceConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • setField

        public InstanceConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • clearField

        public InstanceConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • clearOneof

        public InstanceConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • setRepeatedField

        public InstanceConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • addRepeatedField

        public InstanceConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • mergeFrom

        public InstanceConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • mergeFrom

        public InstanceConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>
        Throws:
        IOException
      • getName

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

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface InstanceConfigOrBuilder
        Returns:
        The bytes for name.
      • setName

        public InstanceConfig.Builder setName​(String value)
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public InstanceConfig.Builder clearName()
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public InstanceConfig.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the instance config.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getId

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

        public com.google.protobuf.ByteString getIdBytes()
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Specified by:
        getIdBytes in interface InstanceConfigOrBuilder
        Returns:
        The bytes for id.
      • setId

        public InstanceConfig.Builder setId​(String value)
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public InstanceConfig.Builder clearId()
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Returns:
        This builder for chaining.
      • setIdBytes

        public InstanceConfig.Builder setIdBytes​(com.google.protobuf.ByteString value)
         A transient unique identifier to idenfity an instance within an
         ProvisioningConfig request.
         
        string id = 2;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getInstanceType

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

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

        public InstanceConfig.Builder setInstanceType​(String value)
         Instance type.
         [Available
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string instance_type = 3;
        Parameters:
        value - The instanceType to set.
        Returns:
        This builder for chaining.
      • clearInstanceType

        public InstanceConfig.Builder clearInstanceType()
         Instance type.
         [Available
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string instance_type = 3;
        Returns:
        This builder for chaining.
      • setInstanceTypeBytes

        public InstanceConfig.Builder setInstanceTypeBytes​(com.google.protobuf.ByteString value)
         Instance type.
         [Available
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string instance_type = 3;
        Parameters:
        value - The bytes for instanceType to set.
        Returns:
        This builder for chaining.
      • getHyperthreading

        public boolean getHyperthreading()
         Whether the instance should be provisioned with Hyperthreading enabled.
         
        bool hyperthreading = 4;
        Specified by:
        getHyperthreading in interface InstanceConfigOrBuilder
        Returns:
        The hyperthreading.
      • setHyperthreading

        public InstanceConfig.Builder setHyperthreading​(boolean value)
         Whether the instance should be provisioned with Hyperthreading enabled.
         
        bool hyperthreading = 4;
        Parameters:
        value - The hyperthreading to set.
        Returns:
        This builder for chaining.
      • clearHyperthreading

        public InstanceConfig.Builder clearHyperthreading()
         Whether the instance should be provisioned with Hyperthreading enabled.
         
        bool hyperthreading = 4;
        Returns:
        This builder for chaining.
      • getOsImage

        public 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;
        Specified by:
        getOsImage in interface InstanceConfigOrBuilder
        Returns:
        The osImage.
      • getOsImageBytes

        public 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;
        Specified by:
        getOsImageBytes in interface InstanceConfigOrBuilder
        Returns:
        The bytes for osImage.
      • setOsImage

        public InstanceConfig.Builder setOsImage​(String value)
         OS image to initialize the instance.
         [Available
         images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string os_image = 5;
        Parameters:
        value - The osImage to set.
        Returns:
        This builder for chaining.
      • clearOsImage

        public InstanceConfig.Builder clearOsImage()
         OS image to initialize the instance.
         [Available
         images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string os_image = 5;
        Returns:
        This builder for chaining.
      • setOsImageBytes

        public InstanceConfig.Builder setOsImageBytes​(com.google.protobuf.ByteString value)
         OS image to initialize the instance.
         [Available
         images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string os_image = 5;
        Parameters:
        value - The bytes for osImage to set.
        Returns:
        This builder for chaining.
      • hasClientNetwork

        @Deprecated
        public 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];
        Specified by:
        hasClientNetwork in interface InstanceConfigOrBuilder
        Returns:
        Whether the clientNetwork field is set.
      • getClientNetwork

        @Deprecated
        public 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];
        Specified by:
        getClientNetwork in interface InstanceConfigOrBuilder
        Returns:
        The clientNetwork.
      • setClientNetwork

        @Deprecated
        public InstanceConfig.Builder setClientNetwork​(InstanceConfig.NetworkAddress value)
        Deprecated.
         Client network address. Filled if InstanceConfig.multivlan_config is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
      • mergeClientNetwork

        @Deprecated
        public InstanceConfig.Builder mergeClientNetwork​(InstanceConfig.NetworkAddress value)
        Deprecated.
         Client network address. Filled if InstanceConfig.multivlan_config is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
      • clearClientNetwork

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

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

        @Deprecated
        public 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];
        Specified by:
        hasPrivateNetwork in interface InstanceConfigOrBuilder
        Returns:
        Whether the privateNetwork field is set.
      • getPrivateNetwork

        @Deprecated
        public 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];
        Specified by:
        getPrivateNetwork in interface InstanceConfigOrBuilder
        Returns:
        The privateNetwork.
      • setPrivateNetwork

        @Deprecated
        public InstanceConfig.Builder setPrivateNetwork​(InstanceConfig.NetworkAddress value)
        Deprecated.
         Private network address, if any. Filled if InstanceConfig.multivlan_config
         is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
      • mergePrivateNetwork

        @Deprecated
        public InstanceConfig.Builder mergePrivateNetwork​(InstanceConfig.NetworkAddress value)
        Deprecated.
         Private network address, if any. Filled if InstanceConfig.multivlan_config
         is false.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
      • clearPrivateNetwork

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

        @Deprecated
        public InstanceConfig.NetworkAddress.Builder getPrivateNetworkBuilder()
        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

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

        public 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;
        Specified by:
        getUserNoteBytes in interface InstanceConfigOrBuilder
        Returns:
        The bytes for userNote.
      • setUserNote

        public InstanceConfig.Builder setUserNote​(String value)
         User note field, it can be used by customers to add additional information
         for the BMS Ops team .
         
        string user_note = 8;
        Parameters:
        value - The userNote to set.
        Returns:
        This builder for chaining.
      • clearUserNote

        public InstanceConfig.Builder clearUserNote()
         User note field, it can be used by customers to add additional information
         for the BMS Ops team .
         
        string user_note = 8;
        Returns:
        This builder for chaining.
      • setUserNoteBytes

        public InstanceConfig.Builder setUserNoteBytes​(com.google.protobuf.ByteString value)
         User note field, it can be used by customers to add additional information
         for the BMS Ops team .
         
        string user_note = 8;
        Parameters:
        value - The bytes for userNote to set.
        Returns:
        This builder for chaining.
      • getAccountNetworksEnabled

        public boolean getAccountNetworksEnabled()
         If true networks can be from different projects of the same vendor account.
         
        bool account_networks_enabled = 9;
        Specified by:
        getAccountNetworksEnabled in interface InstanceConfigOrBuilder
        Returns:
        The accountNetworksEnabled.
      • setAccountNetworksEnabled

        public InstanceConfig.Builder setAccountNetworksEnabled​(boolean value)
         If true networks can be from different projects of the same vendor account.
         
        bool account_networks_enabled = 9;
        Parameters:
        value - The accountNetworksEnabled to set.
        Returns:
        This builder for chaining.
      • clearAccountNetworksEnabled

        public InstanceConfig.Builder clearAccountNetworksEnabled()
         If true networks can be from different projects of the same vendor account.
         
        bool account_networks_enabled = 9;
        Returns:
        This builder for chaining.
      • getNetworkConfigValue

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

        public InstanceConfig.Builder setNetworkConfigValue​(int value)
         The type of network configuration on the instance.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
        Parameters:
        value - The enum numeric value on the wire for networkConfig to set.
        Returns:
        This builder for chaining.
      • setNetworkConfig

        public InstanceConfig.Builder setNetworkConfig​(InstanceConfig.NetworkConfig value)
         The type of network configuration on the instance.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
        Parameters:
        value - The networkConfig to set.
        Returns:
        This builder for chaining.
      • clearNetworkConfig

        public InstanceConfig.Builder clearNetworkConfig()
         The type of network configuration on the instance.
         
        .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
        Returns:
        This builder for chaining.
      • getNetworkTemplate

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

        public com.google.protobuf.ByteString getNetworkTemplateBytes()
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Specified by:
        getNetworkTemplateBytes in interface InstanceConfigOrBuilder
        Returns:
        The bytes for networkTemplate.
      • setNetworkTemplate

        public InstanceConfig.Builder setNetworkTemplate​(String value)
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Parameters:
        value - The networkTemplate to set.
        Returns:
        This builder for chaining.
      • clearNetworkTemplate

        public InstanceConfig.Builder clearNetworkTemplate()
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Returns:
        This builder for chaining.
      • setNetworkTemplateBytes

        public InstanceConfig.Builder setNetworkTemplateBytes​(com.google.protobuf.ByteString value)
         Server network template name. Filled if InstanceConfig.multivlan_config is
         true.
         
        string network_template = 11;
        Parameters:
        value - The bytes for networkTemplate to set.
        Returns:
        This builder for chaining.
      • getLogicalInterfacesList

        public 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;
        Specified by:
        getLogicalInterfacesList in interface InstanceConfigOrBuilder
      • getLogicalInterfacesCount

        public 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;
        Specified by:
        getLogicalInterfacesCount in interface InstanceConfigOrBuilder
      • getLogicalInterfaces

        public 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;
        Specified by:
        getLogicalInterfaces in interface InstanceConfigOrBuilder
      • setLogicalInterfaces

        public InstanceConfig.Builder setLogicalInterfaces​(int index,
                                                           LogicalInterface value)
         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;
      • setLogicalInterfaces

        public InstanceConfig.Builder setLogicalInterfaces​(int index,
                                                           LogicalInterface.Builder builderForValue)
         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;
      • addLogicalInterfaces

        public InstanceConfig.Builder addLogicalInterfaces​(LogicalInterface value)
         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;
      • addLogicalInterfaces

        public InstanceConfig.Builder addLogicalInterfaces​(int index,
                                                           LogicalInterface value)
         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;
      • addLogicalInterfaces

        public InstanceConfig.Builder addLogicalInterfaces​(LogicalInterface.Builder builderForValue)
         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;
      • addLogicalInterfaces

        public InstanceConfig.Builder addLogicalInterfaces​(int index,
                                                           LogicalInterface.Builder builderForValue)
         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;
      • addAllLogicalInterfaces

        public InstanceConfig.Builder addAllLogicalInterfaces​(Iterable<? extends LogicalInterface> values)
         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;
      • clearLogicalInterfaces

        public InstanceConfig.Builder clearLogicalInterfaces()
         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;
      • removeLogicalInterfaces

        public InstanceConfig.Builder removeLogicalInterfaces​(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;
      • getLogicalInterfacesBuilder

        public LogicalInterface.Builder getLogicalInterfacesBuilder​(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;
      • getLogicalInterfacesOrBuilder

        public 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;
        Specified by:
        getLogicalInterfacesOrBuilder in interface InstanceConfigOrBuilder
      • getLogicalInterfacesOrBuilderList

        public 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;
        Specified by:
        getLogicalInterfacesOrBuilderList in interface InstanceConfigOrBuilder
      • addLogicalInterfacesBuilder

        public LogicalInterface.Builder addLogicalInterfacesBuilder()
         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;
      • addLogicalInterfacesBuilder

        public LogicalInterface.Builder addLogicalInterfacesBuilder​(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;
      • getLogicalInterfacesBuilderList

        public List<LogicalInterface.Builder> getLogicalInterfacesBuilderList()
         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

        public com.google.protobuf.ProtocolStringList getSshKeyNamesList()
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Specified by:
        getSshKeyNamesList in interface InstanceConfigOrBuilder
        Returns:
        A list containing the sshKeyNames.
      • getSshKeyNamesCount

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

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

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

        public InstanceConfig.Builder setSshKeyNames​(int index,
                                                     String value)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        index - The index to set the value at.
        value - The sshKeyNames to set.
        Returns:
        This builder for chaining.
      • addSshKeyNames

        public InstanceConfig.Builder addSshKeyNames​(String value)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        value - The sshKeyNames to add.
        Returns:
        This builder for chaining.
      • addAllSshKeyNames

        public InstanceConfig.Builder addAllSshKeyNames​(Iterable<String> values)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        values - The sshKeyNames to add.
        Returns:
        This builder for chaining.
      • clearSshKeyNames

        public InstanceConfig.Builder clearSshKeyNames()
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Returns:
        This builder for chaining.
      • addSshKeyNamesBytes

        public InstanceConfig.Builder addSshKeyNamesBytes​(com.google.protobuf.ByteString value)
         List of names of ssh keys used to provision the instance.
         
        repeated string ssh_key_names = 13;
        Parameters:
        value - The bytes of the sshKeyNames to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final InstanceConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
      • mergeUnknownFields

        public final InstanceConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>