public static class DatastreamStubSettings.Builder extends StubSettings.Builder<DatastreamStubSettings,DatastreamStubSettings.Builder>
Builder for DatastreamStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DatastreamStubSettings settings)
protected Builder(DatastreamStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DatastreamStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public DatastreamStubSettings build()
Overrides
createConnectionProfileOperationSettings()
public OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createConnectionProfile.
createConnectionProfileSettings()
public UnaryCallSettings.Builder<CreateConnectionProfileRequest,Operation> createConnectionProfileSettings()
Returns the builder for the settings used for calls to createConnectionProfile.
createPrivateConnectionOperationSettings()
public OperationCallSettings.Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createPrivateConnection.
createPrivateConnectionSettings()
public UnaryCallSettings.Builder<CreatePrivateConnectionRequest,Operation> createPrivateConnectionSettings()
Returns the builder for the settings used for calls to createPrivateConnection.
createRouteOperationSettings()
public OperationCallSettings.Builder<CreateRouteRequest,Route,OperationMetadata> createRouteOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createRoute.
createRouteSettings()
public UnaryCallSettings.Builder<CreateRouteRequest,Operation> createRouteSettings()
Returns the builder for the settings used for calls to createRoute.
createStreamOperationSettings()
public OperationCallSettings.Builder<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createStream.
createStreamSettings()
public UnaryCallSettings.Builder<CreateStreamRequest,Operation> createStreamSettings()
Returns the builder for the settings used for calls to createStream.
deleteConnectionProfileOperationSettings()
public OperationCallSettings.Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteConnectionProfile.
deleteConnectionProfileSettings()
public UnaryCallSettings.Builder<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.
deletePrivateConnectionOperationSettings()
public OperationCallSettings.Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deletePrivateConnection.
deletePrivateConnectionSettings()
public UnaryCallSettings.Builder<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionSettings()
Returns the builder for the settings used for calls to deletePrivateConnection.
deleteRouteOperationSettings()
public OperationCallSettings.Builder<DeleteRouteRequest,Empty,OperationMetadata> deleteRouteOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteRoute.
deleteRouteSettings()
public UnaryCallSettings.Builder<DeleteRouteRequest,Operation> deleteRouteSettings()
Returns the builder for the settings used for calls to deleteRoute.
deleteStreamOperationSettings()
public OperationCallSettings.Builder<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteStream.
deleteStreamSettings()
public UnaryCallSettings.Builder<DeleteStreamRequest,Operation> deleteStreamSettings()
Returns the builder for the settings used for calls to deleteStream.
discoverConnectionProfileSettings()
public UnaryCallSettings.Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileSettings()
Returns the builder for the settings used for calls to discoverConnectionProfile.
fetchErrorsOperationSettings()
public OperationCallSettings.Builder<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to fetchErrors.
public UnaryCallSettings.Builder<FetchErrorsRequest,Operation> fetchErrorsSettings()
Returns the builder for the settings used for calls to fetchErrors.
fetchStaticIpsSettings()
public PagedCallSettings.Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsSettings()
Returns the builder for the settings used for calls to fetchStaticIps.
getConnectionProfileSettings()
public UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()
Returns the builder for the settings used for calls to getConnectionProfile.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getPrivateConnectionSettings()
public UnaryCallSettings.Builder<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionSettings()
Returns the builder for the settings used for calls to getPrivateConnection.
getRouteSettings()
public UnaryCallSettings.Builder<GetRouteRequest,Route> getRouteSettings()
Returns the builder for the settings used for calls to getRoute.
getStreamSettings()
public UnaryCallSettings.Builder<GetStreamRequest,Stream> getStreamSettings()
Returns the builder for the settings used for calls to getStream.
listConnectionProfilesSettings()
public PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()
Returns the builder for the settings used for calls to listConnectionProfiles.
listPrivateConnectionsSettings()
public PagedCallSettings.Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings()
Returns the builder for the settings used for calls to listPrivateConnections.
listRoutesSettings()
public PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse,DatastreamClient.ListRoutesPagedResponse> listRoutesSettings()
Returns the builder for the settings used for calls to listRoutes.
listStreamsSettings()
public PagedCallSettings.Builder<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse> listStreamsSettings()
Returns the builder for the settings used for calls to listStreams.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateConnectionProfileOperationSettings()
public OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateConnectionProfile.
updateConnectionProfileSettings()
public UnaryCallSettings.Builder<UpdateConnectionProfileRequest,Operation> updateConnectionProfileSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.
updateStreamOperationSettings()
public OperationCallSettings.Builder<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateStream.
updateStreamSettings()
public UnaryCallSettings.Builder<UpdateStreamRequest,Operation> updateStreamSettings()
Returns the builder for the settings used for calls to updateStream.