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

main.java.com.streamlayer.pushNotification.common.SendTestResponse 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/pushNotification/pushNotification.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.pushNotification.common;

/**
 * Protobuf type {@code streamlayer.pushNotification.SendTestResponse}
 */
public  final class SendTestResponse extends
    com.google.protobuf.GeneratedMessageLite<
        SendTestResponse, SendTestResponse.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.pushNotification.SendTestResponse)
    SendTestResponseOrBuilder {
  private SendTestResponse() {
    sent_ = emptyProtobufList();
    failed_ = emptyProtobufList();
  }
  public static final int SENT_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList sent_;
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  @java.lang.Override
  public java.util.List getSentList() {
    return sent_;
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  public java.util.List 
      getSentOrBuilderList() {
    return sent_;
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  @java.lang.Override
  public int getSentCount() {
    return sent_.size();
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  @java.lang.Override
  public com.streamlayer.pushNotification.common.SentNotification getSent(int index) {
    return sent_.get(index);
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  public com.streamlayer.pushNotification.common.SentNotificationOrBuilder getSentOrBuilder(
      int index) {
    return sent_.get(index);
  }
  private void ensureSentIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = sent_;
    if (!tmp.isModifiable()) {
      sent_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void setSent(
      int index, com.streamlayer.pushNotification.common.SentNotification value) {
    value.getClass();
  ensureSentIsMutable();
    sent_.set(index, value);
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void addSent(com.streamlayer.pushNotification.common.SentNotification value) {
    value.getClass();
  ensureSentIsMutable();
    sent_.add(value);
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void addSent(
      int index, com.streamlayer.pushNotification.common.SentNotification value) {
    value.getClass();
  ensureSentIsMutable();
    sent_.add(index, value);
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void addAllSent(
      java.lang.Iterable values) {
    ensureSentIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, sent_);
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void clearSent() {
    sent_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
   */
  private void removeSent(int index) {
    ensureSentIsMutable();
    sent_.remove(index);
  }

  public static final int FAILED_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.ProtobufList failed_;
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  @java.lang.Override
  public java.util.List getFailedList() {
    return failed_;
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  public java.util.List 
      getFailedOrBuilderList() {
    return failed_;
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  @java.lang.Override
  public int getFailedCount() {
    return failed_.size();
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  @java.lang.Override
  public com.streamlayer.pushNotification.common.FailNotification getFailed(int index) {
    return failed_.get(index);
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  public com.streamlayer.pushNotification.common.FailNotificationOrBuilder getFailedOrBuilder(
      int index) {
    return failed_.get(index);
  }
  private void ensureFailedIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = failed_;
    if (!tmp.isModifiable()) {
      failed_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void setFailed(
      int index, com.streamlayer.pushNotification.common.FailNotification value) {
    value.getClass();
  ensureFailedIsMutable();
    failed_.set(index, value);
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void addFailed(com.streamlayer.pushNotification.common.FailNotification value) {
    value.getClass();
  ensureFailedIsMutable();
    failed_.add(value);
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void addFailed(
      int index, com.streamlayer.pushNotification.common.FailNotification value) {
    value.getClass();
  ensureFailedIsMutable();
    failed_.add(index, value);
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void addAllFailed(
      java.lang.Iterable values) {
    ensureFailedIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, failed_);
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void clearFailed() {
    failed_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
   */
  private void removeFailed(int index) {
    ensureFailedIsMutable();
    failed_.remove(index);
  }

  public static com.streamlayer.pushNotification.common.SendTestResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse 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.pushNotification.common.SendTestResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse 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.pushNotification.common.SendTestResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse 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.pushNotification.common.SendTestResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse 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.pushNotification.common.SendTestResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.pushNotification.common.SendTestResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.pushNotification.common.SendTestResponse 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.pushNotification.common.SendTestResponse prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    @java.lang.Override
    public java.util.List getSentList() {
      return java.util.Collections.unmodifiableList(
          instance.getSentList());
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    @java.lang.Override
    public int getSentCount() {
      return instance.getSentCount();
    }/**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    @java.lang.Override
    public com.streamlayer.pushNotification.common.SentNotification getSent(int index) {
      return instance.getSent(index);
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder setSent(
        int index, com.streamlayer.pushNotification.common.SentNotification value) {
      copyOnWrite();
      instance.setSent(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder setSent(
        int index, com.streamlayer.pushNotification.common.SentNotification.Builder builderForValue) {
      copyOnWrite();
      instance.setSent(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder addSent(com.streamlayer.pushNotification.common.SentNotification value) {
      copyOnWrite();
      instance.addSent(value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder addSent(
        int index, com.streamlayer.pushNotification.common.SentNotification value) {
      copyOnWrite();
      instance.addSent(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder addSent(
        com.streamlayer.pushNotification.common.SentNotification.Builder builderForValue) {
      copyOnWrite();
      instance.addSent(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder addSent(
        int index, com.streamlayer.pushNotification.common.SentNotification.Builder builderForValue) {
      copyOnWrite();
      instance.addSent(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder addAllSent(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllSent(values);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder clearSent() {
      copyOnWrite();
      instance.clearSent();
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.SentNotification sent = 1 [json_name = "sent"];
     */
    public Builder removeSent(int index) {
      copyOnWrite();
      instance.removeSent(index);
      return this;
    }

    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    @java.lang.Override
    public java.util.List getFailedList() {
      return java.util.Collections.unmodifiableList(
          instance.getFailedList());
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    @java.lang.Override
    public int getFailedCount() {
      return instance.getFailedCount();
    }/**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    @java.lang.Override
    public com.streamlayer.pushNotification.common.FailNotification getFailed(int index) {
      return instance.getFailed(index);
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder setFailed(
        int index, com.streamlayer.pushNotification.common.FailNotification value) {
      copyOnWrite();
      instance.setFailed(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder setFailed(
        int index, com.streamlayer.pushNotification.common.FailNotification.Builder builderForValue) {
      copyOnWrite();
      instance.setFailed(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder addFailed(com.streamlayer.pushNotification.common.FailNotification value) {
      copyOnWrite();
      instance.addFailed(value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder addFailed(
        int index, com.streamlayer.pushNotification.common.FailNotification value) {
      copyOnWrite();
      instance.addFailed(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder addFailed(
        com.streamlayer.pushNotification.common.FailNotification.Builder builderForValue) {
      copyOnWrite();
      instance.addFailed(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder addFailed(
        int index, com.streamlayer.pushNotification.common.FailNotification.Builder builderForValue) {
      copyOnWrite();
      instance.addFailed(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder addAllFailed(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllFailed(values);
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder clearFailed() {
      copyOnWrite();
      instance.clearFailed();
      return this;
    }
    /**
     * repeated .streamlayer.pushNotification.FailNotification failed = 2 [json_name = "failed"];
     */
    public Builder removeFailed(int index) {
      copyOnWrite();
      instance.removeFailed(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.pushNotification.SendTestResponse)
  }
  @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.pushNotification.common.SendTestResponse();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "sent_",
            com.streamlayer.pushNotification.common.SentNotification.class,
            "failed_",
            com.streamlayer.pushNotification.common.FailNotification.class,
          };
          java.lang.String info =
              "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0002\u0000\u0001\u001b\u0002\u001b" +
              "";
          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.pushNotification.common.SendTestResponse.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.pushNotification.SendTestResponse)
  private static final com.streamlayer.pushNotification.common.SendTestResponse DEFAULT_INSTANCE;
  static {
    SendTestResponse defaultInstance = new SendTestResponse();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      SendTestResponse.class, defaultInstance);
  }

  public static com.streamlayer.pushNotification.common.SendTestResponse 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