Class RpcOpsResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class RpcOpsResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for RpcOpsResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CryptoResponseContext
context
public CryptoResponseContext.Builder
contextBuilder
public Object
response
-
Method Summary
Modifier and Type Method Description CryptoResponseContext
getContext()
Gets the value of the 'context' field. RpcOpsResponse.Builder
setContext(CryptoResponseContext value)
Sets the value of the 'context' field. CryptoResponseContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. RpcOpsResponse.Builder
setContextBuilder(CryptoResponseContext.Builder value)
Sets the Builder instance for the 'context' field Response context, tenant id, timestamp, etc. Object
getResponse()
Gets the value of the 'response' field. RpcOpsResponse.Builder
setResponse(Object value)
Sets the value of the 'response' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Response context, tenant id, timestamp, etc. RpcOpsResponse.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasResponse()
Checks whether the 'response' field has been set. RpcOpsResponse.Builder
clearResponse()
Clears the value of the 'response' field. RpcOpsResponse
build()
-
-
Method Detail
-
getContext
CryptoResponseContext getContext()
Gets the value of the 'context' field. Response context, tenant id, timestamp, etc.
-
setContext
RpcOpsResponse.Builder setContext(CryptoResponseContext value)
Sets the value of the 'context' field. Response context, tenant id, timestamp, etc.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
CryptoResponseContext.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. Response context, tenant id, timestamp, etc.
-
setContextBuilder
RpcOpsResponse.Builder setContextBuilder(CryptoResponseContext.Builder value)
Sets the Builder instance for the 'context' field Response context, tenant id, timestamp, etc.
- 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
RpcOpsResponse.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'.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. Response context, tenant id, timestamp, etc.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Response context, tenant id, timestamp, etc.
-
clearContext
RpcOpsResponse.Builder clearContext()
Clears the value of the 'context' field. Response context, tenant id, timestamp, etc.
-
hasResponse
boolean hasResponse()
Checks whether the 'response' field has been set. Response's payload, depends on the requested operation
-
clearResponse
RpcOpsResponse.Builder clearResponse()
Clears the value of the 'response' field. Response's payload, depends on the requested operation
-
build
RpcOpsResponse build()
-
-
-
-