public final class NodeInterfaceStatisticsProperties
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeInterfaceStatisticsProperties.Builder
Builder class for
NodeInterfaceStatisticsProperties. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
SOURCE_CACHED |
static java.lang.String |
SOURCE_REALTIME |
| Modifier | Constructor and Description |
|---|---|
|
NodeInterfaceStatisticsProperties()
Default constructor.
|
protected |
NodeInterfaceStatisticsProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_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 NodeInterfaceStatisticsProperties |
_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 NodeInterfaceStatisticsProperties |
_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.String |
getInterfaceId()
Interface ID
|
java.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.lang.Long |
getRxBytes()
Total bytes received since the uptime format: int64
|
java.lang.Long |
getRxDropNoMatch() |
java.lang.Long |
getRxDropped()
Total packets dropped since the uptime format: int64
|
java.lang.Long |
getRxErrors()
Total receive error packets since the uptime format: int64
|
java.lang.Long |
getRxFrame()
Total framing error packets since the uptime.
|
java.lang.Long |
getRxMisses()
Total packets missed while receive since the uptime.
|
java.lang.Long |
getRxNombufs()
Total packets dropped due to MBUF Alloc failures since the uptime.
|
java.lang.Long |
getRxPackets()
Total packets received since the uptime format: int64
|
java.lang.String |
getSchema()
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SelfResourceLink |
getSelf() |
java.lang.String |
getSource()
Possible values are:
SOURCE_REALTIME
SOURCE_CACHED
Source of status data. |
java.lang.Long |
getTxBytes()
Total bytes transmitted since the uptime format: int64
|
java.lang.Long |
getTxCarrier()
Total packets for carrier losses detected on transmit.
|
java.lang.Long |
getTxColls()
Total packets for collisions detected on transmit.
|
java.lang.Long |
getTxDropped()
Total packets dropped on transmit since the uptime format: int64
|
java.lang.Long |
getTxDrops()
Total packets dropped on transmit since the uptime.
|
java.lang.Long |
getTxErrors()
Total packets for transmit errors since the uptime format: int64
|
java.lang.Long |
getTxPackets()
Total packets transmitted since the uptime format: int64
|
int |
hashCode() |
void |
setInterfaceId(java.lang.String interfaceId)
Interface ID
|
void |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
setRxBytes(java.lang.Long rxBytes)
Total bytes received since the uptime format: int64
|
void |
setRxDropNoMatch(java.lang.Long rxDropNoMatch) |
void |
setRxDropped(java.lang.Long rxDropped)
Total packets dropped since the uptime format: int64
|
void |
setRxErrors(java.lang.Long rxErrors)
Total receive error packets since the uptime format: int64
|
void |
setRxFrame(java.lang.Long rxFrame)
Total framing error packets since the uptime.
|
void |
setRxMisses(java.lang.Long rxMisses)
Total packets missed while receive since the uptime.
|
void |
setRxNombufs(java.lang.Long rxNombufs)
Total packets dropped due to MBUF Alloc failures since the uptime.
|
void |
setRxPackets(java.lang.Long rxPackets)
Total packets received since the uptime format: int64
|
void |
setSchema(java.lang.String schema)
Schema for this resource
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 |
setSelf(SelfResourceLink self) |
void |
setSource(java.lang.String source)
Possible values are:
SOURCE_REALTIME
SOURCE_CACHED
Source of status data. |
void |
setTxBytes(java.lang.Long txBytes)
Total bytes transmitted since the uptime format: int64
|
void |
setTxCarrier(java.lang.Long txCarrier)
Total packets for carrier losses detected on transmit.
|
void |
setTxColls(java.lang.Long txColls)
Total packets for collisions detected on transmit.
|
void |
setTxDropped(java.lang.Long txDropped)
Total packets dropped on transmit since the uptime format: int64
|
void |
setTxDrops(java.lang.Long txDrops)
Total packets dropped on transmit since the uptime.
|
void |
setTxErrors(java.lang.Long txErrors)
Total packets for transmit errors since the uptime format: int64
|
void |
setTxPackets(java.lang.Long txPackets)
Total packets transmitted since the uptime format: int64
|
java.lang.String |
toString() |
public static final java.lang.String SOURCE_REALTIME
public static final java.lang.String SOURCE_CACHED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NodeInterfaceStatisticsProperties()
protected NodeInterfaceStatisticsProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema - New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self - New value for the property.public java.lang.String getInterfaceId()
public void setInterfaceId(java.lang.String interfaceId)
interfaceId - New value for the property.public java.lang.Long getRxBytes()
public void setRxBytes(java.lang.Long rxBytes)
rxBytes - New value for the property.public java.lang.Long getRxDropNoMatch()
public void setRxDropNoMatch(java.lang.Long rxDropNoMatch)
rxDropNoMatch - New value for the property.public java.lang.Long getRxDropped()
public void setRxDropped(java.lang.Long rxDropped)
rxDropped - New value for the property.public java.lang.Long getRxErrors()
public void setRxErrors(java.lang.Long rxErrors)
rxErrors - New value for the property.public java.lang.Long getRxFrame()
public void setRxFrame(java.lang.Long rxFrame)
rxFrame - New value for the property.public java.lang.Long getRxMisses()
public void setRxMisses(java.lang.Long rxMisses)
rxMisses - New value for the property.public java.lang.Long getRxNombufs()
public void setRxNombufs(java.lang.Long rxNombufs)
rxNombufs - New value for the property.public java.lang.Long getRxPackets()
public void setRxPackets(java.lang.Long rxPackets)
rxPackets - New value for the property.public java.lang.String getSource()
public void setSource(java.lang.String source)
source - New value for the property.public java.lang.Long getTxBytes()
public void setTxBytes(java.lang.Long txBytes)
txBytes - New value for the property.public java.lang.Long getTxCarrier()
public void setTxCarrier(java.lang.Long txCarrier)
txCarrier - New value for the property.public java.lang.Long getTxColls()
public void setTxColls(java.lang.Long txColls)
txColls - New value for the property.public java.lang.Long getTxDropped()
public void setTxDropped(java.lang.Long txDropped)
txDropped - New value for the property.public java.lang.Long getTxDrops()
public void setTxDrops(java.lang.Long txDrops)
txDrops - New value for the property.public java.lang.Long getTxErrors()
public void setTxErrors(java.lang.Long txErrors)
txErrors - New value for the property.public java.lang.Long getTxPackets()
public void setTxPackets(java.lang.Long txPackets)
txPackets - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static NodeInterfaceStatisticsProperties _newInstance(com.vmware.vapi.data.StructValue structValue)
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.StructTypepublic static NodeInterfaceStatisticsProperties _newInstance2(com.vmware.vapi.data.StructValue structValue)