Class OperationsStubSettings (2.54.1)

public class OperationsStubSettings extends StubSettings<OperationsStubSettings>

Settings class to configure an instance of OperationsStub.

Inheritance

StubSettings > java.lang.Object > OperationsStubSettings

Static Methods

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 OperationsStubSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
Type Description
OperationsStubSettings.Builder

newBuilder(ClientContext clientContext)

public static OperationsStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
OperationsStubSettings.Builder

Constructors

OperationsStubSettings(OperationsStubSettings.Builder settingsBuilder)

protected OperationsStubSettings(OperationsStubSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder OperationsStubSettings.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>

createStub()

public OperationsStub createStub()
Returns
Type Description
OperationsStub
Exceptions
Type Description
IOException

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 OperationsStubSettings.Builder toBuilder()

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

Returns
Type Description
OperationsStubSettings.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>