Class MembershipRpcResponseContext.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipRpcResponseContext.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipRpcResponseContext instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestId
public Instant
requestTimestamp
public Instant
responseTimestamp
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Gets the value of the 'requestId' field. MembershipRpcResponseContext.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. Instant
getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. MembershipRpcResponseContext.Builder
setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Instant
getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. MembershipRpcResponseContext.Builder
setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. MembershipRpcResponseContext.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. MembershipRpcResponseContext.Builder
clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. boolean
hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. MembershipRpcResponseContext.Builder
clearResponseTimestamp()
Clears the value of the 'responseTimestamp' field. MembershipRpcResponseContext
build()
-
-
Method Detail
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. ID of the request.
-
setRequestId
MembershipRpcResponseContext.Builder setRequestId(String value)
Sets the value of the 'requestId' field. ID of the request.
- Parameters:
value
- The value of 'requestId'.
-
getRequestTimestamp
Instant getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds when the request was issued.
-
setRequestTimestamp
MembershipRpcResponseContext.Builder setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds when the request was issued.
- Parameters:
value
- The value of 'requestTimestamp'.
-
getResponseTimestamp
Instant getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds when the response was issued.
-
setResponseTimestamp
MembershipRpcResponseContext.Builder setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds when the response was issued.
- Parameters:
value
- The value of 'responseTimestamp'.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. ID of the request.
-
clearRequestId
MembershipRpcResponseContext.Builder clearRequestId()
Clears the value of the 'requestId' field. ID of the request.
-
hasRequestTimestamp
boolean hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. Time ([Instant]) in milliseconds when the request was issued.
-
clearRequestTimestamp
MembershipRpcResponseContext.Builder clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds when the request was issued.
-
hasResponseTimestamp
boolean hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. Time ([Instant]) in milliseconds when the response was issued.
-
clearResponseTimestamp
MembershipRpcResponseContext.Builder clearResponseTimestamp()
Clears the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds when the response was issued.
-
build
MembershipRpcResponseContext build()
-
-
-
-