@Generated(value="by gapic-generator") @BetaApi public class DeviceManagerStubSettings extends com.google.api.gax.rpc.StubSettings<DeviceManagerStubSettings>
DeviceManagerStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of createDeviceRegistry to 30 seconds:
DeviceManagerStubSettings.Builder deviceManagerSettingsBuilder =
DeviceManagerStubSettings.newBuilder();
deviceManagerSettingsBuilder.createDeviceRegistrySettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
DeviceManagerStubSettings deviceManagerSettings = deviceManagerSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
DeviceManagerStubSettings.Builder
Builder for DeviceManagerStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
DeviceManagerStubSettings(DeviceManagerStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> |
bindDeviceToGatewaySettings()
Returns the object with the settings used for calls to bindDeviceToGateway.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDeviceRegistryRequest,DeviceRegistry> |
createDeviceRegistrySettings()
Returns the object with the settings used for calls to createDeviceRegistry.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDeviceRequest,Device> |
createDeviceSettings()
Returns the object with the settings used for calls to createDevice.
|
DeviceManagerStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteDeviceRegistryRequest,Empty> |
deleteDeviceRegistrySettings()
Returns the object with the settings used for calls to deleteDeviceRegistry.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDeviceRequest,Empty> |
deleteDeviceSettings()
Returns the object with the settings used for calls to deleteDevice.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDeviceRegistryRequest,DeviceRegistry> |
getDeviceRegistrySettings()
Returns the object with the settings used for calls to getDeviceRegistry.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDeviceRequest,Device> |
getDeviceSettings()
Returns the object with the settings used for calls to getDevice.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> |
listDeviceConfigVersionsSettings()
Returns the object with the settings used for calls to listDeviceConfigVersions.
|
com.google.api.gax.rpc.PagedCallSettings<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> |
listDeviceRegistriesSettings()
Returns the object with the settings used for calls to listDeviceRegistries.
|
com.google.api.gax.rpc.PagedCallSettings<ListDevicesRequest,ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> |
listDevicesSettings()
Returns the object with the settings used for calls to listDevices.
|
com.google.api.gax.rpc.UnaryCallSettings<ListDeviceStatesRequest,ListDeviceStatesResponse> |
listDeviceStatesSettings()
Returns the object with the settings used for calls to listDeviceStates.
|
com.google.api.gax.rpc.UnaryCallSettings<ModifyCloudToDeviceConfigRequest,DeviceConfig> |
modifyCloudToDeviceConfigSettings()
Returns the object with the settings used for calls to modifyCloudToDeviceConfig.
|
static DeviceManagerStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static DeviceManagerStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<SendCommandToDeviceRequest,SendCommandToDeviceResponse> |
sendCommandToDeviceSettings()
Returns the object with the settings used for calls to sendCommandToDevice.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
DeviceManagerStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> |
unbindDeviceFromGatewaySettings()
Returns the object with the settings used for calls to unbindDeviceFromGateway.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateDeviceRegistryRequest,DeviceRegistry> |
updateDeviceRegistrySettings()
Returns the object with the settings used for calls to updateDeviceRegistry.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateDeviceRequest,Device> |
updateDeviceSettings()
Returns the object with the settings used for calls to updateDevice.
|
protected DeviceManagerStubSettings(DeviceManagerStubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallSettings<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistrySettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistrySettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistrySettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistrySettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateDeviceRequest,Device> createDeviceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDeviceRequest,Device> getDeviceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDeviceRequest,Device> updateDeviceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDeviceRequest,Empty> deleteDeviceSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDevicesRequest,ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> listDevicesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewaySettings()
public com.google.api.gax.rpc.UnaryCallSettings<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewaySettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public DeviceManagerStub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DeviceManagerStubSettings.Builder newBuilder()
public static DeviceManagerStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public DeviceManagerStubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<DeviceManagerStubSettings>
Copyright © 2019 Google LLC. All rights reserved.