Class PacketMirroringsStubSettings.Builder (1.54.0)

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

Builder for PacketMirroringsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PacketMirroringsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PacketMirroringsStubSettings settings)

protected Builder(PacketMirroringsStubSettings settings)
Parameter
Name Description
settings PacketMirroringsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList,PacketMirroringsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListPacketMirroringsRequest,PacketMirroringAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeletePacketMirroringRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeletePacketMirroringRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeletePacketMirroringRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeletePacketMirroringRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetPacketMirroringRequest,PacketMirroring> getSettings()

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

Returns
Type Description
Builder<GetPacketMirroringRequest,PacketMirroring>

insertOperationSettings()

public OperationCallSettings.Builder<InsertPacketMirroringRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertPacketMirroringRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertPacketMirroringRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertPacketMirroringRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListPacketMirroringsRequest,PacketMirroringList,PacketMirroringsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListPacketMirroringsRequest,PacketMirroringList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchPacketMirroringRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchPacketMirroringRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchPacketMirroringRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchPacketMirroringRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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