public interface NetworkOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels as key value pairs.
|
String |
getCidr()
The cidr of the Network.
|
com.google.protobuf.ByteString |
getCidrBytes()
The cidr of the Network.
|
String |
getId()
An identifier for the `Network`, generated by the backend.
|
com.google.protobuf.ByteString |
getIdBytes()
An identifier for the `Network`, generated by the backend.
|
String |
getIpAddress()
IP address configured.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
IP address configured.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs.
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs.
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs.
|
String |
getMacAddress(int index)
List of physical interfaces.
|
com.google.protobuf.ByteString |
getMacAddressBytes(int index)
List of physical interfaces.
|
int |
getMacAddressCount()
List of physical interfaces.
|
List<String> |
getMacAddressList()
List of physical interfaces.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
NetworkAddressReservation |
getReservations(int index)
List of IP address reservations in this network.
|
int |
getReservationsCount()
List of IP address reservations in this network.
|
List<NetworkAddressReservation> |
getReservationsList()
List of IP address reservations in this network.
|
NetworkAddressReservationOrBuilder |
getReservationsOrBuilder(int index)
List of IP address reservations in this network.
|
List<? extends NetworkAddressReservationOrBuilder> |
getReservationsOrBuilderList()
List of IP address reservations in this network.
|
String |
getServicesCidr()
IP range for reserved for services (e.g.
|
com.google.protobuf.ByteString |
getServicesCidrBytes()
IP range for reserved for services (e.g.
|
Network.State |
getState()
The Network state.
|
int |
getStateValue()
The Network state.
|
Network.Type |
getType()
The type of this network.
|
int |
getTypeValue()
The type of this network.
|
String |
getVlanId()
The vlan id of the Network.
|
com.google.protobuf.ByteString |
getVlanIdBytes()
The vlan id of the Network.
|
VRF |
getVrf()
The vrf for the Network.
|
VRFOrBuilder |
getVrfOrBuilder()
The vrf for the Network.
|
boolean |
hasVrf()
The vrf for the Network.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];String getId()
An identifier for the `Network`, generated by the backend.
string id = 10;com.google.protobuf.ByteString getIdBytes()
An identifier for the `Network`, generated by the backend.
string id = 10;int getTypeValue()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;Network.Type getType()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;String getIpAddress()
IP address configured.
string ip_address = 3;com.google.protobuf.ByteString getIpAddressBytes()
IP address configured.
string ip_address = 3;List<String> getMacAddressList()
List of physical interfaces.
repeated string mac_address = 4;int getMacAddressCount()
List of physical interfaces.
repeated string mac_address = 4;String getMacAddress(int index)
List of physical interfaces.
repeated string mac_address = 4;index - The index of the element to return.com.google.protobuf.ByteString getMacAddressBytes(int index)
List of physical interfaces.
repeated string mac_address = 4;index - The index of the value to return.int getStateValue()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;Network.State getState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;String getVlanId()
The vlan id of the Network.
string vlan_id = 7;com.google.protobuf.ByteString getVlanIdBytes()
The vlan id of the Network.
string vlan_id = 7;String getCidr()
The cidr of the Network.
string cidr = 8;com.google.protobuf.ByteString getCidrBytes()
The cidr of the Network.
string cidr = 8;boolean hasVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;VRF getVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;VRFOrBuilder getVrfOrBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;String getServicesCidr()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;com.google.protobuf.ByteString getServicesCidrBytes()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;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;
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;
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;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.