Class FlowStackItemSession.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FlowStackItemSession.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FlowStackItemSession instances.
-
-
Method Summary
Modifier and Type Method Description String
getSessionId()
Gets the value of the 'sessionId' field. FlowStackItemSession.Builder
setSessionId(String value)
Sets the value of the 'sessionId' field. boolean
getInitiated()
Gets the value of the 'initiated' field. FlowStackItemSession.Builder
setInitiated(boolean value)
Sets the value of the 'initiated' field. boolean
hasSessionId()
Checks whether the 'sessionId' field has been set. FlowStackItemSession.Builder
clearSessionId()
Clears the value of the 'sessionId' field. boolean
hasInitiated()
Checks whether the 'initiated' field has been set. FlowStackItemSession.Builder
clearInitiated()
Clears the value of the 'initiated' field. FlowStackItemSession
build()
-
-
Method Detail
-
getSessionId
String getSessionId()
Gets the value of the 'sessionId' field. The session ID.
-
setSessionId
FlowStackItemSession.Builder setSessionId(String value)
Sets the value of the 'sessionId' field. The session ID.
- Parameters:
value
- The value of 'sessionId'.
-
getInitiated
boolean getInitiated()
Gets the value of the 'initiated' field. Flag to show if the session has sent a session init message or was initiated by a peer session.
-
setInitiated
FlowStackItemSession.Builder setInitiated(boolean value)
Sets the value of the 'initiated' field. Flag to show if the session has sent a session init message or was initiated by a peer session.
- Parameters:
value
- The value of 'initiated'.
-
hasSessionId
boolean hasSessionId()
Checks whether the 'sessionId' field has been set. The session ID.
-
clearSessionId
FlowStackItemSession.Builder clearSessionId()
Clears the value of the 'sessionId' field. The session ID.
-
hasInitiated
boolean hasInitiated()
Checks whether the 'initiated' field has been set. Flag to show if the session has sent a session init message or was initiated by a peer session.
-
clearInitiated
FlowStackItemSession.Builder clearInitiated()
Clears the value of the 'initiated' field. Flag to show if the session has sent a session init message or was initiated by a peer session.
-
build
FlowStackItemSession build()
-
-
-
-