Class FlowsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<FlowsStubSettings,FlowsStubSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3.stub.FlowsStubSettings.Builder
-
- Enclosing class:
- FlowsStubSettings
public static class FlowsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<FlowsStubSettings,FlowsStubSettings.Builder>
Builder for FlowsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(FlowsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowsStubSettings.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.FlowsStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFlowRequest,Flow>
createFlowSettings()
Returns the builder for the settings used for calls to createFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFlowRequest,com.google.protobuf.Empty>
deleteFlowSettings()
Returns the builder for the settings used for calls to deleteFlow.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportFlowRequest,ExportFlowResponse,com.google.protobuf.Struct>
exportFlowOperationSettings()
Returns the builder for the settings used for calls to exportFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportFlowRequest,com.google.longrunning.Operation>
exportFlowSettings()
Returns the builder for the settings used for calls to exportFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowRequest,Flow>
getFlowSettings()
Returns the builder for the settings used for calls to getFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult>
getFlowValidationResultSettings()
Returns the builder for the settings used for calls to getFlowValidationResult.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.OperationCallSettings.Builder<ImportFlowRequest,ImportFlowResponse,com.google.protobuf.Struct>
importFlowOperationSettings()
Returns the builder for the settings used for calls to importFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportFlowRequest,com.google.longrunning.Operation>
importFlowSettings()
Returns the builder for the settings used for calls to importFlow.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse>
listFlowsSettings()
Returns the builder for the settings used for calls to listFlows.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,FlowsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<TrainFlowRequest,com.google.protobuf.Empty,com.google.protobuf.Struct>
trainFlowOperationSettings()
Returns the builder for the settings used for calls to trainFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainFlowRequest,com.google.longrunning.Operation>
trainFlowSettings()
Returns the builder for the settings used for calls to trainFlow.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFlowRequest,Flow>
updateFlowSettings()
Returns the builder for the settings used for calls to updateFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult>
validateFlowSettings()
Returns the builder for the settings used for calls to validateFlow.-
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(FlowsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public FlowsStubSettings.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()
-
createFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFlowRequest,Flow> createFlowSettings()
Returns the builder for the settings used for calls to createFlow.
-
deleteFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFlowRequest,com.google.protobuf.Empty> deleteFlowSettings()
Returns the builder for the settings used for calls to deleteFlow.
-
listFlowsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse> listFlowsSettings()
Returns the builder for the settings used for calls to listFlows.
-
getFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowRequest,Flow> getFlowSettings()
Returns the builder for the settings used for calls to getFlow.
-
updateFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFlowRequest,Flow> updateFlowSettings()
Returns the builder for the settings used for calls to updateFlow.
-
trainFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainFlowRequest,com.google.longrunning.Operation> trainFlowSettings()
Returns the builder for the settings used for calls to trainFlow.
-
trainFlowOperationSettings
@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<TrainFlowRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainFlowOperationSettings()
Returns the builder for the settings used for calls to trainFlow.
-
validateFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult> validateFlowSettings()
Returns the builder for the settings used for calls to validateFlow.
-
getFlowValidationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult> getFlowValidationResultSettings()
Returns the builder for the settings used for calls to getFlowValidationResult.
-
importFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportFlowRequest,com.google.longrunning.Operation> importFlowSettings()
Returns the builder for the settings used for calls to importFlow.
-
importFlowOperationSettings
@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<ImportFlowRequest,ImportFlowResponse,com.google.protobuf.Struct> importFlowOperationSettings()
Returns the builder for the settings used for calls to importFlow.
-
exportFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportFlowRequest,com.google.longrunning.Operation> exportFlowSettings()
Returns the builder for the settings used for calls to exportFlow.
-
exportFlowOperationSettings
@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<ExportFlowRequest,ExportFlowResponse,com.google.protobuf.Struct> exportFlowOperationSettings()
Returns the builder for the settings used for calls to exportFlow.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,FlowsClient.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 FlowsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<FlowsStubSettings,FlowsStubSettings.Builder>
- Throws:
IOException
-
-