Package com.google.cloud.lustre.v1.stub
Class LustreStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<LustreStubSettings,LustreStubSettings.Builder>
com.google.cloud.lustre.v1.stub.LustreStubSettings.Builder
- Enclosing class:
- LustreStubSettings
public static class LustreStubSettings.Builder
extends StubSettings.Builder<LustreStubSettings,LustreStubSettings.Builder>
Builder for LustreStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(LustreStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createInstance.OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to exportData.Returns the builder for the settings used for calls to exportData.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to importData.Returns the builder for the settings used for calls to importData.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, LustreClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, LustreClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateInstance.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public LustreStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()LustreClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
createInstanceSettings
Returns the builder for the settings used for calls to createInstance. -
createInstanceOperationSettings
public OperationCallSettings.Builder<CreateInstanceRequest,Instance, createInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createInstance. -
updateInstanceSettings
Returns the builder for the settings used for calls to updateInstance. -
updateInstanceOperationSettings
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance, updateInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateInstance. -
deleteInstanceSettings
Returns the builder for the settings used for calls to deleteInstance. -
deleteInstanceOperationSettings
public OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteInstance. -
importDataSettings
Returns the builder for the settings used for calls to importData. -
importDataOperationSettings
public OperationCallSettings.Builder<ImportDataRequest,ImportDataResponse, importDataOperationSettings()ImportDataMetadata> Returns the builder for the settings used for calls to importData. -
exportDataSettings
Returns the builder for the settings used for calls to exportData. -
exportDataOperationSettings
public OperationCallSettings.Builder<ExportDataRequest,ExportDataResponse, exportDataOperationSettings()ExportDataMetadata> Returns the builder for the settings used for calls to exportData. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()LustreClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<LustreStubSettings,LustreStubSettings.Builder> - Throws:
IOException
-