Class NodeTypesSettings.Builder (1.21.0)

public static class NodeTypesSettings.Builder extends ClientSettings.Builder<NodeTypesSettings,NodeTypesSettings.Builder>

Builder for NodeTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NodeTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NodeTypesSettings settings)

protected Builder(NodeTypesSettings settings)
Parameter
NameDescription
settingsNodeTypesSettings

Builder(NodeTypesStubSettings.Builder stubSettings)

protected Builder(NodeTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNodeTypesStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNodeTypesRequest,NodeTypeAggregatedList,NodeTypesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListNodeTypesRequest,NodeTypeAggregatedList,AggregatedListPagedResponse>

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

public NodeTypesSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
NodeTypesSettings.Builder

build()

public NodeTypesSettings build()
Returns
TypeDescription
NodeTypesSettings
Overrides Exceptions
TypeDescription
IOException

getSettings()

public UnaryCallSettings.Builder<GetNodeTypeRequest,NodeType> getSettings()

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

Returns
TypeDescription
Builder<GetNodeTypeRequest,NodeType>

getStubSettingsBuilder()

public NodeTypesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
NodeTypesStubSettings.Builder

listSettings()

public PagedCallSettings.Builder<ListNodeTypesRequest,NodeTypeList,NodeTypesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListNodeTypesRequest,NodeTypeList,ListPagedResponse>