Class PacketMirroringsStubSettings.Builder (1.7.2)

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
NameDescription
clientContextClientContext

Builder(PacketMirroringsStubSettings settings)

protected Builder(PacketMirroringsStubSettings settings)
Parameter
NameDescription
settingsPacketMirroringsStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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