Send feedback
Class ImageProperties.Builder (3.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.1.0 keyboard_arrow_down
public static final class ImageProperties . Builder extends GeneratedMessageV3 . Builder<ImageProperties . Builder > implements ImagePropertiesOrBuilder
Stores image properties, such as dominant colors.
Protobuf type google.cloud.vision.v1p3beta1.ImageProperties
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageProperties . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ImageProperties build ()
Returns
buildPartial()
public ImageProperties buildPartial ()
Returns
clear()
public ImageProperties . Builder clear ()
Returns
Overrides
clearDominantColors()
public ImageProperties . Builder clearDominantColors ()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImageProperties . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageProperties . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ImageProperties . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ImageProperties getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDominantColors()
public DominantColorsAnnotation getDominantColors ()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Returns
getDominantColorsBuilder()
public DominantColorsAnnotation . Builder getDominantColorsBuilder ()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Returns
getDominantColorsOrBuilder()
public DominantColorsAnnotationOrBuilder getDominantColorsOrBuilder ()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Returns
hasDominantColors()
public boolean hasDominantColors ()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Returns
Type Description boolean Whether the dominantColors field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeDominantColors(DominantColorsAnnotation value)
public ImageProperties . Builder mergeDominantColors ( DominantColorsAnnotation value )
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Parameter
Returns
mergeFrom(ImageProperties other)
public ImageProperties . Builder mergeFrom ( ImageProperties other )
Parameter
Returns
public ImageProperties . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImageProperties . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageProperties . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDominantColors(DominantColorsAnnotation value)
public ImageProperties . Builder setDominantColors ( DominantColorsAnnotation value )
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Parameter
Returns
setDominantColors(DominantColorsAnnotation.Builder builderForValue)
public ImageProperties . Builder setDominantColors ( DominantColorsAnnotation . Builder builderForValue )
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImageProperties . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageProperties . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageProperties . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]