Class MembershipRpcRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipRpcRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipRpcRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public MembershipRpcRequestContext
requestContext
public MembershipRpcRequestContext.Builder
requestContextBuilder
public Object
request
-
Method Summary
Modifier and Type Method Description MembershipRpcRequestContext
getRequestContext()
Gets the value of the 'requestContext' field. MembershipRpcRequest.Builder
setRequestContext(MembershipRpcRequestContext value)
Sets the value of the 'requestContext' field. MembershipRpcRequestContext.Builder
getRequestContextBuilder()
Gets the Builder instance for the 'requestContext' field and creates one if it doesn't exist yet. MembershipRpcRequest.Builder
setRequestContextBuilder(MembershipRpcRequestContext.Builder value)
Sets the Builder instance for the 'requestContext' field Request context. Object
getRequest()
Gets the value of the 'request' field. MembershipRpcRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. boolean
hasRequestContext()
Checks whether the 'requestContext' field has been set. boolean
hasRequestContextBuilder()
Checks whether the 'requestContext' field has an active Builder instance Request context. MembershipRpcRequest.Builder
clearRequestContext()
Clears the value of the 'requestContext' field. boolean
hasRequest()
Checks whether the 'request' field has been set. MembershipRpcRequest.Builder
clearRequest()
Clears the value of the 'request' field. MembershipRpcRequest
build()
-
-
Method Detail
-
getRequestContext
MembershipRpcRequestContext getRequestContext()
Gets the value of the 'requestContext' field. Request context.
-
setRequestContext
MembershipRpcRequest.Builder setRequestContext(MembershipRpcRequestContext value)
Sets the value of the 'requestContext' field. Request context.
- Parameters:
value
- The value of 'requestContext'.
-
getRequestContextBuilder
MembershipRpcRequestContext.Builder getRequestContextBuilder()
Gets the Builder instance for the 'requestContext' field and creates one if it doesn't exist yet. Request context.
-
setRequestContextBuilder
MembershipRpcRequest.Builder setRequestContextBuilder(MembershipRpcRequestContext.Builder value)
Sets the Builder instance for the 'requestContext' field Request context.
- Parameters:
value
- The builder instance that must be set.
-
getRequest
Object getRequest()
Gets the value of the 'request' field. Request's payload, depends on the requested operation.
-
setRequest
MembershipRpcRequest.Builder setRequest(Object value)
Sets the value of the 'request' field. Request's payload, depends on the requested operation.
- Parameters:
value
- The value of 'request'.
-
hasRequestContext
boolean hasRequestContext()
Checks whether the 'requestContext' field has been set. Request context.
-
hasRequestContextBuilder
boolean hasRequestContextBuilder()
Checks whether the 'requestContext' field has an active Builder instance Request context.
-
clearRequestContext
MembershipRpcRequest.Builder clearRequestContext()
Clears the value of the 'requestContext' field. Request context.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. Request's payload, depends on the requested operation.
-
clearRequest
MembershipRpcRequest.Builder clearRequest()
Clears the value of the 'request' field. Request's payload, depends on the requested operation.
-
build
MembershipRpcRequest build()
-
-
-
-