Class Instance.Builder

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

    public static final class Instance.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
    implements InstanceOrBuilder
     A server.
     
    Protobuf type google.cloud.baremetalsolution.v2.Instance
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • internalGetFieldAccessorTable

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

        public Instance.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<Instance.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<Instance.Builder>
      • getDefaultInstanceForType

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

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

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

        public Instance.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<Instance.Builder>
      • setField

        public Instance.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<Instance.Builder>
      • clearField

        public Instance.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<Instance.Builder>
      • clearOneof

        public Instance.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<Instance.Builder>
      • setRepeatedField

        public Instance.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<Instance.Builder>
      • addRepeatedField

        public Instance.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<Instance.Builder>
      • mergeFrom

        public Instance.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<Instance.Builder>
      • isInitialized

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

        public Instance.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<Instance.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Immutable. The resource name of this `Instance`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/instances/{instance}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getName in interface InstanceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Immutable. The resource name of this `Instance`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/instances/{instance}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNameBytes in interface InstanceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Instance.Builder setName​(String value)
         Immutable. The resource name of this `Instance`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/instances/{instance}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Instance.Builder clearName()
         Immutable. The resource name of this `Instance`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/instances/{instance}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Instance.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Immutable. The resource name of this `Instance`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/instances/{instance}`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getId

        public String getId()
         Output only. An identifier for the `Instance`, generated by the backend.
         
        string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface InstanceOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Output only. An identifier for the `Instance`, generated by the backend.
         
        string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdBytes in interface InstanceOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Instance.Builder setId​(String value)
         Output only. An identifier for the `Instance`, generated by the backend.
         
        string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Instance.Builder clearId()
         Output only. An identifier for the `Instance`, generated by the backend.
         
        string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Instance.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Output only. An identifier for the `Instance`, generated by the backend.
         
        string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface InstanceOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface InstanceOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Instance.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Instance.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Instance.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Instance.Builder clearCreateTime()
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Create a time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface InstanceOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface InstanceOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface InstanceOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Instance.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Instance.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Instance.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Instance.Builder clearUpdateTime()
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Update a time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface InstanceOrBuilder
      • getMachineType

        public String getMachineType()
         Immutable. The server type.
         [Available server
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMachineType in interface InstanceOrBuilder
        Returns:
        The machineType.
      • getMachineTypeBytes

        public com.google.protobuf.ByteString getMachineTypeBytes()
         Immutable. The server type.
         [Available server
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getMachineTypeBytes in interface InstanceOrBuilder
        Returns:
        The bytes for machineType.
      • setMachineType

        public Instance.Builder setMachineType​(String value)
         Immutable. The server type.
         [Available server
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The machineType to set.
        Returns:
        This builder for chaining.
      • clearMachineType

        public Instance.Builder clearMachineType()
         Immutable. The server type.
         [Available server
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setMachineTypeBytes

        public Instance.Builder setMachineTypeBytes​(com.google.protobuf.ByteString value)
         Immutable. The server type.
         [Available server
         types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
         
        string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for machineType to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. The state of the server.
         
        .google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Instance.Builder setStateValue​(int value)
         Output only. The state of the server.
         
        .google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Instance.State getState()
         Output only. The state of the server.
         
        .google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface InstanceOrBuilder
        Returns:
        The state.
      • setState

        public Instance.Builder setState​(Instance.State value)
         Output only. The state of the server.
         
        .google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Instance.Builder clearState()
         Output only. The state of the server.
         
        .google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getHyperthreadingEnabled

        public boolean getHyperthreadingEnabled()
         True if you enable hyperthreading for the server, otherwise false.
         The default value is false.
         
        bool hyperthreading_enabled = 6;
        Specified by:
        getHyperthreadingEnabled in interface InstanceOrBuilder
        Returns:
        The hyperthreadingEnabled.
      • setHyperthreadingEnabled

        public Instance.Builder setHyperthreadingEnabled​(boolean value)
         True if you enable hyperthreading for the server, otherwise false.
         The default value is false.
         
        bool hyperthreading_enabled = 6;
        Parameters:
        value - The hyperthreadingEnabled to set.
        Returns:
        This builder for chaining.
      • clearHyperthreadingEnabled

        public Instance.Builder clearHyperthreadingEnabled()
         True if you enable hyperthreading for the server, otherwise false.
         The default value is false.
         
        bool hyperthreading_enabled = 6;
        Returns:
        This builder for chaining.
      • containsLabels

        public boolean containsLabels​(String key)
         Labels as key value pairs.
         
        map<string, string> labels = 7;
        Specified by:
        containsLabels in interface InstanceOrBuilder
      • removeLabels

        public Instance.Builder removeLabels​(String key)
         Labels as key value pairs.
         
        map<string, string> labels = 7;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • getLunsList

        public List<Lun> getLunsList()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLunsList in interface InstanceOrBuilder
      • getLunsCount

        public int getLunsCount()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLunsCount in interface InstanceOrBuilder
      • getLuns

        public Lun getLuns​(int index)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLuns in interface InstanceOrBuilder
      • setLuns

        public Instance.Builder setLuns​(int index,
                                        Lun value)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • setLuns

        public Instance.Builder setLuns​(int index,
                                        Lun.Builder builderForValue)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addLuns

        public Instance.Builder addLuns​(Lun value)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addLuns

        public Instance.Builder addLuns​(int index,
                                        Lun value)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addLuns

        public Instance.Builder addLuns​(Lun.Builder builderForValue)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addLuns

        public Instance.Builder addLuns​(int index,
                                        Lun.Builder builderForValue)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addAllLuns

        public Instance.Builder addAllLuns​(Iterable<? extends Lun> values)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • clearLuns

        public Instance.Builder clearLuns()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • removeLuns

        public Instance.Builder removeLuns​(int index)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • getLunsBuilder

        public Lun.Builder getLunsBuilder​(int index)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • getLunsOrBuilder

        public LunOrBuilder getLunsOrBuilder​(int index)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLunsOrBuilder in interface InstanceOrBuilder
      • getLunsOrBuilderList

        public List<? extends LunOrBuilder> getLunsOrBuilderList()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLunsOrBuilderList in interface InstanceOrBuilder
      • addLunsBuilder

        public Lun.Builder addLunsBuilder()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • addLunsBuilder

        public Lun.Builder addLunsBuilder​(int index)
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • getLunsBuilderList

        public List<Lun.Builder> getLunsBuilderList()
         Immutable. List of LUNs associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
      • getVolumesList

        public List<Volume> getVolumesList()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getVolumesList in interface InstanceOrBuilder
      • getVolumesCount

        public int getVolumesCount()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getVolumesCount in interface InstanceOrBuilder
      • getVolumes

        public Volume getVolumes​(int index)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getVolumes in interface InstanceOrBuilder
      • setVolumes

        public Instance.Builder setVolumes​(int index,
                                           Volume value)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • setVolumes

        public Instance.Builder setVolumes​(int index,
                                           Volume.Builder builderForValue)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addVolumes

        public Instance.Builder addVolumes​(Volume value)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addVolumes

        public Instance.Builder addVolumes​(int index,
                                           Volume value)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addVolumes

        public Instance.Builder addVolumes​(Volume.Builder builderForValue)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addVolumes

        public Instance.Builder addVolumes​(int index,
                                           Volume.Builder builderForValue)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addAllVolumes

        public Instance.Builder addAllVolumes​(Iterable<? extends Volume> values)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • clearVolumes

        public Instance.Builder clearVolumes()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • removeVolumes

        public Instance.Builder removeVolumes​(int index)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • getVolumesBuilder

        public Volume.Builder getVolumesBuilder​(int index)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • getVolumesOrBuilder

        public VolumeOrBuilder getVolumesOrBuilder​(int index)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getVolumesOrBuilder in interface InstanceOrBuilder
      • getVolumesOrBuilderList

        public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getVolumesOrBuilderList in interface InstanceOrBuilder
      • addVolumesBuilder

        public Volume.Builder addVolumesBuilder()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • addVolumesBuilder

        public Volume.Builder addVolumesBuilder​(int index)
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • getVolumesBuilderList

        public List<Volume.Builder> getVolumesBuilderList()
         Input only. List of Volumes to attach to this Instance on creation.
         This field won't be populated in Get/List responses.
         
        repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
      • getNetworksList

        public List<Network> getNetworksList()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworksList in interface InstanceOrBuilder
      • getNetworksCount

        public int getNetworksCount()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworksCount in interface InstanceOrBuilder
      • getNetworks

        public Network getNetworks​(int index)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworks in interface InstanceOrBuilder
      • setNetworks

        public Instance.Builder setNetworks​(int index,
                                            Network value)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setNetworks

        public Instance.Builder setNetworks​(int index,
                                            Network.Builder builderForValue)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addNetworks

        public Instance.Builder addNetworks​(Network value)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addNetworks

        public Instance.Builder addNetworks​(int index,
                                            Network value)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addNetworks

        public Instance.Builder addNetworks​(Network.Builder builderForValue)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addNetworks

        public Instance.Builder addNetworks​(int index,
                                            Network.Builder builderForValue)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllNetworks

        public Instance.Builder addAllNetworks​(Iterable<? extends Network> values)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearNetworks

        public Instance.Builder clearNetworks()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeNetworks

        public Instance.Builder removeNetworks​(int index)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNetworksBuilder

        public Network.Builder getNetworksBuilder​(int index)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNetworksOrBuilder

        public NetworkOrBuilder getNetworksOrBuilder​(int index)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworksOrBuilder in interface InstanceOrBuilder
      • getNetworksOrBuilderList

        public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNetworksOrBuilderList in interface InstanceOrBuilder
      • addNetworksBuilder

        public Network.Builder addNetworksBuilder()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addNetworksBuilder

        public Network.Builder addNetworksBuilder​(int index)
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNetworksBuilderList

        public List<Network.Builder> getNetworksBuilderList()
         Output only. List of networks associated with this server.
         
        repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getInteractiveSerialConsoleEnabled

        public boolean getInteractiveSerialConsoleEnabled()
         Output only. True if the interactive serial console feature is enabled for
         the instance, false otherwise. The default value is false.
         
        bool interactive_serial_console_enabled = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInteractiveSerialConsoleEnabled in interface InstanceOrBuilder
        Returns:
        The interactiveSerialConsoleEnabled.
      • setInteractiveSerialConsoleEnabled

        public Instance.Builder setInteractiveSerialConsoleEnabled​(boolean value)
         Output only. True if the interactive serial console feature is enabled for
         the instance, false otherwise. The default value is false.
         
        bool interactive_serial_console_enabled = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The interactiveSerialConsoleEnabled to set.
        Returns:
        This builder for chaining.
      • clearInteractiveSerialConsoleEnabled

        public Instance.Builder clearInteractiveSerialConsoleEnabled()
         Output only. True if the interactive serial console feature is enabled for
         the instance, false otherwise. The default value is false.
         
        bool interactive_serial_console_enabled = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getOsImage

        public String getOsImage()
         The OS image currently installed on the server.
         
        string os_image = 12;
        Specified by:
        getOsImage in interface InstanceOrBuilder
        Returns:
        The osImage.
      • getOsImageBytes

        public com.google.protobuf.ByteString getOsImageBytes()
         The OS image currently installed on the server.
         
        string os_image = 12;
        Specified by:
        getOsImageBytes in interface InstanceOrBuilder
        Returns:
        The bytes for osImage.
      • setOsImage

        public Instance.Builder setOsImage​(String value)
         The OS image currently installed on the server.
         
        string os_image = 12;
        Parameters:
        value - The osImage to set.
        Returns:
        This builder for chaining.
      • clearOsImage

        public Instance.Builder clearOsImage()
         The OS image currently installed on the server.
         
        string os_image = 12;
        Returns:
        This builder for chaining.
      • setOsImageBytes

        public Instance.Builder setOsImageBytes​(com.google.protobuf.ByteString value)
         The OS image currently installed on the server.
         
        string os_image = 12;
        Parameters:
        value - The bytes for osImage to set.
        Returns:
        This builder for chaining.
      • getPod

        public String getPod()
         Immutable. Pod name.
         Pod is an independent part of infrastructure.
         Instance can be connected to the assets (networks, volumes) allocated
         in the same pod only.
         
        string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getPod in interface InstanceOrBuilder
        Returns:
        The pod.
      • getPodBytes

        public com.google.protobuf.ByteString getPodBytes()
         Immutable. Pod name.
         Pod is an independent part of infrastructure.
         Instance can be connected to the assets (networks, volumes) allocated
         in the same pod only.
         
        string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getPodBytes in interface InstanceOrBuilder
        Returns:
        The bytes for pod.
      • setPod

        public Instance.Builder setPod​(String value)
         Immutable. Pod name.
         Pod is an independent part of infrastructure.
         Instance can be connected to the assets (networks, volumes) allocated
         in the same pod only.
         
        string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The pod to set.
        Returns:
        This builder for chaining.
      • clearPod

        public Instance.Builder clearPod()
         Immutable. Pod name.
         Pod is an independent part of infrastructure.
         Instance can be connected to the assets (networks, volumes) allocated
         in the same pod only.
         
        string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setPodBytes

        public Instance.Builder setPodBytes​(com.google.protobuf.ByteString value)
         Immutable. Pod name.
         Pod is an independent part of infrastructure.
         Instance can be connected to the assets (networks, volumes) allocated
         in the same pod only.
         
        string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for pod to set.
        Returns:
        This builder for chaining.
      • getNetworkTemplate

        public String getNetworkTemplate()
         Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
         Generally, the template name follows the syntax of
         "bond<bond_mode>" or "nic".
         
        string network_template = 14 [(.google.api.resource_reference) = { ... }
        Specified by:
        getNetworkTemplate in interface InstanceOrBuilder
        Returns:
        The networkTemplate.
      • getNetworkTemplateBytes

        public com.google.protobuf.ByteString getNetworkTemplateBytes()
         Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
         Generally, the template name follows the syntax of
         "bond<bond_mode>" or "nic".
         
        string network_template = 14 [(.google.api.resource_reference) = { ... }
        Specified by:
        getNetworkTemplateBytes in interface InstanceOrBuilder
        Returns:
        The bytes for networkTemplate.
      • setNetworkTemplate

        public Instance.Builder setNetworkTemplate​(String value)
         Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
         Generally, the template name follows the syntax of
         "bond<bond_mode>" or "nic".
         
        string network_template = 14 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The networkTemplate to set.
        Returns:
        This builder for chaining.
      • clearNetworkTemplate

        public Instance.Builder clearNetworkTemplate()
         Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
         Generally, the template name follows the syntax of
         "bond<bond_mode>" or "nic".
         
        string network_template = 14 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNetworkTemplateBytes

        public Instance.Builder setNetworkTemplateBytes​(com.google.protobuf.ByteString value)
         Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
         Generally, the template name follows the syntax of
         "bond<bond_mode>" or "nic".
         
        string network_template = 14 [(.google.api.resource_reference) = { ... }
        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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
        Specified by:
        getLogicalInterfacesList in interface InstanceOrBuilder
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
        Specified by:
        getLogicalInterfacesCount in interface InstanceOrBuilder
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
        Specified by:
        getLogicalInterfaces in interface InstanceOrBuilder
      • setLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • setLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • addLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • addLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • addLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • addLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • addAllLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • clearLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • removeLogicalInterfaces

        public Instance.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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
        Specified by:
        getLogicalInterfacesOrBuilder in interface InstanceOrBuilder
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
        Specified by:
        getLogicalInterfacesOrBuilderList in interface InstanceOrBuilder
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • 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. For the non-multivlan configurations (for eg, existing
         servers) that use existing default network template (bondaa-bondaa), both
         the Instance.networks field and the Instance.logical_interfaces fields will
         be filled to ensure backward compatibility. For the others, only
         Instance.logical_interfaces will be filled.
         
        repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
      • getLoginInfo

        public String getLoginInfo()
         Output only. Text field about info for logging in.
         
        string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLoginInfo in interface InstanceOrBuilder
        Returns:
        The loginInfo.
      • getLoginInfoBytes

        public com.google.protobuf.ByteString getLoginInfoBytes()
         Output only. Text field about info for logging in.
         
        string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLoginInfoBytes in interface InstanceOrBuilder
        Returns:
        The bytes for loginInfo.
      • setLoginInfo

        public Instance.Builder setLoginInfo​(String value)
         Output only. Text field about info for logging in.
         
        string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The loginInfo to set.
        Returns:
        This builder for chaining.
      • clearLoginInfo

        public Instance.Builder clearLoginInfo()
         Output only. Text field about info for logging in.
         
        string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLoginInfoBytes

        public Instance.Builder setLoginInfoBytes​(com.google.protobuf.ByteString value)
         Output only. Text field about info for logging in.
         
        string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for loginInfo to set.
        Returns:
        This builder for chaining.
      • getWorkloadProfileValue

        public int getWorkloadProfileValue()
         The workload profile for the instance.
         
        .google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
        Specified by:
        getWorkloadProfileValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for workloadProfile.
      • setWorkloadProfileValue

        public Instance.Builder setWorkloadProfileValue​(int value)
         The workload profile for the instance.
         
        .google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
        Parameters:
        value - The enum numeric value on the wire for workloadProfile to set.
        Returns:
        This builder for chaining.
      • getWorkloadProfile

        public WorkloadProfile getWorkloadProfile()
         The workload profile for the instance.
         
        .google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
        Specified by:
        getWorkloadProfile in interface InstanceOrBuilder
        Returns:
        The workloadProfile.
      • setWorkloadProfile

        public Instance.Builder setWorkloadProfile​(WorkloadProfile value)
         The workload profile for the instance.
         
        .google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
        Parameters:
        value - The workloadProfile to set.
        Returns:
        This builder for chaining.
      • clearWorkloadProfile

        public Instance.Builder clearWorkloadProfile()
         The workload profile for the instance.
         
        .google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
        Returns:
        This builder for chaining.
      • getFirmwareVersion

        public String getFirmwareVersion()
         Output only. The firmware version for the instance.
         
        string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFirmwareVersion in interface InstanceOrBuilder
        Returns:
        The firmwareVersion.
      • getFirmwareVersionBytes

        public com.google.protobuf.ByteString getFirmwareVersionBytes()
         Output only. The firmware version for the instance.
         
        string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFirmwareVersionBytes in interface InstanceOrBuilder
        Returns:
        The bytes for firmwareVersion.
      • setFirmwareVersion

        public Instance.Builder setFirmwareVersion​(String value)
         Output only. The firmware version for the instance.
         
        string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The firmwareVersion to set.
        Returns:
        This builder for chaining.
      • clearFirmwareVersion

        public Instance.Builder clearFirmwareVersion()
         Output only. The firmware version for the instance.
         
        string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setFirmwareVersionBytes

        public Instance.Builder setFirmwareVersionBytes​(com.google.protobuf.ByteString value)
         Output only. The firmware version for the instance.
         
        string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for firmwareVersion to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Instance.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<Instance.Builder>
      • mergeUnknownFields

        public final Instance.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<Instance.Builder>