- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 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 interface NetworkOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Name | Description |
key | String |
Type | Description |
boolean |
getCidr()
public abstract String getCidr()
The cidr of the Network.
string cidr = 8;
Type | Description |
String | The cidr. |
getCidrBytes()
public abstract ByteString getCidrBytes()
The cidr of the Network.
string cidr = 8;
Type | Description |
ByteString | The bytes for cidr. |
getId()
public abstract String getId()
An identifier for the Network
, generated by the backend.
string id = 10;
Type | Description |
String | The id. |
getIdBytes()
public abstract ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 10;
Type | Description |
ByteString | The bytes for id. |
getIpAddress()
public abstract String getIpAddress()
IP address configured.
string ip_address = 3;
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public abstract ByteString getIpAddressBytes()
IP address configured.
string ip_address = 3;
Type | Description |
ByteString | The bytes for ipAddress. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;
Type | Description |
int |
getLabelsMap()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract int getMacAddressCount()
List of physical interfaces.
repeated string mac_address = 4;
Type | Description |
int | The count of macAddress. |
getMacAddressList()
public abstract List<String> getMacAddressList()
List of physical interfaces.
repeated string mac_address = 4;
Type | Description |
List<String> | A list containing the macAddress. |
getName()
public abstract 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 abstract 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 abstract 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 |
getReservationsCount()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract String getServicesCidr()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Type | Description |
String | The servicesCidr. |
getServicesCidrBytes()
public abstract ByteString getServicesCidrBytes()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Type | Description |
ByteString | The bytes for servicesCidr. |
getState()
public abstract Network.State getState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Type | Description |
Network.State | The state. |
getStateValue()
public abstract 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 abstract Network.Type getType()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Type | Description |
Network.Type | The type. |
getTypeValue()
public abstract 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 abstract String getVlanId()
The vlan id of the Network.
string vlan_id = 7;
Type | Description |
String | The vlanId. |
getVlanIdBytes()
public abstract ByteString getVlanIdBytes()
The vlan id of the Network.
string vlan_id = 7;
Type | Description |
ByteString | The bytes for vlanId. |
getVrf()
public abstract VRF getVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
VRF | The vrf. |
getVrfOrBuilder()
public abstract VRFOrBuilder getVrfOrBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
VRFOrBuilder |
hasVrf()
public abstract boolean hasVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Type | Description |
boolean | Whether the vrf field is set. |