Class LabelModelGrader.Input.Content.InputImage.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class LabelModelGrader.Input.Content.InputImage.BuilderA builder for InputImage.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
imageUrl
final LabelModelGrader.Input.Content.InputImage.Builder imageUrl(String imageUrl)
The URL of the image input.
 
- 
                                        
imageUrl
final LabelModelGrader.Input.Content.InputImage.Builder imageUrl(JsonField<String> imageUrl)
Sets Builder.imageUrl to an arbitrary JSON value.
You should usually call Builder.imageUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final LabelModelGrader.Input.Content.InputImage.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("input_image")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
detail
final LabelModelGrader.Input.Content.InputImage.Builder detail(String detail)
The detail level of the image to be sent to the model. One of
high,low, orauto. Defaults toauto. 
- 
                                        
detail
final LabelModelGrader.Input.Content.InputImage.Builder detail(JsonField<String> detail)
Sets Builder.detail to an arbitrary JSON value.
You should usually call Builder.detail with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final LabelModelGrader.Input.Content.InputImage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final LabelModelGrader.Input.Content.InputImage.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final LabelModelGrader.Input.Content.InputImage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final LabelModelGrader.Input.Content.InputImage.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final LabelModelGrader.Input.Content.InputImage.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final LabelModelGrader.Input.Content.InputImage build()
Returns an immutable instance of InputImage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.imageUrl() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -