public static interface VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsAdd(String key)
Append the given values to the headers specified by keys
(will create a comma-separated list of values)
map<string, string> add = 2; |
boolean |
containsSet(String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1; |
Map<String,String> |
getAdd()
已过时。
|
int |
getAddCount()
Append the given values to the headers specified by keys
(will create a comma-separated list of values)
map<string, string> add = 2; |
Map<String,String> |
getAddMap()
Append the given values to the headers specified by keys
(will create a comma-separated list of values)
map<string, string> add = 2; |
String |
getAddOrDefault(String key,
String defaultValue)
Append the given values to the headers specified by keys
(will create a comma-separated list of values)
map<string, string> add = 2; |
String |
getAddOrThrow(String key)
Append the given values to the headers specified by keys
(will create a comma-separated list of values)
map<string, string> add = 2; |
String |
getRemove(int index)
Remove a the specified headers
repeated string remove = 3; |
com.google.protobuf.ByteString |
getRemoveBytes(int index)
Remove a the specified headers
repeated string remove = 3; |
int |
getRemoveCount()
Remove a the specified headers
repeated string remove = 3; |
List<String> |
getRemoveList()
Remove a the specified headers
repeated string remove = 3; |
Map<String,String> |
getSet()
已过时。
|
int |
getSetCount()
Overwrite the headers specified by key with the given values
map<string, string> set = 1; |
Map<String,String> |
getSetMap()
Overwrite the headers specified by key with the given values
map<string, string> set = 1; |
String |
getSetOrDefault(String key,
String defaultValue)
Overwrite the headers specified by key with the given values
map<string, string> set = 1; |
String |
getSetOrThrow(String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1; |
int getSetCount()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;boolean containsSet(String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;@Deprecated Map<String,String> getSet()
getSetMap() instead.Map<String,String> getSetMap()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;String getSetOrDefault(String key, String defaultValue)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;String getSetOrThrow(String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;int getAddCount()
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;boolean containsAdd(String key)
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;@Deprecated Map<String,String> getAdd()
getAddMap() instead.Map<String,String> getAddMap()
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;String getAddOrDefault(String key, String defaultValue)
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;String getAddOrThrow(String key)
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;List<String> getRemoveList()
Remove a the specified headers
repeated string remove = 3;int getRemoveCount()
Remove a the specified headers
repeated string remove = 3;String getRemove(int index)
Remove a the specified headers
repeated string remove = 3;index - The index of the element to return.com.google.protobuf.ByteString getRemoveBytes(int index)
Remove a the specified headers
repeated string remove = 3;index - The index of the value to return.Copyright © 2018–2023 Alibaba Group. All rights reserved.