public interface ImageCharacteristicsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBitDepth()
public abstract int getBitDepth()Output only. Bit depth of the image (e.g., 8-bit, 16-bit).
int32 bit_depth = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The bitDepth. |
getColorSpace()
public abstract ImageCharacteristics.ColorSpace getColorSpace()Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale").
.google.cloud.discoveryengine.v1alpha.ImageCharacteristics.ColorSpace color_space = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ImageCharacteristics.ColorSpace |
The colorSpace. |
getColorSpaceValue()
public abstract int getColorSpaceValue()Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale").
.google.cloud.discoveryengine.v1alpha.ImageCharacteristics.ColorSpace color_space = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for colorSpace. |
getHeight()
public abstract int getHeight()Output only. Image height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The height. |
getWidth()
public abstract int getWidth()Output only. Image width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The width. |