@Generated(value="by gapic-generator") @BetaApi public class GrafeasV1Beta1StubSettings extends StubSettings<GrafeasV1Beta1StubSettings>
GrafeasV1Beta1Stub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of getOccurrence to 30 seconds:
GrafeasV1Beta1StubSettings.Builder grafeasV1Beta1SettingsBuilder =
GrafeasV1Beta1StubSettings.newBuilder();
grafeasV1Beta1SettingsBuilder.getOccurrenceSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
GrafeasV1Beta1StubSettings grafeasV1Beta1Settings = grafeasV1Beta1SettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
GrafeasV1Beta1StubSettings.Builder
Builder for GrafeasV1Beta1StubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
GrafeasV1Beta1StubSettings(GrafeasV1Beta1StubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings<io.grafeas.v1beta1.BatchCreateNotesRequest,io.grafeas.v1beta1.BatchCreateNotesResponse> |
batchCreateNotesSettings()
Returns the object with the settings used for calls to batchCreateNotes.
|
UnaryCallSettings<io.grafeas.v1beta1.BatchCreateOccurrencesRequest,io.grafeas.v1beta1.BatchCreateOccurrencesResponse> |
batchCreateOccurrencesSettings()
Returns the object with the settings used for calls to batchCreateOccurrences.
|
UnaryCallSettings<io.grafeas.v1beta1.CreateNoteRequest,io.grafeas.v1beta1.Note> |
createNoteSettings()
Returns the object with the settings used for calls to createNote.
|
UnaryCallSettings<io.grafeas.v1beta1.CreateOccurrenceRequest,io.grafeas.v1beta1.Occurrence> |
createOccurrenceSettings()
Returns the object with the settings used for calls to createOccurrence.
|
GrafeasV1Beta1Stub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<io.grafeas.v1beta1.DeleteNoteRequest,Empty> |
deleteNoteSettings()
Returns the object with the settings used for calls to deleteNote.
|
UnaryCallSettings<io.grafeas.v1beta1.DeleteOccurrenceRequest,Empty> |
deleteOccurrenceSettings()
Returns the object with the settings used for calls to deleteOccurrence.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<io.grafeas.v1beta1.GetNoteRequest,io.grafeas.v1beta1.Note> |
getNoteSettings()
Returns the object with the settings used for calls to getNote.
|
UnaryCallSettings<io.grafeas.v1beta1.GetOccurrenceNoteRequest,io.grafeas.v1beta1.Note> |
getOccurrenceNoteSettings()
Returns the object with the settings used for calls to getOccurrenceNote.
|
UnaryCallSettings<io.grafeas.v1beta1.GetOccurrenceRequest,io.grafeas.v1beta1.Occurrence> |
getOccurrenceSettings()
Returns the object with the settings used for calls to getOccurrence.
|
UnaryCallSettings<io.grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest,io.grafeas.v1beta1.VulnerabilityOccurrencesSummary> |
getVulnerabilityOccurrencesSummarySettings()
Returns the object with the settings used for calls to getVulnerabilityOccurrencesSummary.
|
PagedCallSettings<io.grafeas.v1beta1.ListNoteOccurrencesRequest,io.grafeas.v1beta1.ListNoteOccurrencesResponse,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> |
listNoteOccurrencesSettings()
Returns the object with the settings used for calls to listNoteOccurrences.
|
PagedCallSettings<io.grafeas.v1beta1.ListNotesRequest,io.grafeas.v1beta1.ListNotesResponse,GrafeasV1Beta1Client.ListNotesPagedResponse> |
listNotesSettings()
Returns the object with the settings used for calls to listNotes.
|
PagedCallSettings<io.grafeas.v1beta1.ListOccurrencesRequest,io.grafeas.v1beta1.ListOccurrencesResponse,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> |
listOccurrencesSettings()
Returns the object with the settings used for calls to listOccurrences.
|
static GrafeasV1Beta1StubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static GrafeasV1Beta1StubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
GrafeasV1Beta1StubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
UnaryCallSettings<io.grafeas.v1beta1.UpdateNoteRequest,io.grafeas.v1beta1.Note> |
updateNoteSettings()
Returns the object with the settings used for calls to updateNote.
|
UnaryCallSettings<io.grafeas.v1beta1.UpdateOccurrenceRequest,io.grafeas.v1beta1.Occurrence> |
updateOccurrenceSettings()
Returns the object with the settings used for calls to updateOccurrence.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected GrafeasV1Beta1StubSettings(GrafeasV1Beta1StubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<io.grafeas.v1beta1.GetOccurrenceRequest,io.grafeas.v1beta1.Occurrence> getOccurrenceSettings()
public PagedCallSettings<io.grafeas.v1beta1.ListOccurrencesRequest,io.grafeas.v1beta1.ListOccurrencesResponse,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesSettings()
public UnaryCallSettings<io.grafeas.v1beta1.DeleteOccurrenceRequest,Empty> deleteOccurrenceSettings()
public UnaryCallSettings<io.grafeas.v1beta1.CreateOccurrenceRequest,io.grafeas.v1beta1.Occurrence> createOccurrenceSettings()
public UnaryCallSettings<io.grafeas.v1beta1.BatchCreateOccurrencesRequest,io.grafeas.v1beta1.BatchCreateOccurrencesResponse> batchCreateOccurrencesSettings()
public UnaryCallSettings<io.grafeas.v1beta1.UpdateOccurrenceRequest,io.grafeas.v1beta1.Occurrence> updateOccurrenceSettings()
public UnaryCallSettings<io.grafeas.v1beta1.GetOccurrenceNoteRequest,io.grafeas.v1beta1.Note> getOccurrenceNoteSettings()
public UnaryCallSettings<io.grafeas.v1beta1.GetNoteRequest,io.grafeas.v1beta1.Note> getNoteSettings()
public PagedCallSettings<io.grafeas.v1beta1.ListNotesRequest,io.grafeas.v1beta1.ListNotesResponse,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesSettings()
public UnaryCallSettings<io.grafeas.v1beta1.DeleteNoteRequest,Empty> deleteNoteSettings()
public UnaryCallSettings<io.grafeas.v1beta1.CreateNoteRequest,io.grafeas.v1beta1.Note> createNoteSettings()
public UnaryCallSettings<io.grafeas.v1beta1.BatchCreateNotesRequest,io.grafeas.v1beta1.BatchCreateNotesResponse> batchCreateNotesSettings()
public UnaryCallSettings<io.grafeas.v1beta1.UpdateNoteRequest,io.grafeas.v1beta1.Note> updateNoteSettings()
public PagedCallSettings<io.grafeas.v1beta1.ListNoteOccurrencesRequest,io.grafeas.v1beta1.ListNoteOccurrencesResponse,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesSettings()
public UnaryCallSettings<io.grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest,io.grafeas.v1beta1.VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummarySettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public GrafeasV1Beta1Stub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static GrafeasV1Beta1StubSettings.Builder newBuilder()
public static GrafeasV1Beta1StubSettings.Builder newBuilder(ClientContext clientContext)
public GrafeasV1Beta1StubSettings.Builder toBuilder()
toBuilder
in class StubSettings<GrafeasV1Beta1StubSettings>
Copyright © 2019 Google LLC. All rights reserved.