Class GcpMultiEndpointOptions (1.17.0)
1.17.0 (latest)
1.13.0
1.12.0
1.11.0
public class GcpMultiEndpointOptions
Static Fields
DEFAULT_NAME
public static String DEFAULT_NAME
Field Value
Type
Description
String
Static Methods
newBuilder(GcpMultiEndpointOptions options)
public static GcpMultiEndpointOptions . Builder newBuilder ( GcpMultiEndpointOptions options )
Creates a new GcpMultiEndpointOptions.Builder from GcpMultiEndpointOptions.
newBuilder(List<String> endpoints)
public static GcpMultiEndpointOptions . Builder newBuilder ( List<String> endpoints )
Creates a new GcpMultiEndpointOptions.Builder.
Parameter
Name
Description
endpoints
List <String >list of endpoints for the MultiEndpoint.
Constructors
GcpMultiEndpointOptions(GcpMultiEndpointOptions.Builder builder)
public GcpMultiEndpointOptions ( GcpMultiEndpointOptions . Builder builder )
Methods
getChannelConfigurator()
public ApiFunction<ManagedChannelBuilder <? >, ManagedChannelBuilder <? >> getChannelConfigurator ()
Returns
Type
Description
ApiFunction <io.grpc.ManagedChannelBuilder <? >,io.grpc.ManagedChannelBuilder <? >>
getChannelCredentials()
public ChannelCredentials getChannelCredentials ()
Returns
Type
Description
io.grpc.ChannelCredentials
getEndpoints()
public List<String> getEndpoints ()
getName()
Returns
Type
Description
String
getRecoveryTimeout()
public Duration getRecoveryTimeout ()
getSwitchingDelay()
public Duration getSwitchingDelay ()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-05 UTC."],[],[]]