Package com.google.cloud.datastream.v1
Class DatastreamSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DatastreamSettings,DatastreamSettings.Builder>
-
- com.google.cloud.datastream.v1.DatastreamSettings.Builder
-
- Enclosing class:
- DatastreamSettings
public static class DatastreamSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DatastreamSettings,DatastreamSettings.Builder>
Builder for DatastreamSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DatastreamSettings settings)
protected
Builder(DatastreamStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastreamSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DatastreamSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
createConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to createConnectionProfile.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectionProfileRequest,com.google.longrunning.Operation>
createConnectionProfileSettings()
Returns the builder for the settings used for calls to createConnectionProfile.com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>
createPrivateConnectionOperationSettings()
Returns the builder for the settings used for calls to createPrivateConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePrivateConnectionRequest,com.google.longrunning.Operation>
createPrivateConnectionSettings()
Returns the builder for the settings used for calls to createPrivateConnection.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRouteRequest,Route,OperationMetadata>
createRouteOperationSettings()
Returns the builder for the settings used for calls to createRoute.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRouteRequest,com.google.longrunning.Operation>
createRouteSettings()
Returns the builder for the settings used for calls to createRoute.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateStreamRequest,Stream,OperationMetadata>
createStreamOperationSettings()
Returns the builder for the settings used for calls to createStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateStreamRequest,com.google.longrunning.Operation>
createStreamSettings()
Returns the builder for the settings used for calls to createStream.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConnectionProfileRequest,com.google.protobuf.Empty,OperationMetadata>
deleteConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConnectionProfileRequest,com.google.longrunning.Operation>
deleteConnectionProfileSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePrivateConnectionRequest,com.google.protobuf.Empty,OperationMetadata>
deletePrivateConnectionOperationSettings()
Returns the builder for the settings used for calls to deletePrivateConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePrivateConnectionRequest,com.google.longrunning.Operation>
deletePrivateConnectionSettings()
Returns the builder for the settings used for calls to deletePrivateConnection.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRouteRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRouteOperationSettings()
Returns the builder for the settings used for calls to deleteRoute.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRouteRequest,com.google.longrunning.Operation>
deleteRouteSettings()
Returns the builder for the settings used for calls to deleteRoute.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteStreamRequest,com.google.protobuf.Empty,OperationMetadata>
deleteStreamOperationSettings()
Returns the builder for the settings used for calls to deleteStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStreamRequest,com.google.longrunning.Operation>
deleteStreamSettings()
Returns the builder for the settings used for calls to deleteStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse>
discoverConnectionProfileSettings()
Returns the builder for the settings used for calls to discoverConnectionProfile.com.google.api.gax.rpc.PagedCallSettings.Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,DatastreamClient.FetchStaticIpsPagedResponse>
fetchStaticIpsSettings()
Returns the builder for the settings used for calls to fetchStaticIps.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile>
getConnectionProfileSettings()
Returns the builder for the settings used for calls to getConnectionProfile.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPrivateConnectionRequest,PrivateConnection>
getPrivateConnectionSettings()
Returns the builder for the settings used for calls to getPrivateConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRouteRequest,Route>
getRouteSettings()
Returns the builder for the settings used for calls to getRoute.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStreamObjectRequest,StreamObject>
getStreamObjectSettings()
Returns the builder for the settings used for calls to getStreamObject.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStreamRequest,Stream>
getStreamSettings()
Returns the builder for the settings used for calls to getStream.DatastreamStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DatastreamClient.ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings()
Returns the builder for the settings used for calls to listConnectionProfiles.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DatastreamClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DatastreamClient.ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings()
Returns the builder for the settings used for calls to listPrivateConnections.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse,DatastreamClient.ListRoutesPagedResponse>
listRoutesSettings()
Returns the builder for the settings used for calls to listRoutes.com.google.api.gax.rpc.PagedCallSettings.Builder<ListStreamObjectsRequest,ListStreamObjectsResponse,DatastreamClient.ListStreamObjectsPagedResponse>
listStreamObjectsSettings()
Returns the builder for the settings used for calls to listStreamObjects.com.google.api.gax.rpc.PagedCallSettings.Builder<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse>
listStreamsSettings()
Returns the builder for the settings used for calls to listStreams.com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupStreamObjectRequest,StreamObject>
lookupStreamObjectSettings()
Returns the builder for the settings used for calls to lookupStreamObject.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartBackfillJobRequest,StartBackfillJobResponse>
startBackfillJobSettings()
Returns the builder for the settings used for calls to startBackfillJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopBackfillJobRequest,StopBackfillJobResponse>
stopBackfillJobSettings()
Returns the builder for the settings used for calls to stopBackfillJob.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>
updateConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectionProfileRequest,com.google.longrunning.Operation>
updateConnectionProfileSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateStreamRequest,Stream,OperationMetadata>
updateStreamOperationSettings()
Returns the builder for the settings used for calls to updateStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateStreamRequest,com.google.longrunning.Operation>
updateStreamSettings()
Returns the builder for the settings used for calls to updateStream.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DatastreamSettings settings)
-
Builder
protected Builder(DatastreamStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DatastreamStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DatastreamSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listConnectionProfilesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DatastreamClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()
Returns the builder for the settings used for calls to listConnectionProfiles.
-
getConnectionProfileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()
Returns the builder for the settings used for calls to getConnectionProfile.
-
createConnectionProfileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectionProfileRequest,com.google.longrunning.Operation> createConnectionProfileSettings()
Returns the builder for the settings used for calls to createConnectionProfile.
-
createConnectionProfileOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to createConnectionProfile.
-
updateConnectionProfileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectionProfileRequest,com.google.longrunning.Operation> updateConnectionProfileSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.
-
updateConnectionProfileOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.
-
deleteConnectionProfileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConnectionProfileRequest,com.google.longrunning.Operation> deleteConnectionProfileSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.
-
deleteConnectionProfileOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConnectionProfileRequest,com.google.protobuf.Empty,OperationMetadata> deleteConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.
-
discoverConnectionProfileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DiscoverConnectionProfileRequest,DiscoverConnectionProfileResponse> discoverConnectionProfileSettings()
Returns the builder for the settings used for calls to discoverConnectionProfile.
-
listStreamsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse> listStreamsSettings()
Returns the builder for the settings used for calls to listStreams.
-
getStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStreamRequest,Stream> getStreamSettings()
Returns the builder for the settings used for calls to getStream.
-
createStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateStreamRequest,com.google.longrunning.Operation> createStreamSettings()
Returns the builder for the settings used for calls to createStream.
-
createStreamOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationSettings()
Returns the builder for the settings used for calls to createStream.
-
updateStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateStreamRequest,com.google.longrunning.Operation> updateStreamSettings()
Returns the builder for the settings used for calls to updateStream.
-
updateStreamOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationSettings()
Returns the builder for the settings used for calls to updateStream.
-
deleteStreamSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStreamRequest,com.google.longrunning.Operation> deleteStreamSettings()
Returns the builder for the settings used for calls to deleteStream.
-
deleteStreamOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteStreamRequest,com.google.protobuf.Empty,OperationMetadata> deleteStreamOperationSettings()
Returns the builder for the settings used for calls to deleteStream.
-
getStreamObjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStreamObjectRequest,StreamObject> getStreamObjectSettings()
Returns the builder for the settings used for calls to getStreamObject.
-
lookupStreamObjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupStreamObjectRequest,StreamObject> lookupStreamObjectSettings()
Returns the builder for the settings used for calls to lookupStreamObject.
-
listStreamObjectsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListStreamObjectsRequest,ListStreamObjectsResponse,DatastreamClient.ListStreamObjectsPagedResponse> listStreamObjectsSettings()
Returns the builder for the settings used for calls to listStreamObjects.
-
startBackfillJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartBackfillJobRequest,StartBackfillJobResponse> startBackfillJobSettings()
Returns the builder for the settings used for calls to startBackfillJob.
-
stopBackfillJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopBackfillJobRequest,StopBackfillJobResponse> stopBackfillJobSettings()
Returns the builder for the settings used for calls to stopBackfillJob.
-
fetchStaticIpsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,DatastreamClient.FetchStaticIpsPagedResponse> fetchStaticIpsSettings()
Returns the builder for the settings used for calls to fetchStaticIps.
-
createPrivateConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePrivateConnectionRequest,com.google.longrunning.Operation> createPrivateConnectionSettings()
Returns the builder for the settings used for calls to createPrivateConnection.
-
createPrivateConnectionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationSettings()
Returns the builder for the settings used for calls to createPrivateConnection.
-
getPrivateConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionSettings()
Returns the builder for the settings used for calls to getPrivateConnection.
-
listPrivateConnectionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DatastreamClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings()
Returns the builder for the settings used for calls to listPrivateConnections.
-
deletePrivateConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePrivateConnectionRequest,com.google.longrunning.Operation> deletePrivateConnectionSettings()
Returns the builder for the settings used for calls to deletePrivateConnection.
-
deletePrivateConnectionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePrivateConnectionRequest,com.google.protobuf.Empty,OperationMetadata> deletePrivateConnectionOperationSettings()
Returns the builder for the settings used for calls to deletePrivateConnection.
-
createRouteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRouteRequest,com.google.longrunning.Operation> createRouteSettings()
Returns the builder for the settings used for calls to createRoute.
-
createRouteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRouteRequest,Route,OperationMetadata> createRouteOperationSettings()
Returns the builder for the settings used for calls to createRoute.
-
getRouteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRouteRequest,Route> getRouteSettings()
Returns the builder for the settings used for calls to getRoute.
-
listRoutesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRoutesRequest,ListRoutesResponse,DatastreamClient.ListRoutesPagedResponse> listRoutesSettings()
Returns the builder for the settings used for calls to listRoutes.
-
deleteRouteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRouteRequest,com.google.longrunning.Operation> deleteRouteSettings()
Returns the builder for the settings used for calls to deleteRoute.
-
deleteRouteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRouteRequest,com.google.protobuf.Empty,OperationMetadata> deleteRouteOperationSettings()
Returns the builder for the settings used for calls to deleteRoute.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DatastreamClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public DatastreamSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DatastreamSettings,DatastreamSettings.Builder>
- Throws:
IOException
-
-