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 MQTT5AuthDataOrBuilder extends 008 // @@protoc_insertion_point(interface_extends:mqtt5authtypes.MQTT5AuthData) 009 com.google.protobuf.MessageOrBuilder { 010 011 /** 012 * <code>optional string username = 1;</code> 013 * @return Whether the username field is set. 014 */ 015 boolean hasUsername(); 016 /** 017 * <code>optional string username = 1;</code> 018 * @return The username. 019 */ 020 java.lang.String getUsername(); 021 /** 022 * <code>optional string username = 1;</code> 023 * @return The bytes for username. 024 */ 025 com.google.protobuf.ByteString 026 getUsernameBytes(); 027 028 /** 029 * <code>optional bytes password = 2;</code> 030 * @return Whether the password field is set. 031 */ 032 boolean hasPassword(); 033 /** 034 * <code>optional bytes password = 2;</code> 035 * @return The password. 036 */ 037 com.google.protobuf.ByteString getPassword(); 038 039 /** 040 * <code>optional bytes cert = 3;</code> 041 * @return Whether the cert field is set. 042 */ 043 boolean hasCert(); 044 /** 045 * <code>optional bytes cert = 3;</code> 046 * @return The cert. 047 */ 048 com.google.protobuf.ByteString getCert(); 049 050 /** 051 * <code>optional string clientId = 4;</code> 052 * @return Whether the clientId field is set. 053 */ 054 boolean hasClientId(); 055 /** 056 * <code>optional string clientId = 4;</code> 057 * @return The clientId. 058 */ 059 java.lang.String getClientId(); 060 /** 061 * <code>optional string clientId = 4;</code> 062 * @return The bytes for clientId. 063 */ 064 com.google.protobuf.ByteString 065 getClientIdBytes(); 066 067 /** 068 * <code>string remoteAddr = 5;</code> 069 * @return The remoteAddr. 070 */ 071 java.lang.String getRemoteAddr(); 072 /** 073 * <code>string remoteAddr = 5;</code> 074 * @return The bytes for remoteAddr. 075 */ 076 com.google.protobuf.ByteString 077 getRemoteAddrBytes(); 078 079 /** 080 * <code>uint32 remotePort = 6;</code> 081 * @return The remotePort. 082 */ 083 int getRemotePort(); 084 085 /** 086 * <code>string channelId = 7;</code> 087 * @return The channelId. 088 */ 089 java.lang.String getChannelId(); 090 /** 091 * <code>string channelId = 7;</code> 092 * @return The bytes for channelId. 093 */ 094 com.google.protobuf.ByteString 095 getChannelIdBytes(); 096 097 /** 098 * <pre> 099 * for MQTT5 request/response use case 100 * </pre> 101 * 102 * <code>bool responseInfo = 8;</code> 103 * @return The responseInfo. 104 */ 105 boolean getResponseInfo(); 106 107 /** 108 * <code>.commontype.UserProperties userProps = 9;</code> 109 * @return Whether the userProps field is set. 110 */ 111 boolean hasUserProps(); 112 /** 113 * <code>.commontype.UserProperties userProps = 9;</code> 114 * @return The userProps. 115 */ 116 com.baidu.bifromq.type.UserProperties getUserProps(); 117 /** 118 * <code>.commontype.UserProperties userProps = 9;</code> 119 */ 120 com.baidu.bifromq.type.UserPropertiesOrBuilder getUserPropsOrBuilder(); 121}