Package io.grpc.rls
Class AutoValue_RlsProtoData_GrpcKeyBuilder
- java.lang.Object
-
- io.grpc.rls.RlsProtoData.GrpcKeyBuilder
-
- io.grpc.rls.AutoValue_RlsProtoData_GrpcKeyBuilder
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_RlsProtoData_GrpcKeyBuilder extends RlsProtoData.GrpcKeyBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.grpc.rls.RlsProtoData.GrpcKeyBuilder
RlsProtoData.GrpcKeyBuilder.Name
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>constantKeysprivate RlsProtoData.ExtraKeysextraKeysprivate com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher>headersprivate com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name>names
-
Constructor Summary
Constructors Constructor Description AutoValue_RlsProtoData_GrpcKeyBuilder(com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name> names, com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher> headers, RlsProtoData.ExtraKeys extraKeys, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> constantKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>constantKeys()booleanequals(java.lang.Object o)(package private) RlsProtoData.ExtraKeysextraKeys()inthashCode()(package private) com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher>headers()Returns a list of NameMatchers for header.(package private) com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name>names()Returns names.java.lang.StringtoString()-
Methods inherited from class io.grpc.rls.RlsProtoData.GrpcKeyBuilder
create
-
-
-
-
Field Detail
-
names
private final com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name> names
-
headers
private final com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher> headers
-
extraKeys
private final RlsProtoData.ExtraKeys extraKeys
-
constantKeys
private final com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> constantKeys
-
-
Constructor Detail
-
AutoValue_RlsProtoData_GrpcKeyBuilder
AutoValue_RlsProtoData_GrpcKeyBuilder(com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name> names, com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher> headers, RlsProtoData.ExtraKeys extraKeys, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> constantKeys)
-
-
Method Detail
-
names
com.google.common.collect.ImmutableList<RlsProtoData.GrpcKeyBuilder.Name> names()
Description copied from class:RlsProtoData.GrpcKeyBuilderReturns names. To match, one of the given Name fields must match; the service and method fields are specified as fixed strings. The service name is required and includes the proto package name. The method name may be omitted, in which case any method on the given service is matched.- Specified by:
namesin classRlsProtoData.GrpcKeyBuilder
-
headers
com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher> headers()
Description copied from class:RlsProtoData.GrpcKeyBuilderReturns a list of NameMatchers for header. Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos, and we ignore it if set.- Specified by:
headersin classRlsProtoData.GrpcKeyBuilder
-
extraKeys
RlsProtoData.ExtraKeys extraKeys()
- Specified by:
extraKeysin classRlsProtoData.GrpcKeyBuilder
-
constantKeys
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> constantKeys()
- Specified by:
constantKeysin classRlsProtoData.GrpcKeyBuilder
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-