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 Detail

      • getNamesList

        java.util.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

        java.util.List<? extends GrpcKeyBuilder.NameOrBuilder> getNamesOrBuilderList()
        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.
      • getHeadersList

        java.util.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

        java.util.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​(java.lang.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
        java.util.Map<java.lang.String,​java.lang.String> getConstantKeys()
        Deprecated.
      • getConstantKeysMap

        java.util.Map<java.lang.String,​java.lang.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

        java.lang.String getConstantKeysOrDefault​(java.lang.String key,
                                                  java.lang.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

        java.lang.String getConstantKeysOrThrow​(java.lang.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;