@Generated
public interface ImageConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAspectRatio()
Optional.
|
com.google.protobuf.ByteString |
getAspectRatioBytes()
Optional.
|
ImageConfig.ImageOutputOptions |
getImageOutputOptions()
Optional.
|
ImageConfig.ImageOutputOptionsOrBuilder |
getImageOutputOptionsOrBuilder()
Optional.
|
String |
getImageSize()
Optional.
|
com.google.protobuf.ByteString |
getImageSizeBytes()
Optional.
|
ImageConfig.PersonGeneration |
getPersonGeneration()
Optional.
|
int |
getPersonGenerationValue()
Optional.
|
boolean |
hasAspectRatio()
Optional.
|
boolean |
hasImageOutputOptions()
Optional.
|
boolean |
hasImageSize()
Optional.
|
boolean |
hasPersonGeneration()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasImageOutputOptions()
Optional. The image output format for generated images.
optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL];
ImageConfig.ImageOutputOptions getImageOutputOptions()
Optional. The image output format for generated images.
optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL];
ImageConfig.ImageOutputOptionsOrBuilder getImageOutputOptionsOrBuilder()
Optional. The image output format for generated images.
optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL];
boolean hasAspectRatio()
Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL];String getAspectRatio()
Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getAspectRatioBytes()
Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL];boolean hasPersonGeneration()
Optional. Controls whether the model can generate people.
optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL];
int getPersonGenerationValue()
Optional. Controls whether the model can generate people.
optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL];
ImageConfig.PersonGeneration getPersonGeneration()
Optional. Controls whether the model can generate people.
optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL];
boolean hasImageSize()
Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL];String getImageSize()
Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getImageSizeBytes()
Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.