Send feedback
Class GcpMultiEndpointOptions (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
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 ()
Send feedback
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-06-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]