public static final class SnmpTypes.SNMPStats extends Object implements Serializable, StaticStructure
SNMPStats
class Structure to provide operators diagnostics on snmp agent
itself.Modifier and Type | Class and Description |
---|---|
static class |
SnmpTypes.SNMPStats.Builder
Builder class for
SnmpTypes.SNMPStats . |
Constructor and Description |
---|
SnmpTypes.SNMPStats()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends Structure> |
_convertTo(Class<T> clazz)
Converts this structure into an instance of the provided class structure
if possible.
|
String |
_getCanonicalName()
Returns the canonical name of the structure.
|
static String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal API, subject to change in future versions.
|
StructValue |
_getDataValue()
Returns this
Structure represented in the dynamic
DataValue model. |
DataValue |
_getDynamicField(String fieldName)
Get dynamic filed value.
|
Set<String> |
_getDynamicFieldNames()
Get the names of the dynamic fields in the structure.
|
com.vmware.vapi.bindings.type.StructType |
_getType()
WARNING: Internal API, subject to change in future versions.
|
boolean |
_hasTypeNameOf(Class<? extends Structure> clazz)
Checks that the runtime type name matches the type name from the binding
class.
|
static SnmpTypes.SNMPStats |
_newInstance(StructValue structValue)
WARNING: Internal API, 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. |
void |
_setDynamicField(String fieldName,
DataValue fieldValue)
Sets a dynamic field value.
|
void |
_validate()
Validates the state of the discriminated unions and HasFieldsOf
restrictions (if any) in this Java language binding
Structure . |
boolean |
equals(Object obj) |
String |
getAvgresponsetime()
Average response time
|
long |
getAvgvarbinds()
No of ave:rage var binds
|
long |
getInasnparseerrs()
No of parse errors
|
long |
getInbadcommunitynames()
No of bad community names
|
long |
getInbadcommunityuses()
No of bad community uses
|
long |
getInbadvalues()
No of bad values
|
long |
getInbadversions()
No of bad versions
|
long |
getIngenerrs()
No of gen errors
|
long |
getInnosuchnames()
No of no such names
|
long |
getInpkts()
No of input packets
|
long |
getIntoobigs()
No of too bigs
|
long |
getMaxvarbinds()
No of max var binds
|
long |
getOutbadvalues()
No of bad values
|
long |
getOutgenerrs()
No of gen errors
|
long |
getOutnosuchnames()
No of no such names
|
long |
getOutpkts()
No of output packets
|
long |
getOuttoobigs()
No out output too bigs
|
long |
getOuttraps()
No of output traps
|
long |
getSilentdrops()
No of silent drops
|
String |
getSysuptime()
System uptime
|
long |
getUsmstatsdecryptionerrors()
No.
|
long |
getUsmstatsnotintimewindows()
No of stats not in time window
|
long |
getUsmstatsunknownengineids()
No of usm stats unknown engine ids
|
long |
getUsmstatsunknownusernames()
No of usm stats unknown
|
long |
getUsmstatswrongdigests()
No of wrogn digests
|
String |
getWorstresponsetime()
Response time
|
String |
getWorstrtimelast()
Last updated time
|
int |
hashCode() |
void |
setAvgresponsetime(String avgresponsetime)
Average response time
|
void |
setAvgvarbinds(long avgvarbinds)
No of ave:rage var binds
|
void |
setInasnparseerrs(long inasnparseerrs)
No of parse errors
|
void |
setInbadcommunitynames(long inbadcommunitynames)
No of bad community names
|
void |
setInbadcommunityuses(long inbadcommunityuses)
No of bad community uses
|
void |
setInbadvalues(long inbadvalues)
No of bad values
|
void |
setInbadversions(long inbadversions)
No of bad versions
|
void |
setIngenerrs(long ingenerrs)
No of gen errors
|
void |
setInnosuchnames(long innosuchnames)
No of no such names
|
void |
setInpkts(long inpkts)
No of input packets
|
void |
setIntoobigs(long intoobigs)
No of too bigs
|
void |
setMaxvarbinds(long maxvarbinds)
No of max var binds
|
void |
setOutbadvalues(long outbadvalues)
No of bad values
|
void |
setOutgenerrs(long outgenerrs)
No of gen errors
|
void |
setOutnosuchnames(long outnosuchnames)
No of no such names
|
void |
setOutpkts(long outpkts)
No of output packets
|
void |
setOuttoobigs(long outtoobigs)
No out output too bigs
|
void |
setOuttraps(long outtraps)
No of output traps
|
void |
setSilentdrops(long silentdrops)
No of silent drops
|
void |
setSysuptime(String sysuptime)
System uptime
|
void |
setUsmstatsdecryptionerrors(long usmstatsdecryptionerrors)
No.
|
void |
setUsmstatsnotintimewindows(long usmstatsnotintimewindows)
No of stats not in time window
|
void |
setUsmstatsunknownengineids(long usmstatsunknownengineids)
No of usm stats unknown engine ids
|
void |
setUsmstatsunknownusernames(long usmstatsunknownusernames)
No of usm stats unknown
|
void |
setUsmstatswrongdigests(long usmstatswrongdigests)
No of wrogn digests
|
void |
setWorstresponsetime(String worstresponsetime)
Response time
|
void |
setWorstrtimelast(String worstrtimelast)
Last updated time
|
String |
toString()
Returns a string representation of this structure.
|
public String getSysuptime()
public void setSysuptime(String sysuptime)
sysuptime
- New value for the property.public String getWorstrtimelast()
public void setWorstrtimelast(String worstrtimelast)
worstrtimelast
- New value for the property.public String getAvgresponsetime()
public void setAvgresponsetime(String avgresponsetime)
avgresponsetime
- New value for the property.public String getWorstresponsetime()
public void setWorstresponsetime(String worstresponsetime)
worstresponsetime
- New value for the property.public long getInpkts()
public void setInpkts(long inpkts)
inpkts
- New value for the property.public long getOutpkts()
public void setOutpkts(long outpkts)
outpkts
- New value for the property.public long getUsmstatsnotintimewindows()
public void setUsmstatsnotintimewindows(long usmstatsnotintimewindows)
usmstatsnotintimewindows
- New value for the property.public long getUsmstatsunknownusernames()
public void setUsmstatsunknownusernames(long usmstatsunknownusernames)
usmstatsunknownusernames
- New value for the property.public long getUsmstatsunknownengineids()
public void setUsmstatsunknownengineids(long usmstatsunknownengineids)
usmstatsunknownengineids
- New value for the property.public long getUsmstatswrongdigests()
public void setUsmstatswrongdigests(long usmstatswrongdigests)
usmstatswrongdigests
- New value for the property.public long getUsmstatsdecryptionerrors()
public void setUsmstatsdecryptionerrors(long usmstatsdecryptionerrors)
usmstatsdecryptionerrors
- New value for the property.public long getInbadversions()
public void setInbadversions(long inbadversions)
inbadversions
- New value for the property.public long getInbadcommunitynames()
public void setInbadcommunitynames(long inbadcommunitynames)
inbadcommunitynames
- New value for the property.public long getInbadcommunityuses()
public void setInbadcommunityuses(long inbadcommunityuses)
inbadcommunityuses
- New value for the property.public long getInasnparseerrs()
public void setInasnparseerrs(long inasnparseerrs)
inasnparseerrs
- New value for the property.public long getIntoobigs()
public void setIntoobigs(long intoobigs)
intoobigs
- New value for the property.public long getInnosuchnames()
public void setInnosuchnames(long innosuchnames)
innosuchnames
- New value for the property.public long getInbadvalues()
public void setInbadvalues(long inbadvalues)
inbadvalues
- New value for the property.public long getIngenerrs()
public void setIngenerrs(long ingenerrs)
ingenerrs
- New value for the property.public long getOuttoobigs()
public void setOuttoobigs(long outtoobigs)
outtoobigs
- New value for the property.public long getOutnosuchnames()
public void setOutnosuchnames(long outnosuchnames)
outnosuchnames
- New value for the property.public long getOutbadvalues()
public void setOutbadvalues(long outbadvalues)
outbadvalues
- New value for the property.public long getOutgenerrs()
public void setOutgenerrs(long outgenerrs)
outgenerrs
- New value for the property.public long getOuttraps()
public void setOuttraps(long outtraps)
outtraps
- New value for the property.public long getSilentdrops()
public void setSilentdrops(long silentdrops)
silentdrops
- New value for the property.public long getAvgvarbinds()
public void setAvgvarbinds(long avgvarbinds)
avgvarbinds
- New value for the property.public long getMaxvarbinds()
public void setMaxvarbinds(long maxvarbinds)
maxvarbinds
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
StaticStructure
StructType
instance representing the static bindings
type for this Structure
._getType
in interface StaticStructure
StructType
public StructValue _getDataValue()
Structure
Structure
represented in the dynamic
DataValue
model.
Attempts to change the returned StructValue
representation are not required to change the state of this structure.
Actually the behavior is implementation dependent and is unspecified.
In general the returned value shouldn't be changed.
_getDataValue
in interface Structure
StructValue
representing this structurepublic void _validate()
StaticStructure
Structure
.
More precisely, for each union: given value of the discriminant/tag
field (@UnionTag
in the IDL) of an union in this structure,
validates that:
_validate
in interface StaticStructure
public String toString()
StaticStructure
In general no code should depend on the format of the resulting string. E.g. there must be no attempts to parse for re-creation of the original instance.
toString
in interface StaticStructure
toString
in class Object
public boolean _hasTypeNameOf(Class<? extends Structure> clazz)
Structure
_hasTypeNameOf
in interface Structure
clazz
- type of the result structure. cannot be null.public <T extends Structure> T _convertTo(Class<T> clazz)
Structure
_convertTo
in interface Structure
clazz
- type of the result structure. cannot be null.CoreException
is thrown otherwise.public void _setDynamicField(String fieldName, DataValue fieldValue)
StaticStructure
_setDynamicField
in interface StaticStructure
fieldName
- canonical name of the dynamic field to setfieldValue
- the value of the fieldpublic DataValue _getDynamicField(String fieldName)
StaticStructure
_getDynamicField
in interface StaticStructure
fieldName
- the canonical name of the dynamic fieldDataValue
of the dynamic fieldpublic Set<String> _getDynamicFieldNames()
StaticStructure
_getDynamicFieldNames
in interface StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public String _getCanonicalName()
Structure
org.example.FooBar
would turn into
org.example.foo_bar
._getCanonicalName
in interface Structure
public static String _getCanonicalTypeName()
_getCanonicalName()
.public static SnmpTypes.SNMPStats _newInstance(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.StructType
Copyright © 2016. All Rights Reserved.