Interface ImageConfig.ImageOutputOptionsOrBuilder (3.86.0)

public static interface ImageConfig.ImageOutputOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompressionQuality()

public abstract int getCompressionQuality()

Optional. The compression quality of the output image.

optional int32 compression_quality = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The compressionQuality.

getMimeType()

public abstract String getMimeType()

Optional. The image format that the output should be saved as.

optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Optional. The image format that the output should be saved as.

optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mimeType.

hasCompressionQuality()

public abstract boolean hasCompressionQuality()

Optional. The compression quality of the output image.

optional int32 compression_quality = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the compressionQuality field is set.

hasMimeType()

public abstract boolean hasMimeType()

Optional. The image format that the output should be saved as.

optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mimeType field is set.