接口 VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
VirtualServiceOuterClass.Headers.HeaderOperations,VirtualServiceOuterClass.Headers.HeaderOperations.Builder
public static interface VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsAdd(java.lang.String key)Append the given values to the headers specified by keys (will create a comma-separated list of values)booleancontainsSet(java.lang.String key)Overwrite the headers specified by key with the given valuesjava.util.Map<java.lang.String,java.lang.String>getAdd()已过时。intgetAddCount()Append the given values to the headers specified by keys (will create a comma-separated list of values)java.util.Map<java.lang.String,java.lang.String>getAddMap()Append the given values to the headers specified by keys (will create a comma-separated list of values)java.lang.StringgetAddOrDefault(java.lang.String key, java.lang.String defaultValue)Append the given values to the headers specified by keys (will create a comma-separated list of values)java.lang.StringgetAddOrThrow(java.lang.String key)Append the given values to the headers specified by keys (will create a comma-separated list of values)java.lang.StringgetRemove(int index)Remove a the specified headerscom.google.protobuf.ByteStringgetRemoveBytes(int index)Remove a the specified headersintgetRemoveCount()Remove a the specified headersjava.util.List<java.lang.String>getRemoveList()Remove a the specified headersjava.util.Map<java.lang.String,java.lang.String>getSet()已过时。intgetSetCount()Overwrite the headers specified by key with the given valuesjava.util.Map<java.lang.String,java.lang.String>getSetMap()Overwrite the headers specified by key with the given valuesjava.lang.StringgetSetOrDefault(java.lang.String key, java.lang.String defaultValue)Overwrite the headers specified by key with the given valuesjava.lang.StringgetSetOrThrow(java.lang.String key)Overwrite the headers specified by key with the given values
-
-
-
方法详细资料
-
getSetCount
int getSetCount()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
containsSet
boolean containsSet(java.lang.String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSet
@Deprecated java.util.Map<java.lang.String,java.lang.String> getSet()
已过时。UsegetSetMap()instead.
-
getSetMap
java.util.Map<java.lang.String,java.lang.String> getSetMap()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSetOrDefault
java.lang.String getSetOrDefault(java.lang.String key, java.lang.String defaultValue)Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSetOrThrow
java.lang.String getSetOrThrow(java.lang.String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getAddCount
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;
-
containsAdd
boolean containsAdd(java.lang.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;
-
getAdd
@Deprecated java.util.Map<java.lang.String,java.lang.String> getAdd()
已过时。UsegetAddMap()instead.
-
getAddMap
java.util.Map<java.lang.String,java.lang.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;
-
getAddOrDefault
java.lang.String getAddOrDefault(java.lang.String key, java.lang.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;
-
getAddOrThrow
java.lang.String getAddOrThrow(java.lang.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;
-
getRemoveList
java.util.List<java.lang.String> getRemoveList()
Remove a the specified headers
repeated string remove = 3;- 返回:
- A list containing the remove.
-
getRemoveCount
int getRemoveCount()
Remove a the specified headers
repeated string remove = 3;- 返回:
- The count of remove.
-
getRemove
java.lang.String getRemove(int index)
Remove a the specified headers
repeated string remove = 3;- 参数:
index- The index of the element to return.- 返回:
- The remove at the given index.
-
getRemoveBytes
com.google.protobuf.ByteString getRemoveBytes(int index)
Remove a the specified headers
repeated string remove = 3;- 参数:
index- The index of the value to return.- 返回:
- The bytes of the remove at the given index.
-
-