@Generated(value="by gapic-generator") @BetaApi public class DeviceManagerStubSettings extends 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 |
---|---|
UnaryCallSettings<com.google.cloud.iot.v1.BindDeviceToGatewayRequest,com.google.cloud.iot.v1.BindDeviceToGatewayResponse> |
bindDeviceToGatewaySettings()
Returns the object with the settings used for calls to bindDeviceToGateway.
|
UnaryCallSettings<com.google.cloud.iot.v1.CreateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
createDeviceRegistrySettings()
Returns the object with the settings used for calls to createDeviceRegistry.
|
UnaryCallSettings<com.google.cloud.iot.v1.CreateDeviceRequest,com.google.cloud.iot.v1.Device> |
createDeviceSettings()
Returns the object with the settings used for calls to createDevice.
|
DeviceManagerStub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.cloud.iot.v1.DeleteDeviceRegistryRequest,Empty> |
deleteDeviceRegistrySettings()
Returns the object with the settings used for calls to deleteDeviceRegistry.
|
UnaryCallSettings<com.google.cloud.iot.v1.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.
|
UnaryCallSettings<com.google.cloud.iot.v1.GetDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
getDeviceRegistrySettings()
Returns the object with the settings used for calls to getDeviceRegistry.
|
UnaryCallSettings<com.google.cloud.iot.v1.GetDeviceRequest,com.google.cloud.iot.v1.Device> |
getDeviceSettings()
Returns the object with the settings used for calls to getDevice.
|
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
UnaryCallSettings<com.google.cloud.iot.v1.ListDeviceConfigVersionsRequest,com.google.cloud.iot.v1.ListDeviceConfigVersionsResponse> |
listDeviceConfigVersionsSettings()
Returns the object with the settings used for calls to listDeviceConfigVersions.
|
PagedCallSettings<com.google.cloud.iot.v1.ListDeviceRegistriesRequest,com.google.cloud.iot.v1.ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> |
listDeviceRegistriesSettings()
Returns the object with the settings used for calls to listDeviceRegistries.
|
PagedCallSettings<com.google.cloud.iot.v1.ListDevicesRequest,com.google.cloud.iot.v1.ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> |
listDevicesSettings()
Returns the object with the settings used for calls to listDevices.
|
UnaryCallSettings<com.google.cloud.iot.v1.ListDeviceStatesRequest,com.google.cloud.iot.v1.ListDeviceStatesResponse> |
listDeviceStatesSettings()
Returns the object with the settings used for calls to listDeviceStates.
|
UnaryCallSettings<com.google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest,com.google.cloud.iot.v1.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(ClientContext clientContext)
Returns a new builder for this class.
|
UnaryCallSettings<com.google.cloud.iot.v1.SendCommandToDeviceRequest,com.google.cloud.iot.v1.SendCommandToDeviceResponse> |
sendCommandToDeviceSettings()
Returns the object with the settings used for calls to sendCommandToDevice.
|
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
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.
|
UnaryCallSettings<com.google.cloud.iot.v1.UnbindDeviceFromGatewayRequest,com.google.cloud.iot.v1.UnbindDeviceFromGatewayResponse> |
unbindDeviceFromGatewaySettings()
Returns the object with the settings used for calls to unbindDeviceFromGateway.
|
UnaryCallSettings<com.google.cloud.iot.v1.UpdateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> |
updateDeviceRegistrySettings()
Returns the object with the settings used for calls to updateDeviceRegistry.
|
UnaryCallSettings<com.google.cloud.iot.v1.UpdateDeviceRequest,com.google.cloud.iot.v1.Device> |
updateDeviceSettings()
Returns the object with the settings used for calls to updateDevice.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected DeviceManagerStubSettings(DeviceManagerStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.cloud.iot.v1.CreateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> createDeviceRegistrySettings()
public UnaryCallSettings<com.google.cloud.iot.v1.GetDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> getDeviceRegistrySettings()
public UnaryCallSettings<com.google.cloud.iot.v1.UpdateDeviceRegistryRequest,com.google.cloud.iot.v1.DeviceRegistry> updateDeviceRegistrySettings()
public UnaryCallSettings<com.google.cloud.iot.v1.DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistrySettings()
public PagedCallSettings<com.google.cloud.iot.v1.ListDeviceRegistriesRequest,com.google.cloud.iot.v1.ListDeviceRegistriesResponse,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.CreateDeviceRequest,com.google.cloud.iot.v1.Device> createDeviceSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.GetDeviceRequest,com.google.cloud.iot.v1.Device> getDeviceSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.UpdateDeviceRequest,com.google.cloud.iot.v1.Device> updateDeviceSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.DeleteDeviceRequest,Empty> deleteDeviceSettings()
public PagedCallSettings<com.google.cloud.iot.v1.ListDevicesRequest,com.google.cloud.iot.v1.ListDevicesResponse,DeviceManagerClient.ListDevicesPagedResponse> listDevicesSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest,com.google.cloud.iot.v1.DeviceConfig> modifyCloudToDeviceConfigSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.ListDeviceConfigVersionsRequest,com.google.cloud.iot.v1.ListDeviceConfigVersionsResponse> listDeviceConfigVersionsSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.ListDeviceStatesRequest,com.google.cloud.iot.v1.ListDeviceStatesResponse> listDeviceStatesSettings()
public UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.SendCommandToDeviceRequest,com.google.cloud.iot.v1.SendCommandToDeviceResponse> sendCommandToDeviceSettings()
public UnaryCallSettings<com.google.cloud.iot.v1.BindDeviceToGatewayRequest,com.google.cloud.iot.v1.BindDeviceToGatewayResponse> bindDeviceToGatewaySettings()
public UnaryCallSettings<com.google.cloud.iot.v1.UnbindDeviceFromGatewayRequest,com.google.cloud.iot.v1.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 InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DeviceManagerStubSettings.Builder newBuilder()
public static DeviceManagerStubSettings.Builder newBuilder(ClientContext clientContext)
public DeviceManagerStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<DeviceManagerStubSettings>
Copyright © 2019 Google LLC. All rights reserved.