public static class ImageStubSettings.Builder extends StubSettings.Builder<ImageStubSettings,ImageStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ImageStubSettings 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(ImageStubSettings settings)
public ImageStubSettings.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<DeleteImageHttpRequest,Operation> deleteImageSettings()
public UnaryCallSettings.Builder<DeprecateImageHttpRequest,Operation> deprecateImageSettings()
public UnaryCallSettings.Builder<GetImageHttpRequest,Image> getImageSettings()
public UnaryCallSettings.Builder<GetFromFamilyImageHttpRequest,Image> getFromFamilyImageSettings()
public UnaryCallSettings.Builder<GetIamPolicyImageHttpRequest,Policy> getIamPolicyImageSettings()
public UnaryCallSettings.Builder<InsertImageHttpRequest,Operation> insertImageSettings()
public PagedCallSettings.Builder<ListImagesHttpRequest,ImageList,ImageClient.ListImagesPagedResponse> listImagesSettings()
public UnaryCallSettings.Builder<SetIamPolicyImageHttpRequest,Policy> setIamPolicyImageSettings()
public UnaryCallSettings.Builder<SetLabelsImageHttpRequest,Operation> setLabelsImageSettings()
public UnaryCallSettings.Builder<TestIamPermissionsImageHttpRequest,TestPermissionsResponse> testIamPermissionsImageSettings()
public ImageStubSettings build() throws IOException
build
in class StubSettings.Builder<ImageStubSettings,ImageStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.