Class PacketMirroringsSettings.Builder (1.59.0)

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

Builder for PacketMirroringsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PacketMirroringsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PacketMirroringsSettings settings)

protected Builder(PacketMirroringsSettings settings)
Parameter
Name Description
settings PacketMirroringsSettings

Builder(PacketMirroringsStubSettings.Builder stubSettings)

protected Builder(PacketMirroringsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings PacketMirroringsStubSettings.Builder

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 PacketMirroringsSettings.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
PacketMirroringsSettings.Builder

build()

public PacketMirroringsSettings build()
Returns
Type Description
PacketMirroringsSettings
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>

getStubSettingsBuilder()

public PacketMirroringsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
PacketMirroringsStubSettings.Builder

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>