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>
constantKeys
private RlsProtoData.ExtraKeys
extraKeys
private com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher>
headers
private 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()
boolean
equals(java.lang.Object o)
(package private) RlsProtoData.ExtraKeys
extraKeys()
int
hashCode()
(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.String
toString()
-
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.GrpcKeyBuilder
Returns 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:
names
in classRlsProtoData.GrpcKeyBuilder
-
headers
com.google.common.collect.ImmutableList<RlsProtoData.NameMatcher> headers()
Description copied from class:RlsProtoData.GrpcKeyBuilder
Returns 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:
headers
in classRlsProtoData.GrpcKeyBuilder
-
extraKeys
RlsProtoData.ExtraKeys extraKeys()
- Specified by:
extraKeys
in classRlsProtoData.GrpcKeyBuilder
-
constantKeys
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> constantKeys()
- Specified by:
constantKeys
in classRlsProtoData.GrpcKeyBuilder
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-