1+ // Licensed to the Apache Software Foundation (ASF) under one or more
2+ // contributor license agreements. See the NOTICE file distributed with
3+ // this work for additional information regarding copyright ownership.
4+ // The ASF licenses this file to You under the Apache License, Version 2.0
5+ // (the "License"); you may not use this file except in compliance with
6+ // the License. You may obtain a copy of the License at
7+ //
8+ // http://www.apache.org/licenses/LICENSE-2.0
9+ //
10+ // Unless required by applicable law or agreed to in writing, software
11+ // distributed under the License is distributed on an "AS IS" BASIS,
12+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ // See the License for the specific language governing permissions and
14+ // limitations under the License.
15+
16+ syntax = "proto3" ;
17+
18+ package apache.rocketmq.v2 ;
19+
20+ option cc_enable_arenas = true ;
21+ option csharp_namespace = "Apache.Rocketmq.V2" ;
22+ option java_multiple_files = true ;
23+ option java_package = "apache.rocketmq.v2" ;
24+ option java_generate_equals_and_hash = true ;
25+ option java_string_check_utf8 = true ;
26+ option java_outer_classname = "MQAdmin" ;
27+
28+ message ChangeLogLevelRequest {
29+ enum Level {
30+ TRACE = 0 ;
31+ DEBUG = 1 ;
32+ INFO = 2 ;
33+ WARN = 3 ;
34+ ERROR = 4 ;
35+ }
36+ Level level = 1 ;
37+ }
38+
39+ message ChangeLogLevelResponse { string remark = 1 ; }
40+
41+ service Admin {
42+ rpc ChangeLogLevel (ChangeLogLevelRequest ) returns (ChangeLogLevelResponse ) {}
43+ }
0 commit comments