接口 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(String key) Append the given values to the headers specified by keys (will create a comma-separated list of values)booleancontainsSet(String key) Overwrite the headers specified by key with the given valuesgetAdd()已过时。intAppend the given values to the headers specified by keys (will create a comma-separated list of values)Append the given values to the headers specified by keys (will create a comma-separated list of values)getAddOrDefault(String key, String defaultValue) Append the given values to the headers specified by keys (will create a comma-separated list of values)getAddOrThrow(String key) Append the given values to the headers specified by keys (will create a comma-separated list of values)getRemove(int index) Remove a the specified headerscom.google.protobuf.ByteStringgetRemoveBytes(int index) Remove a the specified headersintRemove a the specified headersRemove a the specified headersgetSet()已过时。intOverwrite the headers specified by key with the given valuesOverwrite the headers specified by key with the given valuesgetSetOrDefault(String key, String defaultValue) Overwrite the headers specified by key with the given valuesgetSetOrThrow(String key) Overwrite the headers specified by key with the given values从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getSetCount
int getSetCount()Overwrite the headers specified by key with the given values
map<string, string> set = 1; -
containsSet
Overwrite the headers specified by key with the given values
map<string, string> set = 1; -
getSet
已过时。UsegetSetMap()instead. -
getSetMap
Overwrite the headers specified by key with the given values
map<string, string> set = 1; -
getSetOrDefault
Overwrite the headers specified by key with the given values
map<string, string> set = 1; -
getSetOrThrow
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
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2; -
getAdd
已过时。UsegetAddMap()instead. -
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
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2; -
getAddOrThrow
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2; -
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
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.
-