Package io.grpc.xds.client
Class AutoValue_Bootstrapper_AuthorityInfo
java.lang.Object
io.grpc.xds.client.Bootstrapper.AuthorityInfo
io.grpc.xds.client.AutoValue_Bootstrapper_AuthorityInfo
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Bootstrapper_AuthorityInfo
extends Bootstrapper.AuthorityInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_Bootstrapper_AuthorityInfo(String clientListenerResourceNameTemplate, com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers) -
Method Summary
Modifier and TypeMethodDescriptionA template for the name of the Listener resource to subscribe to for a gRPC client channel.booleaninthashCode()toString()com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> Ordered list of xDS servers to contact for this authority.Methods inherited from class io.grpc.xds.client.Bootstrapper.AuthorityInfo
create
-
Field Details
-
clientListenerResourceNameTemplate
-
xdsServers
-
-
Constructor Details
-
AutoValue_Bootstrapper_AuthorityInfo
AutoValue_Bootstrapper_AuthorityInfo(String clientListenerResourceNameTemplate, com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers)
-
-
Method Details
-
clientListenerResourceNameTemplate
Description copied from class:Bootstrapper.AuthorityInfoA template for the name of the Listener resource to subscribe to for a gRPC client channel. Used only when the channel is created using an "xds:" URI with this authority name.The token "%s", if present in this string, will be replaced with %-encoded service authority (i.e., the path part of the target URI used to create the gRPC channel).
Return value must start with
"xdstp://<authority_name>/".- Specified by:
clientListenerResourceNameTemplatein classBootstrapper.AuthorityInfo
-
xdsServers
Description copied from class:Bootstrapper.AuthorityInfoOrdered list of xDS servers to contact for this authority.If the same server is listed in multiple authorities, the entries will be de-duped (i.e., resources for both authorities will be fetched on the same ADS stream).
Defaults to the top-level server list
Bootstrapper.BootstrapInfo.servers(). Must not be empty.- Specified by:
xdsServersin classBootstrapper.AuthorityInfo
-
toString
-
equals
-
hashCode
public int hashCode()
-