Interface DisplayOptionsOrBuilder

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

public interface DisplayOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies the color that should be used to represent this project in UIs.
    com.google.protobuf.ByteString
    Specifies the color that should be used to represent this project in UIs.
    boolean
    Specifies whether to include this project in the list of favorites.
    boolean
    Specifies whether to include this project in reports.

    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

    • getColor

      String getColor()
       Specifies the color that should be used to represent this project in UIs. This is used to provide a visual hint
       which is consistent for a project in various reports. The user can provide an explicit color, or, otherwise, a
       consistent one is generated based on the project's name or position in the chart.
      
       At the time of this writing, only web-safe colors in hex-notation are supported.
       
      string color = 1 [json_name = "color", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Returns:
      The color.
    • getColorBytes

      com.google.protobuf.ByteString getColorBytes()
       Specifies the color that should be used to represent this project in UIs. This is used to provide a visual hint
       which is consistent for a project in various reports. The user can provide an explicit color, or, otherwise, a
       consistent one is generated based on the project's name or position in the chart.
      
       At the time of this writing, only web-safe colors in hex-notation are supported.
       
      string color = 1 [json_name = "color", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Returns:
      The bytes for color.
    • getReports

      boolean getReports()
       Specifies whether to include this project in reports. This is useful to disable for projects which are temporary,
       or which are experimental in nature.
       
      bool reports = 2 [json_name = "reports", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The reports.
    • getFavorite

      boolean getFavorite()
       Specifies whether to include this project in the list of favorites. This is useful to enable for projects which are
       frequently accessed. Marking a project as a "favorite" may promote it in UI and reporting circumstances.
       
      bool favorite = 3 [json_name = "favorite", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The favorite.