public final class PacketCaptureRequest
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
PacketCaptureRequest.Builder
Builder class for
PacketCaptureRequest . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
CAPMODE_STANDALONE |
static java.lang.String |
CAPMODE_STREAM |
static java.lang.String |
CAPPOINT_DVFILTER |
static java.lang.String |
CAPPOINT_FCPORT |
static java.lang.String |
CAPPOINT_LOGICALPORT |
static java.lang.String |
CAPPOINT_PNIC |
static java.lang.String |
CAPPOINT_VDRPORT |
static java.lang.String |
CAPPOINT_VIF |
static java.lang.String |
CAPPOINT_VMKNIC |
static java.lang.String |
CAPPOINT_VMNIC |
static java.lang.String |
CAPPOINT_VNIC |
static java.lang.String |
CAPSOURCE_CLI |
static java.lang.String |
CAPSOURCE_UI |
static java.lang.String |
DIRECTION_DUAL |
static java.lang.String |
DIRECTION_INPUT |
static java.lang.String |
DIRECTION_OUTPUT |
static java.lang.String |
FILTERTYPE_POST |
static java.lang.String |
FILTERTYPE_PRE |
Modifier | Constructor and Description |
---|---|
|
PacketCaptureRequest()
Default constructor.
|
protected |
PacketCaptureRequest(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 PacketCaptureRequest |
_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 PacketCaptureRequest |
_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 |
getCapamount()
Define the packet capture amount size.
|
java.lang.Long |
getCapcore()
The CPU core id on Edge node.
|
java.lang.Long |
getCapduration()
Define the packet capture duration time.
|
java.lang.Long |
getCapfilesize()
Define the packet capture file size limit.
|
java.lang.String |
getCapmode()
Possible values are:
CAPMODE_STANDALONE CAPMODE_STREAM Define the
capture streaming mode. |
java.lang.String |
getCappoint()
Possible values are:
CAPPOINT_VNIC CAPPOINT_VMKNIC CAPPOINT_VMNIC CAPPOINT_VDRPORT CAPPOINT_DVFILTER CAPPOINT_LOGICALPORT CAPPOINT_FCPORT CAPPOINT_VIF CAPPOINT_PNIC Define the
point to capture data. |
java.lang.Long |
getCaprate()
Define the rate of packet capture process.
|
java.lang.Long |
getCapsnaplen()
Limit the number of bytes captured from each packet.
|
java.lang.String |
getCapsource()
Possible values are:
CAPSOURCE_CLI CAPSOURCE_UI This type is
used to differenite the incoming request from CLI/UI. |
java.lang.String |
getCapvalue()
Define the capture value of given capture point.
|
java.lang.String |
getDirection()
|
java.lang.String |
getFiltertype()
Possible values are:
FILTERTYPE_PRE FILTERTYPE_POST Define the
capture filter type. |
java.lang.String |
getNode()
Define the transport node to capture data.
|
java.lang.String |
getNodeIp()
Define the transport node to capture data.
|
PacketCaptureOptionList |
getOptions() |
java.lang.String |
getStreamaddress()
Set the stream address to receive the capture packet.
|
java.lang.Long |
getStreamport()
Set the stream port to receive the capture packet.
|
int |
hashCode() |
void |
setCapamount(java.lang.Long capamount)
Define the packet capture amount size.
|
void |
setCapcore(java.lang.Long capcore)
The CPU core id on Edge node.
|
void |
setCapduration(java.lang.Long capduration)
Define the packet capture duration time.
|
void |
setCapfilesize(java.lang.Long capfilesize)
Define the packet capture file size limit.
|
void |
setCapmode(java.lang.String capmode)
Possible values are:
CAPMODE_STANDALONE CAPMODE_STREAM Define the
capture streaming mode. |
void |
setCappoint(java.lang.String cappoint)
Possible values are:
CAPPOINT_VNIC CAPPOINT_VMKNIC CAPPOINT_VMNIC CAPPOINT_VDRPORT CAPPOINT_DVFILTER CAPPOINT_LOGICALPORT CAPPOINT_FCPORT CAPPOINT_VIF CAPPOINT_PNIC Define the
point to capture data. |
void |
setCaprate(java.lang.Long caprate)
Define the rate of packet capture process.
|
void |
setCapsnaplen(java.lang.Long capsnaplen)
Limit the number of bytes captured from each packet.
|
void |
setCapsource(java.lang.String capsource)
Possible values are:
CAPSOURCE_CLI CAPSOURCE_UI This type is
used to differenite the incoming request from CLI/UI. |
void |
setCapvalue(java.lang.String capvalue)
Define the capture value of given capture point.
|
void |
setDirection(java.lang.String direction)
|
void |
setFiltertype(java.lang.String filtertype)
Possible values are:
FILTERTYPE_PRE FILTERTYPE_POST Define the
capture filter type. |
void |
setNode(java.lang.String node)
Define the transport node to capture data.
|
void |
setNodeIp(java.lang.String nodeIp)
Define the transport node to capture data.
|
void |
setOptions(PacketCaptureOptionList options) |
void |
setStreamaddress(java.lang.String streamaddress)
Set the stream address to receive the capture packet.
|
void |
setStreamport(java.lang.Long streamport)
Set the stream port to receive the capture packet.
|
java.lang.String |
toString() |
public static final java.lang.String CAPMODE_STANDALONE
public static final java.lang.String CAPMODE_STREAM
public static final java.lang.String CAPPOINT_VNIC
public static final java.lang.String CAPPOINT_VMKNIC
public static final java.lang.String CAPPOINT_VMNIC
public static final java.lang.String CAPPOINT_VDRPORT
public static final java.lang.String CAPPOINT_DVFILTER
public static final java.lang.String CAPPOINT_LOGICALPORT
public static final java.lang.String CAPPOINT_FCPORT
public static final java.lang.String CAPPOINT_VIF
public static final java.lang.String CAPPOINT_PNIC
public static final java.lang.String CAPSOURCE_CLI
public static final java.lang.String CAPSOURCE_UI
public static final java.lang.String DIRECTION_INPUT
public static final java.lang.String DIRECTION_OUTPUT
public static final java.lang.String DIRECTION_DUAL
public static final java.lang.String FILTERTYPE_PRE
public static final java.lang.String FILTERTYPE_POST
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public PacketCaptureRequest()
protected PacketCaptureRequest(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Long getCapamount()
public void setCapamount(java.lang.Long capamount)
capamount
- New value for the property.public java.lang.Long getCapcore()
public void setCapcore(java.lang.Long capcore)
capcore
- New value for the property.public java.lang.Long getCapduration()
public void setCapduration(java.lang.Long capduration)
capduration
- New value for the property.public java.lang.Long getCapfilesize()
public void setCapfilesize(java.lang.Long capfilesize)
capfilesize
- New value for the property.public java.lang.String getCapmode()
public void setCapmode(java.lang.String capmode)
capmode
- New value for the property.public java.lang.String getCappoint()
public void setCappoint(java.lang.String cappoint)
cappoint
- New value for the property.public java.lang.Long getCaprate()
public void setCaprate(java.lang.Long caprate)
caprate
- New value for the property.public java.lang.Long getCapsnaplen()
public void setCapsnaplen(java.lang.Long capsnaplen)
capsnaplen
- New value for the property.public java.lang.String getCapsource()
public void setCapsource(java.lang.String capsource)
capsource
- New value for the property.public java.lang.String getCapvalue()
public void setCapvalue(java.lang.String capvalue)
capvalue
- New value for the property.public java.lang.String getDirection()
public void setDirection(java.lang.String direction)
direction
- New value for the property.public java.lang.String getFiltertype()
public void setFiltertype(java.lang.String filtertype)
filtertype
- New value for the property.public java.lang.String getNode()
public void setNode(java.lang.String node)
node
- New value for the property.public java.lang.String getNodeIp()
public void setNodeIp(java.lang.String nodeIp)
nodeIp
- New value for the property.public PacketCaptureOptionList getOptions()
public void setOptions(PacketCaptureOptionList options)
options
- New value for the property.public java.lang.String getStreamaddress()
public void setStreamaddress(java.lang.String streamaddress)
streamaddress
- New value for the property.public java.lang.Long getStreamport()
public void setStreamport(java.lang.Long streamport)
streamport
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public 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.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static PacketCaptureRequest _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.StructType
public static PacketCaptureRequest _newInstance2(com.vmware.vapi.data.StructValue structValue)