Class ResponseDoneEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseDoneEvent.BuilderA builder for ResponseDoneEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
eventId
final ResponseDoneEvent.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final ResponseDoneEvent.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
response
final ResponseDoneEvent.Builder response(RealtimeResponse response)
The response resource.
 
- 
                                        
response
final ResponseDoneEvent.Builder response(JsonField<RealtimeResponse> response)
Sets Builder.response to an arbitrary JSON value.
You should usually call Builder.response with a well-typed RealtimeResponse value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseDoneEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("response.done")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseDoneEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseDoneEvent build()
Returns an immutable instance of ResponseDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .response() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -