/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _metadata.py | 18 MetadataKey = str variable 35 def __init__(self, *args: Tuple[MetadataKey, MetadataValue]) -> None: argument 46 def add(self, key: MetadataKey, value: MetadataValue) -> None: argument 56 def __getitem__(self, key: MetadataKey) -> MetadataValue: argument 65 def __setitem__(self, key: MetadataKey, value: MetadataValue) -> None: argument 75 def __delitem__(self, key: MetadataKey) -> None: argument 82 def delete_all(self, key: MetadataKey) -> None: argument 86 def __iter__(self) -> Iterator[Tuple[MetadataKey, MetadataValue]]: 91 def get_all(self, key: MetadataKey) -> List[MetadataValue]: argument 97 def set_all(self, key: MetadataKey, values: List[MetadataValue]) -> None: argument [all …]
|
D | _typing.py | 20 from ._metadata import Metadata, MetadataKey, MetadataValue 26 MetadatumType = Tuple[MetadataKey, MetadataValue]
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _metadata.py | 18 MetadataKey = str variable 35 def __init__(self, *args: Tuple[MetadataKey, MetadataValue]) -> None: argument 46 def add(self, key: MetadataKey, value: MetadataValue) -> None: argument 56 def __getitem__(self, key: MetadataKey) -> MetadataValue: argument 65 def __setitem__(self, key: MetadataKey, value: MetadataValue) -> None: argument 75 def __delitem__(self, key: MetadataKey) -> None: argument 82 def delete_all(self, key: MetadataKey) -> None: argument 86 def __iter__(self) -> Iterator[Tuple[MetadataKey, MetadataValue]]: 91 def get_all(self, key: MetadataKey) -> List[MetadataValue]: argument 97 def set_all(self, key: MetadataKey, values: List[MetadataValue]) -> None: argument [all …]
|
D | _typing.py | 20 from ._metadata import Metadata, MetadataKey, MetadataValue 26 MetadatumType = Tuple[MetadataKey, MetadataValue]
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
D | MetadataKey.java | 29 public abstract class MetadataKey implements Comparable<MetadataKey> { class 30 private static final Comparator<MetadataKey> ORDERING = 31 Comparator.comparing(MetadataKey::region).thenComparing(MetadataKey::callingCode); 38 public static MetadataKey create(PhoneRegion region, DigitSequence callingCode) { in create() 56 public int compareTo(MetadataKey other) { in compareTo()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | NumberingSchemes.java | 26 import com.google.i18n.phonenumbers.metadata.MetadataKey; 43 ImmutableSet<MetadataKey> allKeys = map.values().stream() in from() 44 .flatMap(s -> s.getRegions().stream().map(r -> MetadataKey.create(r, s.getCallingCode()))) in from() 59 public abstract ImmutableSet<MetadataKey> getKeys(); in getKeys()
|
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/ |
D | _common.py | 19 from grpc.aio._typing import MetadatumType, MetadataKey, MetadataValue 29 def seen_metadatum(expected_key: MetadataKey, expected_value: MetadataValue, argument
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Interceptors/ |
D | ServerInterceptorTest.cs | 42 const string MetadataKey = "x-interceptor"; in AddRequestHeaderInServerInterceptor() 44 …allContextInterceptor(ctx => ctx.RequestHeaders.Add(new Metadata.Entry(MetadataKey, MetadataValue)… in AddRequestHeaderInServerInterceptor() 47 … var interceptorHeader = context.RequestHeaders.Last(m => (m.Key == MetadataKey)).Value; in AddRequestHeaderInServerInterceptor()
|