Class EasyInputMessage
- 
                    
                    - All Implemented Interfaces:
 
 public final class EasyInputMessageA message input to the model with a role indicating instruction following hierarchy. Instructions given with the developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classEasyInputMessage.BuilderA builder for EasyInputMessage. public final classEasyInputMessage.ContentText, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses. public final classEasyInputMessage.RoleThe role of the message input. One of user,assistant,system, ordeveloper.public final classEasyInputMessage.TypeThe type of the message input. Always message.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final EasyInputMessage.Contentcontent()Text, image, or audio input to the model, used to generate a response. final EasyInputMessage.Rolerole()The role of the message input. final Optional<EasyInputMessage.Type>type()The type of the message input. final JsonField<EasyInputMessage.Content>_content()Returns the raw JSON value of content. final JsonField<EasyInputMessage.Role>_role()Returns the raw JSON value of role. final JsonField<EasyInputMessage.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final EasyInputMessage.BuildertoBuilder()final EasyInputMessagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EasyInputMessage.Builderbuilder()Returns a mutable builder for constructing an instance of EasyInputMessage. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        contentfinal EasyInputMessage.Content content() Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses. 
 - 
                                        rolefinal EasyInputMessage.Role role() The role of the message input. One of user,assistant,system, ordeveloper.
 - 
                                        typefinal Optional<EasyInputMessage.Type> type() The type of the message input. Always message.
 - 
                                        _contentfinal JsonField<EasyInputMessage.Content> _content() Returns the raw JSON value of content. Unlike content, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rolefinal JsonField<EasyInputMessage.Role> _role() Returns the raw JSON value of role. Unlike role, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _typefinal JsonField<EasyInputMessage.Type> _type() Returns the raw JSON value of type. Unlike type, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal EasyInputMessage.Builder toBuilder() 
 - 
                                        validatefinal EasyInputMessage validate() 
 - 
                                        builderfinal static EasyInputMessage.Builder builder() Returns a mutable builder for constructing an instance of EasyInputMessage. The following fields are required: .content() .role()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-