public static class InstanceSettings.Builder extends ClientSettings.Builder<InstanceSettings,InstanceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceSettings settings) |
protected |
Builder(InstanceStubSettings.Builder stubSettings) |
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(ClientContext clientContext)
protected Builder(InstanceSettings settings)
protected Builder(InstanceStubSettings.Builder stubSettings)
public InstanceStubSettings.Builder getStubSettingsBuilder()
public InstanceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<AddAccessConfigInstanceHttpRequest,Operation> addAccessConfigInstanceSettings()
public PagedCallSettings.Builder<AggregatedListInstancesHttpRequest,InstanceAggregatedList,InstanceClient.AggregatedListInstancesPagedResponse> aggregatedListInstancesSettings()
public UnaryCallSettings.Builder<AttachDiskInstanceHttpRequest,Operation> attachDiskInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceHttpRequest,Operation> deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteAccessConfigInstanceHttpRequest,Operation> deleteAccessConfigInstanceSettings()
public UnaryCallSettings.Builder<DetachDiskInstanceHttpRequest,Operation> detachDiskInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceHttpRequest,Instance> getInstanceSettings()
public UnaryCallSettings.Builder<GetIamPolicyInstanceHttpRequest,Policy> getIamPolicyInstanceSettings()
public UnaryCallSettings.Builder<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> getSerialPortOutputInstanceSettings()
public UnaryCallSettings.Builder<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityInstanceSettings()
public UnaryCallSettings.Builder<InsertInstanceHttpRequest,Operation> insertInstanceSettings()
public PagedCallSettings.Builder<ListInstancesHttpRequest,InstanceList,InstanceClient.ListInstancesPagedResponse> listInstancesSettings()
public PagedCallSettings.Builder<ListReferrersInstancesHttpRequest,InstanceListReferrers,InstanceClient.ListReferrersInstancesPagedResponse> listReferrersInstancesSettings()
public UnaryCallSettings.Builder<ResetInstanceHttpRequest,Operation> resetInstanceSettings()
public UnaryCallSettings.Builder<SetDeletionProtectionInstanceHttpRequest,Operation> setDeletionProtectionInstanceSettings()
public UnaryCallSettings.Builder<SetDiskAutoDeleteInstanceHttpRequest,Operation> setDiskAutoDeleteInstanceSettings()
public UnaryCallSettings.Builder<SetIamPolicyInstanceHttpRequest,Policy> setIamPolicyInstanceSettings()
public UnaryCallSettings.Builder<SetLabelsInstanceHttpRequest,Operation> setLabelsInstanceSettings()
public UnaryCallSettings.Builder<SetMachineResourcesInstanceHttpRequest,Operation> setMachineResourcesInstanceSettings()
public UnaryCallSettings.Builder<SetMachineTypeInstanceHttpRequest,Operation> setMachineTypeInstanceSettings()
public UnaryCallSettings.Builder<SetMetadataInstanceHttpRequest,Operation> setMetadataInstanceSettings()
public UnaryCallSettings.Builder<SetMinCpuPlatformInstanceHttpRequest,Operation> setMinCpuPlatformInstanceSettings()
public UnaryCallSettings.Builder<SetSchedulingInstanceHttpRequest,Operation> setSchedulingInstanceSettings()
public UnaryCallSettings.Builder<SetServiceAccountInstanceHttpRequest,Operation> setServiceAccountInstanceSettings()
public UnaryCallSettings.Builder<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> setShieldedInstanceIntegrityPolicyInstanceSettings()
public UnaryCallSettings.Builder<SetTagsInstanceHttpRequest,Operation> setTagsInstanceSettings()
public UnaryCallSettings.Builder<SimulateMaintenanceEventInstanceHttpRequest,Operation> simulateMaintenanceEventInstanceSettings()
public UnaryCallSettings.Builder<StartInstanceHttpRequest,Operation> startInstanceSettings()
public UnaryCallSettings.Builder<StartWithEncryptionKeyInstanceHttpRequest,Operation> startWithEncryptionKeyInstanceSettings()
public UnaryCallSettings.Builder<StopInstanceHttpRequest,Operation> stopInstanceSettings()
public UnaryCallSettings.Builder<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceSettings()
public UnaryCallSettings.Builder<UpdateAccessConfigInstanceHttpRequest,Operation> updateAccessConfigInstanceSettings()
public UnaryCallSettings.Builder<UpdateNetworkInterfaceInstanceHttpRequest,Operation> updateNetworkInterfaceInstanceSettings()
public UnaryCallSettings.Builder<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> updateShieldedInstanceConfigInstanceSettings()
public InstanceSettings build() throws IOException
build
in class ClientSettings.Builder<InstanceSettings,InstanceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.