public static class PartitionAssignmentServiceSettings.Builder extends ClientSettings.Builder<PartitionAssignmentServiceSettings,PartitionAssignmentServiceSettings.Builder>
Builder for PartitionAssignmentServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(PartitionAssignmentServiceSettings settings)
protected Builder(PartitionAssignmentServiceSettings settings)
Name | Description |
settings | PartitionAssignmentServiceSettings |
Builder(PartitionAssignmentServiceStubSettings.Builder stubSettings)
protected Builder(PartitionAssignmentServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | PartitionAssignmentServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public PartitionAssignmentServiceSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Type | Description |
PartitionAssignmentServiceSettings.Builder |
assignPartitionsSettings()
public StreamingCallSettings.Builder<PartitionAssignmentRequest,PartitionAssignment> assignPartitionsSettings()
Returns the builder for the settings used for calls to assignPartitions.
Type | Description |
Builder<PartitionAssignmentRequest,PartitionAssignment> |
build()
public PartitionAssignmentServiceSettings build()
Type | Description |
PartitionAssignmentServiceSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public PartitionAssignmentServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
PartitionAssignmentServiceStubSettings.Builder |