- 0.55.0 (latest)
- 0.54.0
- 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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCidr()
public abstract String getCidr()
The cidr of the Network.
string cidr = 8;
Returns | |
---|---|
Type | Description |
String | The cidr. |
getCidrBytes()
public abstract ByteString getCidrBytes()
The cidr of the Network.
string cidr = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cidr. |
getGatewayIp()
public abstract String getGatewayIp()
Output only. Gateway ip address.
string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The gatewayIp. |
getGatewayIpBytes()
public abstract ByteString getGatewayIpBytes()
Output only. Gateway ip address.
string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for gatewayIp. |
getId()
public abstract String getId()
An identifier for the Network
, generated by the backend.
string id = 10;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public abstract ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 10;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getIpAddress()
public abstract String getIpAddress()
IP address configured.
string ip_address = 3;
Returns | |
---|---|
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public abstract ByteString getIpAddressBytes()
IP address configured.
string ip_address = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ipAddress. |
getJumboFramesEnabled()
public abstract boolean getJumboFramesEnabled()
Whether network uses standard frames or jumbo ones.
bool jumbo_frames_enabled = 16;
Returns | |
---|---|
Type | Description |
boolean | The jumboFramesEnabled. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMacAddress(int index)
public abstract String getMacAddress(int index)
List of physical interfaces.
repeated string mac_address = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int | The count of macAddress. |
getMacAddressList()
public abstract List<String> getMacAddressList()
List of physical interfaces.
repeated string mac_address = 4;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the macAddress. |
getMountPoints(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkMountPoint |
getMountPointsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getMountPointsList()
public abstract 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];
Returns | |
---|---|
Type | Description |
List<NetworkMountPoint> |
getMountPointsOrBuilder(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkMountPointOrBuilder |
getMountPointsOrBuilderList()
public abstract 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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.NetworkMountPointOrBuilder> |
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getPod()
public abstract String getPod()
Output only. Pod name.
string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The pod. |
getPodBytes()
public abstract ByteString getPodBytes()
Output only. Pod name.
string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pod. |
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The servicesCidr. |
getServicesCidrBytes()
public abstract ByteString getServicesCidrBytes()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for servicesCidr. |
getState()
public abstract Network.State getState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Returns | |
---|---|
Type | Description |
Network.State | The state. |
getStateValue()
public abstract int getStateValue()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Network.Type | The type. |
getTypeValue()
public abstract int getTypeValue()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The vlanId. |
getVlanIdBytes()
public abstract ByteString getVlanIdBytes()
The vlan id of the Network.
string vlan_id = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for vlanId. |
getVrf()
public abstract VRF getVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Returns | |
---|---|
Type | Description |
VRF | The vrf. |
getVrfOrBuilder()
public abstract VRFOrBuilder getVrfOrBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Returns | |
---|---|
Type | Description |
VRFOrBuilder |
hasVrf()
public abstract boolean hasVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the vrf field is set. |