Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
docs: regenerate with fixed URLs and new protoc (#192)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/129bf4ce-2255-4b88-83a1-1b40d560e3d3/targets

PiperOrigin-RevId: 314606371
Source-Link: googleapis/googleapis@f72c3a5
PiperOrigin-RevId: 313460921
Source-Link: googleapis/googleapis@c4e3701
  • Loading branch information
yoshi-automation authored Jun 4, 2020
1 parent 1584607 commit 16d6d74
Show file tree
Hide file tree
Showing 155 changed files with 2,041 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return Whether the outputConfig field is set.
*/
@java.lang.Override
public boolean hasOutputConfig() {
return outputConfig_ != null;
}
Expand All @@ -383,6 +384,7 @@ public boolean hasOutputConfig() {
*
* @return The outputConfig.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() {
return outputConfig_ == null
? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance()
Expand All @@ -397,6 +399,7 @@ public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() {
*
* <code>.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder() {
return getOutputConfig();
}
Expand Down Expand Up @@ -1018,7 +1021,7 @@ public interface PublishToPubSubOrBuilder
* Publish a message into given Pub/Sub topic when DlpJob has completed. The
* message contains a single field, `DlpJobName`, which is equal to the
* finished job's
* [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
* [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
* Compatible with: Inspect, Risk
* </pre>
*
Expand Down Expand Up @@ -1124,6 +1127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The topic.
*/
@java.lang.Override
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
if (ref instanceof java.lang.String) {
Expand All @@ -1149,6 +1153,7 @@ public java.lang.String getTopic() {
*
* @return The bytes for topic.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTopicBytes() {
java.lang.Object ref = topic_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -1328,7 +1333,7 @@ protected Builder newBuilderForType(
* Publish a message into given Pub/Sub topic when DlpJob has completed. The
* message contains a single field, `DlpJobName`, which is equal to the
* finished job's
* [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
* [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
* Compatible with: Inspect, Risk
* </pre>
*
Expand Down Expand Up @@ -3576,6 +3581,7 @@ public ActionCase getActionCase() {
*
* @return Whether the saveFindings field is set.
*/
@java.lang.Override
public boolean hasSaveFindings() {
return actionCase_ == 1;
}
Expand All @@ -3590,6 +3596,7 @@ public boolean hasSaveFindings() {
*
* @return The saveFindings.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
if (actionCase_ == 1) {
return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
Expand All @@ -3605,6 +3612,7 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
*
* <code>.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() {
if (actionCase_ == 1) {
return (com.google.privacy.dlp.v2.Action.SaveFindings) action_;
Expand All @@ -3624,6 +3632,7 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB
*
* @return Whether the pubSub field is set.
*/
@java.lang.Override
public boolean hasPubSub() {
return actionCase_ == 2;
}
Expand All @@ -3638,6 +3647,7 @@ public boolean hasPubSub() {
*
* @return The pubSub.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
if (actionCase_ == 2) {
return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
Expand All @@ -3653,6 +3663,7 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
*
* <code>.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() {
if (actionCase_ == 2) {
return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_;
Expand All @@ -3672,6 +3683,7 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil
*
* @return Whether the publishSummaryToCscc field is set.
*/
@java.lang.Override
public boolean hasPublishSummaryToCscc() {
return actionCase_ == 3;
}
Expand All @@ -3686,6 +3698,7 @@ public boolean hasPublishSummaryToCscc() {
*
* @return The publishSummaryToCscc.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
if (actionCase_ == 3) {
return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_;
Expand All @@ -3701,6 +3714,7 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo
*
* <code>.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder
getPublishSummaryToCsccOrBuilder() {
if (actionCase_ == 3) {
Expand All @@ -3723,6 +3737,7 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo
*
* @return Whether the publishFindingsToCloudDataCatalog field is set.
*/
@java.lang.Override
public boolean hasPublishFindingsToCloudDataCatalog() {
return actionCase_ == 5;
}
Expand All @@ -3739,6 +3754,7 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
* @return The publishFindingsToCloudDataCatalog.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog() {
if (actionCase_ == 5) {
Expand All @@ -3757,6 +3773,7 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
* </code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder
getPublishFindingsToCloudDataCatalogOrBuilder() {
if (actionCase_ == 5) {
Expand All @@ -3778,6 +3795,7 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
* @return Whether the jobNotificationEmails field is set.
*/
@java.lang.Override
public boolean hasJobNotificationEmails() {
return actionCase_ == 8;
}
Expand All @@ -3793,6 +3811,7 @@ public boolean hasJobNotificationEmails() {
*
* @return The jobNotificationEmails.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
if (actionCase_ == 8) {
return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
Expand All @@ -3809,6 +3828,7 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
getJobNotificationEmailsOrBuilder() {
if (actionCase_ == 8) {
Expand All @@ -3829,6 +3849,7 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
*
* @return Whether the publishToStackdriver field is set.
*/
@java.lang.Override
public boolean hasPublishToStackdriver() {
return actionCase_ == 9;
}
Expand All @@ -3843,6 +3864,7 @@ public boolean hasPublishToStackdriver() {
*
* @return The publishToStackdriver.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() {
if (actionCase_ == 9) {
return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_;
Expand All @@ -3858,6 +3880,7 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdr
*
* <code>.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder
getPublishToStackdriverOrBuilder() {
if (actionCase_ == 9) {
Expand Down Expand Up @@ -4376,6 +4399,7 @@ public Builder clearAction() {
*
* @return Whether the saveFindings field is set.
*/
@java.lang.Override
public boolean hasSaveFindings() {
return actionCase_ == 1;
}
Expand All @@ -4390,6 +4414,7 @@ public boolean hasSaveFindings() {
*
* @return The saveFindings.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
if (saveFindingsBuilder_ == null) {
if (actionCase_ == 1) {
Expand Down Expand Up @@ -4522,6 +4547,7 @@ public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuil
*
* <code>.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() {
if ((actionCase_ == 1) && (saveFindingsBuilder_ != null)) {
return saveFindingsBuilder_.getMessageOrBuilder();
Expand Down Expand Up @@ -4582,6 +4608,7 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB
*
* @return Whether the pubSub field is set.
*/
@java.lang.Override
public boolean hasPubSub() {
return actionCase_ == 2;
}
Expand All @@ -4596,6 +4623,7 @@ public boolean hasPubSub() {
*
* @return The pubSub.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
if (pubSubBuilder_ == null) {
if (actionCase_ == 2) {
Expand Down Expand Up @@ -4728,6 +4756,7 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder
*
* <code>.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() {
if ((actionCase_ == 2) && (pubSubBuilder_ != null)) {
return pubSubBuilder_.getMessageOrBuilder();
Expand Down Expand Up @@ -4788,6 +4817,7 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil
*
* @return Whether the publishSummaryToCscc field is set.
*/
@java.lang.Override
public boolean hasPublishSummaryToCscc() {
return actionCase_ == 3;
}
Expand All @@ -4802,6 +4832,7 @@ public boolean hasPublishSummaryToCscc() {
*
* @return The publishSummaryToCscc.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
if (publishSummaryToCsccBuilder_ == null) {
if (actionCase_ == 3) {
Expand Down Expand Up @@ -4938,6 +4969,7 @@ public Builder clearPublishSummaryToCscc() {
*
* <code>.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder
getPublishSummaryToCsccOrBuilder() {
if ((actionCase_ == 3) && (publishSummaryToCsccBuilder_ != null)) {
Expand Down Expand Up @@ -5001,6 +5033,7 @@ public Builder clearPublishSummaryToCscc() {
*
* @return Whether the publishFindingsToCloudDataCatalog field is set.
*/
@java.lang.Override
public boolean hasPublishFindingsToCloudDataCatalog() {
return actionCase_ == 5;
}
Expand All @@ -5017,6 +5050,7 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
* @return The publishFindingsToCloudDataCatalog.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog() {
if (publishFindingsToCloudDataCatalogBuilder_ == null) {
Expand Down Expand Up @@ -5170,6 +5204,7 @@ public Builder clearPublishFindingsToCloudDataCatalog() {
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
* </code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder
getPublishFindingsToCloudDataCatalogOrBuilder() {
if ((actionCase_ == 5) && (publishFindingsToCloudDataCatalogBuilder_ != null)) {
Expand Down Expand Up @@ -5237,6 +5272,7 @@ public Builder clearPublishFindingsToCloudDataCatalog() {
*
* @return Whether the jobNotificationEmails field is set.
*/
@java.lang.Override
public boolean hasJobNotificationEmails() {
return actionCase_ == 8;
}
Expand All @@ -5252,6 +5288,7 @@ public boolean hasJobNotificationEmails() {
*
* @return The jobNotificationEmails.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
if (jobNotificationEmailsBuilder_ == null) {
if (actionCase_ == 8) {
Expand Down Expand Up @@ -5394,6 +5431,7 @@ public Builder clearJobNotificationEmails() {
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
getJobNotificationEmailsOrBuilder() {
if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) {
Expand Down Expand Up @@ -5456,6 +5494,7 @@ public Builder clearJobNotificationEmails() {
*
* @return Whether the publishToStackdriver field is set.
*/
@java.lang.Override
public boolean hasPublishToStackdriver() {
return actionCase_ == 9;
}
Expand All @@ -5470,6 +5509,7 @@ public boolean hasPublishToStackdriver() {
*
* @return The publishToStackdriver.
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() {
if (publishToStackdriverBuilder_ == null) {
if (actionCase_ == 9) {
Expand Down Expand Up @@ -5606,6 +5646,7 @@ public Builder clearPublishToStackdriver() {
*
* <code>.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;</code>
*/
@java.lang.Override
public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder
getPublishToStackdriverOrBuilder() {
if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand All @@ -152,6 +153,7 @@ public java.lang.String getName() {
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
Expand Down
Loading

0 comments on commit 16d6d74

Please sign in to comment.