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()
Number of bytes received format: int64
|
java.lang.Long |
getRxDropped()
Number of packets dropped format: int64
|
java.lang.Long |
getRxErrors()
Number of receive errors format: int64
|
java.lang.Long |
getRxFrame()
Number of framing errors format: int64
|
java.lang.Long |
getRxPackets()
Number of packets received 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()
Number of bytes transmitted format: int64
|
java.lang.Long |
getTxCarrier()
Number of carrier losses detected format: int64
|
java.lang.Long |
getTxColls()
Number of collisions detected format: int64
|
java.lang.Long |
getTxDropped()
Number of packets dropped format: int64
|
java.lang.Long |
getTxErrors()
Number of transmit errors format: int64
|
java.lang.Long |
getTxPackets()
Number of packets transmitted 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)
Number of bytes received format: int64
|
void |
setRxDropped(java.lang.Long rxDropped)
Number of packets dropped format: int64
|
void |
setRxErrors(java.lang.Long rxErrors)
Number of receive errors format: int64
|
void |
setRxFrame(java.lang.Long rxFrame)
Number of framing errors format: int64
|
void |
setRxPackets(java.lang.Long rxPackets)
Number of packets received 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)
Number of bytes transmitted format: int64
|
void |
setTxCarrier(java.lang.Long txCarrier)
Number of carrier losses detected format: int64
|
void |
setTxColls(java.lang.Long txColls)
Number of collisions detected format: int64
|
void |
setTxDropped(java.lang.Long txDropped)
Number of packets dropped format: int64
|
void |
setTxErrors(java.lang.Long txErrors)
Number of transmit errors format: int64
|
void |
setTxPackets(java.lang.Long txPackets)
Number of packets transmitted 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 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 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 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)