Class GrafeasV1Beta1Settings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<GrafeasV1Beta1Settings,GrafeasV1Beta1Settings.Builder>
-
- com.google.cloud.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Settings.Builder
-
- Enclosing class:
- GrafeasV1Beta1Settings
public static class GrafeasV1Beta1Settings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<GrafeasV1Beta1Settings,GrafeasV1Beta1Settings.Builder>
Builder for GrafeasV1Beta1Settings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(GrafeasV1Beta1Settings settings)
protected
Builder(GrafeasV1Beta1StubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrafeasV1Beta1Settings.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.GrafeasV1Beta1Settings
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,com.google.protobuf.Empty>
deleteNoteSettings()
Returns the builder for the settings used for calls to deleteNote.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteOccurrenceRequest,com.google.protobuf.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.GrafeasV1Beta1StubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary>
getVulnerabilityOccurrencesSummarySettings()
Returns the builder for the settings used for calls to getVulnerabilityOccurrencesSummary.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse>
listNoteOccurrencesSettings()
Returns the builder for the settings used for calls to listNoteOccurrences.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotesRequest,ListNotesResponse,GrafeasV1Beta1Client.ListNotesPagedResponse>
listNotesSettings()
Returns the builder for the settings used for calls to listNotes.com.google.api.gax.rpc.PagedCallSettings.Builder<ListOccurrencesRequest,ListOccurrencesResponse,GrafeasV1Beta1Client.ListOccurrencesPagedResponse>
listOccurrencesSettings()
Returns the builder for the settings used for calls to listOccurrences.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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(GrafeasV1Beta1Settings settings)
-
Builder
protected Builder(GrafeasV1Beta1StubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public GrafeasV1Beta1StubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public GrafeasV1Beta1Settings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
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.
- Throws:
Exception
-
getOccurrenceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceRequest,Occurrence> getOccurrenceSettings()
Returns the builder for the settings used for calls to getOccurrence.
-
listOccurrencesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListOccurrencesRequest,ListOccurrencesResponse,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesSettings()
Returns the builder for the settings used for calls to listOccurrences.
-
deleteOccurrenceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteOccurrenceRequest,com.google.protobuf.Empty> deleteOccurrenceSettings()
Returns the builder for the settings used for calls to deleteOccurrence.
-
createOccurrenceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateOccurrenceRequest,Occurrence> createOccurrenceSettings()
Returns the builder for the settings used for calls to createOccurrence.
-
batchCreateOccurrencesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesSettings()
Returns the builder for the settings used for calls to batchCreateOccurrences.
-
updateOccurrenceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOccurrenceRequest,Occurrence> updateOccurrenceSettings()
Returns the builder for the settings used for calls to updateOccurrence.
-
getOccurrenceNoteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOccurrenceNoteRequest,Note> getOccurrenceNoteSettings()
Returns the builder for the settings used for calls to getOccurrenceNote.
-
getNoteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNoteRequest,Note> getNoteSettings()
Returns the builder for the settings used for calls to getNote.
-
listNotesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotesRequest,ListNotesResponse,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesSettings()
Returns the builder for the settings used for calls to listNotes.
-
deleteNoteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNoteRequest,com.google.protobuf.Empty> deleteNoteSettings()
Returns the builder for the settings used for calls to deleteNote.
-
createNoteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNoteRequest,Note> createNoteSettings()
Returns the builder for the settings used for calls to createNote.
-
batchCreateNotesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesSettings()
Returns the builder for the settings used for calls to batchCreateNotes.
-
updateNoteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNoteRequest,Note> updateNoteSettings()
Returns the builder for the settings used for calls to updateNote.
-
listNoteOccurrencesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesSettings()
Returns the builder for the settings used for calls to listNoteOccurrences.
-
getVulnerabilityOccurrencesSummarySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummarySettings()
Returns the builder for the settings used for calls to getVulnerabilityOccurrencesSummary.
-
build
public GrafeasV1Beta1Settings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<GrafeasV1Beta1Settings,GrafeasV1Beta1Settings.Builder>
- Throws:
IOException
-
-