Class ExportAnalyticsMetricsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportAnalyticsMetricsRequest.Builder>
com.google.cloud.retail.v2alpha.ExportAnalyticsMetricsRequest.Builder
All Implemented Interfaces:
ExportAnalyticsMetricsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportAnalyticsMetricsRequest

public static final class ExportAnalyticsMetricsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportAnalyticsMetricsRequest.Builder> implements ExportAnalyticsMetricsRequestOrBuilder
 Request message for the `ExportAnalyticsMetrics` method.
 
Protobuf type google.cloud.retail.v2alpha.ExportAnalyticsMetricsRequest
  • 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<ExportAnalyticsMetricsRequest.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<ExportAnalyticsMetricsRequest.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<ExportAnalyticsMetricsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public ExportAnalyticsMetricsRequest.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<ExportAnalyticsMetricsRequest.Builder>
      Throws:
      IOException
    • getCatalog

      public String getCatalog()
       Required. Full resource name of the parent catalog.
       Expected format: `projects/*/locations/*/catalogs/*`
       
      string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalog in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      The catalog.
    • getCatalogBytes

      public com.google.protobuf.ByteString getCatalogBytes()
       Required. Full resource name of the parent catalog.
       Expected format: `projects/*/locations/*/catalogs/*`
       
      string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogBytes in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      The bytes for catalog.
    • setCatalog

      public ExportAnalyticsMetricsRequest.Builder setCatalog(String value)
       Required. Full resource name of the parent catalog.
       Expected format: `projects/*/locations/*/catalogs/*`
       
      string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The catalog to set.
      Returns:
      This builder for chaining.
    • clearCatalog

       Required. Full resource name of the parent catalog.
       Expected format: `projects/*/locations/*/catalogs/*`
       
      string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCatalogBytes

      public ExportAnalyticsMetricsRequest.Builder setCatalogBytes(com.google.protobuf.ByteString value)
       Required. Full resource name of the parent catalog.
       Expected format: `projects/*/locations/*/catalogs/*`
       
      string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for catalog to set.
      Returns:
      This builder for chaining.
    • hasOutputConfig

      public boolean hasOutputConfig()
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOutputConfig in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      Whether the outputConfig field is set.
    • getOutputConfig

      public OutputConfig getOutputConfig()
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfig in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      The outputConfig.
    • setOutputConfig

      public ExportAnalyticsMetricsRequest.Builder setOutputConfig(OutputConfig value)
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • setOutputConfig

      public ExportAnalyticsMetricsRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeOutputConfig

      public ExportAnalyticsMetricsRequest.Builder mergeOutputConfig(OutputConfig value)
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearOutputConfig

      public ExportAnalyticsMetricsRequest.Builder clearOutputConfig()
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOutputConfigBuilder

      public OutputConfig.Builder getOutputConfigBuilder()
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOutputConfigOrBuilder

      public OutputConfigOrBuilder getOutputConfigOrBuilder()
       Required. The output location of the data.
       
      .google.cloud.retail.v2alpha.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputConfigOrBuilder in interface ExportAnalyticsMetricsRequestOrBuilder
    • getFilter

      public String getFilter()
       A filtering expression to specify restrictions on returned metrics.
       The expression is a sequence of terms. Each term applies a restriction to
       the returned metrics. Use this expression to restrict results to a
       specific time range.
      
       Currently we expect only one types of fields:
      
       * `timestamp`: This can be specified twice, once with a
       less than operator and once with a greater than operator. The
       `timestamp` restriction should result in one, contiguous, valid,
       `timestamp` range.
      
       Some examples of valid filters expressions:
      
       * Example 1: `timestamp > "2012-04-23T18:25:43.511Z"
       timestamp < "2012-04-23T18:30:43.511Z"`
       * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
       
      string filter = 3;
      Specified by:
      getFilter in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filtering expression to specify restrictions on returned metrics.
       The expression is a sequence of terms. Each term applies a restriction to
       the returned metrics. Use this expression to restrict results to a
       specific time range.
      
       Currently we expect only one types of fields:
      
       * `timestamp`: This can be specified twice, once with a
       less than operator and once with a greater than operator. The
       `timestamp` restriction should result in one, contiguous, valid,
       `timestamp` range.
      
       Some examples of valid filters expressions:
      
       * Example 1: `timestamp > "2012-04-23T18:25:43.511Z"
       timestamp < "2012-04-23T18:30:43.511Z"`
       * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
       
      string filter = 3;
      Specified by:
      getFilterBytes in interface ExportAnalyticsMetricsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       A filtering expression to specify restrictions on returned metrics.
       The expression is a sequence of terms. Each term applies a restriction to
       the returned metrics. Use this expression to restrict results to a
       specific time range.
      
       Currently we expect only one types of fields:
      
       * `timestamp`: This can be specified twice, once with a
       less than operator and once with a greater than operator. The
       `timestamp` restriction should result in one, contiguous, valid,
       `timestamp` range.
      
       Some examples of valid filters expressions:
      
       * Example 1: `timestamp > "2012-04-23T18:25:43.511Z"
       timestamp < "2012-04-23T18:30:43.511Z"`
       * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
       
      string filter = 3;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       A filtering expression to specify restrictions on returned metrics.
       The expression is a sequence of terms. Each term applies a restriction to
       the returned metrics. Use this expression to restrict results to a
       specific time range.
      
       Currently we expect only one types of fields:
      
       * `timestamp`: This can be specified twice, once with a
       less than operator and once with a greater than operator. The
       `timestamp` restriction should result in one, contiguous, valid,
       `timestamp` range.
      
       Some examples of valid filters expressions:
      
       * Example 1: `timestamp > "2012-04-23T18:25:43.511Z"
       timestamp < "2012-04-23T18:30:43.511Z"`
       * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
       
      string filter = 3;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ExportAnalyticsMetricsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       A filtering expression to specify restrictions on returned metrics.
       The expression is a sequence of terms. Each term applies a restriction to
       the returned metrics. Use this expression to restrict results to a
       specific time range.
      
       Currently we expect only one types of fields:
      
       * `timestamp`: This can be specified twice, once with a
       less than operator and once with a greater than operator. The
       `timestamp` restriction should result in one, contiguous, valid,
       `timestamp` range.
      
       Some examples of valid filters expressions:
      
       * Example 1: `timestamp > "2012-04-23T18:25:43.511Z"
       timestamp < "2012-04-23T18:30:43.511Z"`
       * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"`
       
      string filter = 3;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.