Class MembershipAsyncRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipAsyncRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipAsyncRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public RegistrationAsyncRequest
request
public RegistrationAsyncRequest.Builder
requestBuilder
public MembershipAsyncRequestState
state
public MembershipAsyncRequestState.Builder
stateBuilder
-
Method Summary
Modifier and Type Method Description RegistrationAsyncRequest
getRequest()
Gets the value of the 'request' field. MembershipAsyncRequest.Builder
setRequest(RegistrationAsyncRequest value)
Sets the value of the 'request' field. RegistrationAsyncRequest.Builder
getRequestBuilder()
Gets the Builder instance for the 'request' field and creates one if it doesn't exist yet. MembershipAsyncRequest.Builder
setRequestBuilder(RegistrationAsyncRequest.Builder value)
Sets the Builder instance for the 'request' field Request's payload, depends on the requested operation. MembershipAsyncRequestState
getState()
Gets the value of the 'state' field. MembershipAsyncRequest.Builder
setState(MembershipAsyncRequestState value)
Sets the value of the 'state' field. MembershipAsyncRequestState.Builder
getStateBuilder()
Gets the Builder instance for the 'state' field and creates one if it doesn't exist yet. MembershipAsyncRequest.Builder
setStateBuilder(MembershipAsyncRequestState.Builder value)
Sets the Builder instance for the 'state' field Request latest state. boolean
hasRequest()
Checks whether the 'request' field has been set. boolean
hasRequestBuilder()
Checks whether the 'request' field has an active Builder instance Request's payload, depends on the requested operation. MembershipAsyncRequest.Builder
clearRequest()
Clears the value of the 'request' field. boolean
hasState()
Checks whether the 'state' field has been set. boolean
hasStateBuilder()
Checks whether the 'state' field has an active Builder instance Request latest state. MembershipAsyncRequest.Builder
clearState()
Clears the value of the 'state' field. MembershipAsyncRequest
build()
-
-
Method Detail
-
getRequest
RegistrationAsyncRequest getRequest()
Gets the value of the 'request' field. Request's payload, depends on the requested operation.
-
setRequest
MembershipAsyncRequest.Builder setRequest(RegistrationAsyncRequest value)
Sets the value of the 'request' field. Request's payload, depends on the requested operation.
- Parameters:
value
- The value of 'request'.
-
getRequestBuilder
RegistrationAsyncRequest.Builder getRequestBuilder()
Gets the Builder instance for the 'request' field and creates one if it doesn't exist yet. Request's payload, depends on the requested operation.
-
setRequestBuilder
MembershipAsyncRequest.Builder setRequestBuilder(RegistrationAsyncRequest.Builder value)
Sets the Builder instance for the 'request' field Request's payload, depends on the requested operation.
- Parameters:
value
- The builder instance that must be set.
-
getState
MembershipAsyncRequestState getState()
Gets the value of the 'state' field. Request latest state.
-
setState
MembershipAsyncRequest.Builder setState(MembershipAsyncRequestState value)
Sets the value of the 'state' field. Request latest state.
- Parameters:
value
- The value of 'state'.
-
getStateBuilder
MembershipAsyncRequestState.Builder getStateBuilder()
Gets the Builder instance for the 'state' field and creates one if it doesn't exist yet. Request latest state.
-
setStateBuilder
MembershipAsyncRequest.Builder setStateBuilder(MembershipAsyncRequestState.Builder value)
Sets the Builder instance for the 'state' field Request latest state.
- Parameters:
value
- The builder instance that must be set.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. Request's payload, depends on the requested operation.
-
hasRequestBuilder
boolean hasRequestBuilder()
Checks whether the 'request' field has an active Builder instance Request's payload, depends on the requested operation.
-
clearRequest
MembershipAsyncRequest.Builder clearRequest()
Clears the value of the 'request' field. Request's payload, depends on the requested operation.
-
hasState
boolean hasState()
Checks whether the 'state' field has been set. Request latest state.
-
hasStateBuilder
boolean hasStateBuilder()
Checks whether the 'state' field has an active Builder instance Request latest state.
-
clearState
MembershipAsyncRequest.Builder clearState()
Clears the value of the 'state' field. Request latest state.
-
build
MembershipAsyncRequest build()
-
-
-
-