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

main.java.com.streamlayer.users.BypassAuthResponse 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/users/users.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.users;

/**
 * Protobuf type {@code streamlayer.users.BypassAuthResponse}
 */
public  final class BypassAuthResponse extends
    com.google.protobuf.GeneratedMessageLite<
        BypassAuthResponse, BypassAuthResponse.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.users.BypassAuthResponse)
    BypassAuthResponseOrBuilder {
  private BypassAuthResponse() {
  }
  public interface AuthResponseMetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.users.BypassAuthResponse.AuthResponseMetadata)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return Whether the jwt field is set.
     */
    boolean hasJwt();
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return The jwt.
     */
    java.lang.String getJwt();
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return The bytes for jwt.
     */
    com.google.protobuf.ByteString
        getJwtBytes();

    /**
     * optional string token = 3 [json_name = "token"];
     * @return Whether the token field is set.
     */
    boolean hasToken();
    /**
     * optional string token = 3 [json_name = "token"];
     * @return The token.
     */
    java.lang.String getToken();
    /**
     * optional string token = 3 [json_name = "token"];
     * @return The bytes for token.
     */
    com.google.protobuf.ByteString
        getTokenBytes();

    /**
     * string getstream = 4 [json_name = "getstream"];
     * @return The getstream.
     */
    java.lang.String getGetstream();
    /**
     * string getstream = 4 [json_name = "getstream"];
     * @return The bytes for getstream.
     */
    com.google.protobuf.ByteString
        getGetstreamBytes();

    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return Whether the inviterKey field is set.
     */
    boolean hasInviterKey();
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return The inviterKey.
     */
    java.lang.String getInviterKey();
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return The bytes for inviterKey.
     */
    com.google.protobuf.ByteString
        getInviterKeyBytes();
  }
  /**
   * Protobuf type {@code streamlayer.users.BypassAuthResponse.AuthResponseMetadata}
   */
  public  static final class AuthResponseMetadata extends
      com.google.protobuf.GeneratedMessageLite<
          AuthResponseMetadata, AuthResponseMetadata.Builder> implements
      // @@protoc_insertion_point(message_implements:streamlayer.users.BypassAuthResponse.AuthResponseMetadata)
      AuthResponseMetadataOrBuilder {
    private AuthResponseMetadata() {
      jwt_ = "";
      token_ = "";
      getstream_ = "";
      inviterKey_ = "";
    }
    private int bitField0_;
    public static final int JWT_FIELD_NUMBER = 1;
    private java.lang.String jwt_;
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return Whether the jwt field is set.
     */
    @java.lang.Override
    public boolean hasJwt() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return The jwt.
     */
    @java.lang.Override
    public java.lang.String getJwt() {
      return jwt_;
    }
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @return The bytes for jwt.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getJwtBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(jwt_);
    }
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @param value The jwt to set.
     */
    private void setJwt(
        java.lang.String value) {
      java.lang.Class valueClass = value.getClass();
  bitField0_ |= 0x00000001;
      jwt_ = value;
    }
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     */
    private void clearJwt() {
      bitField0_ = (bitField0_ & ~0x00000001);
      jwt_ = getDefaultInstance().getJwt();
    }
    /**
     * optional string jwt = 1 [json_name = "jwt"];
     * @param value The bytes for jwt to set.
     */
    private void setJwtBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      jwt_ = value.toStringUtf8();
      bitField0_ |= 0x00000001;
    }

    public static final int TOKEN_FIELD_NUMBER = 3;
    private java.lang.String token_;
    /**
     * optional string token = 3 [json_name = "token"];
     * @return Whether the token field is set.
     */
    @java.lang.Override
    public boolean hasToken() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string token = 3 [json_name = "token"];
     * @return The token.
     */
    @java.lang.Override
    public java.lang.String getToken() {
      return token_;
    }
    /**
     * optional string token = 3 [json_name = "token"];
     * @return The bytes for token.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTokenBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(token_);
    }
    /**
     * optional string token = 3 [json_name = "token"];
     * @param value The token to set.
     */
    private void setToken(
        java.lang.String value) {
      java.lang.Class valueClass = value.getClass();
  bitField0_ |= 0x00000002;
      token_ = value;
    }
    /**
     * optional string token = 3 [json_name = "token"];
     */
    private void clearToken() {
      bitField0_ = (bitField0_ & ~0x00000002);
      token_ = getDefaultInstance().getToken();
    }
    /**
     * optional string token = 3 [json_name = "token"];
     * @param value The bytes for token to set.
     */
    private void setTokenBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      token_ = value.toStringUtf8();
      bitField0_ |= 0x00000002;
    }

    public static final int GETSTREAM_FIELD_NUMBER = 4;
    private java.lang.String getstream_;
    /**
     * string getstream = 4 [json_name = "getstream"];
     * @return The getstream.
     */
    @java.lang.Override
    public java.lang.String getGetstream() {
      return getstream_;
    }
    /**
     * string getstream = 4 [json_name = "getstream"];
     * @return The bytes for getstream.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getGetstreamBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(getstream_);
    }
    /**
     * string getstream = 4 [json_name = "getstream"];
     * @param value The getstream to set.
     */
    private void setGetstream(
        java.lang.String value) {
      java.lang.Class valueClass = value.getClass();
  
      getstream_ = value;
    }
    /**
     * string getstream = 4 [json_name = "getstream"];
     */
    private void clearGetstream() {

      getstream_ = getDefaultInstance().getGetstream();
    }
    /**
     * string getstream = 4 [json_name = "getstream"];
     * @param value The bytes for getstream to set.
     */
    private void setGetstreamBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      getstream_ = value.toStringUtf8();

    }

    public static final int INVITER_KEY_FIELD_NUMBER = 5;
    private java.lang.String inviterKey_;
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return Whether the inviterKey field is set.
     */
    @java.lang.Override
    public boolean hasInviterKey() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return The inviterKey.
     */
    @java.lang.Override
    public java.lang.String getInviterKey() {
      return inviterKey_;
    }
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @return The bytes for inviterKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getInviterKeyBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(inviterKey_);
    }
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @param value The inviterKey to set.
     */
    private void setInviterKey(
        java.lang.String value) {
      java.lang.Class valueClass = value.getClass();
  bitField0_ |= 0x00000004;
      inviterKey_ = value;
    }
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     */
    private void clearInviterKey() {
      bitField0_ = (bitField0_ & ~0x00000004);
      inviterKey_ = getDefaultInstance().getInviterKey();
    }
    /**
     * optional string inviter_key = 5 [json_name = "inviterKey"];
     * @param value The bytes for inviterKey to set.
     */
    private void setInviterKeyBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      inviterKey_ = value.toStringUtf8();
      bitField0_ |= 0x00000004;
    }

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

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

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


      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @return Whether the jwt field is set.
       */
      @java.lang.Override
      public boolean hasJwt() {
        return instance.hasJwt();
      }
      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @return The jwt.
       */
      @java.lang.Override
      public java.lang.String getJwt() {
        return instance.getJwt();
      }
      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @return The bytes for jwt.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getJwtBytes() {
        return instance.getJwtBytes();
      }
      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @param value The jwt to set.
       * @return This builder for chaining.
       */
      public Builder setJwt(
          java.lang.String value) {
        copyOnWrite();
        instance.setJwt(value);
        return this;
      }
      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @return This builder for chaining.
       */
      public Builder clearJwt() {
        copyOnWrite();
        instance.clearJwt();
        return this;
      }
      /**
       * optional string jwt = 1 [json_name = "jwt"];
       * @param value The bytes for jwt to set.
       * @return This builder for chaining.
       */
      public Builder setJwtBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setJwtBytes(value);
        return this;
      }

      /**
       * optional string token = 3 [json_name = "token"];
       * @return Whether the token field is set.
       */
      @java.lang.Override
      public boolean hasToken() {
        return instance.hasToken();
      }
      /**
       * optional string token = 3 [json_name = "token"];
       * @return The token.
       */
      @java.lang.Override
      public java.lang.String getToken() {
        return instance.getToken();
      }
      /**
       * optional string token = 3 [json_name = "token"];
       * @return The bytes for token.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getTokenBytes() {
        return instance.getTokenBytes();
      }
      /**
       * optional string token = 3 [json_name = "token"];
       * @param value The token to set.
       * @return This builder for chaining.
       */
      public Builder setToken(
          java.lang.String value) {
        copyOnWrite();
        instance.setToken(value);
        return this;
      }
      /**
       * optional string token = 3 [json_name = "token"];
       * @return This builder for chaining.
       */
      public Builder clearToken() {
        copyOnWrite();
        instance.clearToken();
        return this;
      }
      /**
       * optional string token = 3 [json_name = "token"];
       * @param value The bytes for token to set.
       * @return This builder for chaining.
       */
      public Builder setTokenBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setTokenBytes(value);
        return this;
      }

      /**
       * string getstream = 4 [json_name = "getstream"];
       * @return The getstream.
       */
      @java.lang.Override
      public java.lang.String getGetstream() {
        return instance.getGetstream();
      }
      /**
       * string getstream = 4 [json_name = "getstream"];
       * @return The bytes for getstream.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getGetstreamBytes() {
        return instance.getGetstreamBytes();
      }
      /**
       * string getstream = 4 [json_name = "getstream"];
       * @param value The getstream to set.
       * @return This builder for chaining.
       */
      public Builder setGetstream(
          java.lang.String value) {
        copyOnWrite();
        instance.setGetstream(value);
        return this;
      }
      /**
       * string getstream = 4 [json_name = "getstream"];
       * @return This builder for chaining.
       */
      public Builder clearGetstream() {
        copyOnWrite();
        instance.clearGetstream();
        return this;
      }
      /**
       * string getstream = 4 [json_name = "getstream"];
       * @param value The bytes for getstream to set.
       * @return This builder for chaining.
       */
      public Builder setGetstreamBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setGetstreamBytes(value);
        return this;
      }

      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @return Whether the inviterKey field is set.
       */
      @java.lang.Override
      public boolean hasInviterKey() {
        return instance.hasInviterKey();
      }
      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @return The inviterKey.
       */
      @java.lang.Override
      public java.lang.String getInviterKey() {
        return instance.getInviterKey();
      }
      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @return The bytes for inviterKey.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getInviterKeyBytes() {
        return instance.getInviterKeyBytes();
      }
      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @param value The inviterKey to set.
       * @return This builder for chaining.
       */
      public Builder setInviterKey(
          java.lang.String value) {
        copyOnWrite();
        instance.setInviterKey(value);
        return this;
      }
      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @return This builder for chaining.
       */
      public Builder clearInviterKey() {
        copyOnWrite();
        instance.clearInviterKey();
        return this;
      }
      /**
       * optional string inviter_key = 5 [json_name = "inviterKey"];
       * @param value The bytes for inviterKey to set.
       * @return This builder for chaining.
       */
      public Builder setInviterKeyBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setInviterKeyBytes(value);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:streamlayer.users.BypassAuthResponse.AuthResponseMetadata)
    }
    @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.users.BypassAuthResponse.AuthResponseMetadata();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "jwt_",
              "token_",
              "getstream_",
              "inviterKey_",
            };
            java.lang.String info =
                "\u0000\u0004\u0000\u0001\u0001\u0005\u0004\u0000\u0000\u0000\u0001\u1208\u0000\u0003" +
                "\u1208\u0001\u0004\u0208\u0005\u1208\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.users.BypassAuthResponse.AuthResponseMetadata.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.users.BypassAuthResponse.AuthResponseMetadata)
    private static final com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata DEFAULT_INSTANCE;
    static {
      AuthResponseMetadata defaultInstance = new AuthResponseMetadata();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        AuthResponseMetadata.class, defaultInstance);
    }

    public static com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata 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 META_FIELD_NUMBER = 1;
  private com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta_;
  /**
   * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
   */
  @java.lang.Override
  public boolean hasMeta() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
   */
  @java.lang.Override
  public com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata getMeta() {
    return meta_ == null ? com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata.getDefaultInstance() : meta_;
  }
  /**
   * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
   */
  private void setMeta(com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata value) {
    value.getClass();
  meta_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeMeta(com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata value) {
    value.getClass();
  if (meta_ != null &&
        meta_ != com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata.getDefaultInstance()) {
      meta_ =
        com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata.newBuilder(meta_).mergeFrom(value).buildPartial();
    } else {
      meta_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
   */
  private void clearMeta() {  meta_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

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

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

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

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


    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    @java.lang.Override
    public boolean hasMeta() {
      return instance.hasMeta();
    }
    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    @java.lang.Override
    public com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata getMeta() {
      return instance.getMeta();
    }
    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    public Builder setMeta(com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata value) {
      copyOnWrite();
      instance.setMeta(value);
      return this;
      }
    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    public Builder setMeta(
        com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata.Builder builderForValue) {
      copyOnWrite();
      instance.setMeta(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    public Builder mergeMeta(com.streamlayer.users.BypassAuthResponse.AuthResponseMetadata value) {
      copyOnWrite();
      instance.mergeMeta(value);
      return this;
    }
    /**
     * .streamlayer.users.BypassAuthResponse.AuthResponseMetadata meta = 1 [json_name = "meta"];
     */
    public Builder clearMeta() {  copyOnWrite();
      instance.clearMeta();
      return this;
    }

    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    @java.lang.Override
    public boolean hasData() {
      return instance.hasData();
    }
    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    @java.lang.Override
    public com.streamlayer.users.User getData() {
      return instance.getData();
    }
    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    public Builder setData(com.streamlayer.users.User value) {
      copyOnWrite();
      instance.setData(value);
      return this;
      }
    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    public Builder setData(
        com.streamlayer.users.User.Builder builderForValue) {
      copyOnWrite();
      instance.setData(builderForValue.build());
      return this;
    }
    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    public Builder mergeData(com.streamlayer.users.User value) {
      copyOnWrite();
      instance.mergeData(value);
      return this;
    }
    /**
     * optional .streamlayer.users.User data = 2 [json_name = "data"];
     */
    public Builder clearData() {  copyOnWrite();
      instance.clearData();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.users.BypassAuthResponse)
  }
  @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.users.BypassAuthResponse();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "meta_",
            "data_",
          };
          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.users.BypassAuthResponse.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.users.BypassAuthResponse)
  private static final com.streamlayer.users.BypassAuthResponse DEFAULT_INSTANCE;
  static {
    BypassAuthResponse defaultInstance = new BypassAuthResponse();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      BypassAuthResponse.class, defaultInstance);
  }

  public static com.streamlayer.users.BypassAuthResponse 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