Class DashboardChart

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DashboardChart
All Implemented Interfaces:
DashboardChartOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DashboardChart extends com.google.protobuf.GeneratedMessage implements DashboardChartOrBuilder
 DashboardChart resource.
 
Protobuf type google.cloud.chronicle.v1.DashboardChart
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • NATIVE_DASHBOARD_FIELD_NUMBER

      public static final int NATIVE_DASHBOARD_FIELD_NUMBER
      See Also:
    • TILE_TYPE_FIELD_NUMBER

      public static final int TILE_TYPE_FIELD_NUMBER
      See Also:
    • CHART_DATASOURCE_FIELD_NUMBER

      public static final int CHART_DATASOURCE_FIELD_NUMBER
      See Also:
    • VISUALIZATION_FIELD_NUMBER

      public static final int VISUALIZATION_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • DRILL_DOWN_CONFIG_FIELD_NUMBER

      public static final int DRILL_DOWN_CONFIG_FIELD_NUMBER
      See Also:
    • TOKENS_FIELD_NUMBER

      public static final int TOKENS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DashboardChartOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Name of the dashboardChart.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DashboardChartOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Display name/Title of the dashboardChart visible to users.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DashboardChartOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the dashboardChart.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for description.
    • getNativeDashboard

      public String getNativeDashboard()
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNativeDashboard in interface DashboardChartOrBuilder
      Returns:
      The nativeDashboard.
    • getNativeDashboardBytes

      public com.google.protobuf.ByteString getNativeDashboardBytes()
       Output only. NativeDashboard this chart belongs to.
       
      string native_dashboard = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNativeDashboardBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for nativeDashboard.
    • getTileTypeValue

      public int getTileTypeValue()
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTileTypeValue in interface DashboardChartOrBuilder
      Returns:
      The enum numeric value on the wire for tileType.
    • getTileType

      public TileType getTileType()
       Optional. Type of tile i.e., visualization, button or text.
       
      .google.cloud.chronicle.v1.TileType tile_type = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTileType in interface DashboardChartOrBuilder
      Returns:
      The tileType.
    • hasChartDatasource

      public boolean hasChartDatasource()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasChartDatasource in interface DashboardChartOrBuilder
      Returns:
      Whether the chartDatasource field is set.
    • getChartDatasource

      public DashboardChart.ChartDatasource getChartDatasource()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChartDatasource in interface DashboardChartOrBuilder
      Returns:
      The chartDatasource.
    • getChartDatasourceOrBuilder

      public DashboardChart.ChartDatasourceOrBuilder getChartDatasourceOrBuilder()
       Optional. Query and datasource used in the chart. Should be empty for
       Button Tiles.
       
      .google.cloud.chronicle.v1.DashboardChart.ChartDatasource chart_datasource = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChartDatasourceOrBuilder in interface DashboardChartOrBuilder
    • hasVisualization

      public boolean hasVisualization()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasVisualization in interface DashboardChartOrBuilder
      Returns:
      Whether the visualization field is set.
    • getVisualization

      public DashboardChart.Visualization getVisualization()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVisualization in interface DashboardChartOrBuilder
      Returns:
      The visualization.
    • getVisualizationOrBuilder

      public DashboardChart.VisualizationOrBuilder getVisualizationOrBuilder()
       Required. Depending on tile_type one of below fields will be required.
       
      .google.cloud.chronicle.v1.DashboardChart.Visualization visualization = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVisualizationOrBuilder in interface DashboardChartOrBuilder
    • getEtag

      public String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface DashboardChartOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface DashboardChartOrBuilder
      Returns:
      The bytes for etag.
    • hasDrillDownConfig

      public boolean hasDrillDownConfig()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDrillDownConfig in interface DashboardChartOrBuilder
      Returns:
      Whether the drillDownConfig field is set.
    • getDrillDownConfig

      public DashboardChart.DrillDownConfig getDrillDownConfig()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDrillDownConfig in interface DashboardChartOrBuilder
      Returns:
      The drillDownConfig.
    • getDrillDownConfigOrBuilder

      public DashboardChart.DrillDownConfigOrBuilder getDrillDownConfigOrBuilder()
       Optional. Drill down configuration.
       
      .google.cloud.chronicle.v1.DashboardChart.DrillDownConfig drill_down_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDrillDownConfigOrBuilder in interface DashboardChartOrBuilder
    • getTokensList

      public com.google.protobuf.ProtocolStringList getTokensList()
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensList in interface DashboardChartOrBuilder
      Returns:
      A list containing the tokens.
    • getTokensCount

      public int getTokensCount()
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensCount in interface DashboardChartOrBuilder
      Returns:
      The count of tokens.
    • getTokens

      public String getTokens(int index)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokens in interface DashboardChartOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tokens at the given index.
    • getTokensBytes

      public com.google.protobuf.ByteString getTokensBytes(int index)
       Optional. List of Advanced Filter tokens used in this chart's query (e.g.,
       "hostname", "ip"). This allows the UI to identify dependencies without
       parsing the query text. The tokens are stored without the wrapping '$'
       characters.
       The number of tokens are not expected to be more than 10.
       
      repeated string tokens = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTokensBytes in interface DashboardChartOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tokens at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DashboardChart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DashboardChart parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DashboardChart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DashboardChart parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DashboardChart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DashboardChart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DashboardChart parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DashboardChart.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DashboardChart.Builder newBuilder()
    • newBuilder

      public static DashboardChart.Builder newBuilder(DashboardChart prototype)
    • toBuilder

      public DashboardChart.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DashboardChart.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DashboardChart getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DashboardChart> parser()
    • getParserForType

      public com.google.protobuf.Parser<DashboardChart> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DashboardChart getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder