Interface ImageCharacteristicsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageCharacteristics,ImageCharacteristics.Builder
@Generated
public interface ImageCharacteristicsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOutput only.Output only.intOutput only.intOutput only.intgetWidth()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getWidth
int getWidth()Output only. Image width in pixels.
int32 width = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The width.
-
getHeight
int getHeight()Output only. Image height in pixels.
int32 height = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The height.
-
getColorSpaceValue
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:
- The enum numeric value on the wire for colorSpace.
-
getColorSpace
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:
- The colorSpace.
-
getBitDepth
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:
- The bitDepth.
-