Class OperationsSettings (2.53.0)

public class OperationsSettings extends ClientSettings<OperationsSettings>

Settings class to configure an instance of OperationsClient.

Inheritance

java.lang.Object > ClientSettings > OperationsSettings

Static Methods

create(OperationsStubSettings stub)

public static final OperationsSettings create(OperationsStubSettings stub)
Parameter
Name Description
stub OperationsStubSettings
Returns
Type Description
OperationsSettings
Exceptions
Type Description
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
Type Description
ApiClientHeaderProvider.Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
Type Description
GoogleCredentialsProvider.Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
Type Description
InstantiatingExecutorProvider.Builder

newBuilder()

public static OperationsSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
Type Description
OperationsSettings.Builder

newBuilder(ClientContext clientContext)

public static OperationsSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
OperationsSettings.Builder

Constructors

OperationsSettings(OperationsSettings.Builder settingsBuilder)

protected OperationsSettings(OperationsSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder OperationsSettings.Builder

Methods

cancelOperationSettings()

public UnaryCallSettings<CancelOperationRequest,Empty> cancelOperationSettings()

Returns the object with the settings used for calls to cancelOperation.

Returns
Type Description
UnaryCallSettings<CancelOperationRequest,Empty>

deleteOperationSettings()

public UnaryCallSettings<DeleteOperationRequest,Empty> deleteOperationSettings()

Returns the object with the settings used for calls to deleteOperation.

Returns
Type Description
UnaryCallSettings<DeleteOperationRequest,Empty>

getOperationSettings()

public UnaryCallSettings<GetOperationRequest,Operation> getOperationSettings()

Returns the object with the settings used for calls to getOperation.

Returns
Type Description
UnaryCallSettings<GetOperationRequest,Operation>

listOperationsSettings()

public PagedCallSettings<ListOperationsRequest,ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> listOperationsSettings()

Returns the object with the settings used for calls to listOperations.

Returns
Type Description
PagedCallSettings<ListOperationsRequest,ListOperationsResponse,ListOperationsPagedResponse>

toBuilder()

public OperationsSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
Type Description
OperationsSettings.Builder
Overrides

waitOperationSettings()

public UnaryCallSettings<WaitOperationRequest,Operation> waitOperationSettings()

Returns the object with the settings used for calls to waitOperation.

Returns
Type Description
UnaryCallSettings<WaitOperationRequest,Operation>