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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImageProperties build()
buildPartial()
public ImageProperties buildPartial()
clear()
public ImageProperties.Builder clear()
Overrides
clearDominantColors()
public ImageProperties.Builder clearDominantColors()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
clearField(Descriptors.FieldDescriptor field)
public ImageProperties.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImageProperties.Builder clone()
Overrides
getDefaultInstanceForType()
public ImageProperties getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDominantColors()
public DominantColorsAnnotation getDominantColors()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
getDominantColorsBuilder()
public DominantColorsAnnotation.Builder getDominantColorsBuilder()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
getDominantColorsOrBuilder()
public DominantColorsAnnotationOrBuilder getDominantColorsOrBuilder()
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDominantColors(DominantColorsAnnotation value)
public ImageProperties.Builder mergeDominantColors(DominantColorsAnnotation value)
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
mergeFrom(ImageProperties other)
public ImageProperties.Builder mergeFrom(ImageProperties other)
public ImageProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImageProperties.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDominantColors(DominantColorsAnnotation value)
public ImageProperties.Builder setDominantColors(DominantColorsAnnotation value)
If present, dominant colors completed successfully.
.google.cloud.vision.v1p3beta1.DominantColorsAnnotation dominant_colors = 1;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ImageProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides