Class NodeTypesStubSettings.Builder (1.58.0)

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

Builder for NodeTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NodeTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NodeTypesStubSettings settings)

protected Builder(NodeTypesStubSettings settings)
Parameter
Name Description
settings NodeTypesStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
Builder<AggregatedListNodeTypesRequest,NodeTypeAggregatedList,AggregatedListPagedResponse>

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

public NodeTypesStubSettings.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
NodeTypesStubSettings.Builder

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetNodeTypeRequest,NodeType>

listSettings()

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

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

Returns
Type Description
Builder<ListNodeTypesRequest,NodeTypeList,ListPagedResponse>

unaryMethodSettingsBuilders()

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