public static class InstanceStubSettings.Builder extends StubSettings.Builder<InstanceStubSettings,InstanceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(InstanceStubSettings settings)
public InstanceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 InstanceStubSettings build() throws IOException
build
in class StubSettings.Builder<InstanceStubSettings,InstanceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.