Class Network.Builder

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

    public static final class Network.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Network.Builder>
    implements NetworkOrBuilder
     A Network.
     
    Protobuf type google.cloud.baremetalsolution.v2.Network
    • 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<Network.Builder>
      • internalGetMutableMapField

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public String getName()
         Output only. The resource name of this `Network`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/networks/{network}`
         
        string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface NetworkOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of this `Network`.
         Resource names are schemeless URIs that follow the conventions in
         https://cloud.google.com/apis/design/resource_names.
         Format:
         `projects/{project}/locations/{location}/networks/{network}`
         
        string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface NetworkOrBuilder
        Returns:
        The bytes for name.
      • setName

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

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

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

        public String getId()
         An identifier for the `Network`, generated by the backend.
         
        string id = 10;
        Specified by:
        getId in interface NetworkOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         An identifier for the `Network`, generated by the backend.
         
        string id = 10;
        Specified by:
        getIdBytes in interface NetworkOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Network.Builder setId​(String value)
         An identifier for the `Network`, generated by the backend.
         
        string id = 10;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Network.Builder clearId()
         An identifier for the `Network`, generated by the backend.
         
        string id = 10;
        Returns:
        This builder for chaining.
      • setIdBytes

        public Network.Builder setIdBytes​(com.google.protobuf.ByteString value)
         An identifier for the `Network`, generated by the backend.
         
        string id = 10;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The type of this network.
         
        .google.cloud.baremetalsolution.v2.Network.Type type = 2;
        Specified by:
        getTypeValue in interface NetworkOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Network.Builder setTypeValue​(int value)
         The type of this network.
         
        .google.cloud.baremetalsolution.v2.Network.Type type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public Network.Type getType()
         The type of this network.
         
        .google.cloud.baremetalsolution.v2.Network.Type type = 2;
        Specified by:
        getType in interface NetworkOrBuilder
        Returns:
        The type.
      • setType

        public Network.Builder setType​(Network.Type value)
         The type of this network.
         
        .google.cloud.baremetalsolution.v2.Network.Type type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Network.Builder clearType()
         The type of this network.
         
        .google.cloud.baremetalsolution.v2.Network.Type type = 2;
        Returns:
        This builder for chaining.
      • getIpAddress

        public String getIpAddress()
         IP address configured.
         
        string ip_address = 3;
        Specified by:
        getIpAddress in interface NetworkOrBuilder
        Returns:
        The ipAddress.
      • getIpAddressBytes

        public com.google.protobuf.ByteString getIpAddressBytes()
         IP address configured.
         
        string ip_address = 3;
        Specified by:
        getIpAddressBytes in interface NetworkOrBuilder
        Returns:
        The bytes for ipAddress.
      • setIpAddress

        public Network.Builder setIpAddress​(String value)
         IP address configured.
         
        string ip_address = 3;
        Parameters:
        value - The ipAddress to set.
        Returns:
        This builder for chaining.
      • clearIpAddress

        public Network.Builder clearIpAddress()
         IP address configured.
         
        string ip_address = 3;
        Returns:
        This builder for chaining.
      • setIpAddressBytes

        public Network.Builder setIpAddressBytes​(com.google.protobuf.ByteString value)
         IP address configured.
         
        string ip_address = 3;
        Parameters:
        value - The bytes for ipAddress to set.
        Returns:
        This builder for chaining.
      • getMacAddressList

        public com.google.protobuf.ProtocolStringList getMacAddressList()
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Specified by:
        getMacAddressList in interface NetworkOrBuilder
        Returns:
        A list containing the macAddress.
      • getMacAddressCount

        public int getMacAddressCount()
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Specified by:
        getMacAddressCount in interface NetworkOrBuilder
        Returns:
        The count of macAddress.
      • getMacAddress

        public String getMacAddress​(int index)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Specified by:
        getMacAddress in interface NetworkOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The macAddress at the given index.
      • getMacAddressBytes

        public com.google.protobuf.ByteString getMacAddressBytes​(int index)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Specified by:
        getMacAddressBytes in interface NetworkOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the macAddress at the given index.
      • setMacAddress

        public Network.Builder setMacAddress​(int index,
                                             String value)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Parameters:
        index - The index to set the value at.
        value - The macAddress to set.
        Returns:
        This builder for chaining.
      • addMacAddress

        public Network.Builder addMacAddress​(String value)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Parameters:
        value - The macAddress to add.
        Returns:
        This builder for chaining.
      • addAllMacAddress

        public Network.Builder addAllMacAddress​(Iterable<String> values)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Parameters:
        values - The macAddress to add.
        Returns:
        This builder for chaining.
      • clearMacAddress

        public Network.Builder clearMacAddress()
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Returns:
        This builder for chaining.
      • addMacAddressBytes

        public Network.Builder addMacAddressBytes​(com.google.protobuf.ByteString value)
         List of physical interfaces.
         
        repeated string mac_address = 4;
        Parameters:
        value - The bytes of the macAddress to add.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         The Network state.
         
        .google.cloud.baremetalsolution.v2.Network.State state = 6;
        Specified by:
        getStateValue in interface NetworkOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Network.Builder setStateValue​(int value)
         The Network state.
         
        .google.cloud.baremetalsolution.v2.Network.State state = 6;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Network.State getState()
         The Network state.
         
        .google.cloud.baremetalsolution.v2.Network.State state = 6;
        Specified by:
        getState in interface NetworkOrBuilder
        Returns:
        The state.
      • setState

        public Network.Builder setState​(Network.State value)
         The Network state.
         
        .google.cloud.baremetalsolution.v2.Network.State state = 6;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Network.Builder clearState()
         The Network state.
         
        .google.cloud.baremetalsolution.v2.Network.State state = 6;
        Returns:
        This builder for chaining.
      • getVlanId

        public String getVlanId()
         The vlan id of the Network.
         
        string vlan_id = 7;
        Specified by:
        getVlanId in interface NetworkOrBuilder
        Returns:
        The vlanId.
      • getVlanIdBytes

        public com.google.protobuf.ByteString getVlanIdBytes()
         The vlan id of the Network.
         
        string vlan_id = 7;
        Specified by:
        getVlanIdBytes in interface NetworkOrBuilder
        Returns:
        The bytes for vlanId.
      • setVlanId

        public Network.Builder setVlanId​(String value)
         The vlan id of the Network.
         
        string vlan_id = 7;
        Parameters:
        value - The vlanId to set.
        Returns:
        This builder for chaining.
      • clearVlanId

        public Network.Builder clearVlanId()
         The vlan id of the Network.
         
        string vlan_id = 7;
        Returns:
        This builder for chaining.
      • setVlanIdBytes

        public Network.Builder setVlanIdBytes​(com.google.protobuf.ByteString value)
         The vlan id of the Network.
         
        string vlan_id = 7;
        Parameters:
        value - The bytes for vlanId to set.
        Returns:
        This builder for chaining.
      • getCidr

        public String getCidr()
         The cidr of the Network.
         
        string cidr = 8;
        Specified by:
        getCidr in interface NetworkOrBuilder
        Returns:
        The cidr.
      • getCidrBytes

        public com.google.protobuf.ByteString getCidrBytes()
         The cidr of the Network.
         
        string cidr = 8;
        Specified by:
        getCidrBytes in interface NetworkOrBuilder
        Returns:
        The bytes for cidr.
      • setCidr

        public Network.Builder setCidr​(String value)
         The cidr of the Network.
         
        string cidr = 8;
        Parameters:
        value - The cidr to set.
        Returns:
        This builder for chaining.
      • clearCidr

        public Network.Builder clearCidr()
         The cidr of the Network.
         
        string cidr = 8;
        Returns:
        This builder for chaining.
      • setCidrBytes

        public Network.Builder setCidrBytes​(com.google.protobuf.ByteString value)
         The cidr of the Network.
         
        string cidr = 8;
        Parameters:
        value - The bytes for cidr to set.
        Returns:
        This builder for chaining.
      • hasVrf

        public boolean hasVrf()
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
        Specified by:
        hasVrf in interface NetworkOrBuilder
        Returns:
        Whether the vrf field is set.
      • getVrf

        public VRF getVrf()
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
        Specified by:
        getVrf in interface NetworkOrBuilder
        Returns:
        The vrf.
      • setVrf

        public Network.Builder setVrf​(VRF value)
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
      • setVrf

        public Network.Builder setVrf​(VRF.Builder builderForValue)
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
      • mergeVrf

        public Network.Builder mergeVrf​(VRF value)
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
      • clearVrf

        public Network.Builder clearVrf()
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
      • getVrfBuilder

        public VRF.Builder getVrfBuilder()
         The vrf for the Network.
         
        .google.cloud.baremetalsolution.v2.VRF vrf = 9;
      • containsLabels

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

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

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

        public Network.Builder putLabels​(String key,
                                         String value)
         Labels as key value pairs.
         
        map<string, string> labels = 11;
      • getServicesCidr

        public String getServicesCidr()
         IP range for reserved for services (e.g. NFS).
         
        string services_cidr = 12;
        Specified by:
        getServicesCidr in interface NetworkOrBuilder
        Returns:
        The servicesCidr.
      • getServicesCidrBytes

        public com.google.protobuf.ByteString getServicesCidrBytes()
         IP range for reserved for services (e.g. NFS).
         
        string services_cidr = 12;
        Specified by:
        getServicesCidrBytes in interface NetworkOrBuilder
        Returns:
        The bytes for servicesCidr.
      • setServicesCidr

        public Network.Builder setServicesCidr​(String value)
         IP range for reserved for services (e.g. NFS).
         
        string services_cidr = 12;
        Parameters:
        value - The servicesCidr to set.
        Returns:
        This builder for chaining.
      • clearServicesCidr

        public Network.Builder clearServicesCidr()
         IP range for reserved for services (e.g. NFS).
         
        string services_cidr = 12;
        Returns:
        This builder for chaining.
      • setServicesCidrBytes

        public Network.Builder setServicesCidrBytes​(com.google.protobuf.ByteString value)
         IP range for reserved for services (e.g. NFS).
         
        string services_cidr = 12;
        Parameters:
        value - The bytes for servicesCidr to set.
        Returns:
        This builder for chaining.
      • getReservationsList

        public List<NetworkAddressReservation> getReservationsList()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
        Specified by:
        getReservationsList in interface NetworkOrBuilder
      • getReservationsCount

        public int getReservationsCount()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
        Specified by:
        getReservationsCount in interface NetworkOrBuilder
      • getReservations

        public NetworkAddressReservation getReservations​(int index)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
        Specified by:
        getReservations in interface NetworkOrBuilder
      • setReservations

        public Network.Builder setReservations​(int index,
                                               NetworkAddressReservation value)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • setReservations

        public Network.Builder setReservations​(int index,
                                               NetworkAddressReservation.Builder builderForValue)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addReservations

        public Network.Builder addReservations​(NetworkAddressReservation value)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addReservations

        public Network.Builder addReservations​(int index,
                                               NetworkAddressReservation value)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addReservations

        public Network.Builder addReservations​(NetworkAddressReservation.Builder builderForValue)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addReservations

        public Network.Builder addReservations​(int index,
                                               NetworkAddressReservation.Builder builderForValue)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addAllReservations

        public Network.Builder addAllReservations​(Iterable<? extends NetworkAddressReservation> values)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • clearReservations

        public Network.Builder clearReservations()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • removeReservations

        public Network.Builder removeReservations​(int index)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • getReservationsBuilder

        public NetworkAddressReservation.Builder getReservationsBuilder​(int index)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • getReservationsOrBuilder

        public NetworkAddressReservationOrBuilder getReservationsOrBuilder​(int index)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
        Specified by:
        getReservationsOrBuilder in interface NetworkOrBuilder
      • getReservationsOrBuilderList

        public List<? extends NetworkAddressReservationOrBuilder> getReservationsOrBuilderList()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
        Specified by:
        getReservationsOrBuilderList in interface NetworkOrBuilder
      • addReservationsBuilder

        public NetworkAddressReservation.Builder addReservationsBuilder()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • addReservationsBuilder

        public NetworkAddressReservation.Builder addReservationsBuilder​(int index)
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • getReservationsBuilderList

        public List<NetworkAddressReservation.Builder> getReservationsBuilderList()
         List of IP address reservations in this network.
         When updating this field, an error will be generated if a reservation
         conflicts with an IP address already allocated to a physical server.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
      • getPod

        public String getPod()
         Output only. Pod name.
         
        string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPod in interface NetworkOrBuilder
        Returns:
        The pod.
      • getPodBytes

        public com.google.protobuf.ByteString getPodBytes()
         Output only. Pod name.
         
        string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPodBytes in interface NetworkOrBuilder
        Returns:
        The bytes for pod.
      • setPod

        public Network.Builder setPod​(String value)
         Output only. Pod name.
         
        string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pod to set.
        Returns:
        This builder for chaining.
      • clearPod

        public Network.Builder clearPod()
         Output only. Pod name.
         
        string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPodBytes

        public Network.Builder setPodBytes​(com.google.protobuf.ByteString value)
         Output only. Pod name.
         
        string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for pod to set.
        Returns:
        This builder for chaining.
      • getMountPointsList

        public List<NetworkMountPoint> getMountPointsList()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getMountPointsList in interface NetworkOrBuilder
      • getMountPointsCount

        public int getMountPointsCount()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getMountPointsCount in interface NetworkOrBuilder
      • getMountPoints

        public NetworkMountPoint getMountPoints​(int index)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getMountPoints in interface NetworkOrBuilder
      • setMountPoints

        public Network.Builder setMountPoints​(int index,
                                              NetworkMountPoint value)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • setMountPoints

        public Network.Builder setMountPoints​(int index,
                                              NetworkMountPoint.Builder builderForValue)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addMountPoints

        public Network.Builder addMountPoints​(NetworkMountPoint value)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addMountPoints

        public Network.Builder addMountPoints​(int index,
                                              NetworkMountPoint value)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addMountPoints

        public Network.Builder addMountPoints​(NetworkMountPoint.Builder builderForValue)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addMountPoints

        public Network.Builder addMountPoints​(int index,
                                              NetworkMountPoint.Builder builderForValue)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addAllMountPoints

        public Network.Builder addAllMountPoints​(Iterable<? extends NetworkMountPoint> values)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • clearMountPoints

        public Network.Builder clearMountPoints()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • removeMountPoints

        public Network.Builder removeMountPoints​(int index)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • getMountPointsBuilder

        public NetworkMountPoint.Builder getMountPointsBuilder​(int index)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • getMountPointsOrBuilder

        public NetworkMountPointOrBuilder getMountPointsOrBuilder​(int index)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getMountPointsOrBuilder in interface NetworkOrBuilder
      • getMountPointsOrBuilderList

        public List<? extends NetworkMountPointOrBuilder> getMountPointsOrBuilderList()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
        Specified by:
        getMountPointsOrBuilderList in interface NetworkOrBuilder
      • addMountPointsBuilder

        public NetworkMountPoint.Builder addMountPointsBuilder()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • addMountPointsBuilder

        public NetworkMountPoint.Builder addMountPointsBuilder​(int index)
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • getMountPointsBuilderList

        public List<NetworkMountPoint.Builder> getMountPointsBuilderList()
         Input only. List of mount points to attach the network to.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkMountPoint mount_points = 15 [(.google.api.field_behavior) = INPUT_ONLY];
      • getJumboFramesEnabled

        public boolean getJumboFramesEnabled()
         Whether network uses standard frames or jumbo ones.
         
        bool jumbo_frames_enabled = 16;
        Specified by:
        getJumboFramesEnabled in interface NetworkOrBuilder
        Returns:
        The jumboFramesEnabled.
      • setJumboFramesEnabled

        public Network.Builder setJumboFramesEnabled​(boolean value)
         Whether network uses standard frames or jumbo ones.
         
        bool jumbo_frames_enabled = 16;
        Parameters:
        value - The jumboFramesEnabled to set.
        Returns:
        This builder for chaining.
      • clearJumboFramesEnabled

        public Network.Builder clearJumboFramesEnabled()
         Whether network uses standard frames or jumbo ones.
         
        bool jumbo_frames_enabled = 16;
        Returns:
        This builder for chaining.
      • getGatewayIp

        public String getGatewayIp()
         Output only. Gateway ip address.
         
        string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGatewayIp in interface NetworkOrBuilder
        Returns:
        The gatewayIp.
      • getGatewayIpBytes

        public com.google.protobuf.ByteString getGatewayIpBytes()
         Output only. Gateway ip address.
         
        string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGatewayIpBytes in interface NetworkOrBuilder
        Returns:
        The bytes for gatewayIp.
      • setGatewayIp

        public Network.Builder setGatewayIp​(String value)
         Output only. Gateway ip address.
         
        string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The gatewayIp to set.
        Returns:
        This builder for chaining.
      • clearGatewayIp

        public Network.Builder clearGatewayIp()
         Output only. Gateway ip address.
         
        string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setGatewayIpBytes

        public Network.Builder setGatewayIpBytes​(com.google.protobuf.ByteString value)
         Output only. Gateway ip address.
         
        string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for gatewayIp to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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