001// Generated by the protocol buffer compiler.  DO NOT EDIT!
002// source: mqtt3_auth_types.proto
003
004// Protobuf Java Version: 3.25.5
005package com.baidu.bifromq.plugin.authprovider.type;
006
007public interface RejectOrBuilder extends
008    // @@protoc_insertion_point(interface_extends:mqtt3authtypes.Reject)
009    com.google.protobuf.MessageOrBuilder {
010
011  /**
012   * <code>.mqtt3authtypes.Reject.Code code = 1;</code>
013   * @return The enum numeric value on the wire for code.
014   */
015  int getCodeValue();
016  /**
017   * <code>.mqtt3authtypes.Reject.Code code = 1;</code>
018   * @return The code.
019   */
020  com.baidu.bifromq.plugin.authprovider.type.Reject.Code getCode();
021
022  /**
023   * <pre>
024   * optional if tenant can be determined
025   * </pre>
026   *
027   * <code>optional string tenantId = 2;</code>
028   * @return Whether the tenantId field is set.
029   */
030  boolean hasTenantId();
031  /**
032   * <pre>
033   * optional if tenant can be determined
034   * </pre>
035   *
036   * <code>optional string tenantId = 2;</code>
037   * @return The tenantId.
038   */
039  java.lang.String getTenantId();
040  /**
041   * <pre>
042   * optional if tenant can be determined
043   * </pre>
044   *
045   * <code>optional string tenantId = 2;</code>
046   * @return The bytes for tenantId.
047   */
048  com.google.protobuf.ByteString
049      getTenantIdBytes();
050
051  /**
052   * <pre>
053   * optional if user can be determined
054   * </pre>
055   *
056   * <code>optional string userId = 3;</code>
057   * @return Whether the userId field is set.
058   */
059  boolean hasUserId();
060  /**
061   * <pre>
062   * optional if user can be determined
063   * </pre>
064   *
065   * <code>optional string userId = 3;</code>
066   * @return The userId.
067   */
068  java.lang.String getUserId();
069  /**
070   * <pre>
071   * optional if user can be determined
072   * </pre>
073   *
074   * <code>optional string userId = 3;</code>
075   * @return The bytes for userId.
076   */
077  com.google.protobuf.ByteString
078      getUserIdBytes();
079
080  /**
081   * <pre>
082   * optional description
083   * </pre>
084   *
085   * <code>optional string reason = 4;</code>
086   * @return Whether the reason field is set.
087   */
088  boolean hasReason();
089  /**
090   * <pre>
091   * optional description
092   * </pre>
093   *
094   * <code>optional string reason = 4;</code>
095   * @return The reason.
096   */
097  java.lang.String getReason();
098  /**
099   * <pre>
100   * optional description
101   * </pre>
102   *
103   * <code>optional string reason = 4;</code>
104   * @return The bytes for reason.
105   */
106  com.google.protobuf.ByteString
107      getReasonBytes();
108}