Skip to content
Permalink
Browse files
fix: migrate dlp/v2 to grpc_service_config (#231)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/2172df15-42fb-4ea2-9939-61316a413093/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 319782065
Source-Link: googleapis/googleapis@e66c163
  • Loading branch information
yoshi-automation committed Jul 8, 2020
1 parent 61c0cc3 commit e558868cd52c1f6f81cec647a46903b9cf562686

Large diffs are not rendered by default.

@@ -213,41 +213,25 @@ public UnaryCallSettings<DeleteInspectTemplateRequest, Empty> deleteInspectTempl
return ((DlpServiceStubSettings) getStubSettings()).deleteDeidentifyTemplateSettings();
}

/** Returns the object with the settings used for calls to createDlpJob. */
public UnaryCallSettings<CreateDlpJobRequest, DlpJob> createDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createDlpJobSettings();
}

/** Returns the object with the settings used for calls to listDlpJobs. */
public PagedCallSettings<ListDlpJobsRequest, ListDlpJobsResponse, ListDlpJobsPagedResponse>
listDlpJobsSettings() {
return ((DlpServiceStubSettings) getStubSettings()).listDlpJobsSettings();
}

/** Returns the object with the settings used for calls to getDlpJob. */
public UnaryCallSettings<GetDlpJobRequest, DlpJob> getDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getDlpJobSettings();
}

/** Returns the object with the settings used for calls to deleteDlpJob. */
public UnaryCallSettings<DeleteDlpJobRequest, Empty> deleteDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).deleteDlpJobSettings();
/** Returns the object with the settings used for calls to createJobTrigger. */
public UnaryCallSettings<CreateJobTriggerRequest, JobTrigger> createJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createJobTriggerSettings();
}

/** Returns the object with the settings used for calls to cancelDlpJob. */
public UnaryCallSettings<CancelDlpJobRequest, Empty> cancelDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).cancelDlpJobSettings();
/** Returns the object with the settings used for calls to updateJobTrigger. */
public UnaryCallSettings<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).updateJobTriggerSettings();
}

/** Returns the object with the settings used for calls to finishDlpJob. */
public UnaryCallSettings<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).finishDlpJobSettings();
/** Returns the object with the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectJobTriggerSettings();
}

/** Returns the object with the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectDlpJobSettings();
/** Returns the object with the settings used for calls to getJobTrigger. */
public UnaryCallSettings<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getJobTriggerSettings();
}

/** Returns the object with the settings used for calls to listJobTriggers. */
@@ -257,30 +241,35 @@ public UnaryCallSettings<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).listJobTriggersSettings();
}

/** Returns the object with the settings used for calls to getJobTrigger. */
public UnaryCallSettings<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getJobTriggerSettings();
}

/** Returns the object with the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).deleteJobTriggerSettings();
}

/** Returns the object with the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectJobTriggerSettings();
/** Returns the object with the settings used for calls to createDlpJob. */
public UnaryCallSettings<CreateDlpJobRequest, DlpJob> createDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createDlpJobSettings();
}

/** Returns the object with the settings used for calls to updateJobTrigger. */
public UnaryCallSettings<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).updateJobTriggerSettings();
/** Returns the object with the settings used for calls to listDlpJobs. */
public PagedCallSettings<ListDlpJobsRequest, ListDlpJobsResponse, ListDlpJobsPagedResponse>
listDlpJobsSettings() {
return ((DlpServiceStubSettings) getStubSettings()).listDlpJobsSettings();
}

/** Returns the object with the settings used for calls to createJobTrigger. */
public UnaryCallSettings<CreateJobTriggerRequest, JobTrigger> createJobTriggerSettings() {
return ((DlpServiceStubSettings) getStubSettings()).createJobTriggerSettings();
/** Returns the object with the settings used for calls to getDlpJob. */
public UnaryCallSettings<GetDlpJobRequest, DlpJob> getDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).getDlpJobSettings();
}

/** Returns the object with the settings used for calls to deleteDlpJob. */
public UnaryCallSettings<DeleteDlpJobRequest, Empty> deleteDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).deleteDlpJobSettings();
}

/** Returns the object with the settings used for calls to cancelDlpJob. */
public UnaryCallSettings<CancelDlpJobRequest, Empty> cancelDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).cancelDlpJobSettings();
}

/** Returns the object with the settings used for calls to createStoredInfoType. */
@@ -312,6 +301,17 @@ public UnaryCallSettings<DeleteStoredInfoTypeRequest, Empty> deleteStoredInfoTyp
return ((DlpServiceStubSettings) getStubSettings()).deleteStoredInfoTypeSettings();
}

/** Returns the object with the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).hybridInspectDlpJobSettings();
}

/** Returns the object with the settings used for calls to finishDlpJob. */
public UnaryCallSettings<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return ((DlpServiceStubSettings) getStubSettings()).finishDlpJobSettings();
}

public static final DlpServiceSettings create(DlpServiceStubSettings stub) throws IOException {
return new DlpServiceSettings.Builder(stub.toBuilder()).build();
}
@@ -504,6 +504,41 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().deleteDeidentifyTemplateSettings();
}

/** Returns the builder for the settings used for calls to createJobTrigger. */
public UnaryCallSettings.Builder<CreateJobTriggerRequest, JobTrigger>
createJobTriggerSettings() {
return getStubSettingsBuilder().createJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to updateJobTrigger. */
public UnaryCallSettings.Builder<UpdateJobTriggerRequest, JobTrigger>
updateJobTriggerSettings() {
return getStubSettingsBuilder().updateJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings.Builder<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return getStubSettingsBuilder().hybridInspectJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to getJobTrigger. */
public UnaryCallSettings.Builder<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return getStubSettingsBuilder().getJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to listJobTriggers. */
public PagedCallSettings.Builder<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return getStubSettingsBuilder().listJobTriggersSettings();
}

/** Returns the builder for the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings.Builder<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return getStubSettingsBuilder().deleteJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createDlpJob. */
public UnaryCallSettings.Builder<CreateDlpJobRequest, DlpJob> createDlpJobSettings() {
return getStubSettingsBuilder().createDlpJobSettings();
@@ -531,52 +566,6 @@ public UnaryCallSettings.Builder<CancelDlpJobRequest, Empty> cancelDlpJobSetting
return getStubSettingsBuilder().cancelDlpJobSettings();
}

/** Returns the builder for the settings used for calls to finishDlpJob. */
public UnaryCallSettings.Builder<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return getStubSettingsBuilder().finishDlpJobSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings.Builder<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return getStubSettingsBuilder().hybridInspectDlpJobSettings();
}

/** Returns the builder for the settings used for calls to listJobTriggers. */
public PagedCallSettings.Builder<
ListJobTriggersRequest, ListJobTriggersResponse, ListJobTriggersPagedResponse>
listJobTriggersSettings() {
return getStubSettingsBuilder().listJobTriggersSettings();
}

/** Returns the builder for the settings used for calls to getJobTrigger. */
public UnaryCallSettings.Builder<GetJobTriggerRequest, JobTrigger> getJobTriggerSettings() {
return getStubSettingsBuilder().getJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to deleteJobTrigger. */
public UnaryCallSettings.Builder<DeleteJobTriggerRequest, Empty> deleteJobTriggerSettings() {
return getStubSettingsBuilder().deleteJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectJobTrigger. */
public UnaryCallSettings.Builder<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerSettings() {
return getStubSettingsBuilder().hybridInspectJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to updateJobTrigger. */
public UnaryCallSettings.Builder<UpdateJobTriggerRequest, JobTrigger>
updateJobTriggerSettings() {
return getStubSettingsBuilder().updateJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createJobTrigger. */
public UnaryCallSettings.Builder<CreateJobTriggerRequest, JobTrigger>
createJobTriggerSettings() {
return getStubSettingsBuilder().createJobTriggerSettings();
}

/** Returns the builder for the settings used for calls to createStoredInfoType. */
public UnaryCallSettings.Builder<CreateStoredInfoTypeRequest, StoredInfoType>
createStoredInfoTypeSettings() {
@@ -610,6 +599,17 @@ public UnaryCallSettings.Builder<DeleteJobTriggerRequest, Empty> deleteJobTrigge
return getStubSettingsBuilder().deleteStoredInfoTypeSettings();
}

/** Returns the builder for the settings used for calls to hybridInspectDlpJob. */
public UnaryCallSettings.Builder<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobSettings() {
return getStubSettingsBuilder().hybridInspectDlpJobSettings();
}

/** Returns the builder for the settings used for calls to finishDlpJob. */
public UnaryCallSettings.Builder<FinishDlpJobRequest, Empty> finishDlpJobSettings() {
return getStubSettingsBuilder().finishDlpJobSettings();
}

@Override
public DlpServiceSettings build() throws IOException {
return new DlpServiceSettings(this);
@@ -166,37 +166,21 @@ public UnaryCallable<DeleteDeidentifyTemplateRequest, Empty> deleteDeidentifyTem
throw new UnsupportedOperationException("Not implemented: deleteDeidentifyTemplateCallable()");
}

public UnaryCallable<CreateDlpJobRequest, DlpJob> createDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: createDlpJobCallable()");
}

public UnaryCallable<ListDlpJobsRequest, ListDlpJobsPagedResponse> listDlpJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsPagedCallable()");
}

public UnaryCallable<ListDlpJobsRequest, ListDlpJobsResponse> listDlpJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsCallable()");
}

public UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: getDlpJobCallable()");
}

public UnaryCallable<DeleteDlpJobRequest, Empty> deleteDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: deleteDlpJobCallable()");
public UnaryCallable<CreateJobTriggerRequest, JobTrigger> createJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: createJobTriggerCallable()");
}

public UnaryCallable<CancelDlpJobRequest, Empty> cancelDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: cancelDlpJobCallable()");
public UnaryCallable<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: updateJobTriggerCallable()");
}

public UnaryCallable<FinishDlpJobRequest, Empty> finishDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: finishDlpJobCallable()");
public UnaryCallable<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectJobTriggerCallable()");
}

public UnaryCallable<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectDlpJobCallable()");
public UnaryCallable<GetJobTriggerRequest, JobTrigger> getJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: getJobTriggerCallable()");
}

public UnaryCallable<ListJobTriggersRequest, ListJobTriggersPagedResponse>
@@ -208,25 +192,32 @@ public UnaryCallable<ListJobTriggersRequest, ListJobTriggersResponse> listJobTri
throw new UnsupportedOperationException("Not implemented: listJobTriggersCallable()");
}

public UnaryCallable<GetJobTriggerRequest, JobTrigger> getJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: getJobTriggerCallable()");
}

public UnaryCallable<DeleteJobTriggerRequest, Empty> deleteJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: deleteJobTriggerCallable()");
}

public UnaryCallable<HybridInspectJobTriggerRequest, HybridInspectResponse>
hybridInspectJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectJobTriggerCallable()");
public UnaryCallable<CreateDlpJobRequest, DlpJob> createDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: createDlpJobCallable()");
}

public UnaryCallable<UpdateJobTriggerRequest, JobTrigger> updateJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: updateJobTriggerCallable()");
public UnaryCallable<ListDlpJobsRequest, ListDlpJobsPagedResponse> listDlpJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsPagedCallable()");
}

public UnaryCallable<CreateJobTriggerRequest, JobTrigger> createJobTriggerCallable() {
throw new UnsupportedOperationException("Not implemented: createJobTriggerCallable()");
public UnaryCallable<ListDlpJobsRequest, ListDlpJobsResponse> listDlpJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listDlpJobsCallable()");
}

public UnaryCallable<GetDlpJobRequest, DlpJob> getDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: getDlpJobCallable()");
}

public UnaryCallable<DeleteDlpJobRequest, Empty> deleteDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: deleteDlpJobCallable()");
}

public UnaryCallable<CancelDlpJobRequest, Empty> cancelDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: cancelDlpJobCallable()");
}

public UnaryCallable<CreateStoredInfoTypeRequest, StoredInfoType> createStoredInfoTypeCallable() {
@@ -255,6 +246,15 @@ public UnaryCallable<DeleteStoredInfoTypeRequest, Empty> deleteStoredInfoTypeCal
throw new UnsupportedOperationException("Not implemented: deleteStoredInfoTypeCallable()");
}

public UnaryCallable<HybridInspectDlpJobRequest, HybridInspectResponse>
hybridInspectDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: hybridInspectDlpJobCallable()");
}

public UnaryCallable<FinishDlpJobRequest, Empty> finishDlpJobCallable() {
throw new UnsupportedOperationException("Not implemented: finishDlpJobCallable()");
}

@Override
public abstract void close();
}

0 comments on commit e558868

Please sign in to comment.