Package com.google.privacy.dlp.v2
Interface ColorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Color
,Color.Builder
public interface ColorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getBlue()
The amount of blue in the color as a value in the interval [0, 1].float
getGreen()
The amount of green in the color as a value in the interval [0, 1].float
getRed()
The amount of red in the color as a value in the interval [0, 1].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRed
float getRed()
The amount of red in the color as a value in the interval [0, 1].
float red = 1;
- Returns:
- The red.
-
getGreen
float getGreen()
The amount of green in the color as a value in the interval [0, 1].
float green = 2;
- Returns:
- The green.
-
getBlue
float getBlue()
The amount of blue in the color as a value in the interval [0, 1].
float blue = 3;
- Returns:
- The blue.
-
-