Package com.vmware.nsx_policy.model
Class FpCounters
- java.lang.Object
-
- com.vmware.nsx_policy.model.FpCounters
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class FpCounters 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 class
FpCounters.Builder
Builder class forFpCounters
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
-
Constructor Summary
Constructors Modifier Constructor Description FpCounters()
Default constructor.protected
FpCounters(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 FpCounters
_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 FpCounters
_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()
boolean
equals(java.lang.Object obj)
java.lang.Long
getRxBytes()
Count of rx bytes of ENS-Fastpath/FC-lookup.java.lang.Long
getRxDrops()
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module.java.lang.Long
getRxDropsSp()
Count of rx pkts drops of slowpath / Not applicable for FC Module.java.lang.Long
getRxDropsUplink()
Count of rx packet drops of ENS Uplink / Not applicable for FC Module.java.lang.Long
getRxPkts()
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic.java.lang.Long
getRxPktsSp()
Count of rx pkt of slowpath / Not applicable for FC Module.java.lang.Long
getRxPktsUplink()
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink.java.lang.Long
getTxBytes()
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getTxDrops()
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getTxDropsSp()
Count of tx pkts drops by slowpath / Not applicable for FC Module.java.lang.Long
getTxDropsUplink()
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink.java.lang.Long
getTxPkts()
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic.java.lang.Long
getTxPktsSp()
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getTxPktsUplink()
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink.int
hashCode()
void
setRxBytes(java.lang.Long rxBytes)
Count of rx bytes of ENS-Fastpath/FC-lookup.void
setRxDrops(java.lang.Long rxDrops)
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module.void
setRxDropsSp(java.lang.Long rxDropsSp)
Count of rx pkts drops of slowpath / Not applicable for FC Module.void
setRxDropsUplink(java.lang.Long rxDropsUplink)
Count of rx packet drops of ENS Uplink / Not applicable for FC Module.void
setRxPkts(java.lang.Long rxPkts)
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic.void
setRxPktsSp(java.lang.Long rxPktsSp)
Count of rx pkt of slowpath / Not applicable for FC Module.void
setRxPktsUplink(java.lang.Long rxPktsUplink)
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink.void
setTxBytes(java.lang.Long txBytes)
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTxDrops(java.lang.Long txDrops)
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTxDropsSp(java.lang.Long txDropsSp)
Count of tx pkts drops by slowpath / Not applicable for FC Module.void
setTxDropsUplink(java.lang.Long txDropsUplink)
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink.void
setTxPkts(java.lang.Long txPkts)
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic.void
setTxPktsSp(java.lang.Long txPktsSp)
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTxPktsUplink(java.lang.Long txPktsUplink)
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink.java.lang.String
toString()
-
-
-
Method Detail
-
getRxBytes
public java.lang.Long getRxBytes()
Count of rx bytes of ENS-Fastpath/FC-lookup. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxBytes
public void setRxBytes(java.lang.Long rxBytes)
Count of rx bytes of ENS-Fastpath/FC-lookup. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxBytes
- New value for the property.
-
getRxDrops
public java.lang.Long getRxDrops()
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxDrops
public void setRxDrops(java.lang.Long rxDrops)
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDrops
- New value for the property.
-
getRxDropsSp
public java.lang.Long getRxDropsSp()
Count of rx pkts drops of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxDropsSp
public void setRxDropsSp(java.lang.Long rxDropsSp)
Count of rx pkts drops of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDropsSp
- New value for the property.
-
getRxDropsUplink
public java.lang.Long getRxDropsUplink()
Count of rx packet drops of ENS Uplink / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxDropsUplink
public void setRxDropsUplink(java.lang.Long rxDropsUplink)
Count of rx packet drops of ENS Uplink / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDropsUplink
- New value for the property.
-
getRxPkts
public java.lang.Long getRxPkts()
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxPkts
public void setRxPkts(java.lang.Long rxPkts)
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPkts
- New value for the property.
-
getRxPktsSp
public java.lang.Long getRxPktsSp()
Count of rx pkt of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxPktsSp
public void setRxPktsSp(java.lang.Long rxPktsSp)
Count of rx pkt of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPktsSp
- New value for the property.
-
getRxPktsUplink
public java.lang.Long getRxPktsUplink()
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRxPktsUplink
public void setRxPktsUplink(java.lang.Long rxPktsUplink)
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPktsUplink
- New value for the property.
-
getTxBytes
public java.lang.Long getTxBytes()
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxBytes
public void setTxBytes(java.lang.Long txBytes)
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txBytes
- New value for the property.
-
getTxDrops
public java.lang.Long getTxDrops()
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxDrops
public void setTxDrops(java.lang.Long txDrops)
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDrops
- New value for the property.
-
getTxDropsSp
public java.lang.Long getTxDropsSp()
Count of tx pkts drops by slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxDropsSp
public void setTxDropsSp(java.lang.Long txDropsSp)
Count of tx pkts drops by slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDropsSp
- New value for the property.
-
getTxDropsUplink
public java.lang.Long getTxDropsUplink()
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxDropsUplink
public void setTxDropsUplink(java.lang.Long txDropsUplink)
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDropsUplink
- New value for the property.
-
getTxPkts
public java.lang.Long getTxPkts()
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxPkts
public void setTxPkts(java.lang.Long txPkts)
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPkts
- New value for the property.
-
getTxPktsSp
public java.lang.Long getTxPktsSp()
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxPktsSp
public void setTxPktsSp(java.lang.Long txPktsSp)
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPktsSp
- New value for the property.
-
getTxPktsUplink
public java.lang.Long getTxPktsUplink()
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTxPktsUplink
public void setTxPktsUplink(java.lang.Long txPktsUplink)
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPktsUplink
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in 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:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in 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 FpCounters _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 FpCounters _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-