Class OperationsStubSettings (2.11.0)

public class OperationsStubSettings extends StubSettings<OperationsStubSettings>

Settings class to configure an instance of OperationsStub.

Inheritance

java.lang.Object > StubSettings > OperationsStubSettings

Static Methods

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

Returns a new builder for this class.

Returns
TypeDescription
OperationsStubSettings.Builder

newBuilder(ClientContext clientContext)

public static OperationsStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
OperationsStubSettings.Builder

Constructors

OperationsStubSettings(OperationsStubSettings.Builder settingsBuilder)

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

createStub()

public OperationsStub createStub()
Returns
TypeDescription
OperationsStub
Exceptions
TypeDescription
IOException

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

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

Returns
TypeDescription
OperationsStubSettings.Builder
Overrides

waitOperationSettings()

public UnaryCallSettings<WaitOperationRequest,Operation> waitOperationSettings()

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

Returns
TypeDescription
UnaryCallSettings<WaitOperationRequest,Operation>