Class ManagedKafkaStubSettings.Builder (0.1.0)

public static class ManagedKafkaStubSettings.Builder extends StubSettings.Builder<ManagedKafkaStubSettings,ManagedKafkaStubSettings.Builder>

Builder for ManagedKafkaStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ManagedKafkaStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ManagedKafkaStubSettings settings)

protected Builder(ManagedKafkaStubSettings settings)
Parameter
Name Description
settings ManagedKafkaStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ManagedKafkaStubSettings.Builder

build()

public ManagedKafkaStubSettings build()
Returns
Type Description
ManagedKafkaStubSettings
Overrides
Exceptions
Type Description
IOException

createClusterOperationSettings()

public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Cluster,OperationMetadata>

createClusterSettings()

public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Operation>

createTopicSettings()

public UnaryCallSettings.Builder<CreateTopicRequest,Topic> createTopicSettings()

Returns the builder for the settings used for calls to createTopic.

Returns
Type Description
Builder<CreateTopicRequest,Topic>

deleteClusterOperationSettings()

public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

deleteConsumerGroupSettings()

public UnaryCallSettings.Builder<DeleteConsumerGroupRequest,Empty> deleteConsumerGroupSettings()

Returns the builder for the settings used for calls to deleteConsumerGroup.

Returns
Type Description
Builder<DeleteConsumerGroupRequest,Empty>

deleteTopicSettings()

public UnaryCallSettings.Builder<DeleteTopicRequest,Empty> deleteTopicSettings()

Returns the builder for the settings used for calls to deleteTopic.

Returns
Type Description
Builder<DeleteTopicRequest,Empty>

getClusterSettings()

public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()

Returns the builder for the settings used for calls to getCluster.

Returns
Type Description
Builder<GetClusterRequest,Cluster>

getConsumerGroupSettings()

public UnaryCallSettings.Builder<GetConsumerGroupRequest,ConsumerGroup> getConsumerGroupSettings()

Returns the builder for the settings used for calls to getConsumerGroup.

Returns
Type Description
Builder<GetConsumerGroupRequest,ConsumerGroup>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getTopicSettings()

public UnaryCallSettings.Builder<GetTopicRequest,Topic> getTopicSettings()

Returns the builder for the settings used for calls to getTopic.

Returns
Type Description
Builder<GetTopicRequest,Topic>

listClustersSettings()

public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,ManagedKafkaClient.ListClustersPagedResponse> listClustersSettings()

Returns the builder for the settings used for calls to listClusters.

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listConsumerGroupsSettings()

public PagedCallSettings.Builder<ListConsumerGroupsRequest,ListConsumerGroupsResponse,ManagedKafkaClient.ListConsumerGroupsPagedResponse> listConsumerGroupsSettings()

Returns the builder for the settings used for calls to listConsumerGroups.

Returns
Type Description
Builder<ListConsumerGroupsRequest,ListConsumerGroupsResponse,ListConsumerGroupsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ManagedKafkaClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listTopicsSettings()

public PagedCallSettings.Builder<ListTopicsRequest,ListTopicsResponse,ManagedKafkaClient.ListTopicsPagedResponse> listTopicsSettings()

Returns the builder for the settings used for calls to listTopics.

Returns
Type Description
Builder<ListTopicsRequest,ListTopicsResponse,ListTopicsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateClusterOperationSettings()

public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Operation>

updateConsumerGroupSettings()

public UnaryCallSettings.Builder<UpdateConsumerGroupRequest,ConsumerGroup> updateConsumerGroupSettings()

Returns the builder for the settings used for calls to updateConsumerGroup.

Returns
Type Description
Builder<UpdateConsumerGroupRequest,ConsumerGroup>

updateTopicSettings()

public UnaryCallSettings.Builder<UpdateTopicRequest,Topic> updateTopicSettings()

Returns the builder for the settings used for calls to updateTopic.

Returns
Type Description
Builder<UpdateTopicRequest,Topic>