public static class RouterStubSettings.Builder extends StubSettings.Builder<RouterStubSettings,RouterStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(RouterStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(RouterStubSettings settings)
public RouterStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<AggregatedListRoutersHttpRequest,RouterAggregatedList,RouterClient.AggregatedListRoutersPagedResponse> aggregatedListRoutersSettings()
public UnaryCallSettings.Builder<DeleteRouterHttpRequest,Operation> deleteRouterSettings()
public UnaryCallSettings.Builder<GetRouterHttpRequest,Router> getRouterSettings()
public PagedCallSettings.Builder<GetNatMappingInfoRoutersHttpRequest,VmEndpointNatMappingsList,RouterClient.GetNatMappingInfoRoutersPagedResponse> getNatMappingInfoRoutersSettings()
public UnaryCallSettings.Builder<GetRouterStatusRouterHttpRequest,RouterStatusResponse> getRouterStatusRouterSettings()
public UnaryCallSettings.Builder<InsertRouterHttpRequest,Operation> insertRouterSettings()
public PagedCallSettings.Builder<ListRoutersHttpRequest,RouterList,RouterClient.ListRoutersPagedResponse> listRoutersSettings()
public UnaryCallSettings.Builder<PatchRouterHttpRequest,Operation> patchRouterSettings()
public UnaryCallSettings.Builder<PreviewRouterHttpRequest,RoutersPreviewResponse> previewRouterSettings()
public UnaryCallSettings.Builder<UpdateRouterHttpRequest,Operation> updateRouterSettings()
public RouterStubSettings build() throws IOException
build
in class StubSettings.Builder<RouterStubSettings,RouterStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.