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 OkOrBuilder extends
008    // @@protoc_insertion_point(interface_extends:mqtt3authtypes.Ok)
009    com.google.protobuf.MessageOrBuilder {
010
011  /**
012   * <code>string tenantId = 1;</code>
013   * @return The tenantId.
014   */
015  java.lang.String getTenantId();
016  /**
017   * <code>string tenantId = 1;</code>
018   * @return The bytes for tenantId.
019   */
020  com.google.protobuf.ByteString
021      getTenantIdBytes();
022
023  /**
024   * <code>string userId = 2;</code>
025   * @return The userId.
026   */
027  java.lang.String getUserId();
028  /**
029   * <code>string userId = 2;</code>
030   * @return The bytes for userId.
031   */
032  com.google.protobuf.ByteString
033      getUserIdBytes();
034
035  /**
036   * <pre>
037   * additional attributes filled by auth provider plugin which will be copied to ClientInfo
038   * </pre>
039   *
040   * <code>map&lt;string, string&gt; attrs = 3;</code>
041   */
042  int getAttrsCount();
043  /**
044   * <pre>
045   * additional attributes filled by auth provider plugin which will be copied to ClientInfo
046   * </pre>
047   *
048   * <code>map&lt;string, string&gt; attrs = 3;</code>
049   */
050  boolean containsAttrs(
051      java.lang.String key);
052  /**
053   * Use {@link #getAttrsMap()} instead.
054   */
055  @java.lang.Deprecated
056  java.util.Map<java.lang.String, java.lang.String>
057  getAttrs();
058  /**
059   * <pre>
060   * additional attributes filled by auth provider plugin which will be copied to ClientInfo
061   * </pre>
062   *
063   * <code>map&lt;string, string&gt; attrs = 3;</code>
064   */
065  java.util.Map<java.lang.String, java.lang.String>
066  getAttrsMap();
067  /**
068   * <pre>
069   * additional attributes filled by auth provider plugin which will be copied to ClientInfo
070   * </pre>
071   *
072   * <code>map&lt;string, string&gt; attrs = 3;</code>
073   */
074  /* nullable */
075java.lang.String getAttrsOrDefault(
076      java.lang.String key,
077      /* nullable */
078java.lang.String defaultValue);
079  /**
080   * <pre>
081   * additional attributes filled by auth provider plugin which will be copied to ClientInfo
082   * </pre>
083   *
084   * <code>map&lt;string, string&gt; attrs = 3;</code>
085   */
086  java.lang.String getAttrsOrThrow(
087      java.lang.String key);
088}