Class MembershipRpcResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipRpcResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipRpcResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public MembershipRpcResponseContext
responseContext
public MembershipRpcResponseContext.Builder
responseContextBuilder
public Object
response
-
Method Summary
Modifier and Type Method Description MembershipRpcResponseContext
getResponseContext()
Gets the value of the 'responseContext' field. MembershipRpcResponse.Builder
setResponseContext(MembershipRpcResponseContext value)
Sets the value of the 'responseContext' field. MembershipRpcResponseContext.Builder
getResponseContextBuilder()
Gets the Builder instance for the 'responseContext' field and creates one if it doesn't exist yet. MembershipRpcResponse.Builder
setResponseContextBuilder(MembershipRpcResponseContext.Builder value)
Sets the Builder instance for the 'responseContext' field Response context. Object
getResponse()
Gets the value of the 'response' field. MembershipRpcResponse.Builder
setResponse(Object value)
Sets the value of the 'response' field. boolean
hasResponseContext()
Checks whether the 'responseContext' field has been set. boolean
hasResponseContextBuilder()
Checks whether the 'responseContext' field has an active Builder instance Response context. MembershipRpcResponse.Builder
clearResponseContext()
Clears the value of the 'responseContext' field. boolean
hasResponse()
Checks whether the 'response' field has been set. MembershipRpcResponse.Builder
clearResponse()
Clears the value of the 'response' field. MembershipRpcResponse
build()
-
-
Method Detail
-
getResponseContext
MembershipRpcResponseContext getResponseContext()
Gets the value of the 'responseContext' field. Response context.
-
setResponseContext
MembershipRpcResponse.Builder setResponseContext(MembershipRpcResponseContext value)
Sets the value of the 'responseContext' field. Response context.
- Parameters:
value
- The value of 'responseContext'.
-
getResponseContextBuilder
MembershipRpcResponseContext.Builder getResponseContextBuilder()
Gets the Builder instance for the 'responseContext' field and creates one if it doesn't exist yet. Response context.
-
setResponseContextBuilder
MembershipRpcResponse.Builder setResponseContextBuilder(MembershipRpcResponseContext.Builder value)
Sets the Builder instance for the 'responseContext' field Response context.
- Parameters:
value
- The builder instance that must be set.
-
getResponse
Object getResponse()
Gets the value of the 'response' field. Response's payload, depends on the requested operation.
-
setResponse
MembershipRpcResponse.Builder setResponse(Object value)
Sets the value of the 'response' field. Response's payload, depends on the requested operation.
- Parameters:
value
- The value of 'response'.
-
hasResponseContext
boolean hasResponseContext()
Checks whether the 'responseContext' field has been set. Response context.
-
hasResponseContextBuilder
boolean hasResponseContextBuilder()
Checks whether the 'responseContext' field has an active Builder instance Response context.
-
clearResponseContext
MembershipRpcResponse.Builder clearResponseContext()
Clears the value of the 'responseContext' field. Response context.
-
hasResponse
boolean hasResponse()
Checks whether the 'response' field has been set. Response's payload, depends on the requested operation.
-
clearResponse
MembershipRpcResponse.Builder clearResponse()
Clears the value of the 'response' field. Response's payload, depends on the requested operation.
-
build
MembershipRpcResponse build()
-
-
-
-