Class ExportAnalyticsMetricsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.ExportAnalyticsMetricsRequest
All Implemented Interfaces:
ExportAnalyticsMetricsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ExportAnalyticsMetricsRequest extends com.google.protobuf.GeneratedMessage implements ExportAnalyticsMetricsRequestOrBuilder
 Request message for the `ExportAnalyticsMetrics` method.
 
Protobuf type google.cloud.retail.v2alpha.ExportAnalyticsMetricsRequest
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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 ExportAnalyticsMetricsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ExportAnalyticsMetricsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static ExportAnalyticsMetricsRequest getDefaultInstance()
    • parser

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

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