Class PacketMirroringsSettings.Builder (1.29.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
NameDescription
clientContextClientContext

Builder(PacketMirroringsSettings settings)

protected Builder(PacketMirroringsSettings settings)
Parameter
NameDescription
settingsPacketMirroringsSettings

Builder(PacketMirroringsStubSettings.Builder stubSettings)

protected Builder(PacketMirroringsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPacketMirroringsStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeletePacketMirroringRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeletePacketMirroringRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetPacketMirroringRequest,PacketMirroring>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertPacketMirroringRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertPacketMirroringRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListPacketMirroringsRequest,PacketMirroringList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchPacketMirroringRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchPacketMirroringRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsPacketMirroringRequest,TestPermissionsResponse>