Class OperationsSettings (2.19.6)

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
NameDescription
stubOperationsStubSettings
Returns
TypeDescription
OperationsSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
ApiClientHeaderProvider.Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
GoogleCredentialsProvider.Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
InstantiatingExecutorProvider.Builder

newBuilder()

public static OperationsSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
OperationsSettings.Builder

newBuilder(ClientContext clientContext)

public static OperationsSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
OperationsSettings.Builder

Constructors

OperationsSettings(OperationsSettings.Builder settingsBuilder)

protected OperationsSettings(OperationsSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderOperationsSettings.Builder

Methods

cancelOperationSettings()

public UnaryCallSettings<CancelOperationRequest,Empty> cancelOperationSettings()

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

Returns
TypeDescription
UnaryCallSettings<CancelOperationRequest,com.google.protobuf.Empty>

deleteOperationSettings()

public UnaryCallSettings<DeleteOperationRequest,Empty> deleteOperationSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteOperationRequest,com.google.protobuf.Empty>

getOperationSettings()

public UnaryCallSettings<GetOperationRequest,Operation> getOperationSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetOperationRequest,Operation>

listOperationsSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListOperationsRequest,ListOperationsResponse,ListOperationsPagedResponse>

toBuilder()

public OperationsSettings.Builder toBuilder()

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

Returns
TypeDescription
OperationsSettings.Builder
Overrides

waitOperationSettings()

public UnaryCallSettings<WaitOperationRequest,Operation> waitOperationSettings()

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

Returns
TypeDescription
UnaryCallSettings<WaitOperationRequest,Operation>