Class ManagedKafkaStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ManagedKafkaStubSettings,ManagedKafkaStubSettings.Builder>
com.google.cloud.managedkafka.v1.stub.ManagedKafkaStubSettings.Builder
- Enclosing class:
- ManagedKafkaStubSettings
public static class ManagedKafkaStubSettings.Builder
extends StubSettings.Builder<ManagedKafkaStubSettings,ManagedKafkaStubSettings.Builder>
Builder for ManagedKafkaStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ManagedKafkaStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addAclEntry.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createAcl.Returns the builder for the settings used for calls to createCluster.Returns the builder for the settings used for calls to createCluster.Returns the builder for the settings used for calls to createTopic.UnaryCallSettings.Builder<DeleteAclRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteAcl.OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteCluster.Returns the builder for the settings used for calls to deleteCluster.UnaryCallSettings.Builder<DeleteConsumerGroupRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteConsumerGroup.UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTopic.Returns the builder for the settings used for calls to getAcl.Returns the builder for the settings used for calls to getCluster.Returns the builder for the settings used for calls to getConsumerGroup.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getTopic.PagedCallSettings.Builder<ListAclsRequest,ListAclsResponse, ManagedKafkaClient.ListAclsPagedResponse> Returns the builder for the settings used for calls to listAcls.PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, ManagedKafkaClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters.PagedCallSettings.Builder<ListConsumerGroupsRequest,ListConsumerGroupsResponse, ManagedKafkaClient.ListConsumerGroupsPagedResponse> Returns the builder for the settings used for calls to listConsumerGroups.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, ManagedKafkaClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse, ManagedKafkaClient.ListTopicsPagedResponse> Returns the builder for the settings used for calls to listTopics.Returns the builder for the settings used for calls to removeAclEntry.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateAcl.Returns the builder for the settings used for calls to updateCluster.Returns the builder for the settings used for calls to updateCluster.Returns the builder for the settings used for calls to updateConsumerGroup.Returns the builder for the settings used for calls to updateTopic.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ManagedKafkaStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listClustersSettings
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, listClustersSettings()ManagedKafkaClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters. -
getClusterSettings
Returns the builder for the settings used for calls to getCluster. -
createClusterSettings
Returns the builder for the settings used for calls to createCluster. -
createClusterOperationSettings
public OperationCallSettings.Builder<CreateClusterRequest,Cluster, createClusterOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createCluster. -
updateClusterSettings
Returns the builder for the settings used for calls to updateCluster. -
updateClusterOperationSettings
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster, updateClusterOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateCluster. -
deleteClusterSettings
Returns the builder for the settings used for calls to deleteCluster. -
deleteClusterOperationSettings
public OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteCluster. -
listTopicsSettings
public PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse, listTopicsSettings()ManagedKafkaClient.ListTopicsPagedResponse> Returns the builder for the settings used for calls to listTopics. -
getTopicSettings
Returns the builder for the settings used for calls to getTopic. -
createTopicSettings
Returns the builder for the settings used for calls to createTopic. -
updateTopicSettings
Returns the builder for the settings used for calls to updateTopic. -
deleteTopicSettings
public UnaryCallSettings.Builder<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicSettings()Returns the builder for the settings used for calls to deleteTopic. -
listConsumerGroupsSettings
public PagedCallSettings.Builder<ListConsumerGroupsRequest,ListConsumerGroupsResponse, listConsumerGroupsSettings()ManagedKafkaClient.ListConsumerGroupsPagedResponse> Returns the builder for the settings used for calls to listConsumerGroups. -
getConsumerGroupSettings
Returns the builder for the settings used for calls to getConsumerGroup. -
updateConsumerGroupSettings
public UnaryCallSettings.Builder<UpdateConsumerGroupRequest,ConsumerGroup> updateConsumerGroupSettings()Returns the builder for the settings used for calls to updateConsumerGroup. -
deleteConsumerGroupSettings
public UnaryCallSettings.Builder<DeleteConsumerGroupRequest,com.google.protobuf.Empty> deleteConsumerGroupSettings()Returns the builder for the settings used for calls to deleteConsumerGroup. -
listAclsSettings
public PagedCallSettings.Builder<ListAclsRequest,ListAclsResponse, listAclsSettings()ManagedKafkaClient.ListAclsPagedResponse> Returns the builder for the settings used for calls to listAcls. -
getAclSettings
Returns the builder for the settings used for calls to getAcl. -
createAclSettings
Returns the builder for the settings used for calls to createAcl. -
updateAclSettings
Returns the builder for the settings used for calls to updateAcl. -
deleteAclSettings
Returns the builder for the settings used for calls to deleteAcl. -
addAclEntrySettings
Returns the builder for the settings used for calls to addAclEntry. -
removeAclEntrySettings
public UnaryCallSettings.Builder<RemoveAclEntryRequest,RemoveAclEntryResponse> removeAclEntrySettings()Returns the builder for the settings used for calls to removeAclEntry. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()ManagedKafkaClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<ManagedKafkaStubSettings,ManagedKafkaStubSettings.Builder> - Throws:
IOException
-