Interface NetworkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Network,Network.Builder
public interface NetworkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels as key value pairs.StringgetCidr()The cidr of the Network.com.google.protobuf.ByteStringgetCidrBytes()The cidr of the Network.StringgetGatewayIp()Output only.com.google.protobuf.ByteStringgetGatewayIpBytes()Output only.StringgetId()An identifier for the `Network`, generated by the backend.com.google.protobuf.ByteStringgetIdBytes()An identifier for the `Network`, generated by the backend.StringgetIpAddress()IP address configured.com.google.protobuf.ByteStringgetIpAddressBytes()IP address configured.booleangetJumboFramesEnabled()Whether network uses standard frames or jumbo ones.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairs.Map<String,String>getLabelsMap()Labels as key value pairs.StringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.StringgetLabelsOrThrow(String key)Labels as key value pairs.StringgetMacAddress(int index)List of physical interfaces.com.google.protobuf.ByteStringgetMacAddressBytes(int index)List of physical interfaces.intgetMacAddressCount()List of physical interfaces.List<String>getMacAddressList()List of physical interfaces.NetworkMountPointgetMountPoints(int index)Input only.intgetMountPointsCount()Input only.List<NetworkMountPoint>getMountPointsList()Input only.NetworkMountPointOrBuildergetMountPointsOrBuilder(int index)Input only.List<? extends NetworkMountPointOrBuilder>getMountPointsOrBuilderList()Input only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetPod()Output only.com.google.protobuf.ByteStringgetPodBytes()Output only.NetworkAddressReservationgetReservations(int index)List of IP address reservations in this network.intgetReservationsCount()List of IP address reservations in this network.List<NetworkAddressReservation>getReservationsList()List of IP address reservations in this network.NetworkAddressReservationOrBuildergetReservationsOrBuilder(int index)List of IP address reservations in this network.List<? extends NetworkAddressReservationOrBuilder>getReservationsOrBuilderList()List of IP address reservations in this network.StringgetServicesCidr()IP range for reserved for services (e.g.com.google.protobuf.ByteStringgetServicesCidrBytes()IP range for reserved for services (e.g.Network.StategetState()The Network state.intgetStateValue()The Network state.Network.TypegetType()The type of this network.intgetTypeValue()The type of this network.StringgetVlanId()The vlan id of the Network.com.google.protobuf.ByteStringgetVlanIdBytes()The vlan id of the Network.VRFgetVrf()The vrf for the Network.VRFOrBuildergetVrfOrBuilder()The vrf for the Network.booleanhasVrf()The vrf for the Network.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getId
String getId()
An identifier for the `Network`, generated by the backend.
string id = 10;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
An identifier for the `Network`, generated by the backend.
string id = 10;- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
Network.Type getType()
The type of this network.
.google.cloud.baremetalsolution.v2.Network.Type type = 2;- Returns:
- The type.
-
getIpAddress
String getIpAddress()
IP address configured.
string ip_address = 3;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
IP address configured.
string ip_address = 3;- Returns:
- The bytes for ipAddress.
-
getMacAddressList
List<String> getMacAddressList()
List of physical interfaces.
repeated string mac_address = 4;- Returns:
- A list containing the macAddress.
-
getMacAddressCount
int getMacAddressCount()
List of physical interfaces.
repeated string mac_address = 4;- Returns:
- The count of macAddress.
-
getMacAddress
String getMacAddress(int index)
List of physical interfaces.
repeated string mac_address = 4;- Parameters:
index- The index of the element to return.- Returns:
- The macAddress at the given index.
-
getMacAddressBytes
com.google.protobuf.ByteString getMacAddressBytes(int index)
List of physical interfaces.
repeated string mac_address = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the macAddress at the given index.
-
getStateValue
int getStateValue()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;- Returns:
- The enum numeric value on the wire for state.
-
getState
Network.State getState()
The Network state.
.google.cloud.baremetalsolution.v2.Network.State state = 6;- Returns:
- The state.
-
getVlanId
String getVlanId()
The vlan id of the Network.
string vlan_id = 7;- Returns:
- The vlanId.
-
getVlanIdBytes
com.google.protobuf.ByteString getVlanIdBytes()
The vlan id of the Network.
string vlan_id = 7;- Returns:
- The bytes for vlanId.
-
getCidr
String getCidr()
The cidr of the Network.
string cidr = 8;- Returns:
- The cidr.
-
getCidrBytes
com.google.protobuf.ByteString getCidrBytes()
The cidr of the Network.
string cidr = 8;- Returns:
- The bytes for cidr.
-
hasVrf
boolean hasVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;- Returns:
- Whether the vrf field is set.
-
getVrf
VRF getVrf()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;- Returns:
- The vrf.
-
getVrfOrBuilder
VRFOrBuilder getVrfOrBuilder()
The vrf for the Network.
.google.cloud.baremetalsolution.v2.VRF vrf = 9;
-
getLabelsCount
int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 11;
-
containsLabels
boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 11;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 11;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 11;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 11;
-
getServicesCidr
String getServicesCidr()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;- Returns:
- The servicesCidr.
-
getServicesCidrBytes
com.google.protobuf.ByteString getServicesCidrBytes()
IP range for reserved for services (e.g. NFS).
string services_cidr = 12;- Returns:
- The bytes for servicesCidr.
-
getReservationsList
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;
-
getReservations
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;
-
getReservationsCount
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;
-
getReservationsOrBuilderList
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;
-
getReservationsOrBuilder
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;
-
getPod
String getPod()
Output only. Pod name.
string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The pod.
-
getPodBytes
com.google.protobuf.ByteString getPodBytes()
Output only. Pod name.
string pod = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for pod.
-
getMountPointsList
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];
-
getMountPoints
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];
-
getMountPointsCount
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];
-
getMountPointsOrBuilderList
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];
-
getMountPointsOrBuilder
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];
-
getJumboFramesEnabled
boolean getJumboFramesEnabled()
Whether network uses standard frames or jumbo ones.
bool jumbo_frames_enabled = 16;- Returns:
- The jumboFramesEnabled.
-
getGatewayIp
String getGatewayIp()
Output only. Gateway ip address.
string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The gatewayIp.
-
getGatewayIpBytes
com.google.protobuf.ByteString getGatewayIpBytes()
Output only. Gateway ip address.
string gateway_ip = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for gatewayIp.
-
-