Class MetastorePartitionServiceStubSettings.Builder (3.11.3)

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

Builder for MetastorePartitionServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MetastorePartitionServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MetastorePartitionServiceStubSettings settings)

protected Builder(MetastorePartitionServiceStubSettings settings)
Parameter
Name Description
settings MetastorePartitionServiceStubSettings

Methods

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

public MetastorePartitionServiceStubSettings.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<?,?>,Void>

batchCreateMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse> batchCreateMetastorePartitionsSettings()

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

batchDeleteMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchDeleteMetastorePartitionsRequest,Empty> batchDeleteMetastorePartitionsSettings()

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

batchUpdateMetastorePartitionsSettings()

public UnaryCallSettings.Builder<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse> batchUpdateMetastorePartitionsSettings()

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

build()

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

listMetastorePartitionsSettings()

public UnaryCallSettings.Builder<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse> listMetastorePartitionsSettings()

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

streamMetastorePartitionsSettings()

public StreamingCallSettings.Builder<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse> streamMetastorePartitionsSettings()

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

unaryMethodSettingsBuilders()

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