Package io.grpc
Class LoadBalancer.CreateSubchannelArgs
java.lang.Object
io.grpc.LoadBalancer.CreateSubchannelArgs
- Enclosing class:
LoadBalancer
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1771")
public static final class LoadBalancer.CreateSubchannelArgs
extends Object
Arguments for creating a
LoadBalancer.Subchannel
.- Since:
- 1.22.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
Key for a key-value pair. -
Method Summary
Modifier and TypeMethodDescriptionReturns the addresses, which is an unmodifiable list.Returns the attributes.<T> T
Get the value for a custom option or its inherent default.Creates a new builder.Returns a builder with the same initial values as this object.toString()
-
Method Details
-
getAddresses
Returns the addresses, which is an unmodifiable list. -
getAttributes
Returns the attributes. -
getOption
Get the value for a custom option or its inherent default.- Parameters:
key
- Key identifying option
-
toBuilder
Returns a builder with the same initial values as this object. -
newBuilder
Creates a new builder. -
toString
-