public static class GrafeasStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<GrafeasStubSettings,GrafeasStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(GrafeasStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
GrafeasStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateNotesRequest,BatchCreateNotesResponse> |
batchCreateNotesSettings()
Returns the builder for the settings used for calls to batchCreateNotes.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> |
batchCreateOccurrencesSettings()
Returns the builder for the settings used for calls to batchCreateOccurrences.
|
GrafeasStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNoteRequest,Note> |
createNoteSettings()
Returns the builder for the settings used for calls to createNote.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateOccurrenceRequest,Occurrence> |
createOccurrenceSettings()
Returns the builder for the settings used for calls to createOccurrence.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNoteRequest,Empty> |
deleteNoteSettings()
Returns the builder for the settings used for calls to deleteNote.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteOccurrenceRequest,Empty> |
deleteOccurrenceSettings()
Returns the builder for the settings used for calls to deleteOccurrence.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNoteRequest,Note> |
getNoteSettings()
Returns the builder for the settings used for calls to getNote.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceNoteRequest,Note> |
getOccurrenceNoteSettings()
Returns the builder for the settings used for calls to getOccurrenceNote.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceRequest,Occurrence> |
getOccurrenceSettings()
Returns the builder for the settings used for calls to getOccurrence.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse,GrafeasClient.ListNoteOccurrencesPagedResponse> |
listNoteOccurrencesSettings()
Returns the builder for the settings used for calls to listNoteOccurrences.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotesRequest,ListNotesResponse,GrafeasClient.ListNotesPagedResponse> |
listNotesSettings()
Returns the builder for the settings used for calls to listNotes.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListOccurrencesRequest,ListOccurrencesResponse,GrafeasClient.ListOccurrencesPagedResponse> |
listOccurrencesSettings()
Returns the builder for the settings used for calls to listOccurrences.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNoteRequest,Note> |
updateNoteSettings()
Returns the builder for the settings used for calls to updateNote.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOccurrenceRequest,Occurrence> |
updateOccurrenceSettings()
Returns the builder for the settings used for calls to updateOccurrence.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(GrafeasStubSettings settings)
public GrafeasStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceRequest,Occurrence> getOccurrenceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListOccurrencesRequest,ListOccurrencesResponse,GrafeasClient.ListOccurrencesPagedResponse> listOccurrencesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteOccurrenceRequest,Empty> deleteOccurrenceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateOccurrenceRequest,Occurrence> createOccurrenceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOccurrenceRequest,Occurrence> updateOccurrenceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceNoteRequest,Note> getOccurrenceNoteSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNoteRequest,Note> getNoteSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotesRequest,ListNotesResponse,GrafeasClient.ListNotesPagedResponse> listNotesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNoteRequest,Empty> deleteNoteSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNoteRequest,Note> createNoteSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNoteRequest,Note> updateNoteSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse,GrafeasClient.ListNoteOccurrencesPagedResponse> listNoteOccurrencesSettings()
public GrafeasStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<GrafeasStubSettings,GrafeasStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.