Class GrafeasV1Beta1StubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<GrafeasV1Beta1StubSettings,GrafeasV1Beta1StubSettings.Builder>
-
- com.google.cloud.devtools.containeranalysis.v1beta1.stub.GrafeasV1Beta1StubSettings.Builder
-
- Enclosing class:
- GrafeasV1Beta1StubSettings
public static class GrafeasV1Beta1StubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<GrafeasV1Beta1StubSettings,GrafeasV1Beta1StubSettings.Builder>
Builder for GrafeasV1Beta1StubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(GrafeasV1Beta1StubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrafeasV1Beta1StubSettings.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.GrafeasV1Beta1StubSettings
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.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.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.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(GrafeasV1Beta1StubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public GrafeasV1Beta1StubSettings.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
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 GrafeasV1Beta1StubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<GrafeasV1Beta1StubSettings,GrafeasV1Beta1StubSettings.Builder>
- Throws:
IOException
-
-