public static class CreativeServiceSettings.Builder extends ClientSettings.Builder<CreativeServiceSettings,CreativeServiceSettings.Builder>
Builder for CreativeServiceSettings.
Constructors
Builder()
protected Builder()
Builder(CreativeServiceSettings settings)
protected Builder(CreativeServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
CreativeServiceSettings |
Builder(CreativeServiceStubSettings.Builder stubSettings)
protected Builder(CreativeServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings |
CreativeServiceStubSettings.Builder |
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CreativeServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter | |
---|---|
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
CreativeServiceSettings.Builder |
build()
public CreativeServiceSettings build()
Returns | |
---|---|
Type | Description |
CreativeServiceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getCreativeSettings()
public UnaryCallSettings.Builder<GetCreativeRequest,Creative> getCreativeSettings()
Returns the builder for the settings used for calls to getCreative.
Returns | |
---|---|
Type | Description |
Builder<GetCreativeRequest,Creative> |
getStubSettingsBuilder()
public CreativeServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
CreativeServiceStubSettings.Builder |
listCreativesSettings()
public PagedCallSettings.Builder<ListCreativesRequest,ListCreativesResponse,CreativeServiceClient.ListCreativesPagedResponse> listCreativesSettings()
Returns the builder for the settings used for calls to listCreatives.
Returns | |
---|---|
Type | Description |
Builder<ListCreativesRequest,ListCreativesResponse,ListCreativesPagedResponse> |