Class MetastorePartitionServiceStubSettings.Builder (3.9.0)

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>
Returns
Type Description
MetastorePartitionServiceStubSettings.Builder

batchCreateMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchCreateMetastorePartitionsRequest,BatchCreateMetastorePartitionsResponse>

batchDeleteMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchDeleteMetastorePartitionsRequest,Empty>

batchUpdateMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<BatchUpdateMetastorePartitionsRequest,BatchUpdateMetastorePartitionsResponse>

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.

Returns
Type Description
Builder<ListMetastorePartitionsRequest,ListMetastorePartitionsResponse>

streamMetastorePartitionsSettings()

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

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

Returns
Type Description
Builder<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse>

unaryMethodSettingsBuilders()

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