接口 VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
VirtualServiceOuterClass.Headers.HeaderOperations, VirtualServiceOuterClass.Headers.HeaderOperations.Builder
封闭类:
VirtualServiceOuterClass.Headers

public static interface VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    Append the given values to the headers specified by keys (will create a comma-separated list of values)
    boolean
    Overwrite the headers specified by key with the given values
    已过时。
    int
    Append 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)
    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 headers
    com.google.protobuf.ByteString
    getRemoveBytes(int index)
    Remove a the specified headers
    int
    Remove a the specified headers
    Remove a the specified headers
    已过时。
    int
    Overwrite the headers specified by key with the given values
    Overwrite the headers specified by key with the given values
    getSetOrDefault(String key, String defaultValue)
    Overwrite the headers specified by key with the given values
    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

      boolean containsSet(String key)
       Overwrite the headers specified by key with the given values
       
      map<string, string> set = 1;
    • getSet

      已过时。
      Use getSetMap() instead.
    • getSetMap

      Map<String,String> getSetMap()
       Overwrite the headers specified by key with the given values
       
      map<string, string> set = 1;
    • getSetOrDefault

      String getSetOrDefault(String key, String defaultValue)
       Overwrite the headers specified by key with the given values
       
      map<string, string> set = 1;
    • getSetOrThrow

      String getSetOrThrow(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(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

      已过时。
      Use getAddMap() instead.
    • getAddMap

      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;
    • getAddOrDefault

      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;
    • getAddOrThrow

      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;
    • getRemoveList

      List<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

      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.