Interface ImageConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ImageConfig, ImageConfig.Builder

@Generated public interface ImageConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasImageOutputOptions

      boolean 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];
      Returns:
      Whether the imageOutputOptions field is set.
    • getImageOutputOptions

      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];
      Returns:
      The imageOutputOptions.
    • getImageOutputOptionsOrBuilder

      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];
    • hasAspectRatio

      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];
      Returns:
      Whether the aspectRatio field is set.
    • getAspectRatio

      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];
      Returns:
      The aspectRatio.
    • getAspectRatioBytes

      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];
      Returns:
      The bytes for aspectRatio.
    • hasPersonGeneration

      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];
      Returns:
      Whether the personGeneration field is set.
    • getPersonGenerationValue

      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];
      Returns:
      The enum numeric value on the wire for personGeneration.
    • getPersonGeneration

      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];
      Returns:
      The personGeneration.
    • hasImageSize

      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];
      Returns:
      Whether the imageSize field is set.
    • getImageSize

      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];
      Returns:
      The imageSize.
    • getImageSizeBytes

      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];
      Returns:
      The bytes for imageSize.