public static class CaseAttachmentServiceSettings.Builder extends ClientSettings.Builder<CaseAttachmentServiceSettings,CaseAttachmentServiceSettings.Builder>
Builder for CaseAttachmentServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(CaseAttachmentServiceSettings settings)
protected Builder(CaseAttachmentServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
CaseAttachmentServiceSettings |
Builder(CaseAttachmentServiceStubSettings.Builder stubSettings)
protected Builder(CaseAttachmentServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings |
CaseAttachmentServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CaseAttachmentServiceSettings.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 |
CaseAttachmentServiceSettings.Builder |
build()
public CaseAttachmentServiceSettings build()
Returns | |
---|---|
Type | Description |
CaseAttachmentServiceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getStubSettingsBuilder()
public CaseAttachmentServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
CaseAttachmentServiceStubSettings.Builder |
listAttachmentsSettings()
public PagedCallSettings.Builder<ListAttachmentsRequest,ListAttachmentsResponse,CaseAttachmentServiceClient.ListAttachmentsPagedResponse> listAttachmentsSettings()
Returns the builder for the settings used for calls to listAttachments.
Returns | |
---|---|
Type | Description |
Builder<ListAttachmentsRequest,ListAttachmentsResponse,ListAttachmentsPagedResponse> |