@Generated(value="by gapic-generator") @BetaApi public class IncidentServiceSettings extends ClientSettings<IncidentServiceSettings>
IncidentServiceClient.
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 deleteArtifact to 30 seconds:
IncidentServiceSettings.Builder incidentServiceSettingsBuilder =
IncidentServiceSettings.newBuilder();
incidentServiceSettingsBuilder
.deleteArtifactSettings()
.setRetrySettings(
incidentServiceSettingsBuilder.deleteArtifactSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
IncidentServiceSettings incidentServiceSettings = incidentServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
IncidentServiceSettings.Builder
Builder for IncidentServiceSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IncidentServiceSettings(IncidentServiceSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected IncidentServiceSettings(IncidentServiceSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic UnaryCallSettings<DeleteArtifactRequest,Empty> deleteArtifactSettings()
public UnaryCallSettings<RequestIncidentRoleHandoverRequest,IncidentRoleAssignment> requestIncidentRoleHandoverSettings()
public UnaryCallSettings<ConfirmIncidentRoleHandoverRequest,IncidentRoleAssignment> confirmIncidentRoleHandoverSettings()
public UnaryCallSettings<ForceIncidentRoleHandoverRequest,IncidentRoleAssignment> forceIncidentRoleHandoverSettings()
public UnaryCallSettings<CreateIncidentRequest,Incident> createIncidentSettings()
public UnaryCallSettings<GetIncidentRequest,Incident> getIncidentSettings()
public PagedCallSettings<SearchIncidentsRequest,SearchIncidentsResponse,IncidentServiceClient.SearchIncidentsPagedResponse> searchIncidentsSettings()
public UnaryCallSettings<UpdateIncidentRequest,Incident> updateIncidentSettings()
public PagedCallSettings<SearchSimilarIncidentsRequest,SearchSimilarIncidentsResponse,IncidentServiceClient.SearchSimilarIncidentsPagedResponse> searchSimilarIncidentsSettings()
public UnaryCallSettings<CreateAnnotationRequest,Annotation> createAnnotationSettings()
public PagedCallSettings<ListAnnotationsRequest,ListAnnotationsResponse,IncidentServiceClient.ListAnnotationsPagedResponse> listAnnotationsSettings()
public UnaryCallSettings<CreateTagRequest,Tag> createTagSettings()
public UnaryCallSettings<DeleteTagRequest,Empty> deleteTagSettings()
public PagedCallSettings<ListTagsRequest,ListTagsResponse,IncidentServiceClient.ListTagsPagedResponse> listTagsSettings()
public UnaryCallSettings<CreateSignalRequest,Signal> createSignalSettings()
public PagedCallSettings<SearchSignalsRequest,SearchSignalsResponse,IncidentServiceClient.SearchSignalsPagedResponse> searchSignalsSettings()
public UnaryCallSettings<LookupSignalRequest,Signal> lookupSignalSettings()
public UnaryCallSettings<GetSignalRequest,Signal> getSignalSettings()
public UnaryCallSettings<UpdateSignalRequest,Signal> updateSignalSettings()
public UnaryCallSettings<EscalateIncidentRequest,EscalateIncidentResponse> escalateIncidentSettings()
public UnaryCallSettings<CreateArtifactRequest,Artifact> createArtifactSettings()
public PagedCallSettings<ListArtifactsRequest,ListArtifactsResponse,IncidentServiceClient.ListArtifactsPagedResponse> listArtifactsSettings()
public UnaryCallSettings<UpdateArtifactRequest,Artifact> updateArtifactSettings()
public UnaryCallSettings<SendShiftHandoffRequest,SendShiftHandoffResponse> sendShiftHandoffSettings()
public UnaryCallSettings<CreateSubscriptionRequest,Subscription> createSubscriptionSettings()
public UnaryCallSettings<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
public PagedCallSettings<ListSubscriptionsRequest,ListSubscriptionsResponse,IncidentServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public UnaryCallSettings<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()
public UnaryCallSettings<CreateIncidentRoleAssignmentRequest,IncidentRoleAssignment> createIncidentRoleAssignmentSettings()
public UnaryCallSettings<DeleteIncidentRoleAssignmentRequest,Empty> deleteIncidentRoleAssignmentSettings()
public PagedCallSettings<ListIncidentRoleAssignmentsRequest,ListIncidentRoleAssignmentsResponse,IncidentServiceClient.ListIncidentRoleAssignmentsPagedResponse> listIncidentRoleAssignmentsSettings()
public UnaryCallSettings<CancelIncidentRoleHandoverRequest,IncidentRoleAssignment> cancelIncidentRoleHandoverSettings()
public static final IncidentServiceSettings create(IncidentServiceStubSettings stub) throws IOException
IOExceptionpublic 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 IncidentServiceSettings.Builder newBuilder()
public static IncidentServiceSettings.Builder newBuilder(ClientContext clientContext)
public IncidentServiceSettings.Builder toBuilder()
toBuilder in class ClientSettings<IncidentServiceSettings>Copyright © 2020 Google LLC. All rights reserved.