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
Fields Modifier and Type Field Description private java.lang.String
clientListenerResourceNameTemplate
private com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo>
xdsServers
-
Constructor Summary
Constructors Constructor Description AutoValue_Bootstrapper_AuthorityInfo(java.lang.String clientListenerResourceNameTemplate, com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
clientListenerResourceNameTemplate()
A template for the name of the Listener resource to subscribe to for a gRPC client channel.boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo>
xdsServers()
Ordered list of xDS servers to contact for this authority.-
Methods inherited from class io.grpc.xds.client.Bootstrapper.AuthorityInfo
create
-
-
-
-
Field Detail
-
clientListenerResourceNameTemplate
private final java.lang.String clientListenerResourceNameTemplate
-
xdsServers
private final com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers
-
-
Constructor Detail
-
AutoValue_Bootstrapper_AuthorityInfo
AutoValue_Bootstrapper_AuthorityInfo(java.lang.String clientListenerResourceNameTemplate, com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers)
-
-
Method Detail
-
clientListenerResourceNameTemplate
public java.lang.String clientListenerResourceNameTemplate()
Description copied from class:Bootstrapper.AuthorityInfo
A 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:
clientListenerResourceNameTemplate
in classBootstrapper.AuthorityInfo
-
xdsServers
public com.google.common.collect.ImmutableList<Bootstrapper.ServerInfo> xdsServers()
Description copied from class:Bootstrapper.AuthorityInfo
Ordered 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:
xdsServers
in classBootstrapper.AuthorityInfo
-
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
-
-