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

main.java.com.streamlayer.pushNotification.common.FirebaseAccount 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.FirebaseAccount}
 */
public  final class FirebaseAccount extends
    com.google.protobuf.GeneratedMessageLite<
        FirebaseAccount, FirebaseAccount.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.pushNotification.FirebaseAccount)
    FirebaseAccountOrBuilder {
  private FirebaseAccount() {
    privateKey_ = "";
    clientEmail_ = "";
    projectId_ = "";
  }
  public static final int PRIVATE_KEY_FIELD_NUMBER = 1;
  private java.lang.String privateKey_;
  /**
   * string private_key = 1 [json_name = "privateKey"];
   * @return The privateKey.
   */
  @java.lang.Override
  public java.lang.String getPrivateKey() {
    return privateKey_;
  }
  /**
   * string private_key = 1 [json_name = "privateKey"];
   * @return The bytes for privateKey.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPrivateKeyBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(privateKey_);
  }
  /**
   * string private_key = 1 [json_name = "privateKey"];
   * @param value The privateKey to set.
   */
  private void setPrivateKey(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    privateKey_ = value;
  }
  /**
   * string private_key = 1 [json_name = "privateKey"];
   */
  private void clearPrivateKey() {

    privateKey_ = getDefaultInstance().getPrivateKey();
  }
  /**
   * string private_key = 1 [json_name = "privateKey"];
   * @param value The bytes for privateKey to set.
   */
  private void setPrivateKeyBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    privateKey_ = value.toStringUtf8();

  }

  public static final int CLIENT_EMAIL_FIELD_NUMBER = 2;
  private java.lang.String clientEmail_;
  /**
   * string client_email = 2 [json_name = "clientEmail"];
   * @return The clientEmail.
   */
  @java.lang.Override
  public java.lang.String getClientEmail() {
    return clientEmail_;
  }
  /**
   * string client_email = 2 [json_name = "clientEmail"];
   * @return The bytes for clientEmail.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getClientEmailBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(clientEmail_);
  }
  /**
   * string client_email = 2 [json_name = "clientEmail"];
   * @param value The clientEmail to set.
   */
  private void setClientEmail(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    clientEmail_ = value;
  }
  /**
   * string client_email = 2 [json_name = "clientEmail"];
   */
  private void clearClientEmail() {

    clientEmail_ = getDefaultInstance().getClientEmail();
  }
  /**
   * string client_email = 2 [json_name = "clientEmail"];
   * @param value The bytes for clientEmail to set.
   */
  private void setClientEmailBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    clientEmail_ = value.toStringUtf8();

  }

  public static final int PROJECT_ID_FIELD_NUMBER = 3;
  private java.lang.String projectId_;
  /**
   * string project_id = 3 [json_name = "projectId"];
   * @return The projectId.
   */
  @java.lang.Override
  public java.lang.String getProjectId() {
    return projectId_;
  }
  /**
   * string project_id = 3 [json_name = "projectId"];
   * @return The bytes for projectId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getProjectIdBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(projectId_);
  }
  /**
   * string project_id = 3 [json_name = "projectId"];
   * @param value The projectId to set.
   */
  private void setProjectId(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    projectId_ = value;
  }
  /**
   * string project_id = 3 [json_name = "projectId"];
   */
  private void clearProjectId() {

    projectId_ = getDefaultInstance().getProjectId();
  }
  /**
   * string project_id = 3 [json_name = "projectId"];
   * @param value The bytes for projectId to set.
   */
  private void setProjectIdBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    projectId_ = value.toStringUtf8();

  }

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

  public static com.streamlayer.pushNotification.common.FirebaseAccount 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.FirebaseAccount 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.FirebaseAccount 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.FirebaseAccount prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


    /**
     * string private_key = 1 [json_name = "privateKey"];
     * @return The privateKey.
     */
    @java.lang.Override
    public java.lang.String getPrivateKey() {
      return instance.getPrivateKey();
    }
    /**
     * string private_key = 1 [json_name = "privateKey"];
     * @return The bytes for privateKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPrivateKeyBytes() {
      return instance.getPrivateKeyBytes();
    }
    /**
     * string private_key = 1 [json_name = "privateKey"];
     * @param value The privateKey to set.
     * @return This builder for chaining.
     */
    public Builder setPrivateKey(
        java.lang.String value) {
      copyOnWrite();
      instance.setPrivateKey(value);
      return this;
    }
    /**
     * string private_key = 1 [json_name = "privateKey"];
     * @return This builder for chaining.
     */
    public Builder clearPrivateKey() {
      copyOnWrite();
      instance.clearPrivateKey();
      return this;
    }
    /**
     * string private_key = 1 [json_name = "privateKey"];
     * @param value The bytes for privateKey to set.
     * @return This builder for chaining.
     */
    public Builder setPrivateKeyBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setPrivateKeyBytes(value);
      return this;
    }

    /**
     * string client_email = 2 [json_name = "clientEmail"];
     * @return The clientEmail.
     */
    @java.lang.Override
    public java.lang.String getClientEmail() {
      return instance.getClientEmail();
    }
    /**
     * string client_email = 2 [json_name = "clientEmail"];
     * @return The bytes for clientEmail.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getClientEmailBytes() {
      return instance.getClientEmailBytes();
    }
    /**
     * string client_email = 2 [json_name = "clientEmail"];
     * @param value The clientEmail to set.
     * @return This builder for chaining.
     */
    public Builder setClientEmail(
        java.lang.String value) {
      copyOnWrite();
      instance.setClientEmail(value);
      return this;
    }
    /**
     * string client_email = 2 [json_name = "clientEmail"];
     * @return This builder for chaining.
     */
    public Builder clearClientEmail() {
      copyOnWrite();
      instance.clearClientEmail();
      return this;
    }
    /**
     * string client_email = 2 [json_name = "clientEmail"];
     * @param value The bytes for clientEmail to set.
     * @return This builder for chaining.
     */
    public Builder setClientEmailBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setClientEmailBytes(value);
      return this;
    }

    /**
     * string project_id = 3 [json_name = "projectId"];
     * @return The projectId.
     */
    @java.lang.Override
    public java.lang.String getProjectId() {
      return instance.getProjectId();
    }
    /**
     * string project_id = 3 [json_name = "projectId"];
     * @return The bytes for projectId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getProjectIdBytes() {
      return instance.getProjectIdBytes();
    }
    /**
     * string project_id = 3 [json_name = "projectId"];
     * @param value The projectId to set.
     * @return This builder for chaining.
     */
    public Builder setProjectId(
        java.lang.String value) {
      copyOnWrite();
      instance.setProjectId(value);
      return this;
    }
    /**
     * string project_id = 3 [json_name = "projectId"];
     * @return This builder for chaining.
     */
    public Builder clearProjectId() {
      copyOnWrite();
      instance.clearProjectId();
      return this;
    }
    /**
     * string project_id = 3 [json_name = "projectId"];
     * @param value The bytes for projectId to set.
     * @return This builder for chaining.
     */
    public Builder setProjectIdBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setProjectIdBytes(value);
      return this;
    }

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

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