Interface ColorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Color, Color.Builder

@Generated public interface ColorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The amount of blue in the color as a value in the interval [0, 1].
    float
    The amount of green in the color as a value in the interval [0, 1].
    float
    The amount of red in the color as a value in the interval [0, 1].

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.