001// Generated by the protocol buffer compiler. DO NOT EDIT! 002// source: mqtt5_auth_types.proto 003 004// Protobuf Java Version: 3.25.5 005package com.baidu.bifromq.plugin.authprovider.type; 006 007public interface SuccessOrBuilder extends 008 // @@protoc_insertion_point(interface_extends:mqtt5authtypes.Success) 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<string, string> 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<string, string> 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<string, string> 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<string, string> 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<string, string> attrs = 3;</code> 085 */ 086 java.lang.String getAttrsOrThrow( 087 java.lang.String key); 088 089 /** 090 * <pre> 091 * for mqtt5 request/response use case 092 * </pre> 093 * 094 * <code>optional string ResponseInfo = 4;</code> 095 * @return Whether the responseInfo field is set. 096 */ 097 boolean hasResponseInfo(); 098 /** 099 * <pre> 100 * for mqtt5 request/response use case 101 * </pre> 102 * 103 * <code>optional string ResponseInfo = 4;</code> 104 * @return The responseInfo. 105 */ 106 java.lang.String getResponseInfo(); 107 /** 108 * <pre> 109 * for mqtt5 request/response use case 110 * </pre> 111 * 112 * <code>optional string ResponseInfo = 4;</code> 113 * @return The bytes for responseInfo. 114 */ 115 com.google.protobuf.ByteString 116 getResponseInfoBytes(); 117 118 /** 119 * <pre> 120 * user properties return back via mqtt5 connack 121 * </pre> 122 * 123 * <code>.commontype.UserProperties userProps = 5;</code> 124 * @return Whether the userProps field is set. 125 */ 126 boolean hasUserProps(); 127 /** 128 * <pre> 129 * user properties return back via mqtt5 connack 130 * </pre> 131 * 132 * <code>.commontype.UserProperties userProps = 5;</code> 133 * @return The userProps. 134 */ 135 com.baidu.bifromq.type.UserProperties getUserProps(); 136 /** 137 * <pre> 138 * user properties return back via mqtt5 connack 139 * </pre> 140 * 141 * <code>.commontype.UserProperties userProps = 5;</code> 142 */ 143 com.baidu.bifromq.type.UserPropertiesOrBuilder getUserPropsOrBuilder(); 144}