Class AddChartRequest

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

@Generated public final class AddChartRequest extends com.google.protobuf.GeneratedMessage implements AddChartRequestOrBuilder
 Request message to add chart in a dashboard.
 
Protobuf type google.cloud.chronicle.v1.AddChartRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DASHBOARD_QUERY_FIELD_NUMBER

      public static final int DASHBOARD_QUERY_FIELD_NUMBER
      See Also:
    • DASHBOARD_CHART_FIELD_NUMBER

      public static final int DASHBOARD_CHART_FIELD_NUMBER
      See Also:
    • CHART_LAYOUT_FIELD_NUMBER

      public static final int CHART_LAYOUT_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()
       Required. The dashboard name to add chart in.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface AddChartRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The dashboard name to add chart in.
       Format:
       projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface AddChartRequestOrBuilder
      Returns:
      The bytes for name.
    • hasDashboardQuery

      public boolean hasDashboardQuery()
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDashboardQuery in interface AddChartRequestOrBuilder
      Returns:
      Whether the dashboardQuery field is set.
    • getDashboardQuery

      public DashboardQuery getDashboardQuery()
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDashboardQuery in interface AddChartRequestOrBuilder
      Returns:
      The dashboardQuery.
    • getDashboardQueryOrBuilder

      public DashboardQueryOrBuilder getDashboardQueryOrBuilder()
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDashboardQueryOrBuilder in interface AddChartRequestOrBuilder
    • hasDashboardChart

      public boolean hasDashboardChart()
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDashboardChart in interface AddChartRequestOrBuilder
      Returns:
      Whether the dashboardChart field is set.
    • getDashboardChart

      public DashboardChart getDashboardChart()
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDashboardChart in interface AddChartRequestOrBuilder
      Returns:
      The dashboardChart.
    • getDashboardChartOrBuilder

      public DashboardChartOrBuilder getDashboardChartOrBuilder()
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDashboardChartOrBuilder in interface AddChartRequestOrBuilder
    • hasChartLayout

      public boolean hasChartLayout()
       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasChartLayout in interface AddChartRequestOrBuilder
      Returns:
      Whether the chartLayout field is set.
    • getChartLayout

       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChartLayout in interface AddChartRequestOrBuilder
      Returns:
      The chartLayout.
    • getChartLayoutOrBuilder

      public DashboardDefinition.ChartConfig.ChartLayoutOrBuilder getChartLayoutOrBuilder()
       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getChartLayoutOrBuilder in interface AddChartRequestOrBuilder
    • 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 AddChartRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AddChartRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static AddChartRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AddChartRequest> 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 AddChartRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder