Class DatastreamStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DatastreamStubSettings,DatastreamStubSettings.Builder>
-
- com.google.cloud.datastream.v1alpha1.stub.DatastreamStubSettings.Builder
-
- Enclosing class:
- DatastreamStubSettings
public static class DatastreamStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DatastreamStubSettings,DatastreamStubSettings.Builder>
Builder for DatastreamStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DatastreamStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastreamStubSettings.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.DatastreamStubSettings
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.OperationCallSettings.Builder<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata>
fetchErrorsOperationSettings()
Returns the builder for the settings used for calls to fetchErrors.com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchErrorsRequest,com.google.longrunning.Operation>
fetchErrorsSettings()
Returns the builder for the settings used for calls to fetchErrors.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<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<GetStreamRequest,Stream>
getStreamSettings()
Returns the builder for the settings used for calls to getStream.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<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<ListStreamsRequest,ListStreamsResponse,DatastreamClient.ListStreamsPagedResponse>
listStreamsSettings()
Returns the builder for the settings used for calls to listStreams.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DatastreamStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DatastreamStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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.
-
fetchErrorsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchErrorsRequest,com.google.longrunning.Operation> fetchErrorsSettings()
Returns the builder for the settings used for calls to fetchErrors.
-
fetchErrorsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<FetchErrorsRequest,FetchErrorsResponse,OperationMetadata> fetchErrorsOperationSettings()
Returns the builder for the settings used for calls to fetchErrors.
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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.
-
build
public DatastreamStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DatastreamStubSettings,DatastreamStubSettings.Builder>
- Throws:
IOException
-
-