Class AddChartRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AddChartRequest.Builder>
com.google.cloud.chronicle.v1.AddChartRequest.Builder
All Implemented Interfaces:
AddChartRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AddChartRequest

public static final class AddChartRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AddChartRequest.Builder> implements AddChartRequestOrBuilder
 Request message to add chart in a dashboard.
 
Protobuf type google.cloud.chronicle.v1.AddChartRequest
  • 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.Builder<AddChartRequest.Builder>
    • clear

      public AddChartRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AddChartRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AddChartRequest.Builder>
    • getDefaultInstanceForType

      public AddChartRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public AddChartRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddChartRequest.Builder>
    • mergeFrom

      public AddChartRequest.Builder mergeFrom(AddChartRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AddChartRequest.Builder>
    • mergeFrom

      public AddChartRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddChartRequest.Builder>
      Throws:
      IOException
    • 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.
    • setName

      public AddChartRequest.Builder setName(String value)
       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) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AddChartRequest.Builder clearName()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public AddChartRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDashboardQuery

      public AddChartRequest.Builder setDashboardQuery(DashboardQuery value)
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setDashboardQuery

      public AddChartRequest.Builder setDashboardQuery(DashboardQuery.Builder builderForValue)
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDashboardQuery

      public AddChartRequest.Builder mergeDashboardQuery(DashboardQuery value)
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearDashboardQuery

      public AddChartRequest.Builder clearDashboardQuery()
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDashboardQueryBuilder

      public DashboardQuery.Builder getDashboardQueryBuilder()
       Optional. Query used to create the chart.
       
      .google.cloud.chronicle.v1.DashboardQuery dashboard_query = 2 [(.google.api.field_behavior) = OPTIONAL];
    • 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.
    • setDashboardChart

      public AddChartRequest.Builder setDashboardChart(DashboardChart value)
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
    • setDashboardChart

      public AddChartRequest.Builder setDashboardChart(DashboardChart.Builder builderForValue)
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeDashboardChart

      public AddChartRequest.Builder mergeDashboardChart(DashboardChart value)
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearDashboardChart

      public AddChartRequest.Builder clearDashboardChart()
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
    • getDashboardChartBuilder

      public DashboardChart.Builder getDashboardChartBuilder()
       Required. Chart to be added to the dashboard.
       
      .google.cloud.chronicle.v1.DashboardChart dashboard_chart = 3 [(.google.api.field_behavior) = REQUIRED];
    • 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.
    • setChartLayout

       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
    • setChartLayout

       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
    • mergeChartLayout

       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
    • clearChartLayout

      public AddChartRequest.Builder clearChartLayout()
       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
    • getChartLayoutBuilder

       Required. ChartLayout for newly added chart.
       
      .google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 4 [(.google.api.field_behavior) = REQUIRED];
    • 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