All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.analytics.studio.v1.DashboardResponse Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/analytics/v1/studio/studioDashboard.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.studio.v1;

/**
 * Protobuf type {@code streamlayer.analytics.v1.studio.DashboardResponse}
 */
public  final class DashboardResponse extends
    com.google.protobuf.GeneratedMessageLite<
        DashboardResponse, DashboardResponse.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.studio.DashboardResponse)
    DashboardResponseOrBuilder {
  private DashboardResponse() {
  }
  public interface DashboardResponseMetaOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * uint64 event_id = 1 [json_name = "eventId"];
     * @return The eventId.
     */
    long getEventId();

    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @return A list containing the eventIds.
     */
    java.util.List getEventIdsList();
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @return The count of eventIds.
     */
    int getEventIdsCount();
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @param index The index of the element to return.
     * @return The eventIds at the given index.
     */
    long getEventIds(int index);

    /**
     * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
     * @return The cacheCreatedAt.
     */
    long getCacheCreatedAt();
  }
  /**
   * Protobuf type {@code streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta}
   */
  public  static final class DashboardResponseMeta extends
      com.google.protobuf.GeneratedMessageLite<
          DashboardResponseMeta, DashboardResponseMeta.Builder> implements
      // @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta)
      DashboardResponseMetaOrBuilder {
    private DashboardResponseMeta() {
      eventIds_ = emptyLongList();
    }
    public static final int EVENT_ID_FIELD_NUMBER = 1;
    private long eventId_;
    /**
     * uint64 event_id = 1 [json_name = "eventId"];
     * @return The eventId.
     */
    @java.lang.Override
    public long getEventId() {
      return eventId_;
    }
    /**
     * uint64 event_id = 1 [json_name = "eventId"];
     * @param value The eventId to set.
     */
    private void setEventId(long value) {
      
      eventId_ = value;
    }
    /**
     * uint64 event_id = 1 [json_name = "eventId"];
     */
    private void clearEventId() {

      eventId_ = 0L;
    }

    public static final int EVENT_IDS_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.LongList eventIds_;
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @return A list containing the eventIds.
     */
    @java.lang.Override
    public java.util.List
        getEventIdsList() {
      return eventIds_;
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @return The count of eventIds.
     */
    @java.lang.Override
    public int getEventIdsCount() {
      return eventIds_.size();
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @param index The index of the element to return.
     * @return The eventIds at the given index.
     */
    @java.lang.Override
    public long getEventIds(int index) {
      return eventIds_.getLong(index);
    }
    private int eventIdsMemoizedSerializedSize = -1;
    private void ensureEventIdsIsMutable() {
      com.google.protobuf.Internal.LongList tmp = eventIds_;
      if (!tmp.isModifiable()) {
        eventIds_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @param index The index to set the value at.
     * @param value The eventIds to set.
     */
    private void setEventIds(
        int index, long value) {
      ensureEventIdsIsMutable();
      eventIds_.setLong(index, value);
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @param value The eventIds to add.
     */
    private void addEventIds(long value) {
      ensureEventIdsIsMutable();
      eventIds_.addLong(value);
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     * @param values The eventIds to add.
     */
    private void addAllEventIds(
        java.lang.Iterable values) {
      ensureEventIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, eventIds_);
    }
    /**
     * repeated uint64 event_ids = 2 [json_name = "eventIds"];
     */
    private void clearEventIds() {
      eventIds_ = emptyLongList();
    }

    public static final int CACHE_CREATED_AT_FIELD_NUMBER = 3;
    private long cacheCreatedAt_;
    /**
     * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
     * @return The cacheCreatedAt.
     */
    @java.lang.Override
    public long getCacheCreatedAt() {
      return cacheCreatedAt_;
    }
    /**
     * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
     * @param value The cacheCreatedAt to set.
     */
    private void setCacheCreatedAt(long value) {
      
      cacheCreatedAt_ = value;
    }
    /**
     * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
     */
    private void clearCacheCreatedAt() {

      cacheCreatedAt_ = 0L;
    }

    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta prototype) {
      return DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta, Builder> implements
        // @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta)
        com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMetaOrBuilder {
      // Construct using com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * uint64 event_id = 1 [json_name = "eventId"];
       * @return The eventId.
       */
      @java.lang.Override
      public long getEventId() {
        return instance.getEventId();
      }
      /**
       * uint64 event_id = 1 [json_name = "eventId"];
       * @param value The eventId to set.
       * @return This builder for chaining.
       */
      public Builder setEventId(long value) {
        copyOnWrite();
        instance.setEventId(value);
        return this;
      }
      /**
       * uint64 event_id = 1 [json_name = "eventId"];
       * @return This builder for chaining.
       */
      public Builder clearEventId() {
        copyOnWrite();
        instance.clearEventId();
        return this;
      }

      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @return A list containing the eventIds.
       */
      @java.lang.Override
      public java.util.List
          getEventIdsList() {
        return java.util.Collections.unmodifiableList(
            instance.getEventIdsList());
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @return The count of eventIds.
       */
      @java.lang.Override
      public int getEventIdsCount() {
        return instance.getEventIdsCount();
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @param index The index of the element to return.
       * @return The eventIds at the given index.
       */
      @java.lang.Override
      public long getEventIds(int index) {
        return instance.getEventIds(index);
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @param value The eventIds to set.
       * @return This builder for chaining.
       */
      public Builder setEventIds(
          int index, long value) {
        copyOnWrite();
        instance.setEventIds(index, value);
        return this;
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @param value The eventIds to add.
       * @return This builder for chaining.
       */
      public Builder addEventIds(long value) {
        copyOnWrite();
        instance.addEventIds(value);
        return this;
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @param values The eventIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllEventIds(
          java.lang.Iterable values) {
        copyOnWrite();
        instance.addAllEventIds(values);
        return this;
      }
      /**
       * repeated uint64 event_ids = 2 [json_name = "eventIds"];
       * @return This builder for chaining.
       */
      public Builder clearEventIds() {
        copyOnWrite();
        instance.clearEventIds();
        return this;
      }

      /**
       * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
       * @return The cacheCreatedAt.
       */
      @java.lang.Override
      public long getCacheCreatedAt() {
        return instance.getCacheCreatedAt();
      }
      /**
       * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
       * @param value The cacheCreatedAt to set.
       * @return This builder for chaining.
       */
      public Builder setCacheCreatedAt(long value) {
        copyOnWrite();
        instance.setCacheCreatedAt(value);
        return this;
      }
      /**
       * int64 cache_created_at = 3 [json_name = "cacheCreatedAt"];
       * @return This builder for chaining.
       */
      public Builder clearCacheCreatedAt() {
        copyOnWrite();
        instance.clearCacheCreatedAt();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "eventId_",
              "eventIds_",
              "cacheCreatedAt_",
            };
            java.lang.String info =
                "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0001\u0000\u0001\u0003\u0002&\u0003" +
                "\u0002";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser parser = PARSER;
          if (parser == null) {
            synchronized (com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta)
    private static final com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta DEFAULT_INSTANCE;
    static {
      DashboardResponseMeta defaultInstance = new DashboardResponseMeta();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DashboardResponseMeta.class, defaultInstance);
    }

    public static com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser PARSER;

    public static com.google.protobuf.Parser parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  private int bitField0_;
  public static final int DATA_FIELD_NUMBER = 1;
  private com.streamlayer.analytics.studio.v1.DashboardResponseData data_;
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
   */
  @java.lang.Override
  public boolean hasData() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
   */
  @java.lang.Override
  public com.streamlayer.analytics.studio.v1.DashboardResponseData getData() {
    return data_ == null ? com.streamlayer.analytics.studio.v1.DashboardResponseData.getDefaultInstance() : data_;
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
   */
  private void setData(com.streamlayer.analytics.studio.v1.DashboardResponseData value) {
    value.getClass();
  data_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeData(com.streamlayer.analytics.studio.v1.DashboardResponseData value) {
    value.getClass();
  if (data_ != null &&
        data_ != com.streamlayer.analytics.studio.v1.DashboardResponseData.getDefaultInstance()) {
      data_ =
        com.streamlayer.analytics.studio.v1.DashboardResponseData.newBuilder(data_).mergeFrom(value).buildPartial();
    } else {
      data_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
   */
  private void clearData() {  data_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int META_FIELD_NUMBER = 2;
  private com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta meta_;
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
   */
  @java.lang.Override
  public boolean hasMeta() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
   */
  @java.lang.Override
  public com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta getMeta() {
    return meta_ == null ? com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.getDefaultInstance() : meta_;
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
   */
  private void setMeta(com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta value) {
    value.getClass();
  meta_ = value;
    bitField0_ |= 0x00000002;
    }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeMeta(com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta value) {
    value.getClass();
  if (meta_ != null &&
        meta_ != com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.getDefaultInstance()) {
      meta_ =
        com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.newBuilder(meta_).mergeFrom(value).buildPartial();
    } else {
      meta_ = value;
    }
    bitField0_ |= 0x00000002;
  }
  /**
   * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
   */
  private void clearMeta() {  meta_ = null;
    bitField0_ = (bitField0_ & ~0x00000002);
  }

  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.analytics.studio.v1.DashboardResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(com.streamlayer.analytics.studio.v1.DashboardResponse prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.analytics.v1.studio.DashboardResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.analytics.studio.v1.DashboardResponse, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.studio.DashboardResponse)
      com.streamlayer.analytics.studio.v1.DashboardResponseOrBuilder {
    // Construct using com.streamlayer.analytics.studio.v1.DashboardResponse.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    @java.lang.Override
    public boolean hasData() {
      return instance.hasData();
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    @java.lang.Override
    public com.streamlayer.analytics.studio.v1.DashboardResponseData getData() {
      return instance.getData();
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    public Builder setData(com.streamlayer.analytics.studio.v1.DashboardResponseData value) {
      copyOnWrite();
      instance.setData(value);
      return this;
      }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    public Builder setData(
        com.streamlayer.analytics.studio.v1.DashboardResponseData.Builder builderForValue) {
      copyOnWrite();
      instance.setData(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    public Builder mergeData(com.streamlayer.analytics.studio.v1.DashboardResponseData value) {
      copyOnWrite();
      instance.mergeData(value);
      return this;
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponseData data = 1 [json_name = "data"];
     */
    public Builder clearData() {  copyOnWrite();
      instance.clearData();
      return this;
    }

    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    @java.lang.Override
    public boolean hasMeta() {
      return instance.hasMeta();
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    @java.lang.Override
    public com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta getMeta() {
      return instance.getMeta();
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    public Builder setMeta(com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta value) {
      copyOnWrite();
      instance.setMeta(value);
      return this;
      }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    public Builder setMeta(
        com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta.Builder builderForValue) {
      copyOnWrite();
      instance.setMeta(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    public Builder mergeMeta(com.streamlayer.analytics.studio.v1.DashboardResponse.DashboardResponseMeta value) {
      copyOnWrite();
      instance.mergeMeta(value);
      return this;
    }
    /**
     * .streamlayer.analytics.v1.studio.DashboardResponse.DashboardResponseMeta meta = 2 [json_name = "meta"];
     */
    public Builder clearMeta() {  copyOnWrite();
      instance.clearMeta();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.studio.DashboardResponse)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new com.streamlayer.analytics.studio.v1.DashboardResponse();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "data_",
            "meta_",
          };
          java.lang.String info =
              "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
              "\u1009\u0001";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser parser = PARSER;
        if (parser == null) {
          synchronized (com.streamlayer.analytics.studio.v1.DashboardResponse.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:streamlayer.analytics.v1.studio.DashboardResponse)
  private static final com.streamlayer.analytics.studio.v1.DashboardResponse DEFAULT_INSTANCE;
  static {
    DashboardResponse defaultInstance = new DashboardResponse();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      DashboardResponse.class, defaultInstance);
  }

  public static com.streamlayer.analytics.studio.v1.DashboardResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser PARSER;

  public static com.google.protobuf.Parser parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy