- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class Network.Builder extends GeneratedMessageV3.Builder<Network.Builder> implements NetworkOrBuilder
A Network.
Protobuf type google.cloud.baremetalsolution.v2.Network
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Network.BuilderImplements
NetworkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMacAddress(Iterable<String> values)
public Network.Builder addAllMacAddress(Iterable<String> values)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
values | Iterable<String> The macAddress to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addAllReservations(Iterable<? extends NetworkAddressReservation> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.baremetalsolution.v2.NetworkAddressReservation> |
Type | Description |
Network.Builder |
addMacAddress(String value)
public Network.Builder addMacAddress(String value)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
value | String The macAddress to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addMacAddressBytes(ByteString value)
public Network.Builder addMacAddressBytes(ByteString value)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
value | ByteString The bytes of the macAddress to add. |
Type | Description |
Network.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Network.Builder |
addReservations(NetworkAddressReservation value)
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;
Name | Description |
value | NetworkAddressReservation |
Type | Description |
Network.Builder |
addReservations(NetworkAddressReservation.Builder builderForValue)
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;
Name | Description |
builderForValue | NetworkAddressReservation.Builder |
Type | Description |
Network.Builder |
addReservations(int index, NetworkAddressReservation value)
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;
Name | Description |
index | int |
value | NetworkAddressReservation |
Type | Description |
Network.Builder |
addReservations(int index, NetworkAddressReservation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | NetworkAddressReservation.Builder |
Type | Description |
Network.Builder |
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;
Type | Description |
NetworkAddressReservation.Builder |
addReservationsBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
NetworkAddressReservation.Builder |
build()
public Network build()
Type | Description |
Network |
buildPartial()
public Network buildPartial()
Type | Description |
Network |
clear()
public Network.Builder clear()
Type | Description |
Network.Builder |
clearCidr()
public Network.Builder clearCidr()
The cidr of the Network.
string cidr = 8;
Type | Description |
Network.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Network.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Network.Builder |
clearId()
public Network.Builder clearId()
An identifier for the Network
, generated by the backend.
string id = 10;
Type | Description |
Network.Builder | This builder for chaining. |
clearIpAddress()
public Network.Builder clearIpAddress()
IP address configured.
string ip_address = 3;
Type | Description |
Network.Builder | This builder for chaining. |
clearLabels()
public Network.Builder clearLabels()
Type | Description |
Network.Builder |
clearMacAddress()
public Network.Builder clearMacAddress()
List of physical interfaces.
repeated string mac_address = 4;
Type | Description |
Network.Builder | 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];
Type | Description |
Network.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Network.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Network.Builder |
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;
Type | Description |
Network.Builder |
clearServicesCidr()
public Network.Builder clearServicesCidr()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Type | Description |
Network.Builder | This builder for chaining. |
clearState()
public Network.Builder clearState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Type | Description |
Network.Builder | This builder for chaining. |
clearType()
public Network.Builder clearType()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Type | Description |
Network.Builder | This builder for chaining. |
clearVlanId()
public Network.Builder clearVlanId()
The vlan id of the Network.
string vlan_id = 7;
Type | Description |
Network.Builder | This builder for chaining. |
clearVrf()
public Network.Builder clearVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
Network.Builder |
clone()
public Network.Builder clone()
Type | Description |
Network.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
Type | Description |
boolean |
getCidr()
public String getCidr()
The cidr of the Network.
string cidr = 8;
Type | Description |
String | The cidr. |
getCidrBytes()
public ByteString getCidrBytes()
The cidr of the Network.
string cidr = 8;
Type | Description |
ByteString | The bytes for cidr. |
getDefaultInstanceForType()
public Network getDefaultInstanceForType()
Type | Description |
Network |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public String getId()
An identifier for the Network
, generated by the backend.
string id = 10;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 10;
Type | Description |
ByteString | The bytes for id. |
getIpAddress()
public String getIpAddress()
IP address configured.
string ip_address = 3;
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address configured.
string ip_address = 3;
Type | Description |
ByteString | The bytes for ipAddress. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
Type | Description |
String |
getMacAddress(int index)
public String getMacAddress(int index)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The macAddress at the given index. |
getMacAddressBytes(int index)
public ByteString getMacAddressBytes(int index)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the macAddress at the given index. |
getMacAddressCount()
public int getMacAddressCount()
List of physical interfaces.
repeated string mac_address = 4;
Type | Description |
int | The count of macAddress. |
getMacAddressList()
public ProtocolStringList getMacAddressList()
List of physical interfaces.
repeated string mac_address = 4;
Type | Description |
ProtocolStringList | A list containing the macAddress. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getReservations(int index)
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;
Name | Description |
index | int |
Type | Description |
NetworkAddressReservation |
getReservationsBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
NetworkAddressReservation.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<NetworkAddressReservation> |
getReservationsOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
NetworkAddressReservationOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.NetworkAddressReservationOrBuilder> |
getServicesCidr()
public String getServicesCidr()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Type | Description |
String | The servicesCidr. |
getServicesCidrBytes()
public ByteString getServicesCidrBytes()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Type | Description |
ByteString | The bytes for servicesCidr. |
getState()
public Network.State getState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Type | Description |
Network.State | The state. |
getStateValue()
public int getStateValue()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Type | Description |
int | The enum numeric value on the wire for state. |
getType()
public Network.Type getType()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Type | Description |
Network.Type | The type. |
getTypeValue()
public int getTypeValue()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Type | Description |
int | The enum numeric value on the wire for type. |
getVlanId()
public String getVlanId()
The vlan id of the Network.
string vlan_id = 7;
Type | Description |
String | The vlanId. |
getVlanIdBytes()
public ByteString getVlanIdBytes()
The vlan id of the Network.
string vlan_id = 7;
Type | Description |
ByteString | The bytes for vlanId. |
getVrf()
public VRF getVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
VRF | The vrf. |
getVrfBuilder()
public VRF.Builder getVrfBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
VRF.Builder |
getVrfOrBuilder()
public VRFOrBuilder getVrfOrBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
VRFOrBuilder |
hasVrf()
public boolean hasVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
boolean | Whether the vrf field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Network other)
public Network.Builder mergeFrom(Network other)
Name | Description |
other | Network |
Type | Description |
Network.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Network.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Network.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Network.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Network.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Network.Builder |
mergeVrf(VRF value)
public Network.Builder mergeVrf(VRF value)
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Name | Description |
value | VRF |
Type | Description |
Network.Builder |
putAllLabels(Map<String,String> values)
public Network.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
values | Map<String,String> |
Type | Description |
Network.Builder |
putLabels(String key, String value)
public Network.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
value | String |
Type | Description |
Network.Builder |
removeLabels(String key)
public Network.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
Type | Description |
Network.Builder |
removeReservations(int index)
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;
Name | Description |
index | int |
Type | Description |
Network.Builder |
setCidr(String value)
public Network.Builder setCidr(String value)
The cidr of the Network.
string cidr = 8;
Name | Description |
value | String The cidr to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setCidrBytes(ByteString value)
public Network.Builder setCidrBytes(ByteString value)
The cidr of the Network.
string cidr = 8;
Name | Description |
value | ByteString The bytes for cidr to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Network.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Network.Builder |
setId(String value)
public Network.Builder setId(String value)
An identifier for the Network
, generated by the backend.
string id = 10;
Name | Description |
value | String The id to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Network.Builder setIdBytes(ByteString value)
An identifier for the Network
, generated by the backend.
string id = 10;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setIpAddress(String value)
public Network.Builder setIpAddress(String value)
IP address configured.
string ip_address = 3;
Name | Description |
value | String The ipAddress to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setIpAddressBytes(ByteString value)
public Network.Builder setIpAddressBytes(ByteString value)
IP address configured.
string ip_address = 3;
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setMacAddress(int index, String value)
public Network.Builder setMacAddress(int index, String value)
List of physical interfaces.
repeated string mac_address = 4;
Name | Description |
index | int The index to set the value at. |
value | String The macAddress to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setName(String value)
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];
Name | Description |
value | String The name to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Network.Builder setNameBytes(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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Network.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Network.Builder |
setReservations(int index, NetworkAddressReservation value)
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;
Name | Description |
index | int |
value | NetworkAddressReservation |
Type | Description |
Network.Builder |
setReservations(int index, NetworkAddressReservation.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | NetworkAddressReservation.Builder |
Type | Description |
Network.Builder |
setServicesCidr(String value)
public Network.Builder setServicesCidr(String value)
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Name | Description |
value | String The servicesCidr to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setServicesCidrBytes(ByteString value)
public Network.Builder setServicesCidrBytes(ByteString value)
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Name | Description |
value | ByteString The bytes for servicesCidr to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setState(Network.State value)
public Network.Builder setState(Network.State value)
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Name | Description |
value | Network.State The state to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setStateValue(int value)
public Network.Builder setStateValue(int value)
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setType(Network.Type value)
public Network.Builder setType(Network.Type value)
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Name | Description |
value | Network.Type The type to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setTypeValue(int value)
public Network.Builder setTypeValue(int value)
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Network.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Network.Builder |
setVlanId(String value)
public Network.Builder setVlanId(String value)
The vlan id of the Network.
string vlan_id = 7;
Name | Description |
value | String The vlanId to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setVlanIdBytes(ByteString value)
public Network.Builder setVlanIdBytes(ByteString value)
The vlan id of the Network.
string vlan_id = 7;
Name | Description |
value | ByteString The bytes for vlanId to set. |
Type | Description |
Network.Builder | This builder for chaining. |
setVrf(VRF value)
public Network.Builder setVrf(VRF value)
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Name | Description |
value | VRF |
Type | Description |
Network.Builder |
setVrf(VRF.Builder builderForValue)
public Network.Builder setVrf(VRF.Builder builderForValue)
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Name | Description |
builderForValue | VRF.Builder |
Type | Description |
Network.Builder |