public static class GrafeasSettings.Builder extends ClientSettings.Builder<GrafeasSettings,GrafeasSettings.Builder>
Builder for GrafeasSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(GrafeasSettings settings)
protected Builder(GrafeasSettings settings)
Builder(GrafeasStubSettings.Builder stubSettings)
protected Builder(GrafeasStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public GrafeasSettings.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.
batchCreateNotesSettings()
public UnaryCallSettings.Builder<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesSettings()
Returns the builder for the settings used for calls to batchCreateNotes.
batchCreateOccurrencesSettings()
public UnaryCallSettings.Builder<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesSettings()
Returns the builder for the settings used for calls to batchCreateOccurrences.
build()
public GrafeasSettings build()
Overrides
createNoteSettings()
public UnaryCallSettings.Builder<CreateNoteRequest,Note> createNoteSettings()
Returns the builder for the settings used for calls to createNote.
createOccurrenceSettings()
public UnaryCallSettings.Builder<CreateOccurrenceRequest,Occurrence> createOccurrenceSettings()
Returns the builder for the settings used for calls to createOccurrence.
deleteNoteSettings()
public UnaryCallSettings.Builder<DeleteNoteRequest,Empty> deleteNoteSettings()
Returns the builder for the settings used for calls to deleteNote.
deleteOccurrenceSettings()
public UnaryCallSettings.Builder<DeleteOccurrenceRequest,Empty> deleteOccurrenceSettings()
Returns the builder for the settings used for calls to deleteOccurrence.
getNoteSettings()
public UnaryCallSettings.Builder<GetNoteRequest,Note> getNoteSettings()
Returns the builder for the settings used for calls to getNote.
getOccurrenceNoteSettings()
public UnaryCallSettings.Builder<GetOccurrenceNoteRequest,Note> getOccurrenceNoteSettings()
Returns the builder for the settings used for calls to getOccurrenceNote.
getOccurrenceSettings()
public UnaryCallSettings.Builder<GetOccurrenceRequest,Occurrence> getOccurrenceSettings()
Returns the builder for the settings used for calls to getOccurrence.
getStubSettingsBuilder()
public GrafeasStubSettings.Bu