Class PartitionAssignmentServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<PartitionAssignmentServiceStubSettings,PartitionAssignmentServiceStubSettings.Builder>
com.google.cloud.pubsublite.v1.stub.PartitionAssignmentServiceStubSettings.Builder
- Enclosing class:
- PartitionAssignmentServiceStubSettings
public static class PartitionAssignmentServiceStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<PartitionAssignmentServiceStubSettings,PartitionAssignmentServiceStubSettings.Builder>
Builder for PartitionAssignmentServiceStubSettings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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.com.google.api.gax.rpc.StreamingCallSettings.Builder<PartitionAssignmentRequest,PartitionAssignment> Returns the builder for the settings used for calls to assignPartitions.build()Returns the endpoint set by the user or the the service's default endpoint.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, 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, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public PartitionAssignmentServiceStubSettings.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() -
assignPartitionsSettings
public com.google.api.gax.rpc.StreamingCallSettings.Builder<PartitionAssignmentRequest,PartitionAssignment> assignPartitionsSettings()Returns the builder for the settings used for calls to assignPartitions. -
getEndpoint
Returns the endpoint set by the user or the the service's default endpoint.- Overrides:
getEndpointin classcom.google.api.gax.rpc.StubSettings.Builder<PartitionAssignmentServiceStubSettings,PartitionAssignmentServiceStubSettings.Builder>
-
build
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<PartitionAssignmentServiceStubSettings,PartitionAssignmentServiceStubSettings.Builder> - Throws:
IOException
-