Class NodeTypesStubSettings.Builder (1.15.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
NameDescription
clientContextClientContext

Builder(NodeTypesStubSettings settings)

protected Builder(NodeTypesStubSettings settings)
Parameter
NameDescription
settingsNodeTypesStubSettings

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

build()

public NodeTypesStubSettings build()
Returns
TypeDescription
NodeTypesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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