Package com.vmware.nsx_policy.model
Class LogicalRouterPortCounters
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterPortCounters
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure,com.vmware.vapi.bindings.Structure,java.io.Serializable
public final class LogicalRouterPortCounters extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogicalRouterPortCounters.BuilderBuilder class forLogicalRouterPortCounters.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFields
-
Constructor Summary
Constructors Modifier Constructor Description LogicalRouterPortCounters()Default constructor.protectedLogicalRouterPortCounters(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)java.lang.String_getCanonicalName()static java.lang.String_getCanonicalTypeName()Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType_getClassType()WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue_getDataValue()com.vmware.vapi.data.DataValue_getDynamicField(java.lang.String fieldName)java.util.Set<java.lang.String>_getDynamicFieldNames()com.vmware.vapi.bindings.type.StructType_getType()boolean_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)static LogicalRouterPortCounters_newInstance(com.vmware.vapi.data.StructValue structValue)WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static LogicalRouterPortCounters_newInstance2(com.vmware.vapi.data.StructValue structValue)WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)protected void_updateDataValue(com.vmware.vapi.data.StructValue structValue)void_validate()booleanequals(java.lang.Object obj)java.lang.LonggetBlockedPackets()The total number of packets blocked.java.lang.LonggetDadDroppedPackets()Number of duplicate address detected packets dropped.java.lang.LonggetDestinationUnsupportedDroppedPackets()Number of packtes dropped as destination is not supported.java.lang.LonggetDroppedPackets()The total number of packets dropped.java.lang.LonggetFirewallDroppedPackets()Number of firewall packets dropped.java.lang.LonggetFragNeededDroppedPackets()Number of fragmentation needed packets dropped.java.lang.LonggetIpsecDroppedPackets()Number of IPSec packets dropped format: int64java.lang.LonggetIpsecNoSaDroppedPackets()Number of IPSec no security association packets dropped.java.lang.LonggetIpsecNoVtiDroppedPackets()Number of IPSec packets dropped as no VTI is present.java.lang.LonggetIpsecPolBlockDroppedPackets()Number of IPSec policy block packets dropped.java.lang.LonggetIpsecPolErrDroppedPackets()Number of IPSec policy error packets dropped.java.lang.LonggetIpv6DroppedPackets()Number of IPV6 packets dropped.java.lang.LonggetKniDroppedPackets()Number of DPDK kernal NIC interface packets dropped.java.lang.LonggetL4portUnsupportedDroppedPackets()Number of packets dropped due to unsupported L4 port.java.lang.LonggetMalformedDroppedPackets()Number of packtes dropped as they are malformed.java.lang.LonggetNoArpDroppedPackets()Number of no ARP packets dropped.java.lang.LonggetNoLinkedDroppedPackets()Number of packets dropped as no linked ports are present.java.lang.LonggetNoMemDroppedPackets()Number of packets dropped due to insufficient memory.java.lang.LonggetNonIpDroppedPackets()Number of non IP packets dropped.java.lang.LonggetNoReceiverDroppedPackets()Number of packets dropped due to absence of receiver.java.lang.LonggetNoRouteDroppedPackets()The number of no route packets dropped format: int64java.lang.LonggetProtoUnsupportedDroppedPackets()Number of packets dropped as protocol is unsupported.java.lang.LonggetRedirectDroppedPackets()Number of redirect packets dropped.java.lang.LonggetRpfCheckDroppedPackets()Number of reverse-path forwarding check packets dropped.java.lang.LonggetServiceInsertDroppedPackets()Number of service insert packets dropped.java.lang.LonggetTotalBytes()The total number of bytes transferred.java.lang.LonggetTotalPackets()The total number of packets transferred.java.lang.LonggetTtlExceededDroppedPackets()Number of time to live exceeded packets dropped.inthashCode()voidsetBlockedPackets(java.lang.Long blockedPackets)The total number of packets blocked.voidsetDadDroppedPackets(java.lang.Long dadDroppedPackets)Number of duplicate address detected packets dropped.voidsetDestinationUnsupportedDroppedPackets(java.lang.Long destinationUnsupportedDroppedPackets)Number of packtes dropped as destination is not supported.voidsetDroppedPackets(java.lang.Long droppedPackets)The total number of packets dropped.voidsetFirewallDroppedPackets(java.lang.Long firewallDroppedPackets)Number of firewall packets dropped.voidsetFragNeededDroppedPackets(java.lang.Long fragNeededDroppedPackets)Number of fragmentation needed packets dropped.voidsetIpsecDroppedPackets(java.lang.Long ipsecDroppedPackets)Number of IPSec packets dropped format: int64voidsetIpsecNoSaDroppedPackets(java.lang.Long ipsecNoSaDroppedPackets)Number of IPSec no security association packets dropped.voidsetIpsecNoVtiDroppedPackets(java.lang.Long ipsecNoVtiDroppedPackets)Number of IPSec packets dropped as no VTI is present.voidsetIpsecPolBlockDroppedPackets(java.lang.Long ipsecPolBlockDroppedPackets)Number of IPSec policy block packets dropped.voidsetIpsecPolErrDroppedPackets(java.lang.Long ipsecPolErrDroppedPackets)Number of IPSec policy error packets dropped.voidsetIpv6DroppedPackets(java.lang.Long ipv6DroppedPackets)Number of IPV6 packets dropped.voidsetKniDroppedPackets(java.lang.Long kniDroppedPackets)Number of DPDK kernal NIC interface packets dropped.voidsetL4portUnsupportedDroppedPackets(java.lang.Long l4portUnsupportedDroppedPackets)Number of packets dropped due to unsupported L4 port.voidsetMalformedDroppedPackets(java.lang.Long malformedDroppedPackets)Number of packtes dropped as they are malformed.voidsetNoArpDroppedPackets(java.lang.Long noArpDroppedPackets)Number of no ARP packets dropped.voidsetNoLinkedDroppedPackets(java.lang.Long noLinkedDroppedPackets)Number of packets dropped as no linked ports are present.voidsetNoMemDroppedPackets(java.lang.Long noMemDroppedPackets)Number of packets dropped due to insufficient memory.voidsetNonIpDroppedPackets(java.lang.Long nonIpDroppedPackets)Number of non IP packets dropped.voidsetNoReceiverDroppedPackets(java.lang.Long noReceiverDroppedPackets)Number of packets dropped due to absence of receiver.voidsetNoRouteDroppedPackets(java.lang.Long noRouteDroppedPackets)The number of no route packets dropped format: int64voidsetProtoUnsupportedDroppedPackets(java.lang.Long protoUnsupportedDroppedPackets)Number of packets dropped as protocol is unsupported.voidsetRedirectDroppedPackets(java.lang.Long redirectDroppedPackets)Number of redirect packets dropped.voidsetRpfCheckDroppedPackets(java.lang.Long rpfCheckDroppedPackets)Number of reverse-path forwarding check packets dropped.voidsetServiceInsertDroppedPackets(java.lang.Long serviceInsertDroppedPackets)Number of service insert packets dropped.voidsetTotalBytes(java.lang.Long totalBytes)The total number of bytes transferred.voidsetTotalPackets(java.lang.Long totalPackets)The total number of packets transferred.voidsetTtlExceededDroppedPackets(java.lang.Long ttlExceededDroppedPackets)Number of time to live exceeded packets dropped.java.lang.StringtoString()
-
-
-
Method Detail
-
getBlockedPackets
public java.lang.Long getBlockedPackets()
The total number of packets blocked. format: int64- Returns:
- The current value of the property.
-
setBlockedPackets
public void setBlockedPackets(java.lang.Long blockedPackets)
The total number of packets blocked. format: int64- Parameters:
blockedPackets- New value for the property.
-
getDadDroppedPackets
public java.lang.Long getDadDroppedPackets()
Number of duplicate address detected packets dropped. format: int64- Returns:
- The current value of the property.
-
setDadDroppedPackets
public void setDadDroppedPackets(java.lang.Long dadDroppedPackets)
Number of duplicate address detected packets dropped. format: int64- Parameters:
dadDroppedPackets- New value for the property.
-
getDestinationUnsupportedDroppedPackets
public java.lang.Long getDestinationUnsupportedDroppedPackets()
Number of packtes dropped as destination is not supported. format: int64- Returns:
- The current value of the property.
-
setDestinationUnsupportedDroppedPackets
public void setDestinationUnsupportedDroppedPackets(java.lang.Long destinationUnsupportedDroppedPackets)
Number of packtes dropped as destination is not supported. format: int64- Parameters:
destinationUnsupportedDroppedPackets- New value for the property.
-
getDroppedPackets
public java.lang.Long getDroppedPackets()
The total number of packets dropped. format: int64- Returns:
- The current value of the property.
-
setDroppedPackets
public void setDroppedPackets(java.lang.Long droppedPackets)
The total number of packets dropped. format: int64- Parameters:
droppedPackets- New value for the property.
-
getFirewallDroppedPackets
public java.lang.Long getFirewallDroppedPackets()
Number of firewall packets dropped. format: int64- Returns:
- The current value of the property.
-
setFirewallDroppedPackets
public void setFirewallDroppedPackets(java.lang.Long firewallDroppedPackets)
Number of firewall packets dropped. format: int64- Parameters:
firewallDroppedPackets- New value for the property.
-
getFragNeededDroppedPackets
public java.lang.Long getFragNeededDroppedPackets()
Number of fragmentation needed packets dropped. format: int64- Returns:
- The current value of the property.
-
setFragNeededDroppedPackets
public void setFragNeededDroppedPackets(java.lang.Long fragNeededDroppedPackets)
Number of fragmentation needed packets dropped. format: int64- Parameters:
fragNeededDroppedPackets- New value for the property.
-
getIpsecDroppedPackets
public java.lang.Long getIpsecDroppedPackets()
Number of IPSec packets dropped format: int64- Returns:
- The current value of the property.
-
setIpsecDroppedPackets
public void setIpsecDroppedPackets(java.lang.Long ipsecDroppedPackets)
Number of IPSec packets dropped format: int64- Parameters:
ipsecDroppedPackets- New value for the property.
-
getIpsecNoSaDroppedPackets
public java.lang.Long getIpsecNoSaDroppedPackets()
Number of IPSec no security association packets dropped. format: int64- Returns:
- The current value of the property.
-
setIpsecNoSaDroppedPackets
public void setIpsecNoSaDroppedPackets(java.lang.Long ipsecNoSaDroppedPackets)
Number of IPSec no security association packets dropped. format: int64- Parameters:
ipsecNoSaDroppedPackets- New value for the property.
-
getIpsecNoVtiDroppedPackets
public java.lang.Long getIpsecNoVtiDroppedPackets()
Number of IPSec packets dropped as no VTI is present. format: int64- Returns:
- The current value of the property.
-
setIpsecNoVtiDroppedPackets
public void setIpsecNoVtiDroppedPackets(java.lang.Long ipsecNoVtiDroppedPackets)
Number of IPSec packets dropped as no VTI is present. format: int64- Parameters:
ipsecNoVtiDroppedPackets- New value for the property.
-
getIpsecPolBlockDroppedPackets
public java.lang.Long getIpsecPolBlockDroppedPackets()
Number of IPSec policy block packets dropped. format: int64- Returns:
- The current value of the property.
-
setIpsecPolBlockDroppedPackets
public void setIpsecPolBlockDroppedPackets(java.lang.Long ipsecPolBlockDroppedPackets)
Number of IPSec policy block packets dropped. format: int64- Parameters:
ipsecPolBlockDroppedPackets- New value for the property.
-
getIpsecPolErrDroppedPackets
public java.lang.Long getIpsecPolErrDroppedPackets()
Number of IPSec policy error packets dropped. format: int64- Returns:
- The current value of the property.
-
setIpsecPolErrDroppedPackets
public void setIpsecPolErrDroppedPackets(java.lang.Long ipsecPolErrDroppedPackets)
Number of IPSec policy error packets dropped. format: int64- Parameters:
ipsecPolErrDroppedPackets- New value for the property.
-
getIpv6DroppedPackets
public java.lang.Long getIpv6DroppedPackets()
Number of IPV6 packets dropped. format: int64- Returns:
- The current value of the property.
-
setIpv6DroppedPackets
public void setIpv6DroppedPackets(java.lang.Long ipv6DroppedPackets)
Number of IPV6 packets dropped. format: int64- Parameters:
ipv6DroppedPackets- New value for the property.
-
getKniDroppedPackets
public java.lang.Long getKniDroppedPackets()
Number of DPDK kernal NIC interface packets dropped. format: int64- Returns:
- The current value of the property.
-
setKniDroppedPackets
public void setKniDroppedPackets(java.lang.Long kniDroppedPackets)
Number of DPDK kernal NIC interface packets dropped. format: int64- Parameters:
kniDroppedPackets- New value for the property.
-
getL4portUnsupportedDroppedPackets
public java.lang.Long getL4portUnsupportedDroppedPackets()
Number of packets dropped due to unsupported L4 port. format: int64- Returns:
- The current value of the property.
-
setL4portUnsupportedDroppedPackets
public void setL4portUnsupportedDroppedPackets(java.lang.Long l4portUnsupportedDroppedPackets)
Number of packets dropped due to unsupported L4 port. format: int64- Parameters:
l4portUnsupportedDroppedPackets- New value for the property.
-
getMalformedDroppedPackets
public java.lang.Long getMalformedDroppedPackets()
Number of packtes dropped as they are malformed. format: int64- Returns:
- The current value of the property.
-
setMalformedDroppedPackets
public void setMalformedDroppedPackets(java.lang.Long malformedDroppedPackets)
Number of packtes dropped as they are malformed. format: int64- Parameters:
malformedDroppedPackets- New value for the property.
-
getNoArpDroppedPackets
public java.lang.Long getNoArpDroppedPackets()
Number of no ARP packets dropped. format: int64- Returns:
- The current value of the property.
-
setNoArpDroppedPackets
public void setNoArpDroppedPackets(java.lang.Long noArpDroppedPackets)
Number of no ARP packets dropped. format: int64- Parameters:
noArpDroppedPackets- New value for the property.
-
getNoLinkedDroppedPackets
public java.lang.Long getNoLinkedDroppedPackets()
Number of packets dropped as no linked ports are present. format: int64- Returns:
- The current value of the property.
-
setNoLinkedDroppedPackets
public void setNoLinkedDroppedPackets(java.lang.Long noLinkedDroppedPackets)
Number of packets dropped as no linked ports are present. format: int64- Parameters:
noLinkedDroppedPackets- New value for the property.
-
getNoMemDroppedPackets
public java.lang.Long getNoMemDroppedPackets()
Number of packets dropped due to insufficient memory. format: int64- Returns:
- The current value of the property.
-
setNoMemDroppedPackets
public void setNoMemDroppedPackets(java.lang.Long noMemDroppedPackets)
Number of packets dropped due to insufficient memory. format: int64- Parameters:
noMemDroppedPackets- New value for the property.
-
getNoReceiverDroppedPackets
public java.lang.Long getNoReceiverDroppedPackets()
Number of packets dropped due to absence of receiver. format: int64- Returns:
- The current value of the property.
-
setNoReceiverDroppedPackets
public void setNoReceiverDroppedPackets(java.lang.Long noReceiverDroppedPackets)
Number of packets dropped due to absence of receiver. format: int64- Parameters:
noReceiverDroppedPackets- New value for the property.
-
getNoRouteDroppedPackets
public java.lang.Long getNoRouteDroppedPackets()
The number of no route packets dropped format: int64- Returns:
- The current value of the property.
-
setNoRouteDroppedPackets
public void setNoRouteDroppedPackets(java.lang.Long noRouteDroppedPackets)
The number of no route packets dropped format: int64- Parameters:
noRouteDroppedPackets- New value for the property.
-
getNonIpDroppedPackets
public java.lang.Long getNonIpDroppedPackets()
Number of non IP packets dropped. format: int64- Returns:
- The current value of the property.
-
setNonIpDroppedPackets
public void setNonIpDroppedPackets(java.lang.Long nonIpDroppedPackets)
Number of non IP packets dropped. format: int64- Parameters:
nonIpDroppedPackets- New value for the property.
-
getProtoUnsupportedDroppedPackets
public java.lang.Long getProtoUnsupportedDroppedPackets()
Number of packets dropped as protocol is unsupported. format: int64- Returns:
- The current value of the property.
-
setProtoUnsupportedDroppedPackets
public void setProtoUnsupportedDroppedPackets(java.lang.Long protoUnsupportedDroppedPackets)
Number of packets dropped as protocol is unsupported. format: int64- Parameters:
protoUnsupportedDroppedPackets- New value for the property.
-
getRedirectDroppedPackets
public java.lang.Long getRedirectDroppedPackets()
Number of redirect packets dropped. format: int64- Returns:
- The current value of the property.
-
setRedirectDroppedPackets
public void setRedirectDroppedPackets(java.lang.Long redirectDroppedPackets)
Number of redirect packets dropped. format: int64- Parameters:
redirectDroppedPackets- New value for the property.
-
getRpfCheckDroppedPackets
public java.lang.Long getRpfCheckDroppedPackets()
Number of reverse-path forwarding check packets dropped. format: int64- Returns:
- The current value of the property.
-
setRpfCheckDroppedPackets
public void setRpfCheckDroppedPackets(java.lang.Long rpfCheckDroppedPackets)
Number of reverse-path forwarding check packets dropped. format: int64- Parameters:
rpfCheckDroppedPackets- New value for the property.
-
getServiceInsertDroppedPackets
public java.lang.Long getServiceInsertDroppedPackets()
Number of service insert packets dropped. format: int64- Returns:
- The current value of the property.
-
setServiceInsertDroppedPackets
public void setServiceInsertDroppedPackets(java.lang.Long serviceInsertDroppedPackets)
Number of service insert packets dropped. format: int64- Parameters:
serviceInsertDroppedPackets- New value for the property.
-
getTotalBytes
public java.lang.Long getTotalBytes()
The total number of bytes transferred. format: int64- Returns:
- The current value of the property.
-
setTotalBytes
public void setTotalBytes(java.lang.Long totalBytes)
The total number of bytes transferred. format: int64- Parameters:
totalBytes- New value for the property.
-
getTotalPackets
public java.lang.Long getTotalPackets()
The total number of packets transferred. format: int64- Returns:
- The current value of the property.
-
setTotalPackets
public void setTotalPackets(java.lang.Long totalPackets)
The total number of packets transferred. format: int64- Parameters:
totalPackets- New value for the property.
-
getTtlExceededDroppedPackets
public java.lang.Long getTtlExceededDroppedPackets()
Number of time to live exceeded packets dropped. format: int64- Returns:
- The current value of the property.
-
setTtlExceededDroppedPackets
public void setTtlExceededDroppedPackets(java.lang.Long ttlExceededDroppedPackets)
Number of time to live exceeded packets dropped. format: int64- Parameters:
ttlExceededDroppedPackets- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName().- Returns:
- canonical type name
-
_newInstance
public static LogicalRouterPortCounters _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static LogicalRouterPortCounters _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-