@Generated(value="by gapic-generator") @BetaApi public class InstanceStubSettings extends com.google.api.gax.rpc.StubSettings<InstanceStubSettings>
InstanceStub
.
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 addAccessConfigInstance to 30 seconds:
InstanceStubSettings.Builder instanceSettingsBuilder =
InstanceStubSettings.newBuilder();
instanceSettingsBuilder.addAccessConfigInstanceSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
InstanceStubSettings instanceSettings = instanceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
InstanceStubSettings.Builder
Builder for InstanceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
InstanceStubSettings(InstanceStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<AddAccessConfigInstanceHttpRequest,Operation> |
addAccessConfigInstanceSettings()
Returns the object with the settings used for calls to addAccessConfigInstance.
|
com.google.api.gax.rpc.PagedCallSettings<AggregatedListInstancesHttpRequest,InstanceAggregatedList,InstanceClient.AggregatedListInstancesPagedResponse> |
aggregatedListInstancesSettings()
Returns the object with the settings used for calls to aggregatedListInstances.
|
com.google.api.gax.rpc.UnaryCallSettings<AttachDiskInstanceHttpRequest,Operation> |
attachDiskInstanceSettings()
Returns the object with the settings used for calls to attachDiskInstance.
|
InstanceStub |
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.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteAccessConfigInstanceHttpRequest,Operation> |
deleteAccessConfigInstanceSettings()
Returns the object with the settings used for calls to deleteAccessConfigInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceHttpRequest,Operation> |
deleteInstanceSettings()
Returns the object with the settings used for calls to deleteInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<DetachDiskInstanceHttpRequest,Operation> |
detachDiskInstanceSettings()
Returns the object with the settings used for calls to detachDiskInstance.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static int |
getDefaultServicePort()
Returns the default service port.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetGuestAttributesInstanceHttpRequest,GuestAttributes> |
getGuestAttributesInstanceSettings()
Returns the object with the settings used for calls to getGuestAttributesInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<GetIamPolicyInstanceHttpRequest,Policy> |
getIamPolicyInstanceSettings()
Returns the object with the settings used for calls to getIamPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<GetInstanceHttpRequest,Instance> |
getInstanceSettings()
Returns the object with the settings used for calls to getInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> |
getSerialPortOutputInstanceSettings()
Returns the object with the settings used for calls to getSerialPortOutputInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> |
getShieldedInstanceIdentityInstanceSettings()
Returns the object with the settings used for calls to getShieldedInstanceIdentityInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<InsertInstanceHttpRequest,Operation> |
insertInstanceSettings()
Returns the object with the settings used for calls to insertInstance.
|
com.google.api.gax.rpc.PagedCallSettings<ListInstancesHttpRequest,InstanceList,InstanceClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the object with the settings used for calls to listInstances.
|
com.google.api.gax.rpc.PagedCallSettings<ListReferrersInstancesHttpRequest,InstanceListReferrers,InstanceClient.ListReferrersInstancesPagedResponse> |
listReferrersInstancesSettings()
Returns the object with the settings used for calls to listReferrersInstances.
|
static InstanceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static InstanceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<ResetInstanceHttpRequest,Operation> |
resetInstanceSettings()
Returns the object with the settings used for calls to resetInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetDeletionProtectionInstanceHttpRequest,Operation> |
setDeletionProtectionInstanceSettings()
Returns the object with the settings used for calls to setDeletionProtectionInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetDiskAutoDeleteInstanceHttpRequest,Operation> |
setDiskAutoDeleteInstanceSettings()
Returns the object with the settings used for calls to setDiskAutoDeleteInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetIamPolicyInstanceHttpRequest,Policy> |
setIamPolicyInstanceSettings()
Returns the object with the settings used for calls to setIamPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetLabelsInstanceHttpRequest,Operation> |
setLabelsInstanceSettings()
Returns the object with the settings used for calls to setLabelsInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMachineResourcesInstanceHttpRequest,Operation> |
setMachineResourcesInstanceSettings()
Returns the object with the settings used for calls to setMachineResourcesInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMachineTypeInstanceHttpRequest,Operation> |
setMachineTypeInstanceSettings()
Returns the object with the settings used for calls to setMachineTypeInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMetadataInstanceHttpRequest,Operation> |
setMetadataInstanceSettings()
Returns the object with the settings used for calls to setMetadataInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetMinCpuPlatformInstanceHttpRequest,Operation> |
setMinCpuPlatformInstanceSettings()
Returns the object with the settings used for calls to setMinCpuPlatformInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetSchedulingInstanceHttpRequest,Operation> |
setSchedulingInstanceSettings()
Returns the object with the settings used for calls to setSchedulingInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetServiceAccountInstanceHttpRequest,Operation> |
setServiceAccountInstanceSettings()
Returns the object with the settings used for calls to setServiceAccountInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> |
setShieldedInstanceIntegrityPolicyInstanceSettings()
Returns the object with the settings used for calls to
setShieldedInstanceIntegrityPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SetTagsInstanceHttpRequest,Operation> |
setTagsInstanceSettings()
Returns the object with the settings used for calls to setTagsInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<SimulateMaintenanceEventInstanceHttpRequest,Operation> |
simulateMaintenanceEventInstanceSettings()
Returns the object with the settings used for calls to simulateMaintenanceEventInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<StartInstanceHttpRequest,Operation> |
startInstanceSettings()
Returns the object with the settings used for calls to startInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<StartWithEncryptionKeyInstanceHttpRequest,Operation> |
startWithEncryptionKeyInstanceSettings()
Returns the object with the settings used for calls to startWithEncryptionKeyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<StopInstanceHttpRequest,Operation> |
stopInstanceSettings()
Returns the object with the settings used for calls to stopInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> |
testIamPermissionsInstanceSettings()
Returns the object with the settings used for calls to testIamPermissionsInstance.
|
InstanceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateAccessConfigInstanceHttpRequest,Operation> |
updateAccessConfigInstanceSettings()
Returns the object with the settings used for calls to updateAccessConfigInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateDisplayDeviceInstanceHttpRequest,Operation> |
updateDisplayDeviceInstanceSettings()
Returns the object with the settings used for calls to updateDisplayDeviceInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkInterfaceInstanceHttpRequest,Operation> |
updateNetworkInterfaceInstanceSettings()
Returns the object with the settings used for calls to updateNetworkInterfaceInstance.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> |
updateShieldedInstanceConfigInstanceSettings()
Returns the object with the settings used for calls to updateShieldedInstanceConfigInstance.
|
protected InstanceStubSettings(InstanceStubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallSettings<AddAccessConfigInstanceHttpRequest,Operation> addAccessConfigInstanceSettings()
public com.google.api.gax.rpc.PagedCallSettings<AggregatedListInstancesHttpRequest,InstanceAggregatedList,InstanceClient.AggregatedListInstancesPagedResponse> aggregatedListInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AttachDiskInstanceHttpRequest,Operation> attachDiskInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceHttpRequest,Operation> deleteInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAccessConfigInstanceHttpRequest,Operation> deleteAccessConfigInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DetachDiskInstanceHttpRequest,Operation> detachDiskInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetInstanceHttpRequest,Instance> getInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetGuestAttributesInstanceHttpRequest,GuestAttributes> getGuestAttributesInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetIamPolicyInstanceHttpRequest,Policy> getIamPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> getSerialPortOutputInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<InsertInstanceHttpRequest,Operation> insertInstanceSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListInstancesHttpRequest,InstanceList,InstanceClient.ListInstancesPagedResponse> listInstancesSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListReferrersInstancesHttpRequest,InstanceListReferrers,InstanceClient.ListReferrersInstancesPagedResponse> listReferrersInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ResetInstanceHttpRequest,Operation> resetInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetDeletionProtectionInstanceHttpRequest,Operation> setDeletionProtectionInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetDiskAutoDeleteInstanceHttpRequest,Operation> setDiskAutoDeleteInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetIamPolicyInstanceHttpRequest,Policy> setIamPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetLabelsInstanceHttpRequest,Operation> setLabelsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMachineResourcesInstanceHttpRequest,Operation> setMachineResourcesInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMachineTypeInstanceHttpRequest,Operation> setMachineTypeInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMetadataInstanceHttpRequest,Operation> setMetadataInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetMinCpuPlatformInstanceHttpRequest,Operation> setMinCpuPlatformInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetSchedulingInstanceHttpRequest,Operation> setSchedulingInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetServiceAccountInstanceHttpRequest,Operation> setServiceAccountInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> setShieldedInstanceIntegrityPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SetTagsInstanceHttpRequest,Operation> setTagsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SimulateMaintenanceEventInstanceHttpRequest,Operation> simulateMaintenanceEventInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StartInstanceHttpRequest,Operation> startInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StartWithEncryptionKeyInstanceHttpRequest,Operation> startWithEncryptionKeyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StopInstanceHttpRequest,Operation> stopInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAccessConfigInstanceHttpRequest,Operation> updateAccessConfigInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDisplayDeviceInstanceHttpRequest,Operation> updateDisplayDeviceInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkInterfaceInstanceHttpRequest,Operation> updateNetworkInterfaceInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> updateShieldedInstanceConfigInstanceSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public InstanceStub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
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 InstanceStubSettings.Builder newBuilder()
public static InstanceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public InstanceStubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<InstanceStubSettings>
Copyright © 2019 Google LLC. All rights reserved.