public static class InstanceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<InstanceSettings,InstanceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(InstanceSettings settings) |
protected |
Builder(InstanceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AddAccessConfigInstanceHttpRequest,Operation> |
addAccessConfigInstanceSettings()
Returns the builder for the settings used for calls to addAccessConfigInstance.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListInstancesHttpRequest,InstanceAggregatedList,InstanceClient.AggregatedListInstancesPagedResponse> |
aggregatedListInstancesSettings()
Returns the builder for the settings used for calls to aggregatedListInstances.
|
InstanceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AttachDiskInstanceHttpRequest,Operation> |
attachDiskInstanceSettings()
Returns the builder for the settings used for calls to attachDiskInstance.
|
InstanceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAccessConfigInstanceHttpRequest,Operation> |
deleteAccessConfigInstanceSettings()
Returns the builder for the settings used for calls to deleteAccessConfigInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceHttpRequest,Operation> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DetachDiskInstanceHttpRequest,Operation> |
detachDiskInstanceSettings()
Returns the builder for the settings used for calls to detachDiskInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGuestAttributesInstanceHttpRequest,GuestAttributes> |
getGuestAttributesInstanceSettings()
Returns the builder for the settings used for calls to getGuestAttributesInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyInstanceHttpRequest,Policy> |
getIamPolicyInstanceSettings()
Returns the builder for the settings used for calls to getIamPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceHttpRequest,Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> |
getSerialPortOutputInstanceSettings()
Returns the builder for the settings used for calls to getSerialPortOutputInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> |
getShieldedInstanceIdentityInstanceSettings()
Returns the builder for the settings used for calls to getShieldedInstanceIdentityInstance.
|
InstanceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertInstanceHttpRequest,Operation> |
insertInstanceSettings()
Returns the builder for the settings used for calls to insertInstance.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesHttpRequest,InstanceList,InstanceClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListReferrersInstancesHttpRequest,InstanceListReferrers,InstanceClient.ListReferrersInstancesPagedResponse> |
listReferrersInstancesSettings()
Returns the builder for the settings used for calls to listReferrersInstances.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceHttpRequest,Operation> |
resetInstanceSettings()
Returns the builder for the settings used for calls to resetInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDeletionProtectionInstanceHttpRequest,Operation> |
setDeletionProtectionInstanceSettings()
Returns the builder for the settings used for calls to setDeletionProtectionInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDiskAutoDeleteInstanceHttpRequest,Operation> |
setDiskAutoDeleteInstanceSettings()
Returns the builder for the settings used for calls to setDiskAutoDeleteInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyInstanceHttpRequest,Policy> |
setIamPolicyInstanceSettings()
Returns the builder for the settings used for calls to setIamPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsInstanceHttpRequest,Operation> |
setLabelsInstanceSettings()
Returns the builder for the settings used for calls to setLabelsInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineResourcesInstanceHttpRequest,Operation> |
setMachineResourcesInstanceSettings()
Returns the builder for the settings used for calls to setMachineResourcesInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineTypeInstanceHttpRequest,Operation> |
setMachineTypeInstanceSettings()
Returns the builder for the settings used for calls to setMachineTypeInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMetadataInstanceHttpRequest,Operation> |
setMetadataInstanceSettings()
Returns the builder for the settings used for calls to setMetadataInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMinCpuPlatformInstanceHttpRequest,Operation> |
setMinCpuPlatformInstanceSettings()
Returns the builder for the settings used for calls to setMinCpuPlatformInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetSchedulingInstanceHttpRequest,Operation> |
setSchedulingInstanceSettings()
Returns the builder for the settings used for calls to setSchedulingInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetServiceAccountInstanceHttpRequest,Operation> |
setServiceAccountInstanceSettings()
Returns the builder for the settings used for calls to setServiceAccountInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> |
setShieldedInstanceIntegrityPolicyInstanceSettings()
Returns the builder for the settings used for calls to
setShieldedInstanceIntegrityPolicyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetTagsInstanceHttpRequest,Operation> |
setTagsInstanceSettings()
Returns the builder for the settings used for calls to setTagsInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SimulateMaintenanceEventInstanceHttpRequest,Operation> |
simulateMaintenanceEventInstanceSettings()
Returns the builder for the settings used for calls to simulateMaintenanceEventInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceHttpRequest,Operation> |
startInstanceSettings()
Returns the builder for the settings used for calls to startInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<StartWithEncryptionKeyInstanceHttpRequest,Operation> |
startWithEncryptionKeyInstanceSettings()
Returns the builder for the settings used for calls to startWithEncryptionKeyInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceHttpRequest,Operation> |
stopInstanceSettings()
Returns the builder for the settings used for calls to stopInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> |
testIamPermissionsInstanceSettings()
Returns the builder for the settings used for calls to testIamPermissionsInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAccessConfigInstanceHttpRequest,Operation> |
updateAccessConfigInstanceSettings()
Returns the builder for the settings used for calls to updateAccessConfigInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDisplayDeviceInstanceHttpRequest,Operation> |
updateDisplayDeviceInstanceSettings()
Returns the builder for the settings used for calls to updateDisplayDeviceInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNetworkInterfaceInstanceHttpRequest,Operation> |
updateNetworkInterfaceInstanceSettings()
Returns the builder for the settings used for calls to updateNetworkInterfaceInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> |
updateShieldedInstanceConfigInstanceSettings()
Returns the builder for the settings used for calls to updateShieldedInstanceConfigInstance.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(InstanceSettings settings)
protected Builder(InstanceStubSettings.Builder stubSettings)
public InstanceStubSettings.Builder getStubSettingsBuilder()
public InstanceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddAccessConfigInstanceHttpRequest,Operation> addAccessConfigInstanceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListInstancesHttpRequest,InstanceAggregatedList,InstanceClient.AggregatedListInstancesPagedResponse> aggregatedListInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AttachDiskInstanceHttpRequest,Operation> attachDiskInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceHttpRequest,Operation> deleteInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAccessConfigInstanceHttpRequest,Operation> deleteAccessConfigInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DetachDiskInstanceHttpRequest,Operation> detachDiskInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceHttpRequest,Instance> getInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGuestAttributesInstanceHttpRequest,GuestAttributes> getGuestAttributesInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyInstanceHttpRequest,Policy> getIamPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> getSerialPortOutputInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertInstanceHttpRequest,Operation> insertInstanceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesHttpRequest,InstanceList,InstanceClient.ListInstancesPagedResponse> listInstancesSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReferrersInstancesHttpRequest,InstanceListReferrers,InstanceClient.ListReferrersInstancesPagedResponse> listReferrersInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceHttpRequest,Operation> resetInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDeletionProtectionInstanceHttpRequest,Operation> setDeletionProtectionInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDiskAutoDeleteInstanceHttpRequest,Operation> setDiskAutoDeleteInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyInstanceHttpRequest,Policy> setIamPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsInstanceHttpRequest,Operation> setLabelsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineResourcesInstanceHttpRequest,Operation> setMachineResourcesInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMachineTypeInstanceHttpRequest,Operation> setMachineTypeInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMetadataInstanceHttpRequest,Operation> setMetadataInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetMinCpuPlatformInstanceHttpRequest,Operation> setMinCpuPlatformInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetSchedulingInstanceHttpRequest,Operation> setSchedulingInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetServiceAccountInstanceHttpRequest,Operation> setServiceAccountInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> setShieldedInstanceIntegrityPolicyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetTagsInstanceHttpRequest,Operation> setTagsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SimulateMaintenanceEventInstanceHttpRequest,Operation> simulateMaintenanceEventInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceHttpRequest,Operation> startInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartWithEncryptionKeyInstanceHttpRequest,Operation> startWithEncryptionKeyInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceHttpRequest,Operation> stopInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAccessConfigInstanceHttpRequest,Operation> updateAccessConfigInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDisplayDeviceInstanceHttpRequest,Operation> updateDisplayDeviceInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNetworkInterfaceInstanceHttpRequest,Operation> updateNetworkInterfaceInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> updateShieldedInstanceConfigInstanceSettings()
public InstanceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<InstanceSettings,InstanceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.