Interface GrpcKeyBuilderOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GrpcKeyBuilder, GrpcKeyBuilder.Builder

public interface GrpcKeyBuilderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNamesList

      List<GrpcKeyBuilder.Name> getNamesList()
      repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
    • getNames

      GrpcKeyBuilder.Name getNames(int index)
      repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
    • getNamesCount

      int getNamesCount()
      repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
    • getNamesOrBuilderList

      List<? extends GrpcKeyBuilder.NameOrBuilder> getNamesOrBuilderList()
      repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
    • getNamesOrBuilder

      GrpcKeyBuilder.NameOrBuilder getNamesOrBuilder(int index)
      repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
    • hasExtraKeys

      boolean hasExtraKeys()
      .grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
      Returns:
      Whether the extraKeys field is set.
    • getExtraKeys

      GrpcKeyBuilder.ExtraKeys getExtraKeys()
      .grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
      Returns:
      The extraKeys.
    • getExtraKeysOrBuilder

      GrpcKeyBuilder.ExtraKeysOrBuilder getExtraKeysOrBuilder()
      .grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
    • getHeadersList

      List<NameMatcher> getHeadersList()
       Extract keys from all listed headers.
       For gRPC, it is an error to specify "required_match" on the NameMatcher
       protos.
       
      repeated .grpc.lookup.v1.NameMatcher headers = 2;
    • getHeaders

      NameMatcher getHeaders(int index)
       Extract keys from all listed headers.
       For gRPC, it is an error to specify "required_match" on the NameMatcher
       protos.
       
      repeated .grpc.lookup.v1.NameMatcher headers = 2;
    • getHeadersCount

      int getHeadersCount()
       Extract keys from all listed headers.
       For gRPC, it is an error to specify "required_match" on the NameMatcher
       protos.
       
      repeated .grpc.lookup.v1.NameMatcher headers = 2;
    • getHeadersOrBuilderList

      List<? extends NameMatcherOrBuilder> getHeadersOrBuilderList()
       Extract keys from all listed headers.
       For gRPC, it is an error to specify "required_match" on the NameMatcher
       protos.
       
      repeated .grpc.lookup.v1.NameMatcher headers = 2;
    • getHeadersOrBuilder

      NameMatcherOrBuilder getHeadersOrBuilder(int index)
       Extract keys from all listed headers.
       For gRPC, it is an error to specify "required_match" on the NameMatcher
       protos.
       
      repeated .grpc.lookup.v1.NameMatcher headers = 2;
    • getConstantKeysCount

      int getConstantKeysCount()
       You can optionally set one or more specific key/value pairs to be added to
       the key_map.  This can be useful to identify which builder built the key,
       for example if you are suppressing the actual method, but need to
       separately cache and request all the matched methods.
       
      map<string, string> constant_keys = 4;
    • containsConstantKeys

      boolean containsConstantKeys(String key)
       You can optionally set one or more specific key/value pairs to be added to
       the key_map.  This can be useful to identify which builder built the key,
       for example if you are suppressing the actual method, but need to
       separately cache and request all the matched methods.
       
      map<string, string> constant_keys = 4;
    • getConstantKeys

      @Deprecated Map<String,String> getConstantKeys()
      Deprecated.
    • getConstantKeysMap

      Map<String,String> getConstantKeysMap()
       You can optionally set one or more specific key/value pairs to be added to
       the key_map.  This can be useful to identify which builder built the key,
       for example if you are suppressing the actual method, but need to
       separately cache and request all the matched methods.
       
      map<string, string> constant_keys = 4;
    • getConstantKeysOrDefault

      String getConstantKeysOrDefault(String key, String defaultValue)
       You can optionally set one or more specific key/value pairs to be added to
       the key_map.  This can be useful to identify which builder built the key,
       for example if you are suppressing the actual method, but need to
       separately cache and request all the matched methods.
       
      map<string, string> constant_keys = 4;
    • getConstantKeysOrThrow

      String getConstantKeysOrThrow(String key)
       You can optionally set one or more specific key/value pairs to be added to
       the key_map.  This can be useful to identify which builder built the key,
       for example if you are suppressing the actual method, but need to
       separately cache and request all the matched methods.
       
      map<string, string> constant_keys = 4;