Class DashboardQuery.Builder

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

public static final class DashboardQuery.Builder extends com.google.protobuf.GeneratedMessage.Builder<DashboardQuery.Builder> implements DashboardQueryOrBuilder
 DashboardQuery resource.
 
Protobuf type google.cloud.chronicle.v1.DashboardQuery
  • 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<DashboardQuery.Builder>
    • clear

      public DashboardQuery.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<DashboardQuery.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<DashboardQuery.Builder>
    • getDefaultInstanceForType

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

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

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

      public DashboardQuery.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<DashboardQuery.Builder>
    • mergeFrom

      public DashboardQuery.Builder mergeFrom(DashboardQuery other)
    • isInitialized

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

      public DashboardQuery.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<DashboardQuery.Builder>
      Throws:
      IOException
    • getName

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

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

      public DashboardQuery.Builder setName(String value)
       Output only. Name of the dashboardQuery.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DashboardQuery.Builder clearName()
       Output only. Name of the dashboardQuery.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DashboardQuery.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Name of the dashboardQuery.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getQuery

      public String getQuery()
       Required. Search query string.
       
      string query = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuery in interface DashboardQueryOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       Required. Search query string.
       
      string query = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQueryBytes in interface DashboardQueryOrBuilder
      Returns:
      The bytes for query.
    • setQuery

      public DashboardQuery.Builder setQuery(String value)
       Required. Search query string.
       
      string query = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

      public DashboardQuery.Builder clearQuery()
       Required. Search query string.
       
      string query = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setQueryBytes

      public DashboardQuery.Builder setQueryBytes(com.google.protobuf.ByteString value)
       Required. Search query string.
       
      string query = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • hasInput

      public boolean hasInput()
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInput in interface DashboardQueryOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public DashboardQuery.Input getInput()
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInput in interface DashboardQueryOrBuilder
      Returns:
      The input.
    • setInput

       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
    • setInput

      public DashboardQuery.Builder setInput(DashboardQuery.Input.Builder builderForValue)
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeInput

      public DashboardQuery.Builder mergeInput(DashboardQuery.Input value)
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearInput

      public DashboardQuery.Builder clearInput()
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInputBuilder

      public DashboardQuery.Input.Builder getInputBuilder()
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInputOrBuilder

      public DashboardQuery.InputOrBuilder getInputOrBuilder()
       Required. Inputs to the query.
       
      .google.cloud.chronicle.v1.DashboardQuery.Input input = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputOrBuilder in interface DashboardQueryOrBuilder
    • getDashboardChart

      public String getDashboardChart()
       Output only. DashboardChart this query belongs to.
       
      string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDashboardChart in interface DashboardQueryOrBuilder
      Returns:
      The dashboardChart.
    • getDashboardChartBytes

      public com.google.protobuf.ByteString getDashboardChartBytes()
       Output only. DashboardChart this query belongs to.
       
      string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDashboardChartBytes in interface DashboardQueryOrBuilder
      Returns:
      The bytes for dashboardChart.
    • setDashboardChart

      public DashboardQuery.Builder setDashboardChart(String value)
       Output only. DashboardChart this query belongs to.
       
      string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The dashboardChart to set.
      Returns:
      This builder for chaining.
    • clearDashboardChart

      public DashboardQuery.Builder clearDashboardChart()
       Output only. DashboardChart this query belongs to.
       
      string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setDashboardChartBytes

      public DashboardQuery.Builder setDashboardChartBytes(com.google.protobuf.ByteString value)
       Output only. DashboardChart this query belongs to.
       
      string dashboard_chart = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for dashboardChart to set.
      Returns:
      This builder for chaining.
    • 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface DashboardQueryOrBuilder
      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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface DashboardQueryOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DashboardQuery.Builder setEtag(String value)
       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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DashboardQuery.Builder clearEtag()
       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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DashboardQuery.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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 = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.