public interface NetworkOrBuilder extends MessageOrBuilderImplements
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 | intThe 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 | intThe 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. |