diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
index 06fa71ba..aa4ad3c0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java
@@ -40,6 +40,12 @@ private Action(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Action() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Action();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private Action(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -213,9 +218,17 @@ public interface SaveFindingsOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.SaveFindings)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return Whether the outputConfig field is set.
+ */
boolean hasOutputConfig();
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return The outputConfig.
+ */
com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig();
/** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder();
@@ -244,6 +257,12 @@ private SaveFindings(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private SaveFindings() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SaveFindings();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -257,7 +276,6 @@ private SaveFindings(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -320,11 +338,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int OUTPUT_CONFIG_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.OutputStorageConfig outputConfig_;
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return Whether the outputConfig field is set.
+ */
public boolean hasOutputConfig() {
return outputConfig_ != null;
}
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return The outputConfig.
+ */
public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() {
return outputConfig_ == null
? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance()
@@ -677,11 +703,19 @@ public Builder mergeFrom(
com.google.privacy.dlp.v2.OutputStorageConfig.Builder,
com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>
outputConfigBuilder_;
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return Whether the outputConfig field is set.
+ */
public boolean hasOutputConfig() {
return outputConfigBuilder_ != null || outputConfig_ != null;
}
- /** .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1;
+ *
+ * @return The outputConfig.
+ */
public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() {
if (outputConfigBuilder_ == null) {
return outputConfig_ == null
@@ -849,6 +883,8 @@ public interface PublishToPubSubOrBuilder
*
*
* string topic = 1;
+ *
+ * @return The topic.
*/
java.lang.String getTopic();
/**
@@ -862,6 +898,8 @@ public interface PublishToPubSubOrBuilder
*
*
* string topic = 1;
+ *
+ * @return The bytes for topic.
*/
com.google.protobuf.ByteString getTopicBytes();
}
@@ -892,6 +930,12 @@ private PublishToPubSub() {
topic_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PublishToPubSub();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -905,7 +949,6 @@ private PublishToPubSub(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -970,6 +1013,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string topic = 1;
+ *
+ * @return The topic.
*/
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
@@ -993,6 +1038,8 @@ public java.lang.String getTopic() {
*
*
* string topic = 1;
+ *
+ * @return The bytes for topic.
*/
public com.google.protobuf.ByteString getTopicBytes() {
java.lang.Object ref = topic_;
@@ -1344,6 +1391,8 @@ public Builder mergeFrom(
*
*
* string topic = 1;
+ *
+ * @return The topic.
*/
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
@@ -1367,6 +1416,8 @@ public java.lang.String getTopic() {
*
*
* string topic = 1;
+ *
+ * @return The bytes for topic.
*/
public com.google.protobuf.ByteString getTopicBytes() {
java.lang.Object ref = topic_;
@@ -1390,6 +1441,9 @@ public com.google.protobuf.ByteString getTopicBytes() {
*
*
* string topic = 1;
+ *
+ * @param value The topic to set.
+ * @return This builder for chaining.
*/
public Builder setTopic(java.lang.String value) {
if (value == null) {
@@ -1411,6 +1465,8 @@ public Builder setTopic(java.lang.String value) {
*
*
* string topic = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTopic() {
@@ -1429,6 +1485,9 @@ public Builder clearTopic() {
*
*
* string topic = 1;
+ *
+ * @param value The bytes for topic to set.
+ * @return This builder for chaining.
*/
public Builder setTopicBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1527,6 +1586,12 @@ private PublishSummaryToCscc(com.google.protobuf.GeneratedMessageV3.Builder> b
private PublishSummaryToCscc() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PublishSummaryToCscc();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1988,6 +2053,12 @@ private PublishFindingsToCloudDataCatalog(
private PublishFindingsToCloudDataCatalog() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PublishFindingsToCloudDataCatalog();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2450,6 +2521,12 @@ private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder>
private JobNotificationEmails() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new JobNotificationEmails();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2895,6 +2972,12 @@ private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder> b
private PublishToStackdriver() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PublishToStackdriver();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3317,7 +3400,10 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceF
private int actionCase_ = 0;
private java.lang.Object action_;
- public enum ActionCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ActionCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SAVE_FINDINGS(1),
PUB_SUB(2),
PUBLISH_SUMMARY_TO_CSCC(3),
@@ -3330,7 +3416,11 @@ public enum ActionCase implements com.google.protobuf.Internal.EnumLite {
private ActionCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ActionCase valueOf(int value) {
return forNumber(value);
@@ -3375,6 +3465,8 @@ public ActionCase getActionCase() {
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return Whether the saveFindings field is set.
*/
public boolean hasSaveFindings() {
return actionCase_ == 1;
@@ -3387,6 +3479,8 @@ public boolean hasSaveFindings() {
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return The saveFindings.
*/
public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
if (actionCase_ == 1) {
@@ -3419,6 +3513,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return Whether the pubSub field is set.
*/
public boolean hasPubSub() {
return actionCase_ == 2;
@@ -3431,6 +3527,8 @@ public boolean hasPubSub() {
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return The pubSub.
*/
public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
if (actionCase_ == 2) {
@@ -3463,6 +3561,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return Whether the publishSummaryToCscc field is set.
*/
public boolean hasPublishSummaryToCscc() {
return actionCase_ == 3;
@@ -3475,6 +3575,8 @@ public boolean hasPublishSummaryToCscc() {
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return The publishSummaryToCscc.
*/
public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
if (actionCase_ == 3) {
@@ -3510,6 +3612,8 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return Whether the publishFindingsToCloudDataCatalog field is set.
*/
public boolean hasPublishFindingsToCloudDataCatalog() {
return actionCase_ == 5;
@@ -3524,6 +3628,8 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return The publishFindingsToCloudDataCatalog.
*/
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog() {
@@ -3561,6 +3667,8 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return Whether the jobNotificationEmails field is set.
*/
public boolean hasJobNotificationEmails() {
return actionCase_ == 8;
@@ -3574,6 +3682,8 @@ public boolean hasJobNotificationEmails() {
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return The jobNotificationEmails.
*/
public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
if (actionCase_ == 8) {
@@ -3608,6 +3718,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return Whether the publishToStackdriver field is set.
*/
public boolean hasPublishToStackdriver() {
return actionCase_ == 9;
@@ -3620,6 +3732,8 @@ public boolean hasPublishToStackdriver() {
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return The publishToStackdriver.
*/
public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() {
if (actionCase_ == 9) {
@@ -4151,6 +4265,8 @@ public Builder clearAction() {
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return Whether the saveFindings field is set.
*/
public boolean hasSaveFindings() {
return actionCase_ == 1;
@@ -4163,6 +4279,8 @@ public boolean hasSaveFindings() {
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return The saveFindings.
*/
public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() {
if (saveFindingsBuilder_ == null) {
@@ -4353,6 +4471,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return Whether the pubSub field is set.
*/
public boolean hasPubSub() {
return actionCase_ == 2;
@@ -4365,6 +4485,8 @@ public boolean hasPubSub() {
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return The pubSub.
*/
public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() {
if (pubSubBuilder_ == null) {
@@ -4555,6 +4677,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return Whether the publishSummaryToCscc field is set.
*/
public boolean hasPublishSummaryToCscc() {
return actionCase_ == 3;
@@ -4567,6 +4691,8 @@ public boolean hasPublishSummaryToCscc() {
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return The publishSummaryToCscc.
*/
public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() {
if (publishSummaryToCsccBuilder_ == null) {
@@ -4764,6 +4890,8 @@ public Builder clearPublishSummaryToCscc() {
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return Whether the publishFindingsToCloudDataCatalog field is set.
*/
public boolean hasPublishFindingsToCloudDataCatalog() {
return actionCase_ == 5;
@@ -4778,6 +4906,8 @@ public boolean hasPublishFindingsToCloudDataCatalog() {
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return The publishFindingsToCloudDataCatalog.
*/
public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog() {
@@ -4996,6 +5126,8 @@ public Builder clearPublishFindingsToCloudDataCatalog() {
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return Whether the jobNotificationEmails field is set.
*/
public boolean hasJobNotificationEmails() {
return actionCase_ == 8;
@@ -5009,6 +5141,8 @@ public boolean hasJobNotificationEmails() {
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return The jobNotificationEmails.
*/
public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() {
if (jobNotificationEmailsBuilder_ == null) {
@@ -5211,6 +5345,8 @@ public Builder clearJobNotificationEmails() {
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return Whether the publishToStackdriver field is set.
*/
public boolean hasPublishToStackdriver() {
return actionCase_ == 9;
@@ -5223,6 +5359,8 @@ public boolean hasPublishToStackdriver() {
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return The publishToStackdriver.
*/
public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() {
if (publishToStackdriverBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
index a015bd03..24888c7f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java
@@ -31,6 +31,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return Whether the saveFindings field is set.
*/
boolean hasSaveFindings();
/**
@@ -41,6 +43,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;
+ *
+ * @return The saveFindings.
*/
com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings();
/**
@@ -62,6 +66,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return Whether the pubSub field is set.
*/
boolean hasPubSub();
/**
@@ -72,6 +78,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;
+ *
+ * @return The pubSub.
*/
com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub();
/**
@@ -93,6 +101,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return Whether the publishSummaryToCscc field is set.
*/
boolean hasPublishSummaryToCscc();
/**
@@ -103,6 +113,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;
+ *
+ * @return The publishSummaryToCscc.
*/
com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc();
/**
@@ -126,6 +138,8 @@ public interface ActionOrBuilder
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return Whether the publishFindingsToCloudDataCatalog field is set.
*/
boolean hasPublishFindingsToCloudDataCatalog();
/**
@@ -138,6 +152,8 @@ public interface ActionOrBuilder
*
* .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
*
+ *
+ * @return The publishFindingsToCloudDataCatalog.
*/
com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog();
@@ -164,6 +180,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return Whether the jobNotificationEmails field is set.
*/
boolean hasJobNotificationEmails();
/**
@@ -175,6 +193,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
+ *
+ * @return The jobNotificationEmails.
*/
com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails();
/**
@@ -198,6 +218,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return Whether the publishToStackdriver field is set.
*/
boolean hasPublishToStackdriver();
/**
@@ -208,6 +230,8 @@ public interface ActionOrBuilder
*
*
* .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;
+ *
+ * @return The publishToStackdriver.
*/
com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java
index 3b5aff07..00b3f066 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java
@@ -41,6 +41,12 @@ private ActivateJobTriggerRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ActivateJobTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ActivateJobTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -485,6 +494,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -508,6 +519,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -552,6 +568,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -570,6 +588,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java
index f3becace..9dc792b7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface ActivateJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface ActivateJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java
index eca34350..ded8ba74 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java
@@ -39,6 +39,12 @@ private AnalyzeDataSourceRiskDetails(com.google.protobuf.GeneratedMessageV3.Buil
private AnalyzeDataSourceRiskDetails() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AnalyzeDataSourceRiskDetails();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private AnalyzeDataSourceRiskDetails(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -289,6 +294,8 @@ public interface NumericalStatsResultOrBuilder
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return Whether the minValue field is set.
*/
boolean hasMinValue();
/**
@@ -299,6 +306,8 @@ public interface NumericalStatsResultOrBuilder
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return The minValue.
*/
com.google.privacy.dlp.v2.Value getMinValue();
/**
@@ -320,6 +329,8 @@ public interface NumericalStatsResultOrBuilder
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return Whether the maxValue field is set.
*/
boolean hasMaxValue();
/**
@@ -330,6 +341,8 @@ public interface NumericalStatsResultOrBuilder
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return The maxValue.
*/
com.google.privacy.dlp.v2.Value getMaxValue();
/**
@@ -423,6 +436,12 @@ private NumericalStatsResult() {
quantileValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new NumericalStatsResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -479,9 +498,9 @@ private NumericalStatsResult(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
quantileValues_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
quantileValues_.add(
input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry));
@@ -501,7 +520,7 @@ private NumericalStatsResult(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
}
this.unknownFields = unknownFields.build();
@@ -525,7 +544,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.class);
}
- private int bitField0_;
public static final int MIN_VALUE_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.Value minValue_;
/**
@@ -536,6 +554,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return Whether the minValue field is set.
*/
public boolean hasMinValue() {
return minValue_ != null;
@@ -548,6 +568,8 @@ public boolean hasMinValue() {
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return The minValue.
*/
public com.google.privacy.dlp.v2.Value getMinValue() {
return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_;
@@ -575,6 +597,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return Whether the maxValue field is set.
*/
public boolean hasMaxValue() {
return maxValue_ != null;
@@ -587,6 +611,8 @@ public boolean hasMaxValue() {
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return The maxValue.
*/
public com.google.privacy.dlp.v2.Value getMaxValue() {
return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_;
@@ -935,7 +961,7 @@ public Builder clear() {
}
if (quantileValuesBuilder_ == null) {
quantileValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
quantileValuesBuilder_.clear();
}
@@ -971,7 +997,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result =
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (minValueBuilder_ == null) {
result.minValue_ = minValue_;
} else {
@@ -983,15 +1008,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu
result.maxValue_ = maxValueBuilder_.build();
}
if (quantileValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.quantileValues_ = quantileValues_;
} else {
result.quantileValues_ = quantileValuesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1059,7 +1083,7 @@ public Builder mergeFrom(
if (!other.quantileValues_.isEmpty()) {
if (quantileValues_.isEmpty()) {
quantileValues_ = other.quantileValues_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQuantileValuesIsMutable();
quantileValues_.addAll(other.quantileValues_);
@@ -1072,7 +1096,7 @@ public Builder mergeFrom(
quantileValuesBuilder_.dispose();
quantileValuesBuilder_ = null;
quantileValues_ = other.quantileValues_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
quantileValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getQuantileValuesFieldBuilder()
@@ -1130,6 +1154,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return Whether the minValue field is set.
*/
public boolean hasMinValue() {
return minValueBuilder_ != null || minValue_ != null;
@@ -1142,6 +1168,8 @@ public boolean hasMinValue() {
*
*
* .google.privacy.dlp.v2.Value min_value = 1;
+ *
+ * @return The minValue.
*/
public com.google.privacy.dlp.v2.Value getMinValue() {
if (minValueBuilder_ == null) {
@@ -1311,6 +1339,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return Whether the maxValue field is set.
*/
public boolean hasMaxValue() {
return maxValueBuilder_ != null || maxValue_ != null;
@@ -1323,6 +1353,8 @@ public boolean hasMaxValue() {
*
*
* .google.privacy.dlp.v2.Value max_value = 2;
+ *
+ * @return The maxValue.
*/
public com.google.privacy.dlp.v2.Value getMaxValue() {
if (maxValueBuilder_ == null) {
@@ -1482,10 +1514,10 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() {
java.util.Collections.emptyList();
private void ensureQuantileValuesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
quantileValues_ =
new java.util.ArrayList(quantileValues_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -1711,7 +1743,7 @@ public Builder addAllQuantileValues(
public Builder clearQuantileValues() {
if (quantileValuesBuilder_ == null) {
quantileValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
quantileValuesBuilder_.clear();
@@ -1841,7 +1873,7 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int inde
com.google.privacy.dlp.v2.Value.Builder,
com.google.privacy.dlp.v2.ValueOrBuilder>(
quantileValues_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
quantileValues_ = null;
@@ -2005,6 +2037,12 @@ private CategoricalStatsResult() {
valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CategoricalStatsResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2097,6 +2135,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder
*
*
* int64 value_frequency_lower_bound = 1;
+ *
+ * @return The valueFrequencyLowerBound.
*/
long getValueFrequencyLowerBound();
@@ -2108,6 +2148,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder
*
*
* int64 value_frequency_upper_bound = 2;
+ *
+ * @return The valueFrequencyUpperBound.
*/
long getValueFrequencyUpperBound();
@@ -2119,6 +2161,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
long getBucketSize();
@@ -2187,6 +2231,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
long getBucketValueCount();
}
@@ -2210,6 +2256,12 @@ private CategoricalStatsHistogramBucket() {
bucketValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CategoricalStatsHistogramBucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2251,10 +2303,10 @@ private CategoricalStatsHistogramBucket(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
bucketValues_.add(
input.readMessage(
@@ -2281,7 +2333,7 @@ private CategoricalStatsHistogramBucket(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
}
this.unknownFields = unknownFields.build();
@@ -2306,7 +2358,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.CategoricalStatsHistogramBucket.Builder.class);
}
- private int bitField0_;
public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
private long valueFrequencyLowerBound_;
/**
@@ -2317,6 +2368,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 value_frequency_lower_bound = 1;
+ *
+ * @return The valueFrequencyLowerBound.
*/
public long getValueFrequencyLowerBound() {
return valueFrequencyLowerBound_;
@@ -2332,6 +2385,8 @@ public long getValueFrequencyLowerBound() {
*
*
* int64 value_frequency_upper_bound = 2;
+ *
+ * @return The valueFrequencyUpperBound.
*/
public long getValueFrequencyUpperBound() {
return valueFrequencyUpperBound_;
@@ -2347,6 +2402,8 @@ public long getValueFrequencyUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -2431,6 +2488,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -2721,7 +2780,7 @@ public Builder clear() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
bucketValuesBuilder_.clear();
}
@@ -2767,21 +2826,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
.CategoricalStatsHistogramBucket(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_;
result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_;
result.bucketSize_ = bucketSize_;
if (bucketValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.bucketValues_ = bucketValues_;
} else {
result.bucketValues_ = bucketValuesBuilder_.build();
}
result.bucketValueCount_ = bucketValueCount_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2857,7 +2914,7 @@ public Builder mergeFrom(
if (!other.bucketValues_.isEmpty()) {
if (bucketValues_.isEmpty()) {
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBucketValuesIsMutable();
bucketValues_.addAll(other.bucketValues_);
@@ -2870,7 +2927,7 @@ public Builder mergeFrom(
bucketValuesBuilder_.dispose();
bucketValuesBuilder_ = null;
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
bucketValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getBucketValuesFieldBuilder()
@@ -2928,6 +2985,8 @@ public Builder mergeFrom(
*
*
* int64 value_frequency_lower_bound = 1;
+ *
+ * @return The valueFrequencyLowerBound.
*/
public long getValueFrequencyLowerBound() {
return valueFrequencyLowerBound_;
@@ -2940,6 +2999,9 @@ public long getValueFrequencyLowerBound() {
*
*
* int64 value_frequency_lower_bound = 1;
+ *
+ * @param value The valueFrequencyLowerBound to set.
+ * @return This builder for chaining.
*/
public Builder setValueFrequencyLowerBound(long value) {
@@ -2955,6 +3017,8 @@ public Builder setValueFrequencyLowerBound(long value) {
*
*
* int64 value_frequency_lower_bound = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValueFrequencyLowerBound() {
@@ -2972,6 +3036,8 @@ public Builder clearValueFrequencyLowerBound() {
*
*
* int64 value_frequency_upper_bound = 2;
+ *
+ * @return The valueFrequencyUpperBound.
*/
public long getValueFrequencyUpperBound() {
return valueFrequencyUpperBound_;
@@ -2984,6 +3050,9 @@ public long getValueFrequencyUpperBound() {
*
*
* int64 value_frequency_upper_bound = 2;
+ *
+ * @param value The valueFrequencyUpperBound to set.
+ * @return This builder for chaining.
*/
public Builder setValueFrequencyUpperBound(long value) {
@@ -2999,6 +3068,8 @@ public Builder setValueFrequencyUpperBound(long value) {
*
*
* int64 value_frequency_upper_bound = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValueFrequencyUpperBound() {
@@ -3016,6 +3087,8 @@ public Builder clearValueFrequencyUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -3028,6 +3101,9 @@ public long getBucketSize() {
*
*
* int64 bucket_size = 3;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(long value) {
@@ -3043,6 +3119,8 @@ public Builder setBucketSize(long value) {
*
*
* int64 bucket_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
@@ -3055,10 +3133,10 @@ public Builder clearBucketSize() {
java.util.Collections.emptyList();
private void ensureBucketValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList(bucketValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -3285,7 +3363,7 @@ public Builder addAllBucketValues(
public Builder clearBucketValues() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bucketValuesBuilder_.clear();
@@ -3416,7 +3494,7 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(i
com.google.privacy.dlp.v2.ValueFrequency.Builder,
com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
bucketValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
bucketValues_ = null;
@@ -3433,6 +3511,8 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(i
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -3445,6 +3525,9 @@ public long getBucketValueCount() {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @param value The bucketValueCount to set.
+ * @return This builder for chaining.
*/
public Builder setBucketValueCount(long value) {
@@ -3460,6 +3543,8 @@ public Builder setBucketValueCount(long value) {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketValueCount() {
@@ -4615,6 +4700,12 @@ private KAnonymityResult() {
equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KAnonymityResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -4770,6 +4861,8 @@ public interface KAnonymityEquivalenceClassOrBuilder
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
long getEquivalenceClassSize();
}
@@ -4799,6 +4892,12 @@ private KAnonymityEquivalenceClass() {
quasiIdsValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KAnonymityEquivalenceClass();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -4879,7 +4978,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.KAnonymityEquivalenceClass.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
private java.util.List quasiIdsValues_;
/**
@@ -4965,6 +5063,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
public long getEquivalenceClassSize() {
return equivalenceClassSize_;
@@ -5273,7 +5373,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
.KAnonymityEquivalenceClass(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsValuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
@@ -5284,7 +5383,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
}
result.equivalenceClassSize_ = equivalenceClassSize_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -5812,6 +5910,8 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
public long getEquivalenceClassSize() {
return equivalenceClassSize_;
@@ -5825,6 +5925,9 @@ public long getEquivalenceClassSize() {
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @param value The equivalenceClassSize to set.
+ * @return This builder for chaining.
*/
public Builder setEquivalenceClassSize(long value) {
@@ -5841,6 +5944,8 @@ public Builder setEquivalenceClassSize(long value) {
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEquivalenceClassSize() {
@@ -5922,6 +6027,8 @@ public interface KAnonymityHistogramBucketOrBuilder
*
*
* int64 equivalence_class_size_lower_bound = 1;
+ *
+ * @return The equivalenceClassSizeLowerBound.
*/
long getEquivalenceClassSizeLowerBound();
@@ -5933,6 +6040,8 @@ public interface KAnonymityHistogramBucketOrBuilder
*
*
* int64 equivalence_class_size_upper_bound = 2;
+ *
+ * @return The equivalenceClassSizeUpperBound.
*/
long getEquivalenceClassSizeUpperBound();
@@ -5944,6 +6053,8 @@ public interface KAnonymityHistogramBucketOrBuilder
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
long getBucketSize();
@@ -6032,6 +6143,8 @@ public interface KAnonymityHistogramBucketOrBuilder
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
long getBucketValueCount();
}
@@ -6054,6 +6167,12 @@ private KAnonymityHistogramBucket() {
bucketValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KAnonymityHistogramBucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -6095,12 +6214,12 @@ private KAnonymityHistogramBucket(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
.KAnonymityEquivalenceClass>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
bucketValues_.add(
input.readMessage(
@@ -6129,7 +6248,7 @@ private KAnonymityHistogramBucket(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
}
this.unknownFields = unknownFields.build();
@@ -6154,7 +6273,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.KAnonymityHistogramBucket.Builder.class);
}
- private int bitField0_;
public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1;
private long equivalenceClassSizeLowerBound_;
/**
@@ -6165,6 +6283,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 equivalence_class_size_lower_bound = 1;
+ *
+ * @return The equivalenceClassSizeLowerBound.
*/
public long getEquivalenceClassSizeLowerBound() {
return equivalenceClassSizeLowerBound_;
@@ -6180,6 +6300,8 @@ public long getEquivalenceClassSizeLowerBound() {
*
*
* int64 equivalence_class_size_upper_bound = 2;
+ *
+ * @return The equivalenceClassSizeUpperBound.
*/
public long getEquivalenceClassSizeUpperBound() {
return equivalenceClassSizeUpperBound_;
@@ -6195,6 +6317,8 @@ public long getEquivalenceClassSizeUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -6302,6 +6426,8 @@ public int getBucketValuesCount() {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -6600,7 +6726,7 @@ public Builder clear() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
bucketValuesBuilder_.clear();
}
@@ -6646,21 +6772,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
.KAnonymityHistogramBucket(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_;
result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_;
result.bucketSize_ = bucketSize_;
if (bucketValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.bucketValues_ = bucketValues_;
} else {
result.bucketValues_ = bucketValuesBuilder_.build();
}
result.bucketValueCount_ = bucketValueCount_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -6736,7 +6860,7 @@ public Builder mergeFrom(
if (!other.bucketValues_.isEmpty()) {
if (bucketValues_.isEmpty()) {
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBucketValuesIsMutable();
bucketValues_.addAll(other.bucketValues_);
@@ -6749,7 +6873,7 @@ public Builder mergeFrom(
bucketValuesBuilder_.dispose();
bucketValuesBuilder_ = null;
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
bucketValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getBucketValuesFieldBuilder()
@@ -6807,6 +6931,8 @@ public Builder mergeFrom(
*
*
* int64 equivalence_class_size_lower_bound = 1;
+ *
+ * @return The equivalenceClassSizeLowerBound.
*/
public long getEquivalenceClassSizeLowerBound() {
return equivalenceClassSizeLowerBound_;
@@ -6819,6 +6945,9 @@ public long getEquivalenceClassSizeLowerBound() {
*
*
* int64 equivalence_class_size_lower_bound = 1;
+ *
+ * @param value The equivalenceClassSizeLowerBound to set.
+ * @return This builder for chaining.
*/
public Builder setEquivalenceClassSizeLowerBound(long value) {
@@ -6834,6 +6963,8 @@ public Builder setEquivalenceClassSizeLowerBound(long value) {
*
*
* int64 equivalence_class_size_lower_bound = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEquivalenceClassSizeLowerBound() {
@@ -6851,6 +6982,8 @@ public Builder clearEquivalenceClassSizeLowerBound() {
*
*
* int64 equivalence_class_size_upper_bound = 2;
+ *
+ * @return The equivalenceClassSizeUpperBound.
*/
public long getEquivalenceClassSizeUpperBound() {
return equivalenceClassSizeUpperBound_;
@@ -6863,6 +6996,9 @@ public long getEquivalenceClassSizeUpperBound() {
*
*
* int64 equivalence_class_size_upper_bound = 2;
+ *
+ * @param value The equivalenceClassSizeUpperBound to set.
+ * @return This builder for chaining.
*/
public Builder setEquivalenceClassSizeUpperBound(long value) {
@@ -6878,6 +7014,8 @@ public Builder setEquivalenceClassSizeUpperBound(long value) {
*
*
* int64 equivalence_class_size_upper_bound = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEquivalenceClassSizeUpperBound() {
@@ -6895,6 +7033,8 @@ public Builder clearEquivalenceClassSizeUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -6907,6 +7047,9 @@ public long getBucketSize() {
*
*
* int64 bucket_size = 3;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(long value) {
@@ -6922,6 +7065,8 @@ public Builder setBucketSize(long value) {
*
*
* int64 bucket_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
@@ -6936,12 +7081,12 @@ public Builder clearBucketSize() {
bucketValues_ = java.util.Collections.emptyList();
private void ensureBucketValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
.KAnonymityEquivalenceClass>(bucketValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -7221,7 +7366,7 @@ public Builder addAllBucketValues(
public Builder clearBucketValues() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bucketValuesBuilder_.clear();
@@ -7389,7 +7534,7 @@ public Builder removeBucketValues(int index) {
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
.KAnonymityEquivalenceClassOrBuilder>(
bucketValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
bucketValues_ = null;
@@ -7406,6 +7551,8 @@ public Builder removeBucketValues(int index) {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -7418,6 +7565,9 @@ public long getBucketValueCount() {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @param value The bucketValueCount to set.
+ * @return This builder for chaining.
*/
public Builder setBucketValueCount(long value) {
@@ -7433,6 +7583,8 @@ public Builder setBucketValueCount(long value) {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketValueCount() {
@@ -8579,6 +8731,12 @@ private LDiversityResult() {
sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LDiversityResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -8728,6 +8886,8 @@ public interface LDiversityEquivalenceClassOrBuilder
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
long getEquivalenceClassSize();
@@ -8739,6 +8899,8 @@ public interface LDiversityEquivalenceClassOrBuilder
*
*
* int64 num_distinct_sensitive_values = 3;
+ *
+ * @return The numDistinctSensitiveValues.
*/
long getNumDistinctSensitiveValues();
@@ -8821,6 +8983,12 @@ private LDiversityEquivalenceClass() {
topSensitiveValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LDiversityEquivalenceClass();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -8868,10 +9036,10 @@ private LDiversityEquivalenceClass(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
topSensitiveValues_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000002;
}
topSensitiveValues_.add(
input.readMessage(
@@ -8896,7 +9064,7 @@ private LDiversityEquivalenceClass(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
}
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
}
this.unknownFields = unknownFields.build();
@@ -8921,7 +9089,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.LDiversityEquivalenceClass.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
private java.util.List quasiIdsValues_;
/**
@@ -9001,6 +9168,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
public long getEquivalenceClassSize() {
return equivalenceClassSize_;
@@ -9016,6 +9185,8 @@ public long getEquivalenceClassSize() {
*
*
* int64 num_distinct_sensitive_values = 3;
+ *
+ * @return The numDistinctSensitiveValues.
*/
public long getNumDistinctSensitiveValues() {
return numDistinctSensitiveValues_;
@@ -9378,7 +9549,7 @@ public Builder clear() {
if (topSensitiveValuesBuilder_ == null) {
topSensitiveValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
topSensitiveValuesBuilder_.clear();
}
@@ -9422,7 +9593,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
.LDiversityEquivalenceClass(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsValuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
@@ -9435,15 +9605,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result.equivalenceClassSize_ = equivalenceClassSize_;
result.numDistinctSensitiveValues_ = numDistinctSensitiveValues_;
if (topSensitiveValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
topSensitiveValues_ = java.util.Collections.unmodifiableList(topSensitiveValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.topSensitiveValues_ = topSensitiveValues_;
} else {
result.topSensitiveValues_ = topSensitiveValuesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -9543,7 +9712,7 @@ public Builder mergeFrom(
if (!other.topSensitiveValues_.isEmpty()) {
if (topSensitiveValues_.isEmpty()) {
topSensitiveValues_ = other.topSensitiveValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTopSensitiveValuesIsMutable();
topSensitiveValues_.addAll(other.topSensitiveValues_);
@@ -9556,7 +9725,7 @@ public Builder mergeFrom(
topSensitiveValuesBuilder_.dispose();
topSensitiveValuesBuilder_ = null;
topSensitiveValues_ = other.topSensitiveValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
topSensitiveValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTopSensitiveValuesFieldBuilder()
@@ -9982,6 +10151,8 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return The equivalenceClassSize.
*/
public long getEquivalenceClassSize() {
return equivalenceClassSize_;
@@ -9994,6 +10165,9 @@ public long getEquivalenceClassSize() {
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @param value The equivalenceClassSize to set.
+ * @return This builder for chaining.
*/
public Builder setEquivalenceClassSize(long value) {
@@ -10009,6 +10183,8 @@ public Builder setEquivalenceClassSize(long value) {
*
*
* int64 equivalence_class_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEquivalenceClassSize() {
@@ -10026,6 +10202,8 @@ public Builder clearEquivalenceClassSize() {
*
*
* int64 num_distinct_sensitive_values = 3;
+ *
+ * @return The numDistinctSensitiveValues.
*/
public long getNumDistinctSensitiveValues() {
return numDistinctSensitiveValues_;
@@ -10038,6 +10216,9 @@ public long getNumDistinctSensitiveValues() {
*
*
* int64 num_distinct_sensitive_values = 3;
+ *
+ * @param value The numDistinctSensitiveValues to set.
+ * @return This builder for chaining.
*/
public Builder setNumDistinctSensitiveValues(long value) {
@@ -10053,6 +10234,8 @@ public Builder setNumDistinctSensitiveValues(long value) {
*
*
* int64 num_distinct_sensitive_values = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNumDistinctSensitiveValues() {
@@ -10065,11 +10248,11 @@ public Builder clearNumDistinctSensitiveValues() {
java.util.Collections.emptyList();
private void ensureTopSensitiveValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
topSensitiveValues_ =
new java.util.ArrayList(
topSensitiveValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000002;
}
}
@@ -10288,7 +10471,7 @@ public Builder addAllTopSensitiveValues(
public Builder clearTopSensitiveValues() {
if (topSensitiveValuesBuilder_ == null) {
topSensitiveValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
topSensitiveValuesBuilder_.clear();
@@ -10414,7 +10597,7 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBui
com.google.privacy.dlp.v2.ValueFrequency.Builder,
com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
topSensitiveValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
topSensitiveValues_ = null;
@@ -10496,6 +10679,8 @@ public interface LDiversityHistogramBucketOrBuilder
*
*
* int64 sensitive_value_frequency_lower_bound = 1;
+ *
+ * @return The sensitiveValueFrequencyLowerBound.
*/
long getSensitiveValueFrequencyLowerBound();
@@ -10508,6 +10693,8 @@ public interface LDiversityHistogramBucketOrBuilder
*
*
* int64 sensitive_value_frequency_upper_bound = 2;
+ *
+ * @return The sensitiveValueFrequencyUpperBound.
*/
long getSensitiveValueFrequencyUpperBound();
@@ -10519,6 +10706,8 @@ public interface LDiversityHistogramBucketOrBuilder
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
long getBucketSize();
@@ -10607,6 +10796,8 @@ public interface LDiversityHistogramBucketOrBuilder
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
long getBucketValueCount();
}
@@ -10629,6 +10820,12 @@ private LDiversityHistogramBucket() {
bucketValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LDiversityHistogramBucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -10670,12 +10867,12 @@ private LDiversityHistogramBucket(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
.LDiversityEquivalenceClass>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
bucketValues_.add(
input.readMessage(
@@ -10704,7 +10901,7 @@ private LDiversityHistogramBucket(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
}
this.unknownFields = unknownFields.build();
@@ -10729,7 +10926,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.LDiversityHistogramBucket.Builder.class);
}
- private int bitField0_;
public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1;
private long sensitiveValueFrequencyLowerBound_;
/**
@@ -10741,6 +10937,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 sensitive_value_frequency_lower_bound = 1;
+ *
+ * @return The sensitiveValueFrequencyLowerBound.
*/
public long getSensitiveValueFrequencyLowerBound() {
return sensitiveValueFrequencyLowerBound_;
@@ -10757,6 +10955,8 @@ public long getSensitiveValueFrequencyLowerBound() {
*
*
* int64 sensitive_value_frequency_upper_bound = 2;
+ *
+ * @return The sensitiveValueFrequencyUpperBound.
*/
public long getSensitiveValueFrequencyUpperBound() {
return sensitiveValueFrequencyUpperBound_;
@@ -10772,6 +10972,8 @@ public long getSensitiveValueFrequencyUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -10879,6 +11081,8 @@ public int getBucketValuesCount() {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -11177,7 +11381,7 @@ public Builder clear() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
bucketValuesBuilder_.clear();
}
@@ -11223,21 +11427,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
.LDiversityHistogramBucket(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_;
result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_;
result.bucketSize_ = bucketSize_;
if (bucketValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.bucketValues_ = bucketValues_;
} else {
result.bucketValues_ = bucketValuesBuilder_.build();
}
result.bucketValueCount_ = bucketValueCount_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -11313,7 +11515,7 @@ public Builder mergeFrom(
if (!other.bucketValues_.isEmpty()) {
if (bucketValues_.isEmpty()) {
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBucketValuesIsMutable();
bucketValues_.addAll(other.bucketValues_);
@@ -11326,7 +11528,7 @@ public Builder mergeFrom(
bucketValuesBuilder_.dispose();
bucketValuesBuilder_ = null;
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
bucketValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getBucketValuesFieldBuilder()
@@ -11385,6 +11587,8 @@ public Builder mergeFrom(
*
*
* int64 sensitive_value_frequency_lower_bound = 1;
+ *
+ * @return The sensitiveValueFrequencyLowerBound.
*/
public long getSensitiveValueFrequencyLowerBound() {
return sensitiveValueFrequencyLowerBound_;
@@ -11398,6 +11602,9 @@ public long getSensitiveValueFrequencyLowerBound() {
*
*
* int64 sensitive_value_frequency_lower_bound = 1;
+ *
+ * @param value The sensitiveValueFrequencyLowerBound to set.
+ * @return This builder for chaining.
*/
public Builder setSensitiveValueFrequencyLowerBound(long value) {
@@ -11414,6 +11621,8 @@ public Builder setSensitiveValueFrequencyLowerBound(long value) {
*
*
* int64 sensitive_value_frequency_lower_bound = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSensitiveValueFrequencyLowerBound() {
@@ -11432,6 +11641,8 @@ public Builder clearSensitiveValueFrequencyLowerBound() {
*
*
* int64 sensitive_value_frequency_upper_bound = 2;
+ *
+ * @return The sensitiveValueFrequencyUpperBound.
*/
public long getSensitiveValueFrequencyUpperBound() {
return sensitiveValueFrequencyUpperBound_;
@@ -11445,6 +11656,9 @@ public long getSensitiveValueFrequencyUpperBound() {
*
*
* int64 sensitive_value_frequency_upper_bound = 2;
+ *
+ * @param value The sensitiveValueFrequencyUpperBound to set.
+ * @return This builder for chaining.
*/
public Builder setSensitiveValueFrequencyUpperBound(long value) {
@@ -11461,6 +11675,8 @@ public Builder setSensitiveValueFrequencyUpperBound(long value) {
*
*
* int64 sensitive_value_frequency_upper_bound = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSensitiveValueFrequencyUpperBound() {
@@ -11478,6 +11694,8 @@ public Builder clearSensitiveValueFrequencyUpperBound() {
*
*
* int64 bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -11490,6 +11708,9 @@ public long getBucketSize() {
*
*
* int64 bucket_size = 3;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(long value) {
@@ -11505,6 +11726,8 @@ public Builder setBucketSize(long value) {
*
*
* int64 bucket_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
@@ -11519,12 +11742,12 @@ public Builder clearBucketSize() {
bucketValues_ = java.util.Collections.emptyList();
private void ensureBucketValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
.LDiversityEquivalenceClass>(bucketValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -11804,7 +12027,7 @@ public Builder addAllBucketValues(
public Builder clearBucketValues() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bucketValuesBuilder_.clear();
@@ -11972,7 +12195,7 @@ public Builder removeBucketValues(int index) {
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
.LDiversityEquivalenceClassOrBuilder>(
bucketValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
bucketValues_ = null;
@@ -11989,6 +12212,8 @@ public Builder removeBucketValues(int index) {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -12001,6 +12226,9 @@ public long getBucketValueCount() {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @param value The bucketValueCount to set.
+ * @return This builder for chaining.
*/
public Builder setBucketValueCount(long value) {
@@ -12016,6 +12244,8 @@ public Builder setBucketValueCount(long value) {
*
*
* int64 bucket_value_count = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketValueCount() {
@@ -13204,6 +13434,12 @@ private KMapEstimationResult() {
kMapEstimationHistogram_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KMapEstimationResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -13348,6 +13584,8 @@ public interface KMapEstimationQuasiIdValuesOrBuilder
*
*
* int64 estimated_anonymity = 2;
+ *
+ * @return The estimatedAnonymity.
*/
long getEstimatedAnonymity();
}
@@ -13377,6 +13615,12 @@ private KMapEstimationQuasiIdValues() {
quasiIdsValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KMapEstimationQuasiIdValues();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -13457,7 +13701,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.KMapEstimationQuasiIdValues.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
private java.util.List quasiIdsValues_;
/**
@@ -13532,6 +13775,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
*
*
* int64 estimated_anonymity = 2;
+ *
+ * @return The estimatedAnonymity.
*/
public long getEstimatedAnonymity() {
return estimatedAnonymity_;
@@ -13840,7 +14085,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
.KMapEstimationQuasiIdValues(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsValuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
@@ -13851,7 +14095,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
}
result.estimatedAnonymity_ = estimatedAnonymity_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -14342,6 +14585,8 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
*
*
* int64 estimated_anonymity = 2;
+ *
+ * @return The estimatedAnonymity.
*/
public long getEstimatedAnonymity() {
return estimatedAnonymity_;
@@ -14354,6 +14599,9 @@ public long getEstimatedAnonymity() {
*
*
* int64 estimated_anonymity = 2;
+ *
+ * @param value The estimatedAnonymity to set.
+ * @return This builder for chaining.
*/
public Builder setEstimatedAnonymity(long value) {
@@ -14369,6 +14617,8 @@ public Builder setEstimatedAnonymity(long value) {
*
*
* int64 estimated_anonymity = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEstimatedAnonymity() {
@@ -14450,6 +14700,8 @@ public interface KMapEstimationHistogramBucketOrBuilder
*
*
* int64 min_anonymity = 1;
+ *
+ * @return The minAnonymity.
*/
long getMinAnonymity();
@@ -14461,6 +14713,8 @@ public interface KMapEstimationHistogramBucketOrBuilder
*
*
* int64 max_anonymity = 2;
+ *
+ * @return The maxAnonymity.
*/
long getMaxAnonymity();
@@ -14472,6 +14726,8 @@ public interface KMapEstimationHistogramBucketOrBuilder
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
long getBucketSize();
@@ -14560,6 +14816,8 @@ public interface KMapEstimationHistogramBucketOrBuilder
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
long getBucketValueCount();
}
@@ -14596,6 +14854,12 @@ private KMapEstimationHistogramBucket() {
bucketValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KMapEstimationHistogramBucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -14637,12 +14901,12 @@ private KMapEstimationHistogramBucket(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
.KMapEstimationResult.KMapEstimationQuasiIdValues>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
bucketValues_.add(
input.readMessage(
@@ -14671,7 +14935,7 @@ private KMapEstimationHistogramBucket(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
}
this.unknownFields = unknownFields.build();
@@ -14696,7 +14960,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.KMapEstimationHistogramBucket.Builder.class);
}
- private int bitField0_;
public static final int MIN_ANONYMITY_FIELD_NUMBER = 1;
private long minAnonymity_;
/**
@@ -14707,6 +14970,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 min_anonymity = 1;
+ *
+ * @return The minAnonymity.
*/
public long getMinAnonymity() {
return minAnonymity_;
@@ -14722,6 +14987,8 @@ public long getMinAnonymity() {
*
*
* int64 max_anonymity = 2;
+ *
+ * @return The maxAnonymity.
*/
public long getMaxAnonymity() {
return maxAnonymity_;
@@ -14737,6 +15004,8 @@ public long getMaxAnonymity() {
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -14844,6 +15113,8 @@ public int getBucketValuesCount() {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -15145,7 +15416,7 @@ public Builder clear() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
bucketValuesBuilder_.clear();
}
@@ -15191,21 +15462,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
.KMapEstimationHistogramBucket(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.minAnonymity_ = minAnonymity_;
result.maxAnonymity_ = maxAnonymity_;
result.bucketSize_ = bucketSize_;
if (bucketValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.bucketValues_ = bucketValues_;
} else {
result.bucketValues_ = bucketValuesBuilder_.build();
}
result.bucketValueCount_ = bucketValueCount_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -15281,7 +15550,7 @@ public Builder mergeFrom(
if (!other.bucketValues_.isEmpty()) {
if (bucketValues_.isEmpty()) {
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBucketValuesIsMutable();
bucketValues_.addAll(other.bucketValues_);
@@ -15294,7 +15563,7 @@ public Builder mergeFrom(
bucketValuesBuilder_.dispose();
bucketValuesBuilder_ = null;
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
bucketValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getBucketValuesFieldBuilder()
@@ -15352,6 +15621,8 @@ public Builder mergeFrom(
*
*
* int64 min_anonymity = 1;
+ *
+ * @return The minAnonymity.
*/
public long getMinAnonymity() {
return minAnonymity_;
@@ -15364,6 +15635,9 @@ public long getMinAnonymity() {
*
*
* int64 min_anonymity = 1;
+ *
+ * @param value The minAnonymity to set.
+ * @return This builder for chaining.
*/
public Builder setMinAnonymity(long value) {
@@ -15379,6 +15653,8 @@ public Builder setMinAnonymity(long value) {
*
*
* int64 min_anonymity = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMinAnonymity() {
@@ -15396,6 +15672,8 @@ public Builder clearMinAnonymity() {
*
*
* int64 max_anonymity = 2;
+ *
+ * @return The maxAnonymity.
*/
public long getMaxAnonymity() {
return maxAnonymity_;
@@ -15408,6 +15686,9 @@ public long getMaxAnonymity() {
*
*
* int64 max_anonymity = 2;
+ *
+ * @param value The maxAnonymity to set.
+ * @return This builder for chaining.
*/
public Builder setMaxAnonymity(long value) {
@@ -15423,6 +15704,8 @@ public Builder setMaxAnonymity(long value) {
*
*
* int64 max_anonymity = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxAnonymity() {
@@ -15440,6 +15723,8 @@ public Builder clearMaxAnonymity() {
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -15452,6 +15737,9 @@ public long getBucketSize() {
*
*
* int64 bucket_size = 5;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(long value) {
@@ -15467,6 +15755,8 @@ public Builder setBucketSize(long value) {
*
*
* int64 bucket_size = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
@@ -15481,12 +15771,12 @@ public Builder clearBucketSize() {
bucketValues_ = java.util.Collections.emptyList();
private void ensureBucketValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
.KMapEstimationQuasiIdValues>(bucketValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -15766,7 +16056,7 @@ public Builder addAllBucketValues(
public Builder clearBucketValues() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bucketValuesBuilder_.clear();
@@ -15934,7 +16224,7 @@ public Builder removeBucketValues(int index) {
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
.KMapEstimationQuasiIdValuesOrBuilder>(
bucketValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
bucketValues_ = null;
@@ -15951,6 +16241,8 @@ public Builder removeBucketValues(int index) {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -15963,6 +16255,9 @@ public long getBucketValueCount() {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @param value The bucketValueCount to set.
+ * @return This builder for chaining.
*/
public Builder setBucketValueCount(long value) {
@@ -15978,6 +16273,8 @@ public Builder setBucketValueCount(long value) {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketValueCount() {
@@ -17328,6 +17625,12 @@ private DeltaPresenceEstimationResult() {
deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeltaPresenceEstimationResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -17482,6 +17785,8 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder
*
*
* double estimated_probability = 2;
+ *
+ * @return The estimatedProbability.
*/
double getEstimatedProbability();
}
@@ -17511,6 +17816,12 @@ private DeltaPresenceEstimationQuasiIdValues() {
quasiIdsValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeltaPresenceEstimationQuasiIdValues();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -17591,7 +17902,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.DeltaPresenceEstimationQuasiIdValues.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1;
private java.util.List quasiIdsValues_;
/**
@@ -17673,6 +17983,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
*
*
* double estimated_probability = 2;
+ *
+ * @return The estimatedProbability.
*/
public double getEstimatedProbability() {
return estimatedProbability_;
@@ -17987,7 +18299,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsValuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_);
@@ -17998,7 +18309,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result.quasiIdsValues_ = quasiIdsValuesBuilder_.build();
}
result.estimatedProbability_ = estimatedProbability_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -18497,6 +18807,8 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
*
*
* double estimated_probability = 2;
+ *
+ * @return The estimatedProbability.
*/
public double getEstimatedProbability() {
return estimatedProbability_;
@@ -18516,6 +18828,9 @@ public double getEstimatedProbability() {
*
*
* double estimated_probability = 2;
+ *
+ * @param value The estimatedProbability to set.
+ * @return This builder for chaining.
*/
public Builder setEstimatedProbability(double value) {
@@ -18538,6 +18853,8 @@ public Builder setEstimatedProbability(double value) {
*
*
* double estimated_probability = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEstimatedProbability() {
@@ -18619,6 +18936,8 @@ public interface DeltaPresenceEstimationHistogramBucketOrBuilder
*
*
* double min_probability = 1;
+ *
+ * @return The minProbability.
*/
double getMinProbability();
@@ -18630,6 +18949,8 @@ public interface DeltaPresenceEstimationHistogramBucketOrBuilder
*
*
* double max_probability = 2;
+ *
+ * @return The maxProbability.
*/
double getMaxProbability();
@@ -18641,6 +18962,8 @@ public interface DeltaPresenceEstimationHistogramBucketOrBuilder
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
long getBucketSize();
@@ -18729,6 +19052,8 @@ public interface DeltaPresenceEstimationHistogramBucketOrBuilder
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
long getBucketValueCount();
}
@@ -18766,6 +19091,12 @@ private DeltaPresenceEstimationHistogramBucket() {
bucketValues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeltaPresenceEstimationHistogramBucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -18807,13 +19138,13 @@ private DeltaPresenceEstimationHistogramBucket(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
.DeltaPresenceEstimationResult
.DeltaPresenceEstimationQuasiIdValues>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
bucketValues_.add(
input.readMessage(
@@ -18843,7 +19174,7 @@ private DeltaPresenceEstimationHistogramBucket(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
}
this.unknownFields = unknownFields.build();
@@ -18868,7 +19199,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.DeltaPresenceEstimationHistogramBucket.Builder.class);
}
- private int bitField0_;
public static final int MIN_PROBABILITY_FIELD_NUMBER = 1;
private double minProbability_;
/**
@@ -18879,6 +19209,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* double min_probability = 1;
+ *
+ * @return The minProbability.
*/
public double getMinProbability() {
return minProbability_;
@@ -18894,6 +19226,8 @@ public double getMinProbability() {
*
*
* double max_probability = 2;
+ *
+ * @return The maxProbability.
*/
public double getMaxProbability() {
return maxProbability_;
@@ -18909,6 +19243,8 @@ public double getMaxProbability() {
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -19016,6 +19352,8 @@ public int getBucketValuesCount() {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -19327,7 +19665,7 @@ public Builder clear() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
bucketValuesBuilder_.clear();
}
@@ -19374,21 +19712,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.minProbability_ = minProbability_;
result.maxProbability_ = maxProbability_;
result.bucketSize_ = bucketSize_;
if (bucketValuesBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.bucketValues_ = bucketValues_;
} else {
result.bucketValues_ = bucketValuesBuilder_.build();
}
result.bucketValueCount_ = bucketValueCount_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -19465,7 +19801,7 @@ public Builder mergeFrom(
if (!other.bucketValues_.isEmpty()) {
if (bucketValues_.isEmpty()) {
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBucketValuesIsMutable();
bucketValues_.addAll(other.bucketValues_);
@@ -19478,7 +19814,7 @@ public Builder mergeFrom(
bucketValuesBuilder_.dispose();
bucketValuesBuilder_ = null;
bucketValues_ = other.bucketValues_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
bucketValuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getBucketValuesFieldBuilder()
@@ -19536,6 +19872,8 @@ public Builder mergeFrom(
*
*
* double min_probability = 1;
+ *
+ * @return The minProbability.
*/
public double getMinProbability() {
return minProbability_;
@@ -19548,6 +19886,9 @@ public double getMinProbability() {
*
*
* double min_probability = 1;
+ *
+ * @param value The minProbability to set.
+ * @return This builder for chaining.
*/
public Builder setMinProbability(double value) {
@@ -19563,6 +19904,8 @@ public Builder setMinProbability(double value) {
*
*
* double min_probability = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMinProbability() {
@@ -19580,6 +19923,8 @@ public Builder clearMinProbability() {
*
*
* double max_probability = 2;
+ *
+ * @return The maxProbability.
*/
public double getMaxProbability() {
return maxProbability_;
@@ -19592,6 +19937,9 @@ public double getMaxProbability() {
*
*
* double max_probability = 2;
+ *
+ * @param value The maxProbability to set.
+ * @return This builder for chaining.
*/
public Builder setMaxProbability(double value) {
@@ -19607,6 +19955,8 @@ public Builder setMaxProbability(double value) {
*
*
* double max_probability = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxProbability() {
@@ -19624,6 +19974,8 @@ public Builder clearMaxProbability() {
*
*
* int64 bucket_size = 5;
+ *
+ * @return The bucketSize.
*/
public long getBucketSize() {
return bucketSize_;
@@ -19636,6 +19988,9 @@ public long getBucketSize() {
*
*
* int64 bucket_size = 5;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(long value) {
@@ -19651,6 +20006,8 @@ public Builder setBucketSize(long value) {
*
*
* int64 bucket_size = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
@@ -19665,13 +20022,13 @@ public Builder clearBucketSize() {
bucketValues_ = java.util.Collections.emptyList();
private void ensureBucketValuesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
bucketValues_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues>(
bucketValues_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -19951,7 +20308,7 @@ public Builder addAllBucketValues(
public Builder clearBucketValues() {
if (bucketValuesBuilder_ == null) {
bucketValues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bucketValuesBuilder_.clear();
@@ -20123,7 +20480,7 @@ public Builder removeBucketValues(int index) {
.DeltaPresenceEstimationResult
.DeltaPresenceEstimationQuasiIdValuesOrBuilder>(
bucketValues_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
bucketValues_ = null;
@@ -20140,6 +20497,8 @@ public Builder removeBucketValues(int index) {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return The bucketValueCount.
*/
public long getBucketValueCount() {
return bucketValueCount_;
@@ -20152,6 +20511,9 @@ public long getBucketValueCount() {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @param value The bucketValueCount to set.
+ * @return This builder for chaining.
*/
public Builder setBucketValueCount(long value) {
@@ -20167,6 +20529,8 @@ public Builder setBucketValueCount(long value) {
*
*
* int64 bucket_value_count = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketValueCount() {
@@ -21414,7 +21778,10 @@ public com.google.protobuf.Parser getParserForTyp
private int resultCase_ = 0;
private java.lang.Object result_;
- public enum ResultCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ResultCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NUMERICAL_STATS_RESULT(3),
CATEGORICAL_STATS_RESULT(4),
K_ANONYMITY_RESULT(5),
@@ -21427,7 +21794,11 @@ public enum ResultCase implements com.google.protobuf.Internal.EnumLite {
private ResultCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ResultCase valueOf(int value) {
return forNumber(value);
@@ -21473,6 +21844,8 @@ public ResultCase getResultCase() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return Whether the requestedPrivacyMetric field is set.
*/
public boolean hasRequestedPrivacyMetric() {
return requestedPrivacyMetric_ != null;
@@ -21485,6 +21858,8 @@ public boolean hasRequestedPrivacyMetric() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return The requestedPrivacyMetric.
*/
public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() {
return requestedPrivacyMetric_ == null
@@ -21514,6 +21889,8 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return Whether the requestedSourceTable field is set.
*/
public boolean hasRequestedSourceTable() {
return requestedSourceTable_ != null;
@@ -21526,6 +21903,8 @@ public boolean hasRequestedSourceTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return The requestedSourceTable.
*/
public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() {
return requestedSourceTable_ == null
@@ -21550,6 +21929,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return Whether the numericalStatsResult field is set.
*/
public boolean hasNumericalStatsResult() {
return resultCase_ == 3;
@@ -21558,6 +21939,8 @@ public boolean hasNumericalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return The numericalStatsResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
getNumericalStatsResult() {
@@ -21586,6 +21969,8 @@ public boolean hasNumericalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return Whether the categoricalStatsResult field is set.
*/
public boolean hasCategoricalStatsResult() {
return resultCase_ == 4;
@@ -21594,6 +21979,8 @@ public boolean hasCategoricalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return The categoricalStatsResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
getCategoricalStatsResult() {
@@ -21624,6 +22011,8 @@ public boolean hasCategoricalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return Whether the kAnonymityResult field is set.
*/
public boolean hasKAnonymityResult() {
return resultCase_ == 5;
@@ -21632,6 +22021,8 @@ public boolean hasKAnonymityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return The kAnonymityResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
getKAnonymityResult() {
@@ -21660,6 +22051,8 @@ public boolean hasKAnonymityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return Whether the lDiversityResult field is set.
*/
public boolean hasLDiversityResult() {
return resultCase_ == 6;
@@ -21668,6 +22061,8 @@ public boolean hasLDiversityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return The lDiversityResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
getLDiversityResult() {
@@ -21696,6 +22091,8 @@ public boolean hasLDiversityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return Whether the kMapEstimationResult field is set.
*/
public boolean hasKMapEstimationResult() {
return resultCase_ == 7;
@@ -21704,6 +22101,8 @@ public boolean hasKMapEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return The kMapEstimationResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
getKMapEstimationResult() {
@@ -21732,6 +22131,8 @@ public boolean hasKMapEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return Whether the deltaPresenceEstimationResult field is set.
*/
public boolean hasDeltaPresenceEstimationResult() {
return resultCase_ == 9;
@@ -21740,6 +22141,8 @@ public boolean hasDeltaPresenceEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return The deltaPresenceEstimationResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
getDeltaPresenceEstimationResult() {
@@ -22353,6 +22756,8 @@ public Builder clearResult() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return Whether the requestedPrivacyMetric field is set.
*/
public boolean hasRequestedPrivacyMetric() {
return requestedPrivacyMetricBuilder_ != null || requestedPrivacyMetric_ != null;
@@ -22365,6 +22770,8 @@ public boolean hasRequestedPrivacyMetric() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return The requestedPrivacyMetric.
*/
public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() {
if (requestedPrivacyMetricBuilder_ == null) {
@@ -22535,6 +22942,8 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return Whether the requestedSourceTable field is set.
*/
public boolean hasRequestedSourceTable() {
return requestedSourceTableBuilder_ != null || requestedSourceTable_ != null;
@@ -22547,6 +22956,8 @@ public boolean hasRequestedSourceTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return The requestedSourceTable.
*/
public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() {
if (requestedSourceTableBuilder_ == null) {
@@ -22712,6 +23123,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return Whether the numericalStatsResult field is set.
*/
public boolean hasNumericalStatsResult() {
return resultCase_ == 3;
@@ -22720,6 +23133,8 @@ public boolean hasNumericalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return The numericalStatsResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
getNumericalStatsResult() {
@@ -22897,6 +23312,8 @@ public Builder clearNumericalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return Whether the categoricalStatsResult field is set.
*/
public boolean hasCategoricalStatsResult() {
return resultCase_ == 4;
@@ -22905,6 +23322,8 @@ public boolean hasCategoricalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return The categoricalStatsResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
getCategoricalStatsResult() {
@@ -23084,6 +23503,8 @@ public Builder clearCategoricalStatsResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return Whether the kAnonymityResult field is set.
*/
public boolean hasKAnonymityResult() {
return resultCase_ == 5;
@@ -23092,6 +23513,8 @@ public boolean hasKAnonymityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return The kAnonymityResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult
getKAnonymityResult() {
@@ -23264,6 +23687,8 @@ public Builder clearKAnonymityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return Whether the lDiversityResult field is set.
*/
public boolean hasLDiversityResult() {
return resultCase_ == 6;
@@ -23272,6 +23697,8 @@ public boolean hasLDiversityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return The lDiversityResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult
getLDiversityResult() {
@@ -23444,6 +23871,8 @@ public Builder clearLDiversityResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return Whether the kMapEstimationResult field is set.
*/
public boolean hasKMapEstimationResult() {
return resultCase_ == 7;
@@ -23452,6 +23881,8 @@ public boolean hasKMapEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return The kMapEstimationResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
getKMapEstimationResult() {
@@ -23631,6 +24062,8 @@ public Builder clearKMapEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return Whether the deltaPresenceEstimationResult field is set.
*/
public boolean hasDeltaPresenceEstimationResult() {
return resultCase_ == 9;
@@ -23639,6 +24072,8 @@ public boolean hasDeltaPresenceEstimationResult() {
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return The deltaPresenceEstimationResult.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
getDeltaPresenceEstimationResult() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java
index 65540126..b8b5d1b3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java
@@ -31,6 +31,8 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return Whether the requestedPrivacyMetric field is set.
*/
boolean hasRequestedPrivacyMetric();
/**
@@ -41,6 +43,8 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1;
+ *
+ * @return The requestedPrivacyMetric.
*/
com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric();
/**
@@ -62,6 +66,8 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return Whether the requestedSourceTable field is set.
*/
boolean hasRequestedSourceTable();
/**
@@ -72,6 +78,8 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2;
+ *
+ * @return The requestedSourceTable.
*/
com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable();
/**
@@ -89,12 +97,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return Whether the numericalStatsResult field is set.
*/
boolean hasNumericalStatsResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3;
*
+ *
+ * @return The numericalStatsResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
getNumericalStatsResult();
@@ -110,12 +122,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return Whether the categoricalStatsResult field is set.
*/
boolean hasCategoricalStatsResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4;
*
+ *
+ * @return The categoricalStatsResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult
getCategoricalStatsResult();
@@ -131,12 +147,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return Whether the kAnonymityResult field is set.
*/
boolean hasKAnonymityResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5;
*
+ *
+ * @return The kAnonymityResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult();
/**
@@ -151,12 +171,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return Whether the lDiversityResult field is set.
*/
boolean hasLDiversityResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6;
*
+ *
+ * @return The lDiversityResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult();
/**
@@ -171,12 +195,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return Whether the kMapEstimationResult field is set.
*/
boolean hasKMapEstimationResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7;
*
+ *
+ * @return The kMapEstimationResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
getKMapEstimationResult();
@@ -192,12 +220,16 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return Whether the deltaPresenceEstimationResult field is set.
*/
boolean hasDeltaPresenceEstimationResult();
/**
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
*
+ *
+ * @return The deltaPresenceEstimationResult.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
getDeltaPresenceEstimationResult();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java
index 7b4a6f9f..f4b6d12e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java
@@ -39,6 +39,12 @@ private BigQueryField(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private BigQueryField() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BigQueryField();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private BigQueryField(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return table_ != null;
@@ -150,6 +157,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_;
@@ -177,6 +186,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -189,6 +200,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -575,6 +588,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return tableBuilder_ != null || table_ != null;
@@ -587,6 +602,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (tableBuilder_ == null) {
@@ -756,6 +773,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -768,6 +787,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java
index e48f2c59..2cc7e6d2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java
@@ -31,6 +31,8 @@ public interface BigQueryFieldOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -41,6 +43,8 @@ public interface BigQueryFieldOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
com.google.privacy.dlp.v2.BigQueryTable getTable();
/**
@@ -62,6 +66,8 @@ public interface BigQueryFieldOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -72,6 +78,8 @@ public interface BigQueryFieldOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java
index cf46d12d..92a6eec7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java
@@ -39,6 +39,12 @@ private BigQueryKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private BigQueryKey() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BigQueryKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private BigQueryKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReference_ != null;
@@ -140,6 +147,8 @@ public boolean hasTableReference() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTableReference() {
return tableReference_ == null
@@ -170,6 +179,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
*
*
* int64 row_number = 2;
+ *
+ * @return The rowNumber.
*/
public long getRowNumber() {
return rowNumber_;
@@ -530,6 +541,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReferenceBuilder_ != null || tableReference_ != null;
@@ -542,6 +555,8 @@ public boolean hasTableReference() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTableReference() {
if (tableReferenceBuilder_ == null) {
@@ -708,6 +723,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
*
*
* int64 row_number = 2;
+ *
+ * @return The rowNumber.
*/
public long getRowNumber() {
return rowNumber_;
@@ -721,6 +738,9 @@ public long getRowNumber() {
*
*
* int64 row_number = 2;
+ *
+ * @param value The rowNumber to set.
+ * @return This builder for chaining.
*/
public Builder setRowNumber(long value) {
@@ -737,6 +757,8 @@ public Builder setRowNumber(long value) {
*
*
* int64 row_number = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowNumber() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java
index 1e858932..1a4f91fa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java
@@ -31,6 +31,8 @@ public interface BigQueryKeyOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
boolean hasTableReference();
/**
@@ -41,6 +43,8 @@ public interface BigQueryKeyOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
com.google.privacy.dlp.v2.BigQueryTable getTableReference();
/**
@@ -63,6 +67,8 @@ public interface BigQueryKeyOrBuilder
*
*
* int64 row_number = 2;
+ *
+ * @return The rowNumber.
*/
long getRowNumber();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
index 3f0353a6..6374a342 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
@@ -43,6 +43,12 @@ private BigQueryOptions() {
excludedFields_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BigQueryOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -85,9 +91,9 @@ private BigQueryOptions(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
identifyingFields_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
identifyingFields_.add(
input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
@@ -107,9 +113,9 @@ private BigQueryOptions(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
excludedFields_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
excludedFields_.add(
input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
@@ -134,10 +140,10 @@ private BigQueryOptions(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
excludedFields_ = java.util.Collections.unmodifiableList(excludedFields_);
}
this.unknownFields = unknownFields.build();
@@ -228,12 +234,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SampleMethod valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static SampleMethod forNumber(int value) {
switch (value) {
case 0:
@@ -291,7 +305,6 @@ private SampleMethod(int value) {
// @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.BigQueryOptions.SampleMethod)
}
- private int bitField0_;
public static final int TABLE_REFERENCE_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.BigQueryTable tableReference_;
/**
@@ -302,6 +315,8 @@ private SampleMethod(int value) {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReference_ != null;
@@ -314,6 +329,8 @@ public boolean hasTableReference() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTableReference() {
return tableReference_ == null
@@ -415,6 +432,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
*
*
* int64 rows_limit = 3;
+ *
+ * @return The rowsLimit.
*/
public long getRowsLimit() {
return rowsLimit_;
@@ -434,6 +453,8 @@ public long getRowsLimit() {
*
*
* int32 rows_limit_percent = 6;
+ *
+ * @return The rowsLimitPercent.
*/
public int getRowsLimitPercent() {
return rowsLimitPercent_;
@@ -441,11 +462,19 @@ public int getRowsLimitPercent() {
public static final int SAMPLE_METHOD_FIELD_NUMBER = 4;
private int sampleMethod_;
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
public int getSampleMethodValue() {
return sampleMethod_;
}
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The sampleMethod.
+ */
public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result =
@@ -798,7 +827,7 @@ public Builder clear() {
}
if (identifyingFieldsBuilder_ == null) {
identifyingFields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
identifyingFieldsBuilder_.clear();
}
@@ -810,7 +839,7 @@ public Builder clear() {
if (excludedFieldsBuilder_ == null) {
excludedFields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
excludedFieldsBuilder_.clear();
}
@@ -842,16 +871,15 @@ public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() {
com.google.privacy.dlp.v2.BigQueryOptions result =
new com.google.privacy.dlp.v2.BigQueryOptions(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (tableReferenceBuilder_ == null) {
result.tableReference_ = tableReference_;
} else {
result.tableReference_ = tableReferenceBuilder_.build();
}
if (identifyingFieldsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.identifyingFields_ = identifyingFields_;
} else {
@@ -861,15 +889,14 @@ public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() {
result.rowsLimitPercent_ = rowsLimitPercent_;
result.sampleMethod_ = sampleMethod_;
if (excludedFieldsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
excludedFields_ = java.util.Collections.unmodifiableList(excludedFields_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.excludedFields_ = excludedFields_;
} else {
result.excludedFields_ = excludedFieldsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -926,7 +953,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) {
if (!other.identifyingFields_.isEmpty()) {
if (identifyingFields_.isEmpty()) {
identifyingFields_ = other.identifyingFields_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIdentifyingFieldsIsMutable();
identifyingFields_.addAll(other.identifyingFields_);
@@ -939,7 +966,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) {
identifyingFieldsBuilder_.dispose();
identifyingFieldsBuilder_ = null;
identifyingFields_ = other.identifyingFields_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
identifyingFieldsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getIdentifyingFieldsFieldBuilder()
@@ -962,7 +989,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) {
if (!other.excludedFields_.isEmpty()) {
if (excludedFields_.isEmpty()) {
excludedFields_ = other.excludedFields_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureExcludedFieldsIsMutable();
excludedFields_.addAll(other.excludedFields_);
@@ -975,7 +1002,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) {
excludedFieldsBuilder_.dispose();
excludedFieldsBuilder_ = null;
excludedFields_ = other.excludedFields_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
excludedFieldsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getExcludedFieldsFieldBuilder()
@@ -1030,6 +1057,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReferenceBuilder_ != null || tableReference_ != null;
@@ -1042,6 +1071,8 @@ public boolean hasTableReference() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTableReference() {
if (tableReferenceBuilder_ == null) {
@@ -1202,10 +1233,10 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
java.util.Collections.emptyList();
private void ensureIdentifyingFieldsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
identifyingFields_ =
new java.util.ArrayList(identifyingFields_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -1431,7 +1462,7 @@ public Builder addAllIdentifyingFields(
public Builder clearIdentifyingFields() {
if (identifyingFieldsBuilder_ == null) {
identifyingFields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
identifyingFieldsBuilder_.clear();
@@ -1561,7 +1592,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
com.google.privacy.dlp.v2.FieldId.Builder,
com.google.privacy.dlp.v2.FieldIdOrBuilder>(
identifyingFields_,
- ((bitField0_ & 0x00000002) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
identifyingFields_ = null;
@@ -1581,6 +1612,8 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
*
*
* int64 rows_limit = 3;
+ *
+ * @return The rowsLimit.
*/
public long getRowsLimit() {
return rowsLimit_;
@@ -1596,6 +1629,9 @@ public long getRowsLimit() {
*
*
* int64 rows_limit = 3;
+ *
+ * @param value The rowsLimit to set.
+ * @return This builder for chaining.
*/
public Builder setRowsLimit(long value) {
@@ -1614,6 +1650,8 @@ public Builder setRowsLimit(long value) {
*
*
* int64 rows_limit = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowsLimit() {
@@ -1635,6 +1673,8 @@ public Builder clearRowsLimit() {
*
*
* int32 rows_limit_percent = 6;
+ *
+ * @return The rowsLimitPercent.
*/
public int getRowsLimitPercent() {
return rowsLimitPercent_;
@@ -1651,6 +1691,9 @@ public int getRowsLimitPercent() {
*
*
* int32 rows_limit_percent = 6;
+ *
+ * @param value The rowsLimitPercent to set.
+ * @return This builder for chaining.
*/
public Builder setRowsLimitPercent(int value) {
@@ -1670,6 +1713,8 @@ public Builder setRowsLimitPercent(int value) {
*
*
* int32 rows_limit_percent = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowsLimitPercent() {
@@ -1679,17 +1724,30 @@ public Builder clearRowsLimitPercent() {
}
private int sampleMethod_ = 0;
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
public int getSampleMethodValue() {
return sampleMethod_;
}
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @param value The enum numeric value on the wire for sampleMethod to set.
+ * @return This builder for chaining.
+ */
public Builder setSampleMethodValue(int value) {
sampleMethod_ = value;
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The sampleMethod.
+ */
public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result =
@@ -1698,7 +1756,12 @@ public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod()
? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED
: result;
}
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @param value The sampleMethod to set.
+ * @return This builder for chaining.
+ */
public Builder setSampleMethod(com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod value) {
if (value == null) {
throw new NullPointerException();
@@ -1708,7 +1771,11 @@ public Builder setSampleMethod(com.google.privacy.dlp.v2.BigQueryOptions.SampleM
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearSampleMethod() {
sampleMethod_ = 0;
@@ -1720,10 +1787,10 @@ public Builder clearSampleMethod() {
java.util.Collections.emptyList();
private void ensureExcludedFieldsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
excludedFields_ =
new java.util.ArrayList(excludedFields_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
@@ -1949,7 +2016,7 @@ public Builder addAllExcludedFields(
public Builder clearExcludedFields() {
if (excludedFieldsBuilder_ == null) {
excludedFields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
excludedFieldsBuilder_.clear();
@@ -2079,7 +2146,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int in
com.google.privacy.dlp.v2.FieldId.Builder,
com.google.privacy.dlp.v2.FieldIdOrBuilder>(
excludedFields_,
- ((bitField0_ & 0x00000020) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
excludedFields_ = null;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java
index 977319d6..46f0b674 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java
@@ -31,6 +31,8 @@ public interface BigQueryOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return Whether the tableReference field is set.
*/
boolean hasTableReference();
/**
@@ -41,6 +43,8 @@ public interface BigQueryOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table_reference = 1;
+ *
+ * @return The tableReference.
*/
com.google.privacy.dlp.v2.BigQueryTable getTableReference();
/**
@@ -122,6 +126,8 @@ public interface BigQueryOptionsOrBuilder
*
*
* int64 rows_limit = 3;
+ *
+ * @return The rowsLimit.
*/
long getRowsLimit();
@@ -137,12 +143,22 @@ public interface BigQueryOptionsOrBuilder
*
*
* int32 rows_limit_percent = 6;
+ *
+ * @return The rowsLimitPercent.
*/
int getRowsLimitPercent();
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
int getSampleMethodValue();
- /** .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;
+ *
+ * @return The sampleMethod.
+ */
com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java
index eb7e2a41..b2ed3688 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java
@@ -47,6 +47,12 @@ private BigQueryTable() {
tableId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BigQueryTable();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -60,7 +66,6 @@ private BigQueryTable(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -158,6 +165,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -181,6 +190,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
public java.lang.String getDatasetId() {
java.lang.Object ref = datasetId_;
@@ -201,6 +212,8 @@ public java.lang.String getDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
public com.google.protobuf.ByteString getDatasetIdBytes() {
java.lang.Object ref = datasetId_;
@@ -224,6 +237,8 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -244,6 +259,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -618,6 +635,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -639,6 +658,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -660,6 +681,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -679,6 +703,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -695,6 +721,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -716,6 +745,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
public java.lang.String getDatasetId() {
java.lang.Object ref = datasetId_;
@@ -736,6 +767,8 @@ public java.lang.String getDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
public com.google.protobuf.ByteString getDatasetIdBytes() {
java.lang.Object ref = datasetId_;
@@ -756,6 +789,9 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
* string dataset_id = 2;
+ *
+ * @param value The datasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetId(java.lang.String value) {
if (value == null) {
@@ -774,6 +810,8 @@ public Builder setDatasetId(java.lang.String value) {
*
*
* string dataset_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDatasetId() {
@@ -789,6 +827,9 @@ public Builder clearDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @param value The bytes for datasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -810,6 +851,8 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -830,6 +873,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -850,6 +895,9 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* string table_id = 3;
+ *
+ * @param value The tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableId(java.lang.String value) {
if (value == null) {
@@ -868,6 +916,8 @@ public Builder setTableId(java.lang.String value) {
*
*
* string table_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableId() {
@@ -883,6 +933,9 @@ public Builder clearTableId() {
*
*
* string table_id = 3;
+ *
+ * @param value The bytes for tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java
index 8d86b9a4..7844ee79 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java
@@ -32,6 +32,8 @@ public interface BigQueryTableOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -43,6 +45,8 @@ public interface BigQueryTableOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -54,6 +58,8 @@ public interface BigQueryTableOrBuilder
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
java.lang.String getDatasetId();
/**
@@ -64,6 +70,8 @@ public interface BigQueryTableOrBuilder
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
com.google.protobuf.ByteString getDatasetIdBytes();
@@ -75,6 +83,8 @@ public interface BigQueryTableOrBuilder
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
java.lang.String getTableId();
/**
@@ -85,6 +95,8 @@ public interface BigQueryTableOrBuilder
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
com.google.protobuf.ByteString getTableIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java
index 161efa2e..af3c6a56 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java
@@ -39,6 +39,12 @@ private BoundingBox(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private BoundingBox() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BoundingBox();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private BoundingBox(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 top = 1;
+ *
+ * @return The top.
*/
public int getTop() {
return top_;
@@ -142,6 +149,8 @@ public int getTop() {
*
*
* int32 left = 2;
+ *
+ * @return The left.
*/
public int getLeft() {
return left_;
@@ -157,6 +166,8 @@ public int getLeft() {
*
*
* int32 width = 3;
+ *
+ * @return The width.
*/
public int getWidth() {
return width_;
@@ -172,6 +183,8 @@ public int getWidth() {
*
*
* int32 height = 4;
+ *
+ * @return The height.
*/
public int getHeight() {
return height_;
@@ -544,6 +557,8 @@ public Builder mergeFrom(
*
*
* int32 top = 1;
+ *
+ * @return The top.
*/
public int getTop() {
return top_;
@@ -556,6 +571,9 @@ public int getTop() {
*
*
* int32 top = 1;
+ *
+ * @param value The top to set.
+ * @return This builder for chaining.
*/
public Builder setTop(int value) {
@@ -571,6 +589,8 @@ public Builder setTop(int value) {
*
*
* int32 top = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTop() {
@@ -588,6 +608,8 @@ public Builder clearTop() {
*
*
* int32 left = 2;
+ *
+ * @return The left.
*/
public int getLeft() {
return left_;
@@ -600,6 +622,9 @@ public int getLeft() {
*
*
* int32 left = 2;
+ *
+ * @param value The left to set.
+ * @return This builder for chaining.
*/
public Builder setLeft(int value) {
@@ -615,6 +640,8 @@ public Builder setLeft(int value) {
*
*
* int32 left = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLeft() {
@@ -632,6 +659,8 @@ public Builder clearLeft() {
*
*
* int32 width = 3;
+ *
+ * @return The width.
*/
public int getWidth() {
return width_;
@@ -644,6 +673,9 @@ public int getWidth() {
*
*
* int32 width = 3;
+ *
+ * @param value The width to set.
+ * @return This builder for chaining.
*/
public Builder setWidth(int value) {
@@ -659,6 +691,8 @@ public Builder setWidth(int value) {
*
*
* int32 width = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWidth() {
@@ -676,6 +710,8 @@ public Builder clearWidth() {
*
*
* int32 height = 4;
+ *
+ * @return The height.
*/
public int getHeight() {
return height_;
@@ -688,6 +724,9 @@ public int getHeight() {
*
*
* int32 height = 4;
+ *
+ * @param value The height to set.
+ * @return This builder for chaining.
*/
public Builder setHeight(int value) {
@@ -703,6 +742,8 @@ public Builder setHeight(int value) {
*
*
* int32 height = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearHeight() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java
index 84820353..30e39eb7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java
@@ -31,6 +31,8 @@ public interface BoundingBoxOrBuilder
*
*
* int32 top = 1;
+ *
+ * @return The top.
*/
int getTop();
@@ -42,6 +44,8 @@ public interface BoundingBoxOrBuilder
*
*
* int32 left = 2;
+ *
+ * @return The left.
*/
int getLeft();
@@ -53,6 +57,8 @@ public interface BoundingBoxOrBuilder
*
*
* int32 width = 3;
+ *
+ * @return The width.
*/
int getWidth();
@@ -64,6 +70,8 @@ public interface BoundingBoxOrBuilder
*
*
* int32 height = 4;
+ *
+ * @return The height.
*/
int getHeight();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java
index 4028fdc0..d8b8d788 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java
@@ -49,6 +49,12 @@ private BucketingConfig() {
buckets_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BucketingConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -137,6 +143,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return Whether the min field is set.
*/
boolean hasMin();
/**
@@ -148,6 +156,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return The min.
*/
com.google.privacy.dlp.v2.Value getMin();
/**
@@ -170,6 +180,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return Whether the max field is set.
*/
boolean hasMax();
/**
@@ -180,6 +192,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return The max.
*/
com.google.privacy.dlp.v2.Value getMax();
/**
@@ -202,6 +216,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return Whether the replacementValue field is set.
*/
boolean hasReplacementValue();
/**
@@ -213,6 +229,8 @@ public interface BucketOrBuilder
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return The replacementValue.
*/
com.google.privacy.dlp.v2.Value getReplacementValue();
/**
@@ -248,6 +266,12 @@ private Bucket(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Bucket() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Bucket();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -261,7 +285,6 @@ private Bucket(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -362,6 +385,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return Whether the min field is set.
*/
public boolean hasMin() {
return min_ != null;
@@ -375,6 +400,8 @@ public boolean hasMin() {
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return The min.
*/
public com.google.privacy.dlp.v2.Value getMin() {
return min_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_;
@@ -403,6 +430,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return Whether the max field is set.
*/
public boolean hasMax() {
return max_ != null;
@@ -415,6 +444,8 @@ public boolean hasMax() {
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return The max.
*/
public com.google.privacy.dlp.v2.Value getMax() {
return max_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_;
@@ -443,6 +474,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return Whether the replacementValue field is set.
*/
public boolean hasReplacementValue() {
return replacementValue_ != null;
@@ -456,6 +489,8 @@ public boolean hasReplacementValue() {
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return The replacementValue.
*/
public com.google.privacy.dlp.v2.Value getReplacementValue() {
return replacementValue_ == null
@@ -881,6 +916,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return Whether the min field is set.
*/
public boolean hasMin() {
return minBuilder_ != null || min_ != null;
@@ -894,6 +931,8 @@ public boolean hasMin() {
*
*
* .google.privacy.dlp.v2.Value min = 1;
+ *
+ * @return The min.
*/
public com.google.privacy.dlp.v2.Value getMin() {
if (minBuilder_ == null) {
@@ -1063,6 +1102,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return Whether the max field is set.
*/
public boolean hasMax() {
return maxBuilder_ != null || max_ != null;
@@ -1075,6 +1116,8 @@ public boolean hasMax() {
*
*
* .google.privacy.dlp.v2.Value max = 2;
+ *
+ * @return The max.
*/
public com.google.privacy.dlp.v2.Value getMax() {
if (maxBuilder_ == null) {
@@ -1238,6 +1281,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return Whether the replacementValue field is set.
*/
public boolean hasReplacementValue() {
return replacementValueBuilder_ != null || replacementValue_ != null;
@@ -1251,6 +1296,8 @@ public boolean hasReplacementValue() {
*
*
* .google.privacy.dlp.v2.Value replacement_value = 3;
+ *
+ * @return The replacementValue.
*/
public com.google.privacy.dlp.v2.Value getReplacementValue() {
if (replacementValueBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java
index 887a8c0f..1e97f2de 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java
@@ -42,6 +42,12 @@ private ByteContentItem() {
data_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ByteContentItem();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ByteContentItem(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -158,12 +163,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static BytesType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static BytesType forNumber(int value) {
switch (value) {
case 0:
@@ -241,6 +254,8 @@ private BytesType(int value) {
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -253,6 +268,8 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() {
@SuppressWarnings("deprecation")
@@ -273,6 +290,8 @@ public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() {
*
*
* bytes data = 2;
+ *
+ * @return The data.
*/
public com.google.protobuf.ByteString getData() {
return data_;
@@ -619,6 +638,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -631,6 +652,9 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
@@ -645,6 +669,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() {
@SuppressWarnings("deprecation")
@@ -662,6 +688,9 @@ public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() {
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.google.privacy.dlp.v2.ByteContentItem.BytesType value) {
if (value == null) {
@@ -680,6 +709,8 @@ public Builder setType(com.google.privacy.dlp.v2.ByteContentItem.BytesType value
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -697,6 +728,8 @@ public Builder clearType() {
*
*
* bytes data = 2;
+ *
+ * @return The data.
*/
public com.google.protobuf.ByteString getData() {
return data_;
@@ -709,6 +742,9 @@ public com.google.protobuf.ByteString getData() {
*
*
* bytes data = 2;
+ *
+ * @param value The data to set.
+ * @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -727,6 +763,8 @@ public Builder setData(com.google.protobuf.ByteString value) {
*
*
* bytes data = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearData() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java
index 7602b2bf..232edbbd 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java
@@ -31,6 +31,8 @@ public interface ByteContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -41,6 +43,8 @@ public interface ByteContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
+ *
+ * @return The type.
*/
com.google.privacy.dlp.v2.ByteContentItem.BytesType getType();
@@ -52,6 +56,8 @@ public interface ByteContentItemOrBuilder
*
*
* bytes data = 2;
+ *
+ * @return The data.
*/
com.google.protobuf.ByteString getData();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java
index 19143d7f..ca8dd6f9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java
@@ -41,6 +41,12 @@ private CancelDlpJobRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CancelDlpJobRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CancelDlpJobRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -140,6 +147,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -480,6 +489,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -502,6 +513,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -524,6 +537,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -544,6 +560,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -561,6 +579,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java
index 682db7f7..b206b970 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface CancelDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface CancelDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java
index 5ce37f2f..eaeecd5a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java
@@ -47,6 +47,12 @@ private CharacterMaskConfig() {
charactersToIgnore_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CharacterMaskConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -90,10 +96,10 @@ private CharacterMaskConfig(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
charactersToIgnore_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
charactersToIgnore_.add(
input.readMessage(
@@ -114,7 +120,7 @@ private CharacterMaskConfig(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
charactersToIgnore_ = java.util.Collections.unmodifiableList(charactersToIgnore_);
}
this.unknownFields = unknownFields.build();
@@ -137,7 +143,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
}
- private int bitField0_;
public static final int MASKING_CHARACTER_FIELD_NUMBER = 1;
private volatile java.lang.Object maskingCharacter_;
/**
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string masking_character = 1;
+ *
+ * @return The maskingCharacter.
*/
public java.lang.String getMaskingCharacter() {
java.lang.Object ref = maskingCharacter_;
@@ -174,6 +181,8 @@ public java.lang.String getMaskingCharacter() {
*
*
* string masking_character = 1;
+ *
+ * @return The bytes for maskingCharacter.
*/
public com.google.protobuf.ByteString getMaskingCharacterBytes() {
java.lang.Object ref = maskingCharacter_;
@@ -198,6 +207,8 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() {
*
*
* int32 number_to_mask = 2;
+ *
+ * @return The numberToMask.
*/
public int getNumberToMask() {
return numberToMask_;
@@ -217,6 +228,8 @@ public int getNumberToMask() {
*
*
* bool reverse_order = 3;
+ *
+ * @return The reverseOrder.
*/
public boolean getReverseOrder() {
return reverseOrder_;
@@ -551,7 +564,7 @@ public Builder clear() {
if (charactersToIgnoreBuilder_ == null) {
charactersToIgnore_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
charactersToIgnoreBuilder_.clear();
}
@@ -583,20 +596,18 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig buildPartial() {
com.google.privacy.dlp.v2.CharacterMaskConfig result =
new com.google.privacy.dlp.v2.CharacterMaskConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.maskingCharacter_ = maskingCharacter_;
result.numberToMask_ = numberToMask_;
result.reverseOrder_ = reverseOrder_;
if (charactersToIgnoreBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
charactersToIgnore_ = java.util.Collections.unmodifiableList(charactersToIgnore_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.charactersToIgnore_ = charactersToIgnore_;
} else {
result.charactersToIgnore_ = charactersToIgnoreBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -660,7 +671,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CharacterMaskConfig other) {
if (!other.charactersToIgnore_.isEmpty()) {
if (charactersToIgnore_.isEmpty()) {
charactersToIgnore_ = other.charactersToIgnore_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCharactersToIgnoreIsMutable();
charactersToIgnore_.addAll(other.charactersToIgnore_);
@@ -673,7 +684,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CharacterMaskConfig other) {
charactersToIgnoreBuilder_.dispose();
charactersToIgnoreBuilder_ = null;
charactersToIgnore_ = other.charactersToIgnore_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
charactersToIgnoreBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getCharactersToIgnoreFieldBuilder()
@@ -726,6 +737,8 @@ public Builder mergeFrom(
*
*
* string masking_character = 1;
+ *
+ * @return The maskingCharacter.
*/
public java.lang.String getMaskingCharacter() {
java.lang.Object ref = maskingCharacter_;
@@ -749,6 +762,8 @@ public java.lang.String getMaskingCharacter() {
*
*
* string masking_character = 1;
+ *
+ * @return The bytes for maskingCharacter.
*/
public com.google.protobuf.ByteString getMaskingCharacterBytes() {
java.lang.Object ref = maskingCharacter_;
@@ -772,6 +787,9 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() {
*
*
* string masking_character = 1;
+ *
+ * @param value The maskingCharacter to set.
+ * @return This builder for chaining.
*/
public Builder setMaskingCharacter(java.lang.String value) {
if (value == null) {
@@ -793,6 +811,8 @@ public Builder setMaskingCharacter(java.lang.String value) {
*
*
* string masking_character = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaskingCharacter() {
@@ -811,6 +831,9 @@ public Builder clearMaskingCharacter() {
*
*
* string masking_character = 1;
+ *
+ * @param value The bytes for maskingCharacter to set.
+ * @return This builder for chaining.
*/
public Builder setMaskingCharacterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -833,6 +856,8 @@ public Builder setMaskingCharacterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 number_to_mask = 2;
+ *
+ * @return The numberToMask.
*/
public int getNumberToMask() {
return numberToMask_;
@@ -846,6 +871,9 @@ public int getNumberToMask() {
*
*
* int32 number_to_mask = 2;
+ *
+ * @param value The numberToMask to set.
+ * @return This builder for chaining.
*/
public Builder setNumberToMask(int value) {
@@ -862,6 +890,8 @@ public Builder setNumberToMask(int value) {
*
*
* int32 number_to_mask = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNumberToMask() {
@@ -883,6 +913,8 @@ public Builder clearNumberToMask() {
*
*
* bool reverse_order = 3;
+ *
+ * @return The reverseOrder.
*/
public boolean getReverseOrder() {
return reverseOrder_;
@@ -899,6 +931,9 @@ public boolean getReverseOrder() {
*
*
* bool reverse_order = 3;
+ *
+ * @param value The reverseOrder to set.
+ * @return This builder for chaining.
*/
public Builder setReverseOrder(boolean value) {
@@ -918,6 +953,8 @@ public Builder setReverseOrder(boolean value) {
*
*
* bool reverse_order = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearReverseOrder() {
@@ -930,10 +967,10 @@ public Builder clearReverseOrder() {
java.util.Collections.emptyList();
private void ensureCharactersToIgnoreIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
charactersToIgnore_ =
new java.util.ArrayList(charactersToIgnore_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -1182,7 +1219,7 @@ public Builder addAllCharactersToIgnore(
public Builder clearCharactersToIgnore() {
if (charactersToIgnoreBuilder_ == null) {
charactersToIgnore_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
charactersToIgnoreBuilder_.clear();
@@ -1327,7 +1364,7 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
com.google.privacy.dlp.v2.CharsToIgnore.Builder,
com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>(
charactersToIgnore_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
charactersToIgnore_ = null;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
index 1f85c937..b617c033 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
@@ -34,6 +34,8 @@ public interface CharacterMaskConfigOrBuilder
*
*
* string masking_character = 1;
+ *
+ * @return The maskingCharacter.
*/
java.lang.String getMaskingCharacter();
/**
@@ -47,6 +49,8 @@ public interface CharacterMaskConfigOrBuilder
*
*
* string masking_character = 1;
+ *
+ * @return The bytes for maskingCharacter.
*/
com.google.protobuf.ByteString getMaskingCharacterBytes();
@@ -59,6 +63,8 @@ public interface CharacterMaskConfigOrBuilder
*
*
* int32 number_to_mask = 2;
+ *
+ * @return The numberToMask.
*/
int getNumberToMask();
@@ -74,6 +80,8 @@ public interface CharacterMaskConfigOrBuilder
*
*
* bool reverse_order = 3;
+ *
+ * @return The reverseOrder.
*/
boolean getReverseOrder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
index 640a0d53..e2e5fd0f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
@@ -40,6 +40,12 @@ private CharsToIgnore(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private CharsToIgnore() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CharsToIgnore();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private CharsToIgnore(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -230,12 +235,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static CommonCharsToIgnore valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static CommonCharsToIgnore forNumber(int value) {
switch (value) {
case 0:
@@ -305,7 +318,10 @@ private CommonCharsToIgnore(int value) {
private int charactersCase_ = 0;
private java.lang.Object characters_;
- public enum CharactersCase implements com.google.protobuf.Internal.EnumLite {
+ public enum CharactersCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CHARACTERS_TO_SKIP(1),
COMMON_CHARACTERS_TO_IGNORE(2),
CHARACTERS_NOT_SET(0);
@@ -314,7 +330,11 @@ public enum CharactersCase implements com.google.protobuf.Internal.EnumLite {
private CharactersCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static CharactersCase valueOf(int value) {
return forNumber(value);
@@ -343,7 +363,11 @@ public CharactersCase getCharactersCase() {
}
public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER = 1;
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The charactersToSkip.
+ */
public java.lang.String getCharactersToSkip() {
java.lang.Object ref = "";
if (charactersCase_ == 1) {
@@ -360,7 +384,11 @@ public java.lang.String getCharactersToSkip() {
return s;
}
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The bytes for charactersToSkip.
+ */
public com.google.protobuf.ByteString getCharactersToSkipBytes() {
java.lang.Object ref = "";
if (charactersCase_ == 1) {
@@ -382,6 +410,8 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() {
/**
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The enum numeric value on the wire for commonCharactersToIgnore.
*/
public int getCommonCharactersToIgnoreValue() {
if (charactersCase_ == 2) {
@@ -392,6 +422,8 @@ public int getCommonCharactersToIgnoreValue() {
/**
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The commonCharactersToIgnore.
*/
public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore() {
if (charactersCase_ == 2) {
@@ -786,7 +818,11 @@ public Builder clearCharacters() {
return this;
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The charactersToSkip.
+ */
public java.lang.String getCharactersToSkip() {
java.lang.Object ref = "";
if (charactersCase_ == 1) {
@@ -803,7 +839,11 @@ public java.lang.String getCharactersToSkip() {
return (java.lang.String) ref;
}
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The bytes for charactersToSkip.
+ */
public com.google.protobuf.ByteString getCharactersToSkipBytes() {
java.lang.Object ref = "";
if (charactersCase_ == 1) {
@@ -820,7 +860,12 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @param value The charactersToSkip to set.
+ * @return This builder for chaining.
+ */
public Builder setCharactersToSkip(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -830,7 +875,11 @@ public Builder setCharactersToSkip(java.lang.String value) {
onChanged();
return this;
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearCharactersToSkip() {
if (charactersCase_ == 1) {
charactersCase_ = 0;
@@ -839,7 +888,12 @@ public Builder clearCharactersToSkip() {
}
return this;
}
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @param value The bytes for charactersToSkip to set.
+ * @return This builder for chaining.
+ */
public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -855,6 +909,8 @@ public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) {
*
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The enum numeric value on the wire for commonCharactersToIgnore.
*/
public int getCommonCharactersToIgnoreValue() {
if (charactersCase_ == 2) {
@@ -866,6 +922,9 @@ public int getCommonCharactersToIgnoreValue() {
*
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @param value The enum numeric value on the wire for commonCharactersToIgnore to set.
+ * @return This builder for chaining.
*/
public Builder setCommonCharactersToIgnoreValue(int value) {
charactersCase_ = 2;
@@ -877,6 +936,8 @@ public Builder setCommonCharactersToIgnoreValue(int value) {
*
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The commonCharactersToIgnore.
*/
public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore
getCommonCharactersToIgnore() {
@@ -896,6 +957,9 @@ public Builder setCommonCharactersToIgnoreValue(int value) {
*
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @param value The commonCharactersToIgnore to set.
+ * @return This builder for chaining.
*/
public Builder setCommonCharactersToIgnore(
com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore value) {
@@ -911,6 +975,8 @@ public Builder setCommonCharactersToIgnore(
*
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearCommonCharactersToIgnore() {
if (charactersCase_ == 2) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java
index f4b8dee0..4f4e6791 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java
@@ -23,19 +23,31 @@ public interface CharsToIgnoreOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore)
com.google.protobuf.MessageOrBuilder {
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The charactersToSkip.
+ */
java.lang.String getCharactersToSkip();
- /** string characters_to_skip = 1;
*/
+ /**
+ * string characters_to_skip = 1;
+ *
+ * @return The bytes for charactersToSkip.
+ */
com.google.protobuf.ByteString getCharactersToSkipBytes();
/**
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The enum numeric value on the wire for commonCharactersToIgnore.
*/
int getCommonCharactersToIgnoreValue();
/**
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
*
+ *
+ * @return The commonCharactersToIgnore.
*/
com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java
index 37952ab1..438ff367 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java
@@ -41,6 +41,12 @@ private CloudStorageFileSet() {
url_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudStorageFileSet();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CloudStorageFileSet(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -138,6 +145,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -498,6 +509,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* string url = 1;
+ *
+ * @param value The url to set.
+ * @return This builder for chaining.
*/
public Builder setUrl(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setUrl(java.lang.String value) {
*
*
* string url = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUrl() {
@@ -554,6 +572,9 @@ public Builder clearUrl() {
*
*
* string url = 1;
+ *
+ * @param value The bytes for url to set.
+ * @return This builder for chaining.
*/
public Builder setUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java
index 7bab7cd9..9e967d5c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java
@@ -32,6 +32,8 @@ public interface CloudStorageFileSetOrBuilder
*
*
* string url = 1;
+ *
+ * @return The url.
*/
java.lang.String getUrl();
/**
@@ -43,6 +45,8 @@ public interface CloudStorageFileSetOrBuilder
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
index a1ee6f03..d9408b45 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java
@@ -43,6 +43,12 @@ private CloudStorageOptions() {
sampleMethod_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudStorageOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -92,9 +98,9 @@ private CloudStorageOptions(
case 40:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fileTypes_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
fileTypes_.add(rawValue);
break;
@@ -105,9 +111,9 @@ private CloudStorageOptions(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fileTypes_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
fileTypes_.add(rawValue);
}
@@ -145,7 +151,7 @@ private CloudStorageOptions(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
fileTypes_ = java.util.Collections.unmodifiableList(fileTypes_);
}
this.unknownFields = unknownFields.build();
@@ -238,12 +244,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SampleMethod valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static SampleMethod forNumber(int value) {
switch (value) {
case 0:
@@ -321,6 +335,8 @@ public interface FileSetOrBuilder
*
*
* string url = 1;
+ *
+ * @return The url.
*/
java.lang.String getUrl();
/**
@@ -338,6 +354,8 @@ public interface FileSetOrBuilder
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
@@ -350,6 +368,8 @@ public interface FileSetOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return Whether the regexFileSet field is set.
*/
boolean hasRegexFileSet();
/**
@@ -361,6 +381,8 @@ public interface FileSetOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return The regexFileSet.
*/
com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet();
/**
@@ -398,6 +420,12 @@ private FileSet() {
url_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FileSet();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -411,7 +439,6 @@ private FileSet(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -497,6 +524,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -524,6 +553,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -548,6 +579,8 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return Whether the regexFileSet field is set.
*/
public boolean hasRegexFileSet() {
return regexFileSet_ != null;
@@ -561,6 +594,8 @@ public boolean hasRegexFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return The regexFileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() {
return regexFileSet_ == null
@@ -948,6 +983,8 @@ public Builder mergeFrom(
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -975,6 +1012,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -1002,6 +1041,9 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* string url = 1;
+ *
+ * @param value The url to set.
+ * @return This builder for chaining.
*/
public Builder setUrl(java.lang.String value) {
if (value == null) {
@@ -1027,6 +1069,8 @@ public Builder setUrl(java.lang.String value) {
*
*
* string url = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUrl() {
@@ -1049,6 +1093,9 @@ public Builder clearUrl() {
*
*
* string url = 1;
+ *
+ * @param value The bytes for url to set.
+ * @return This builder for chaining.
*/
public Builder setUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1076,6 +1123,8 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return Whether the regexFileSet field is set.
*/
public boolean hasRegexFileSet() {
return regexFileSetBuilder_ != null || regexFileSet_ != null;
@@ -1089,6 +1138,8 @@ public boolean hasRegexFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
+ *
+ * @return The regexFileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() {
if (regexFileSetBuilder_ == null) {
@@ -1305,7 +1356,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultInstanceF
}
}
- private int bitField0_;
public static final int FILE_SET_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.CloudStorageOptions.FileSet fileSet_;
/**
@@ -1316,6 +1366,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultInstanceF
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return Whether the fileSet field is set.
*/
public boolean hasFileSet() {
return fileSet_ != null;
@@ -1328,6 +1380,8 @@ public boolean hasFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return The fileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() {
return fileSet_ == null
@@ -1359,6 +1413,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
*
*
* int64 bytes_limit_per_file = 4;
+ *
+ * @return The bytesLimitPerFile.
*/
public long getBytesLimitPerFile() {
return bytesLimitPerFile_;
@@ -1377,6 +1433,8 @@ public long getBytesLimitPerFile() {
*
*
* int32 bytes_limit_per_file_percent = 8;
+ *
+ * @return The bytesLimitPerFilePercent.
*/
public int getBytesLimitPerFilePercent() {
return bytesLimitPerFilePercent_;
@@ -1407,6 +1465,8 @@ public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the fileTypes.
*/
public java.util.List getFileTypesList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -1423,6 +1483,8 @@ public java.util.List getFileTypesList() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param value The fileTypes to add.
*/
public int getFileTypesCount() {
return fileTypes_.size();
@@ -1438,6 +1500,9 @@ public int getFileTypesCount() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The fileTypes at the given index.
*/
public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
return fileTypes_converter_.convert(fileTypes_.get(index));
@@ -1453,6 +1518,8 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the enum numeric values on the wire for fileTypes.
*/
public java.util.List getFileTypesValueList() {
return fileTypes_;
@@ -1468,6 +1535,9 @@ public java.util.List getFileTypesValueList() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fileTypes at the given index.
*/
public int getFileTypesValue(int index) {
return fileTypes_.get(index);
@@ -1477,11 +1547,19 @@ public int getFileTypesValue(int index) {
public static final int SAMPLE_METHOD_FIELD_NUMBER = 6;
private int sampleMethod_;
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
public int getSampleMethodValue() {
return sampleMethod_;
}
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The sampleMethod.
+ */
public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result =
@@ -1503,6 +1581,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMetho
*
*
* int32 files_limit_percent = 7;
+ *
+ * @return The filesLimitPercent.
*/
public int getFilesLimitPercent() {
return filesLimitPercent_;
@@ -1794,7 +1874,7 @@ public Builder clear() {
bytesLimitPerFilePercent_ = 0;
fileTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
sampleMethod_ = 0;
filesLimitPercent_ = 0;
@@ -1827,7 +1907,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
com.google.privacy.dlp.v2.CloudStorageOptions result =
new com.google.privacy.dlp.v2.CloudStorageOptions(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (fileSetBuilder_ == null) {
result.fileSet_ = fileSet_;
} else {
@@ -1835,14 +1914,13 @@ public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
}
result.bytesLimitPerFile_ = bytesLimitPerFile_;
result.bytesLimitPerFilePercent_ = bytesLimitPerFilePercent_;
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
fileTypes_ = java.util.Collections.unmodifiableList(fileTypes_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.fileTypes_ = fileTypes_;
result.sampleMethod_ = sampleMethod_;
result.filesLimitPercent_ = filesLimitPercent_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1904,7 +1982,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageOptions other) {
if (!other.fileTypes_.isEmpty()) {
if (fileTypes_.isEmpty()) {
fileTypes_ = other.fileTypes_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFileTypesIsMutable();
fileTypes_.addAll(other.fileTypes_);
@@ -1962,6 +2040,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return Whether the fileSet field is set.
*/
public boolean hasFileSet() {
return fileSetBuilder_ != null || fileSet_ != null;
@@ -1974,6 +2054,8 @@ public boolean hasFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return The fileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() {
if (fileSetBuilder_ == null) {
@@ -2141,6 +2223,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
*
*
* int64 bytes_limit_per_file = 4;
+ *
+ * @return The bytesLimitPerFile.
*/
public long getBytesLimitPerFile() {
return bytesLimitPerFile_;
@@ -2155,6 +2239,9 @@ public long getBytesLimitPerFile() {
*
*
* int64 bytes_limit_per_file = 4;
+ *
+ * @param value The bytesLimitPerFile to set.
+ * @return This builder for chaining.
*/
public Builder setBytesLimitPerFile(long value) {
@@ -2172,6 +2259,8 @@ public Builder setBytesLimitPerFile(long value) {
*
*
* int64 bytes_limit_per_file = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBytesLimitPerFile() {
@@ -2192,6 +2281,8 @@ public Builder clearBytesLimitPerFile() {
*
*
* int32 bytes_limit_per_file_percent = 8;
+ *
+ * @return The bytesLimitPerFilePercent.
*/
public int getBytesLimitPerFilePercent() {
return bytesLimitPerFilePercent_;
@@ -2207,6 +2298,9 @@ public int getBytesLimitPerFilePercent() {
*
*
* int32 bytes_limit_per_file_percent = 8;
+ *
+ * @param value The bytesLimitPerFilePercent to set.
+ * @return This builder for chaining.
*/
public Builder setBytesLimitPerFilePercent(int value) {
@@ -2225,6 +2319,8 @@ public Builder setBytesLimitPerFilePercent(int value) {
*
*
* int32 bytes_limit_per_file_percent = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBytesLimitPerFilePercent() {
@@ -2236,9 +2332,9 @@ public Builder clearBytesLimitPerFilePercent() {
private java.util.List fileTypes_ = java.util.Collections.emptyList();
private void ensureFileTypesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
fileTypes_ = new java.util.ArrayList(fileTypes_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -2252,6 +2348,8 @@ private void ensureFileTypesIsMutable() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the fileTypes.
*/
public java.util.List getFileTypesList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -2268,6 +2366,8 @@ public java.util.List getFileTypesList() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return The count of fileTypes.
*/
public int getFileTypesCount() {
return fileTypes_.size();
@@ -2283,6 +2383,9 @@ public int getFileTypesCount() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The fileTypes at the given index.
*/
public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
return fileTypes_converter_.convert(fileTypes_.get(index));
@@ -2298,6 +2401,10 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index to set the value at.
+ * @param value The fileTypes to set.
+ * @return This builder for chaining.
*/
public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value) {
if (value == null) {
@@ -2319,6 +2426,9 @@ public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value)
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param value The fileTypes to add.
+ * @return This builder for chaining.
*/
public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) {
if (value == null) {
@@ -2340,6 +2450,9 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param values The fileTypes to add.
+ * @return This builder for chaining.
*/
public Builder addAllFileTypes(
java.lang.Iterable extends com.google.privacy.dlp.v2.FileType> values) {
@@ -2361,10 +2474,12 @@ public Builder addAllFileTypes(
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFileTypes() {
fileTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2379,6 +2494,8 @@ public Builder clearFileTypes() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the enum numeric values on the wire for fileTypes.
*/
public java.util.List getFileTypesValueList() {
return java.util.Collections.unmodifiableList(fileTypes_);
@@ -2394,6 +2511,9 @@ public java.util.List getFileTypesValueList() {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fileTypes at the given index.
*/
public int getFileTypesValue(int index) {
return fileTypes_.get(index);
@@ -2409,6 +2529,10 @@ public int getFileTypesValue(int index) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fileTypes at the given index.
+ * @return This builder for chaining.
*/
public Builder setFileTypesValue(int index, int value) {
ensureFileTypesIsMutable();
@@ -2427,6 +2551,9 @@ public Builder setFileTypesValue(int index, int value) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param value The enum numeric value on the wire for fileTypes to add.
+ * @return This builder for chaining.
*/
public Builder addFileTypesValue(int value) {
ensureFileTypesIsMutable();
@@ -2445,6 +2572,9 @@ public Builder addFileTypesValue(int value) {
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param values The enum numeric values on the wire for fileTypes to add.
+ * @return This builder for chaining.
*/
public Builder addAllFileTypesValue(java.lang.Iterable values) {
ensureFileTypesIsMutable();
@@ -2456,17 +2586,30 @@ public Builder addAllFileTypesValue(java.lang.Iterable values
}
private int sampleMethod_ = 0;
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
public int getSampleMethodValue() {
return sampleMethod_;
}
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @param value The enum numeric value on the wire for sampleMethod to set.
+ * @return This builder for chaining.
+ */
public Builder setSampleMethodValue(int value) {
sampleMethod_ = value;
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The sampleMethod.
+ */
public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result =
@@ -2475,7 +2618,12 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMetho
? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED
: result;
}
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @param value The sampleMethod to set.
+ * @return This builder for chaining.
+ */
public Builder setSampleMethod(
com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod value) {
if (value == null) {
@@ -2486,7 +2634,11 @@ public Builder setSampleMethod(
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearSampleMethod() {
sampleMethod_ = 0;
@@ -2505,6 +2657,8 @@ public Builder clearSampleMethod() {
*
*
* int32 files_limit_percent = 7;
+ *
+ * @return The filesLimitPercent.
*/
public int getFilesLimitPercent() {
return filesLimitPercent_;
@@ -2519,6 +2673,9 @@ public int getFilesLimitPercent() {
*
*
* int32 files_limit_percent = 7;
+ *
+ * @param value The filesLimitPercent to set.
+ * @return This builder for chaining.
*/
public Builder setFilesLimitPercent(int value) {
@@ -2536,6 +2693,8 @@ public Builder setFilesLimitPercent(int value) {
*
*
* int32 files_limit_percent = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilesLimitPercent() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java
index 6bff4019..8f8c99ba 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java
@@ -31,6 +31,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return Whether the fileSet field is set.
*/
boolean hasFileSet();
/**
@@ -41,6 +43,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1;
+ *
+ * @return The fileSet.
*/
com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet();
/**
@@ -64,6 +68,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* int64 bytes_limit_per_file = 4;
+ *
+ * @return The bytesLimitPerFile.
*/
long getBytesLimitPerFile();
@@ -78,6 +84,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* int32 bytes_limit_per_file_percent = 8;
+ *
+ * @return The bytesLimitPerFilePercent.
*/
int getBytesLimitPerFilePercent();
@@ -92,6 +100,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the fileTypes.
*/
java.util.List getFileTypesList();
/**
@@ -105,6 +115,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return The count of fileTypes.
*/
int getFileTypesCount();
/**
@@ -118,6 +130,9 @@ public interface CloudStorageOptionsOrBuilder
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The fileTypes at the given index.
*/
com.google.privacy.dlp.v2.FileType getFileTypes(int index);
/**
@@ -131,6 +146,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @return A list containing the enum numeric values on the wire for fileTypes.
*/
java.util.List getFileTypesValueList();
/**
@@ -144,12 +161,23 @@ public interface CloudStorageOptionsOrBuilder
*
*
* repeated .google.privacy.dlp.v2.FileType file_types = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fileTypes at the given index.
*/
int getFileTypesValue(int index);
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The enum numeric value on the wire for sampleMethod.
+ */
int getSampleMethodValue();
- /** .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6;
+ *
+ * @return The sampleMethod.
+ */
com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod();
/**
@@ -162,6 +190,8 @@ public interface CloudStorageOptionsOrBuilder
*
*
* int32 files_limit_percent = 7;
+ *
+ * @return The filesLimitPercent.
*/
int getFilesLimitPercent();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java
index b1884bf5..5d971157 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java
@@ -41,6 +41,12 @@ private CloudStoragePath() {
path_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudStoragePath();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CloudStoragePath(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string path = 1;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -138,6 +145,8 @@ public java.lang.String getPath() {
*
*
* string path = 1;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string path = 1;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -498,6 +509,8 @@ public java.lang.String getPath() {
*
*
* string path = 1;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getPathBytes() {
*
*
* string path = 1;
+ *
+ * @param value The path to set.
+ * @return This builder for chaining.
*/
public Builder setPath(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setPath(java.lang.String value) {
*
*
* string path = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPath() {
@@ -554,6 +572,9 @@ public Builder clearPath() {
*
*
* string path = 1;
+ *
+ * @param value The bytes for path to set.
+ * @return This builder for chaining.
*/
public Builder setPathBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java
index 3765930f..ca2aba66 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java
@@ -32,6 +32,8 @@ public interface CloudStoragePathOrBuilder
*
*
* string path = 1;
+ *
+ * @return The path.
*/
java.lang.String getPath();
/**
@@ -43,6 +45,8 @@ public interface CloudStoragePathOrBuilder
*
*
* string path = 1;
+ *
+ * @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java
index ebada2b1..3a737e02 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java
@@ -68,6 +68,12 @@ private CloudStorageRegexFileSet() {
excludeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CloudStorageRegexFileSet();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -102,9 +108,9 @@ private CloudStorageRegexFileSet(
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
includeRegex_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
includeRegex_.add(s);
break;
@@ -112,9 +118,9 @@ private CloudStorageRegexFileSet(
case 26:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
excludeRegex_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
excludeRegex_.add(s);
break;
@@ -133,10 +139,10 @@ private CloudStorageRegexFileSet(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
includeRegex_ = includeRegex_.getUnmodifiableView();
}
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
excludeRegex_ = excludeRegex_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -159,7 +165,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
}
- private int bitField0_;
public static final int BUCKET_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object bucketName_;
/**
@@ -170,6 +175,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string bucket_name = 1;
+ *
+ * @return The bucketName.
*/
public java.lang.String getBucketName() {
java.lang.Object ref = bucketName_;
@@ -190,6 +197,8 @@ public java.lang.String getBucketName() {
*
*
* string bucket_name = 1;
+ *
+ * @return The bytes for bucketName.
*/
public com.google.protobuf.ByteString getBucketNameBytes() {
java.lang.Object ref = bucketName_;
@@ -220,6 +229,8 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
*
*
* repeated string include_regex = 2;
+ *
+ * @return A list containing the includeRegex.
*/
public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
return includeRegex_;
@@ -239,6 +250,8 @@ public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
*
*
* repeated string include_regex = 2;
+ *
+ * @return The count of includeRegex.
*/
public int getIncludeRegexCount() {
return includeRegex_.size();
@@ -258,6 +271,9 @@ public int getIncludeRegexCount() {
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The includeRegex at the given index.
*/
public java.lang.String getIncludeRegex(int index) {
return includeRegex_.get(index);
@@ -277,6 +293,9 @@ public java.lang.String getIncludeRegex(int index) {
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeRegex at the given index.
*/
public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
return includeRegex_.getByteString(index);
@@ -297,6 +316,8 @@ public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return A list containing the excludeRegex.
*/
public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
return excludeRegex_;
@@ -314,6 +335,8 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return The count of excludeRegex.
*/
public int getExcludeRegexCount() {
return excludeRegex_.size();
@@ -331,6 +354,9 @@ public int getExcludeRegexCount() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The excludeRegex at the given index.
*/
public java.lang.String getExcludeRegex(int index) {
return excludeRegex_.get(index);
@@ -348,6 +374,9 @@ public java.lang.String getExcludeRegex(int index) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the excludeRegex at the given index.
*/
public com.google.protobuf.ByteString getExcludeRegexBytes(int index) {
return excludeRegex_.getByteString(index);
@@ -617,9 +646,9 @@ public Builder clear() {
bucketName_ = "";
includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
excludeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -648,19 +677,17 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet buildPartial() {
com.google.privacy.dlp.v2.CloudStorageRegexFileSet result =
new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.bucketName_ = bucketName_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
includeRegex_ = includeRegex_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.includeRegex_ = includeRegex_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
excludeRegex_ = excludeRegex_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.excludeRegex_ = excludeRegex_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -718,7 +745,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageRegexFileSet othe
if (!other.includeRegex_.isEmpty()) {
if (includeRegex_.isEmpty()) {
includeRegex_ = other.includeRegex_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIncludeRegexIsMutable();
includeRegex_.addAll(other.includeRegex_);
@@ -728,7 +755,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageRegexFileSet othe
if (!other.excludeRegex_.isEmpty()) {
if (excludeRegex_.isEmpty()) {
excludeRegex_ = other.excludeRegex_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureExcludeRegexIsMutable();
excludeRegex_.addAll(other.excludeRegex_);
@@ -776,6 +803,8 @@ public Builder mergeFrom(
*
*
* string bucket_name = 1;
+ *
+ * @return The bucketName.
*/
public java.lang.String getBucketName() {
java.lang.Object ref = bucketName_;
@@ -796,6 +825,8 @@ public java.lang.String getBucketName() {
*
*
* string bucket_name = 1;
+ *
+ * @return The bytes for bucketName.
*/
public com.google.protobuf.ByteString getBucketNameBytes() {
java.lang.Object ref = bucketName_;
@@ -816,6 +847,9 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
*
*
* string bucket_name = 1;
+ *
+ * @param value The bucketName to set.
+ * @return This builder for chaining.
*/
public Builder setBucketName(java.lang.String value) {
if (value == null) {
@@ -834,6 +868,8 @@ public Builder setBucketName(java.lang.String value) {
*
*
* string bucket_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketName() {
@@ -849,6 +885,9 @@ public Builder clearBucketName() {
*
*
* string bucket_name = 1;
+ *
+ * @param value The bytes for bucketName to set.
+ * @return This builder for chaining.
*/
public Builder setBucketNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -865,9 +904,9 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureIncludeRegexIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
includeRegex_ = new com.google.protobuf.LazyStringArrayList(includeRegex_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -885,6 +924,8 @@ private void ensureIncludeRegexIsMutable() {
*
*
* repeated string include_regex = 2;
+ *
+ * @return A list containing the includeRegex.
*/
public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
return includeRegex_.getUnmodifiableView();
@@ -904,6 +945,8 @@ public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
*
*
* repeated string include_regex = 2;
+ *
+ * @return The count of includeRegex.
*/
public int getIncludeRegexCount() {
return includeRegex_.size();
@@ -923,6 +966,9 @@ public int getIncludeRegexCount() {
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The includeRegex at the given index.
*/
public java.lang.String getIncludeRegex(int index) {
return includeRegex_.get(index);
@@ -942,6 +988,9 @@ public java.lang.String getIncludeRegex(int index) {
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeRegex at the given index.
*/
public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
return includeRegex_.getByteString(index);
@@ -961,6 +1010,10 @@ public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The includeRegex to set.
+ * @return This builder for chaining.
*/
public Builder setIncludeRegex(int index, java.lang.String value) {
if (value == null) {
@@ -986,6 +1039,9 @@ public Builder setIncludeRegex(int index, java.lang.String value) {
*
*
* repeated string include_regex = 2;
+ *
+ * @param value The includeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addIncludeRegex(java.lang.String value) {
if (value == null) {
@@ -1011,6 +1067,9 @@ public Builder addIncludeRegex(java.lang.String value) {
*
*
* repeated string include_regex = 2;
+ *
+ * @param values The includeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addAllIncludeRegex(java.lang.Iterable values) {
ensureIncludeRegexIsMutable();
@@ -1033,10 +1092,12 @@ public Builder addAllIncludeRegex(java.lang.Iterable values) {
*
*
* repeated string include_regex = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIncludeRegex() {
includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1055,6 +1116,9 @@ public Builder clearIncludeRegex() {
*
*
* repeated string include_regex = 2;
+ *
+ * @param value The bytes of the includeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addIncludeRegexBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1071,9 +1135,9 @@ public Builder addIncludeRegexBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureExcludeRegexIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
excludeRegex_ = new com.google.protobuf.LazyStringArrayList(excludeRegex_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -1089,6 +1153,8 @@ private void ensureExcludeRegexIsMutable() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return A list containing the excludeRegex.
*/
public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
return excludeRegex_.getUnmodifiableView();
@@ -1106,6 +1172,8 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return The count of excludeRegex.
*/
public int getExcludeRegexCount() {
return excludeRegex_.size();
@@ -1123,6 +1191,9 @@ public int getExcludeRegexCount() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The excludeRegex at the given index.
*/
public java.lang.String getExcludeRegex(int index) {
return excludeRegex_.get(index);
@@ -1140,6 +1211,9 @@ public java.lang.String getExcludeRegex(int index) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the excludeRegex at the given index.
*/
public com.google.protobuf.ByteString getExcludeRegexBytes(int index) {
return excludeRegex_.getByteString(index);
@@ -1157,6 +1231,10 @@ public com.google.protobuf.ByteString getExcludeRegexBytes(int index) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The excludeRegex to set.
+ * @return This builder for chaining.
*/
public Builder setExcludeRegex(int index, java.lang.String value) {
if (value == null) {
@@ -1180,6 +1258,9 @@ public Builder setExcludeRegex(int index, java.lang.String value) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param value The excludeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addExcludeRegex(java.lang.String value) {
if (value == null) {
@@ -1203,6 +1284,9 @@ public Builder addExcludeRegex(java.lang.String value) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param values The excludeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addAllExcludeRegex(java.lang.Iterable values) {
ensureExcludeRegexIsMutable();
@@ -1223,10 +1307,12 @@ public Builder addAllExcludeRegex(java.lang.Iterable values) {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearExcludeRegex() {
excludeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1243,6 +1329,9 @@ public Builder clearExcludeRegex() {
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param value The bytes of the excludeRegex to add.
+ * @return This builder for chaining.
*/
public Builder addExcludeRegexBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
index 69f50d51..bd8e1b26 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
@@ -31,6 +31,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* string bucket_name = 1;
+ *
+ * @return The bucketName.
*/
java.lang.String getBucketName();
/**
@@ -41,6 +43,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* string bucket_name = 1;
+ *
+ * @return The bytes for bucketName.
*/
com.google.protobuf.ByteString getBucketNameBytes();
@@ -59,6 +63,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string include_regex = 2;
+ *
+ * @return A list containing the includeRegex.
*/
java.util.List getIncludeRegexList();
/**
@@ -76,6 +82,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string include_regex = 2;
+ *
+ * @return The count of includeRegex.
*/
int getIncludeRegexCount();
/**
@@ -93,6 +101,9 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The includeRegex at the given index.
*/
java.lang.String getIncludeRegex(int index);
/**
@@ -110,6 +121,9 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string include_regex = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includeRegex at the given index.
*/
com.google.protobuf.ByteString getIncludeRegexBytes(int index);
@@ -126,6 +140,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return A list containing the excludeRegex.
*/
java.util.List getExcludeRegexList();
/**
@@ -141,6 +157,8 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string exclude_regex = 3;
+ *
+ * @return The count of excludeRegex.
*/
int getExcludeRegexCount();
/**
@@ -156,6 +174,9 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The excludeRegex at the given index.
*/
java.lang.String getExcludeRegex(int index);
/**
@@ -171,6 +192,9 @@ public interface CloudStorageRegexFileSetOrBuilder
*
*
* repeated string exclude_regex = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the excludeRegex at the given index.
*/
com.google.protobuf.ByteString getExcludeRegexBytes(int index);
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java
index 5f6c1216..cd64d177 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java
@@ -39,6 +39,12 @@ private Color(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Color() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Color();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Color(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* float red = 1;
+ *
+ * @return The red.
*/
public float getRed() {
return red_;
@@ -136,6 +143,8 @@ public float getRed() {
*
*
* float green = 2;
+ *
+ * @return The green.
*/
public float getGreen() {
return green_;
@@ -151,6 +160,8 @@ public float getGreen() {
*
*
* float blue = 3;
+ *
+ * @return The blue.
*/
public float getBlue() {
return blue_;
@@ -509,6 +520,8 @@ public Builder mergeFrom(
*
*
* float red = 1;
+ *
+ * @return The red.
*/
public float getRed() {
return red_;
@@ -521,6 +534,9 @@ public float getRed() {
*
*
* float red = 1;
+ *
+ * @param value The red to set.
+ * @return This builder for chaining.
*/
public Builder setRed(float value) {
@@ -536,6 +552,8 @@ public Builder setRed(float value) {
*
*
* float red = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRed() {
@@ -553,6 +571,8 @@ public Builder clearRed() {
*
*
* float green = 2;
+ *
+ * @return The green.
*/
public float getGreen() {
return green_;
@@ -565,6 +585,9 @@ public float getGreen() {
*
*
* float green = 2;
+ *
+ * @param value The green to set.
+ * @return This builder for chaining.
*/
public Builder setGreen(float value) {
@@ -580,6 +603,8 @@ public Builder setGreen(float value) {
*
*
* float green = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGreen() {
@@ -597,6 +622,8 @@ public Builder clearGreen() {
*
*
* float blue = 3;
+ *
+ * @return The blue.
*/
public float getBlue() {
return blue_;
@@ -609,6 +636,9 @@ public float getBlue() {
*
*
* float blue = 3;
+ *
+ * @param value The blue to set.
+ * @return This builder for chaining.
*/
public Builder setBlue(float value) {
@@ -624,6 +654,8 @@ public Builder setBlue(float value) {
*
*
* float blue = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBlue() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java
index 6628f509..d5dac80f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java
@@ -31,6 +31,8 @@ public interface ColorOrBuilder
*
*
* float red = 1;
+ *
+ * @return The red.
*/
float getRed();
@@ -42,6 +44,8 @@ public interface ColorOrBuilder
*
*
* float green = 2;
+ *
+ * @return The green.
*/
float getGreen();
@@ -53,6 +57,8 @@ public interface ColorOrBuilder
*
*
* float blue = 3;
+ *
+ * @return The blue.
*/
float getBlue();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java
index 83d785cb..04b9dbbc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java
@@ -39,6 +39,12 @@ private ContentItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private ContentItem() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ContentItem();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ContentItem(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,7 +143,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int dataItemCase_ = 0;
private java.lang.Object dataItem_;
- public enum DataItemCase implements com.google.protobuf.Internal.EnumLite {
+ public enum DataItemCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
VALUE(3),
TABLE(4),
BYTE_ITEM(5),
@@ -148,7 +156,11 @@ public enum DataItemCase implements com.google.protobuf.Internal.EnumLite {
private DataItemCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static DataItemCase valueOf(int value) {
return forNumber(value);
@@ -187,6 +199,8 @@ public DataItemCase getDataItemCase() {
*
*
* string value = 3;
+ *
+ * @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = "";
@@ -212,6 +226,8 @@ public java.lang.String getValue() {
*
*
* string value = 3;
+ *
+ * @return The bytes for value.
*/
public com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = "";
@@ -241,6 +257,8 @@ public com.google.protobuf.ByteString getValueBytes() {
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return dataItemCase_ == 4;
@@ -255,6 +273,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.Table getTable() {
if (dataItemCase_ == 4) {
@@ -289,6 +309,8 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return Whether the byteItem field is set.
*/
public boolean hasByteItem() {
return dataItemCase_ == 5;
@@ -301,6 +323,8 @@ public boolean hasByteItem() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return The byteItem.
*/
public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
if (dataItemCase_ == 5) {
@@ -739,6 +763,8 @@ public Builder clearDataItem() {
*
*
* string value = 3;
+ *
+ * @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = "";
@@ -764,6 +790,8 @@ public java.lang.String getValue() {
*
*
* string value = 3;
+ *
+ * @return The bytes for value.
*/
public com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = "";
@@ -789,6 +817,9 @@ public com.google.protobuf.ByteString getValueBytes() {
*
*
* string value = 3;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
*/
public Builder setValue(java.lang.String value) {
if (value == null) {
@@ -807,6 +838,8 @@ public Builder setValue(java.lang.String value) {
*
*
* string value = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValue() {
if (dataItemCase_ == 3) {
@@ -824,6 +857,9 @@ public Builder clearValue() {
*
*
* string value = 3;
+ *
+ * @param value The bytes for value to set.
+ * @return This builder for chaining.
*/
public Builder setValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -851,6 +887,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return dataItemCase_ == 4;
@@ -865,6 +903,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.Table getTable() {
if (tableBuilder_ == null) {
@@ -1066,6 +1106,8 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return Whether the byteItem field is set.
*/
public boolean hasByteItem() {
return dataItemCase_ == 5;
@@ -1078,6 +1120,8 @@ public boolean hasByteItem() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return The byteItem.
*/
public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
if (byteItemBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java
index 5dbf8d52..ed8962b1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java
@@ -31,6 +31,8 @@ public interface ContentItemOrBuilder
*
*
* string value = 3;
+ *
+ * @return The value.
*/
java.lang.String getValue();
/**
@@ -41,6 +43,8 @@ public interface ContentItemOrBuilder
*
*
* string value = 3;
+ *
+ * @return The bytes for value.
*/
com.google.protobuf.ByteString getValueBytes();
@@ -54,6 +58,8 @@ public interface ContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -66,6 +72,8 @@ public interface ContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.Table table = 4;
+ *
+ * @return The table.
*/
com.google.privacy.dlp.v2.Table getTable();
/**
@@ -89,6 +97,8 @@ public interface ContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return Whether the byteItem field is set.
*/
boolean hasByteItem();
/**
@@ -99,6 +109,8 @@ public interface ContentItemOrBuilder
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 5;
+ *
+ * @return The byteItem.
*/
com.google.privacy.dlp.v2.ByteContentItem getByteItem();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java
index 99e8ac29..2ae02541 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java
@@ -42,6 +42,12 @@ private ContentLocation() {
containerVersion_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ContentLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ContentLocation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -180,7 +185,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int locationCase_ = 0;
private java.lang.Object location_;
- public enum LocationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum LocationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
RECORD_LOCATION(2),
IMAGE_LOCATION(3),
DOCUMENT_LOCATION(5),
@@ -190,7 +198,11 @@ public enum LocationCase implements com.google.protobuf.Internal.EnumLite {
private LocationCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static LocationCase valueOf(int value) {
return forNumber(value);
@@ -237,6 +249,8 @@ public LocationCase getLocationCase() {
*
*
* string container_name = 1;
+ *
+ * @return The containerName.
*/
public java.lang.String getContainerName() {
java.lang.Object ref = containerName_;
@@ -264,6 +278,8 @@ public java.lang.String getContainerName() {
*
*
* string container_name = 1;
+ *
+ * @return The bytes for containerName.
*/
public com.google.protobuf.ByteString getContainerNameBytes() {
java.lang.Object ref = containerName_;
@@ -286,6 +302,8 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return Whether the recordLocation field is set.
*/
public boolean hasRecordLocation() {
return locationCase_ == 2;
@@ -298,6 +316,8 @@ public boolean hasRecordLocation() {
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return The recordLocation.
*/
public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() {
if (locationCase_ == 2) {
@@ -330,6 +350,8 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return Whether the imageLocation field is set.
*/
public boolean hasImageLocation() {
return locationCase_ == 3;
@@ -342,6 +364,8 @@ public boolean hasImageLocation() {
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return The imageLocation.
*/
public com.google.privacy.dlp.v2.ImageLocation getImageLocation() {
if (locationCase_ == 3) {
@@ -374,6 +398,8 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return Whether the documentLocation field is set.
*/
public boolean hasDocumentLocation() {
return locationCase_ == 5;
@@ -386,6 +412,8 @@ public boolean hasDocumentLocation() {
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return The documentLocation.
*/
public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() {
if (locationCase_ == 5) {
@@ -422,6 +450,8 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return Whether the containerTimestamp field is set.
*/
public boolean hasContainerTimestamp() {
return containerTimestamp_ != null;
@@ -437,6 +467,8 @@ public boolean hasContainerTimestamp() {
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return The containerTimestamp.
*/
public com.google.protobuf.Timestamp getContainerTimestamp() {
return containerTimestamp_ == null
@@ -470,6 +502,8 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
*
*
* string container_version = 7;
+ *
+ * @return The containerVersion.
*/
public java.lang.String getContainerVersion() {
java.lang.Object ref = containerVersion_;
@@ -491,6 +525,8 @@ public java.lang.String getContainerVersion() {
*
*
* string container_version = 7;
+ *
+ * @return The bytes for containerVersion.
*/
public com.google.protobuf.ByteString getContainerVersionBytes() {
java.lang.Object ref = containerVersion_;
@@ -993,6 +1029,8 @@ public Builder clearLocation() {
*
*
* string container_name = 1;
+ *
+ * @return The containerName.
*/
public java.lang.String getContainerName() {
java.lang.Object ref = containerName_;
@@ -1020,6 +1058,8 @@ public java.lang.String getContainerName() {
*
*
* string container_name = 1;
+ *
+ * @return The bytes for containerName.
*/
public com.google.protobuf.ByteString getContainerNameBytes() {
java.lang.Object ref = containerName_;
@@ -1047,6 +1087,9 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
*
*
* string container_name = 1;
+ *
+ * @param value The containerName to set.
+ * @return This builder for chaining.
*/
public Builder setContainerName(java.lang.String value) {
if (value == null) {
@@ -1072,6 +1115,8 @@ public Builder setContainerName(java.lang.String value) {
*
*
* string container_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearContainerName() {
@@ -1094,6 +1139,9 @@ public Builder clearContainerName() {
*
*
* string container_name = 1;
+ *
+ * @param value The bytes for containerName to set.
+ * @return This builder for chaining.
*/
public Builder setContainerNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1119,6 +1167,8 @@ public Builder setContainerNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return Whether the recordLocation field is set.
*/
public boolean hasRecordLocation() {
return locationCase_ == 2;
@@ -1131,6 +1181,8 @@ public boolean hasRecordLocation() {
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return The recordLocation.
*/
public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() {
if (recordLocationBuilder_ == null) {
@@ -1321,6 +1373,8 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return Whether the imageLocation field is set.
*/
public boolean hasImageLocation() {
return locationCase_ == 3;
@@ -1333,6 +1387,8 @@ public boolean hasImageLocation() {
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return The imageLocation.
*/
public com.google.privacy.dlp.v2.ImageLocation getImageLocation() {
if (imageLocationBuilder_ == null) {
@@ -1523,6 +1579,8 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return Whether the documentLocation field is set.
*/
public boolean hasDocumentLocation() {
return locationCase_ == 5;
@@ -1535,6 +1593,8 @@ public boolean hasDocumentLocation() {
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return The documentLocation.
*/
public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() {
if (documentLocationBuilder_ == null) {
@@ -1729,6 +1789,8 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return Whether the containerTimestamp field is set.
*/
public boolean hasContainerTimestamp() {
return containerTimestampBuilder_ != null || containerTimestamp_ != null;
@@ -1744,6 +1806,8 @@ public boolean hasContainerTimestamp() {
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return The containerTimestamp.
*/
public com.google.protobuf.Timestamp getContainerTimestamp() {
if (containerTimestampBuilder_ == null) {
@@ -1930,6 +1994,8 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
*
*
* string container_version = 7;
+ *
+ * @return The containerVersion.
*/
public java.lang.String getContainerVersion() {
java.lang.Object ref = containerVersion_;
@@ -1951,6 +2017,8 @@ public java.lang.String getContainerVersion() {
*
*
* string container_version = 7;
+ *
+ * @return The bytes for containerVersion.
*/
public com.google.protobuf.ByteString getContainerVersionBytes() {
java.lang.Object ref = containerVersion_;
@@ -1972,6 +2040,9 @@ public com.google.protobuf.ByteString getContainerVersionBytes() {
*
*
* string container_version = 7;
+ *
+ * @param value The containerVersion to set.
+ * @return This builder for chaining.
*/
public Builder setContainerVersion(java.lang.String value) {
if (value == null) {
@@ -1991,6 +2062,8 @@ public Builder setContainerVersion(java.lang.String value) {
*
*
* string container_version = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearContainerVersion() {
@@ -2007,6 +2080,9 @@ public Builder clearContainerVersion() {
*
*
* string container_version = 7;
+ *
+ * @param value The bytes for containerVersion to set.
+ * @return This builder for chaining.
*/
public Builder setContainerVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java
index a55e7451..bb3b70fa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java
@@ -38,6 +38,8 @@ public interface ContentLocationOrBuilder
*
*
* string container_name = 1;
+ *
+ * @return The containerName.
*/
java.lang.String getContainerName();
/**
@@ -55,6 +57,8 @@ public interface ContentLocationOrBuilder
*
*
* string container_name = 1;
+ *
+ * @return The bytes for containerName.
*/
com.google.protobuf.ByteString getContainerNameBytes();
@@ -66,6 +70,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return Whether the recordLocation field is set.
*/
boolean hasRecordLocation();
/**
@@ -76,6 +82,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordLocation record_location = 2;
+ *
+ * @return The recordLocation.
*/
com.google.privacy.dlp.v2.RecordLocation getRecordLocation();
/**
@@ -97,6 +105,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return Whether the imageLocation field is set.
*/
boolean hasImageLocation();
/**
@@ -107,6 +117,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.ImageLocation image_location = 3;
+ *
+ * @return The imageLocation.
*/
com.google.privacy.dlp.v2.ImageLocation getImageLocation();
/**
@@ -128,6 +140,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return Whether the documentLocation field is set.
*/
boolean hasDocumentLocation();
/**
@@ -138,6 +152,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.privacy.dlp.v2.DocumentLocation document_location = 5;
+ *
+ * @return The documentLocation.
*/
com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation();
/**
@@ -162,6 +178,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return Whether the containerTimestamp field is set.
*/
boolean hasContainerTimestamp();
/**
@@ -175,6 +193,8 @@ public interface ContentLocationOrBuilder
*
*
* .google.protobuf.Timestamp container_timestamp = 6;
+ *
+ * @return The containerTimestamp.
*/
com.google.protobuf.Timestamp getContainerTimestamp();
/**
@@ -200,6 +220,8 @@ public interface ContentLocationOrBuilder
*
*
* string container_version = 7;
+ *
+ * @return The containerVersion.
*/
java.lang.String getContainerVersion();
/**
@@ -211,6 +233,8 @@ public interface ContentLocationOrBuilder
*
*
* string container_version = 7;
+ *
+ * @return The bytes for containerVersion.
*/
com.google.protobuf.ByteString getContainerVersionBytes();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java
index 59e160fd..6e10429d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java
@@ -100,12 +100,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ContentOption valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ContentOption forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java
index d27fb011..6a9bf2f3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java
@@ -44,6 +44,12 @@ private CreateDeidentifyTemplateRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDeidentifyTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private CreateDeidentifyTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -152,6 +157,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -175,6 +182,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -198,6 +207,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
public boolean hasDeidentifyTemplate() {
return deidentifyTemplate_ != null;
@@ -210,6 +221,8 @@ public boolean hasDeidentifyTemplate() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
return deidentifyTemplate_ == null
@@ -242,6 +255,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
@@ -265,6 +280,8 @@ public java.lang.String getTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
public com.google.protobuf.ByteString getTemplateIdBytes() {
java.lang.Object ref = templateId_;
@@ -289,6 +306,8 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -310,6 +329,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -714,6 +735,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -737,6 +760,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -760,6 +785,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -781,6 +809,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -799,6 +829,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -825,6 +858,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
public boolean hasDeidentifyTemplate() {
return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null;
@@ -837,6 +872,8 @@ public boolean hasDeidentifyTemplate() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
if (deidentifyTemplateBuilder_ == null) {
@@ -1005,6 +1042,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
@@ -1028,6 +1067,8 @@ public java.lang.String getTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
public com.google.protobuf.ByteString getTemplateIdBytes() {
java.lang.Object ref = templateId_;
@@ -1051,6 +1092,9 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
*
*
* string template_id = 3;
+ *
+ * @param value The templateId to set.
+ * @return This builder for chaining.
*/
public Builder setTemplateId(java.lang.String value) {
if (value == null) {
@@ -1072,6 +1116,8 @@ public Builder setTemplateId(java.lang.String value) {
*
*
* string template_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTemplateId() {
@@ -1090,6 +1136,9 @@ public Builder clearTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @param value The bytes for templateId to set.
+ * @return This builder for chaining.
*/
public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1112,6 +1161,8 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1133,6 +1184,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1154,6 +1207,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1173,6 +1229,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1189,6 +1247,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 4;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java
index 19a96c0f..80eac85e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
boolean hasDeidentifyTemplate();
/**
@@ -68,6 +74,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate();
/**
@@ -92,6 +100,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
java.lang.String getTemplateId();
/**
@@ -105,6 +115,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
com.google.protobuf.ByteString getTemplateIdBytes();
@@ -117,6 +129,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -128,6 +142,8 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
index eccad604..89760df1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
@@ -45,6 +45,12 @@ private CreateDlpJobRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDlpJobRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private CreateDlpJobRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -159,7 +164,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int jobCase_ = 0;
private java.lang.Object job_;
- public enum JobCase implements com.google.protobuf.Internal.EnumLite {
+ public enum JobCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INSPECT_JOB(2),
RISK_JOB(3),
JOB_NOT_SET(0);
@@ -168,7 +176,11 @@ public enum JobCase implements com.google.protobuf.Internal.EnumLite {
private JobCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static JobCase valueOf(int value) {
return forNumber(value);
@@ -208,6 +220,8 @@ public JobCase getJobCase() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -230,6 +244,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -244,11 +260,19 @@ public com.google.protobuf.ByteString getParentBytes() {
}
public static final int INSPECT_JOB_FIELD_NUMBER = 2;
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return Whether the inspectJob field is set.
+ */
public boolean hasInspectJob() {
return jobCase_ == 2;
}
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return The inspectJob.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (jobCase_ == 2) {
return (com.google.privacy.dlp.v2.InspectJobConfig) job_;
@@ -264,11 +288,19 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde
}
public static final int RISK_JOB_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return Whether the riskJob field is set.
+ */
public boolean hasRiskJob() {
return jobCase_ == 3;
}
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return The riskJob.
+ */
public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() {
if (jobCase_ == 3) {
return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_;
@@ -296,6 +328,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
*
*
* string job_id = 4;
+ *
+ * @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
@@ -319,6 +353,8 @@ public java.lang.String getJobId() {
*
*
* string job_id = 4;
+ *
+ * @return The bytes for jobId.
*/
public com.google.protobuf.ByteString getJobIdBytes() {
java.lang.Object ref = jobId_;
@@ -343,6 +379,8 @@ public com.google.protobuf.ByteString getJobIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -364,6 +402,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -824,6 +864,8 @@ public Builder clearJob() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -846,6 +888,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -868,6 +912,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -888,6 +935,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -905,6 +954,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -922,11 +974,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
com.google.privacy.dlp.v2.InspectJobConfig.Builder,
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>
inspectJobBuilder_;
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return Whether the inspectJob field is set.
+ */
public boolean hasInspectJob() {
return jobCase_ == 2;
}
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return The inspectJob.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (inspectJobBuilder_ == null) {
if (jobCase_ == 2) {
@@ -1052,11 +1112,19 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde
com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>
riskJobBuilder_;
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return Whether the riskJob field is set.
+ */
public boolean hasRiskJob() {
return jobCase_ == 3;
}
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return The riskJob.
+ */
public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() {
if (riskJobBuilder_ == null) {
if (jobCase_ == 3) {
@@ -1189,6 +1257,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
*
*
* string job_id = 4;
+ *
+ * @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
@@ -1212,6 +1282,8 @@ public java.lang.String getJobId() {
*
*
* string job_id = 4;
+ *
+ * @return The bytes for jobId.
*/
public com.google.protobuf.ByteString getJobIdBytes() {
java.lang.Object ref = jobId_;
@@ -1235,6 +1307,9 @@ public com.google.protobuf.ByteString getJobIdBytes() {
*
*
* string job_id = 4;
+ *
+ * @param value The jobId to set.
+ * @return This builder for chaining.
*/
public Builder setJobId(java.lang.String value) {
if (value == null) {
@@ -1256,6 +1331,8 @@ public Builder setJobId(java.lang.String value) {
*
*
* string job_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearJobId() {
@@ -1274,6 +1351,9 @@ public Builder clearJobId() {
*
*
* string job_id = 4;
+ *
+ * @param value The bytes for jobId to set.
+ * @return This builder for chaining.
*/
public Builder setJobIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1296,6 +1376,8 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1317,6 +1399,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1338,6 +1422,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1357,6 +1444,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1373,6 +1462,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 5;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java
index 71542a10..ac6e58ef 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface CreateDlpJobRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,19 +47,37 @@ public interface CreateDlpJobRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return Whether the inspectJob field is set.
+ */
boolean hasInspectJob();
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
+ *
+ * @return The inspectJob.
+ */
com.google.privacy.dlp.v2.InspectJobConfig getInspectJob();
/** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
*/
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder();
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return Whether the riskJob field is set.
+ */
boolean hasRiskJob();
- /** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
+ *
+ * @return The riskJob.
+ */
com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob();
/** .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
*/
com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder();
@@ -73,6 +93,8 @@ public interface CreateDlpJobRequestOrBuilder
*
*
* string job_id = 4;
+ *
+ * @return The jobId.
*/
java.lang.String getJobId();
/**
@@ -86,6 +108,8 @@ public interface CreateDlpJobRequestOrBuilder
*
*
* string job_id = 4;
+ *
+ * @return The bytes for jobId.
*/
com.google.protobuf.ByteString getJobIdBytes();
@@ -98,6 +122,8 @@ public interface CreateDlpJobRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -109,6 +135,8 @@ public interface CreateDlpJobRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java
index 5018ef08..efa8763c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java
@@ -43,6 +43,12 @@ private CreateInspectTemplateRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateInspectTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CreateInspectTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -174,6 +181,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -197,6 +206,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
public boolean hasInspectTemplate() {
return inspectTemplate_ != null;
@@ -209,6 +220,8 @@ public boolean hasInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
return inspectTemplate_ == null
@@ -241,6 +254,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
@@ -264,6 +279,8 @@ public java.lang.String getTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
public com.google.protobuf.ByteString getTemplateIdBytes() {
java.lang.Object ref = templateId_;
@@ -288,6 +305,8 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -309,6 +328,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -713,6 +734,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -736,6 +759,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -759,6 +784,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -780,6 +808,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -798,6 +828,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -824,6 +857,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
public boolean hasInspectTemplate() {
return inspectTemplateBuilder_ != null || inspectTemplate_ != null;
@@ -836,6 +871,8 @@ public boolean hasInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
if (inspectTemplateBuilder_ == null) {
@@ -1004,6 +1041,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
@@ -1027,6 +1066,8 @@ public java.lang.String getTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
public com.google.protobuf.ByteString getTemplateIdBytes() {
java.lang.Object ref = templateId_;
@@ -1050,6 +1091,9 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
*
*
* string template_id = 3;
+ *
+ * @param value The templateId to set.
+ * @return This builder for chaining.
*/
public Builder setTemplateId(java.lang.String value) {
if (value == null) {
@@ -1071,6 +1115,8 @@ public Builder setTemplateId(java.lang.String value) {
*
*
* string template_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTemplateId() {
@@ -1089,6 +1135,9 @@ public Builder clearTemplateId() {
*
*
* string template_id = 3;
+ *
+ * @param value The bytes for templateId to set.
+ * @return This builder for chaining.
*/
public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1111,6 +1160,8 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1132,6 +1183,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1153,6 +1206,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1172,6 +1228,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1188,6 +1246,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 4;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java
index 66126a76..991c9899 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
boolean hasInspectTemplate();
/**
@@ -68,6 +74,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate();
/**
@@ -92,6 +100,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* string template_id = 3;
+ *
+ * @return The templateId.
*/
java.lang.String getTemplateId();
/**
@@ -105,6 +115,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* string template_id = 3;
+ *
+ * @return The bytes for templateId.
*/
com.google.protobuf.ByteString getTemplateIdBytes();
@@ -117,6 +129,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -128,6 +142,8 @@ public interface CreateInspectTemplateRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java
index cb71f88d..a9fdeff5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java
@@ -43,6 +43,12 @@ private CreateJobTriggerRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateJobTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CreateJobTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -150,6 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -172,6 +179,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -195,6 +204,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
public boolean hasJobTrigger() {
return jobTrigger_ != null;
@@ -207,6 +218,8 @@ public boolean hasJobTrigger() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
return jobTrigger_ == null
@@ -239,6 +252,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
*
*
* string trigger_id = 3;
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -262,6 +277,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 3;
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -286,6 +303,8 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -307,6 +326,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -709,6 +730,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -731,6 +754,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -753,6 +778,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -773,6 +801,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -790,6 +820,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -816,6 +849,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
public boolean hasJobTrigger() {
return jobTriggerBuilder_ != null || jobTrigger_ != null;
@@ -828,6 +863,8 @@ public boolean hasJobTrigger() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
if (jobTriggerBuilder_ == null) {
@@ -995,6 +1032,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
*
*
* string trigger_id = 3;
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -1018,6 +1057,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 3;
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -1041,6 +1082,9 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* string trigger_id = 3;
+ *
+ * @param value The triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerId(java.lang.String value) {
if (value == null) {
@@ -1062,6 +1106,8 @@ public Builder setTriggerId(java.lang.String value) {
*
*
* string trigger_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTriggerId() {
@@ -1080,6 +1126,9 @@ public Builder clearTriggerId() {
*
*
* string trigger_id = 3;
+ *
+ * @param value The bytes for triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1102,6 +1151,8 @@ public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1123,6 +1174,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1144,6 +1197,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1163,6 +1219,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1179,6 +1237,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 4;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java
index 7b1ff7e8..d09e37e0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -56,6 +60,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
boolean hasJobTrigger();
/**
@@ -66,6 +72,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
com.google.privacy.dlp.v2.JobTrigger getJobTrigger();
/**
@@ -90,6 +98,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* string trigger_id = 3;
+ *
+ * @return The triggerId.
*/
java.lang.String getTriggerId();
/**
@@ -103,6 +113,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* string trigger_id = 3;
+ *
+ * @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
@@ -115,6 +127,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -126,6 +140,8 @@ public interface CreateJobTriggerRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java
index 32b83ec3..77f0d5ca 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java
@@ -43,6 +43,12 @@ private CreateStoredInfoTypeRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateStoredInfoTypeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CreateStoredInfoTypeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -174,6 +181,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -197,6 +206,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return config_ != null;
@@ -209,6 +220,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
return config_ == null
@@ -241,6 +254,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The storedInfoTypeId.
*/
public java.lang.String getStoredInfoTypeId() {
java.lang.Object ref = storedInfoTypeId_;
@@ -264,6 +279,8 @@ public java.lang.String getStoredInfoTypeId() {
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The bytes for storedInfoTypeId.
*/
public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() {
java.lang.Object ref = storedInfoTypeId_;
@@ -288,6 +305,8 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -309,6 +328,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -713,6 +734,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -736,6 +759,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -759,6 +784,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -780,6 +808,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -798,6 +828,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -824,6 +857,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
@@ -836,6 +871,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
if (configBuilder_ == null) {
@@ -1004,6 +1041,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The storedInfoTypeId.
*/
public java.lang.String getStoredInfoTypeId() {
java.lang.Object ref = storedInfoTypeId_;
@@ -1027,6 +1066,8 @@ public java.lang.String getStoredInfoTypeId() {
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The bytes for storedInfoTypeId.
*/
public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() {
java.lang.Object ref = storedInfoTypeId_;
@@ -1050,6 +1091,9 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() {
*
*
* string stored_info_type_id = 3;
+ *
+ * @param value The storedInfoTypeId to set.
+ * @return This builder for chaining.
*/
public Builder setStoredInfoTypeId(java.lang.String value) {
if (value == null) {
@@ -1071,6 +1115,8 @@ public Builder setStoredInfoTypeId(java.lang.String value) {
*
*
* string stored_info_type_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStoredInfoTypeId() {
@@ -1089,6 +1135,9 @@ public Builder clearStoredInfoTypeId() {
*
*
* string stored_info_type_id = 3;
+ *
+ * @param value The bytes for storedInfoTypeId to set.
+ * @return This builder for chaining.
*/
public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1111,6 +1160,8 @@ public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1132,6 +1183,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1153,6 +1206,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 4;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1172,6 +1228,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1188,6 +1246,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 4;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java
index d9728974..a874f425 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
boolean hasConfig();
/**
@@ -68,6 +74,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig();
/**
@@ -92,6 +100,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The storedInfoTypeId.
*/
java.lang.String getStoredInfoTypeId();
/**
@@ -105,6 +115,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* string stored_info_type_id = 3;
+ *
+ * @return The bytes for storedInfoTypeId.
*/
com.google.protobuf.ByteString getStoredInfoTypeIdBytes();
@@ -117,6 +129,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -128,6 +142,8 @@ public interface CreateStoredInfoTypeRequestOrBuilder
*
*
* string location_id = 4;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java
index e3a14483..0d297949 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java
@@ -41,6 +41,12 @@ private CryptoDeterministicConfig(com.google.protobuf.GeneratedMessageV3.Builder
private CryptoDeterministicConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CryptoDeterministicConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CryptoDeterministicConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -155,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKey_ != null;
@@ -167,6 +174,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
return cryptoKey_ == null
@@ -221,6 +230,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
public boolean hasSurrogateInfoType() {
return surrogateInfoType_ != null;
@@ -258,6 +269,8 @@ public boolean hasSurrogateInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return The surrogateInfoType.
*/
public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() {
return surrogateInfoType_ == null
@@ -325,6 +338,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return context_ != null;
@@ -350,6 +365,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
@@ -782,6 +799,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKeyBuilder_ != null || cryptoKey_ != null;
@@ -794,6 +813,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (cryptoKeyBuilder_ == null) {
@@ -988,6 +1009,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
public boolean hasSurrogateInfoType() {
return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null;
@@ -1025,6 +1048,8 @@ public boolean hasSurrogateInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return The surrogateInfoType.
*/
public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() {
if (surrogateInfoTypeBuilder_ == null) {
@@ -1383,6 +1408,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return contextBuilder_ != null || context_ != null;
@@ -1408,6 +1435,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
if (contextBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
index 39086c8b..377800fe 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
boolean hasCryptoKey();
/**
@@ -41,6 +43,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
com.google.privacy.dlp.v2.CryptoKey getCryptoKey();
/**
@@ -87,6 +91,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
boolean hasSurrogateInfoType();
/**
@@ -122,6 +128,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
+ *
+ * @return The surrogateInfoType.
*/
com.google.privacy.dlp.v2.InfoType getSurrogateInfoType();
/**
@@ -181,6 +189,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
@@ -204,6 +214,8 @@ public interface CryptoDeterministicConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
com.google.privacy.dlp.v2.FieldId getContext();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
index ded038c6..feab43c0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
@@ -45,6 +45,12 @@ private CryptoHashConfig(com.google.protobuf.GeneratedMessageV3.Builder> build
private CryptoHashConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CryptoHashConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private CryptoHashConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -129,6 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKey_ != null;
@@ -141,6 +148,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
return cryptoKey_ == null
@@ -508,6 +517,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKeyBuilder_ != null || cryptoKey_ != null;
@@ -520,6 +531,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (cryptoKeyBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java
index 70abe806..c2d256cc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface CryptoHashConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
boolean hasCryptoKey();
/**
@@ -41,6 +43,8 @@ public interface CryptoHashConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
com.google.privacy.dlp.v2.CryptoKey getCryptoKey();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java
index 39cd9f26..a014b648 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java
@@ -43,6 +43,12 @@ private CryptoKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private CryptoKey() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CryptoKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private CryptoKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -152,7 +157,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int sourceCase_ = 0;
private java.lang.Object source_;
- public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SourceCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TRANSIENT(1),
UNWRAPPED(2),
KMS_WRAPPED(3),
@@ -162,7 +170,11 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
private SourceCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SourceCase valueOf(int value) {
return forNumber(value);
@@ -193,11 +205,19 @@ public SourceCase getSourceCase() {
}
public static final int TRANSIENT_FIELD_NUMBER = 1;
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return Whether the transient field is set.
+ */
public boolean hasTransient() {
return sourceCase_ == 1;
}
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return The transient.
+ */
public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() {
if (sourceCase_ == 1) {
return (com.google.privacy.dlp.v2.TransientCryptoKey) source_;
@@ -213,11 +233,19 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild
}
public static final int UNWRAPPED_FIELD_NUMBER = 2;
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return Whether the unwrapped field is set.
+ */
public boolean hasUnwrapped() {
return sourceCase_ == 2;
}
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return The unwrapped.
+ */
public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() {
if (sourceCase_ == 2) {
return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_;
@@ -233,11 +261,19 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild
}
public static final int KMS_WRAPPED_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return Whether the kmsWrapped field is set.
+ */
public boolean hasKmsWrapped() {
return sourceCase_ == 3;
}
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return The kmsWrapped.
+ */
public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() {
if (sourceCase_ == 3) {
return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_;
@@ -671,11 +707,19 @@ public Builder clearSource() {
com.google.privacy.dlp.v2.TransientCryptoKey.Builder,
com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>
transientBuilder_;
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return Whether the transient field is set.
+ */
public boolean hasTransient() {
return sourceCase_ == 1;
}
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return The transient.
+ */
public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() {
if (transientBuilder_ == null) {
if (sourceCase_ == 1) {
@@ -801,11 +845,19 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild
com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder,
com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder>
unwrappedBuilder_;
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return Whether the unwrapped field is set.
+ */
public boolean hasUnwrapped() {
return sourceCase_ == 2;
}
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return The unwrapped.
+ */
public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() {
if (unwrappedBuilder_ == null) {
if (sourceCase_ == 2) {
@@ -931,11 +983,19 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild
com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder,
com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder>
kmsWrappedBuilder_;
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return Whether the kmsWrapped field is set.
+ */
public boolean hasKmsWrapped() {
return sourceCase_ == 3;
}
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return The kmsWrapped.
+ */
public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() {
if (kmsWrappedBuilder_ == null) {
if (sourceCase_ == 3) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java
index 44b391b3..5dd2c9ea 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java
@@ -23,23 +23,47 @@ public interface CryptoKeyOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoKey)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return Whether the transient field is set.
+ */
boolean hasTransient();
- /** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
+ *
+ * @return The transient.
+ */
com.google.privacy.dlp.v2.TransientCryptoKey getTransient();
/** .google.privacy.dlp.v2.TransientCryptoKey transient = 1;
*/
com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuilder();
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return Whether the unwrapped field is set.
+ */
boolean hasUnwrapped();
- /** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
+ *
+ * @return The unwrapped.
+ */
com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped();
/** .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2;
*/
com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder();
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return Whether the kmsWrapped field is set.
+ */
boolean hasKmsWrapped();
- /** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
+ *
+ * @return The kmsWrapped.
+ */
com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped();
/** .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3;
*/
com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java
index b71ca285..2524dfb5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java
@@ -50,6 +50,12 @@ private CryptoReplaceFfxFpeConfig(com.google.protobuf.GeneratedMessageV3.Builder
private CryptoReplaceFfxFpeConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CryptoReplaceFfxFpeConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -63,7 +69,6 @@ private CryptoReplaceFfxFpeConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -282,12 +287,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static FfxCommonNativeAlphabet valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static FfxCommonNativeAlphabet forNumber(int value) {
switch (value) {
case 0:
@@ -357,7 +370,10 @@ private FfxCommonNativeAlphabet(int value) {
private int alphabetCase_ = 0;
private java.lang.Object alphabet_;
- public enum AlphabetCase implements com.google.protobuf.Internal.EnumLite {
+ public enum AlphabetCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COMMON_ALPHABET(4),
CUSTOM_ALPHABET(5),
RADIX(6),
@@ -367,7 +383,11 @@ public enum AlphabetCase implements com.google.protobuf.Internal.EnumLite {
private AlphabetCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static AlphabetCase valueOf(int value) {
return forNumber(value);
@@ -407,6 +427,8 @@ public AlphabetCase getAlphabetCase() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKey_ != null;
@@ -419,6 +441,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
return cryptoKey_ == null
@@ -461,6 +485,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return context_ != null;
@@ -486,6 +512,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
@@ -521,6 +549,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The enum numeric value on the wire for commonAlphabet.
*/
public int getCommonAlphabetValue() {
if (alphabetCase_ == 4) {
@@ -532,6 +562,8 @@ public int getCommonAlphabetValue() {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The commonAlphabet.
*/
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet
getCommonAlphabet() {
@@ -563,6 +595,8 @@ public int getCommonAlphabetValue() {
*
*
* string custom_alphabet = 5;
+ *
+ * @return The customAlphabet.
*/
public java.lang.String getCustomAlphabet() {
java.lang.Object ref = "";
@@ -594,6 +628,8 @@ public java.lang.String getCustomAlphabet() {
*
*
* string custom_alphabet = 5;
+ *
+ * @return The bytes for customAlphabet.
*/
public com.google.protobuf.ByteString getCustomAlphabetBytes() {
java.lang.Object ref = "";
@@ -621,6 +657,8 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() {
*
*
* int32 radix = 6;
+ *
+ * @return The radix.
*/
public int getRadix() {
if (alphabetCase_ == 6) {
@@ -660,6 +698,8 @@ public int getRadix() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
public boolean hasSurrogateInfoType() {
return surrogateInfoType_ != null;
@@ -693,6 +733,8 @@ public boolean hasSurrogateInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return The surrogateInfoType.
*/
public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() {
return surrogateInfoType_ == null
@@ -1244,6 +1286,8 @@ public Builder clearAlphabet() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return cryptoKeyBuilder_ != null || cryptoKey_ != null;
@@ -1256,6 +1300,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (cryptoKeyBuilder_ == null) {
@@ -1438,6 +1484,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return contextBuilder_ != null || context_ != null;
@@ -1463,6 +1511,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
if (contextBuilder_ == null) {
@@ -1709,6 +1759,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The enum numeric value on the wire for commonAlphabet.
*/
public int getCommonAlphabetValue() {
if (alphabetCase_ == 4) {
@@ -1720,6 +1772,9 @@ public int getCommonAlphabetValue() {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @param value The enum numeric value on the wire for commonAlphabet to set.
+ * @return This builder for chaining.
*/
public Builder setCommonAlphabetValue(int value) {
alphabetCase_ = 4;
@@ -1731,6 +1786,8 @@ public Builder setCommonAlphabetValue(int value) {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The commonAlphabet.
*/
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet
getCommonAlphabet() {
@@ -1751,6 +1808,9 @@ public Builder setCommonAlphabetValue(int value) {
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @param value The commonAlphabet to set.
+ * @return This builder for chaining.
*/
public Builder setCommonAlphabet(
com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet value) {
@@ -1766,6 +1826,8 @@ public Builder setCommonAlphabet(
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearCommonAlphabet() {
if (alphabetCase_ == 4) {
@@ -1790,6 +1852,8 @@ public Builder clearCommonAlphabet() {
*
*
* string custom_alphabet = 5;
+ *
+ * @return The customAlphabet.
*/
public java.lang.String getCustomAlphabet() {
java.lang.Object ref = "";
@@ -1821,6 +1885,8 @@ public java.lang.String getCustomAlphabet() {
*
*
* string custom_alphabet = 5;
+ *
+ * @return The bytes for customAlphabet.
*/
public com.google.protobuf.ByteString getCustomAlphabetBytes() {
java.lang.Object ref = "";
@@ -1852,6 +1918,9 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() {
*
*
* string custom_alphabet = 5;
+ *
+ * @param value The customAlphabet to set.
+ * @return This builder for chaining.
*/
public Builder setCustomAlphabet(java.lang.String value) {
if (value == null) {
@@ -1876,6 +1945,8 @@ public Builder setCustomAlphabet(java.lang.String value) {
*
*
* string custom_alphabet = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCustomAlphabet() {
if (alphabetCase_ == 5) {
@@ -1899,6 +1970,9 @@ public Builder clearCustomAlphabet() {
*
*
* string custom_alphabet = 5;
+ *
+ * @param value The bytes for customAlphabet to set.
+ * @return This builder for chaining.
*/
public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1919,6 +1993,8 @@ public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) {
*
*
* int32 radix = 6;
+ *
+ * @return The radix.
*/
public int getRadix() {
if (alphabetCase_ == 6) {
@@ -1934,6 +2010,9 @@ public int getRadix() {
*
*
* int32 radix = 6;
+ *
+ * @param value The radix to set.
+ * @return This builder for chaining.
*/
public Builder setRadix(int value) {
alphabetCase_ = 6;
@@ -1949,6 +2028,8 @@ public Builder setRadix(int value) {
*
*
* int32 radix = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRadix() {
if (alphabetCase_ == 6) {
@@ -1994,6 +2075,8 @@ public Builder clearRadix() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
public boolean hasSurrogateInfoType() {
return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null;
@@ -2027,6 +2110,8 @@ public boolean hasSurrogateInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return The surrogateInfoType.
*/
public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() {
if (surrogateInfoTypeBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
index 6a049348..3d231cb9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return Whether the cryptoKey field is set.
*/
boolean hasCryptoKey();
/**
@@ -41,6 +43,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
+ *
+ * @return The cryptoKey.
*/
com.google.privacy.dlp.v2.CryptoKey getCryptoKey();
/**
@@ -75,6 +79,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
@@ -98,6 +104,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 2;
+ *
+ * @return The context.
*/
com.google.privacy.dlp.v2.FieldId getContext();
/**
@@ -128,12 +136,16 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The enum numeric value on the wire for commonAlphabet.
*/
int getCommonAlphabetValue();
/**
*
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
*
+ *
+ * @return The commonAlphabet.
*/
com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet();
@@ -151,6 +163,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* string custom_alphabet = 5;
+ *
+ * @return The customAlphabet.
*/
java.lang.String getCustomAlphabet();
/**
@@ -167,6 +181,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* string custom_alphabet = 5;
+ *
+ * @return The bytes for customAlphabet.
*/
com.google.protobuf.ByteString getCustomAlphabetBytes();
@@ -178,6 +194,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* int32 radix = 6;
+ *
+ * @return The radix.
*/
int getRadix();
@@ -210,6 +228,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return Whether the surrogateInfoType field is set.
*/
boolean hasSurrogateInfoType();
/**
@@ -241,6 +261,8 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
+ *
+ * @return The surrogateInfoType.
*/
com.google.privacy.dlp.v2.InfoType getSurrogateInfoType();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
index ce058ff5..6a4ac4c5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
@@ -44,6 +44,12 @@ private CustomInfoType() {
exclusionType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CustomInfoType();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -161,11 +167,11 @@ private CustomInfoType(
}
case 58:
{
- if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
detectionRules_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule>();
- mutable_bitField0_ |= 0x00000040;
+ mutable_bitField0_ |= 0x00000001;
}
detectionRules_.add(
input.readMessage(
@@ -194,7 +200,7 @@ private CustomInfoType(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
detectionRules_ = java.util.Collections.unmodifiableList(detectionRules_);
}
this.unknownFields = unknownFields.build();
@@ -273,12 +279,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ExclusionType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ExclusionType forNumber(int value) {
switch (value) {
case 0:
@@ -347,6 +361,8 @@ public interface DictionaryOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return Whether the wordList field is set.
*/
boolean hasWordList();
/**
@@ -357,6 +373,8 @@ public interface DictionaryOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return The wordList.
*/
com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList();
/**
@@ -379,6 +397,8 @@ public interface DictionaryOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return Whether the cloudStoragePath field is set.
*/
boolean hasCloudStoragePath();
/**
@@ -390,6 +410,8 @@ public interface DictionaryOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return The cloudStoragePath.
*/
com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath();
/**
@@ -447,6 +469,12 @@ private Dictionary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Dictionary() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Dictionary();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -460,7 +488,6 @@ private Dictionary(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -557,6 +584,8 @@ public interface WordListOrBuilder
*
*
* repeated string words = 1;
+ *
+ * @return A list containing the words.
*/
java.util.List getWordsList();
/**
@@ -569,6 +598,8 @@ public interface WordListOrBuilder
*
*
* repeated string words = 1;
+ *
+ * @return The count of words.
*/
int getWordsCount();
/**
@@ -581,6 +612,9 @@ public interface WordListOrBuilder
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The words at the given index.
*/
java.lang.String getWords(int index);
/**
@@ -593,6 +627,9 @@ public interface WordListOrBuilder
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the words at the given index.
*/
com.google.protobuf.ByteString getWordsBytes(int index);
}
@@ -619,6 +656,12 @@ private WordList() {
words_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new WordList();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -703,6 +746,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* repeated string words = 1;
+ *
+ * @return A list containing the words.
*/
public com.google.protobuf.ProtocolStringList getWordsList() {
return words_;
@@ -717,6 +762,8 @@ public com.google.protobuf.ProtocolStringList getWordsList() {
*
*
* repeated string words = 1;
+ *
+ * @return The count of words.
*/
public int getWordsCount() {
return words_.size();
@@ -731,6 +778,9 @@ public int getWordsCount() {
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The words at the given index.
*/
public java.lang.String getWords(int index) {
return words_.get(index);
@@ -745,6 +795,9 @@ public java.lang.String getWords(int index) {
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the words at the given index.
*/
public com.google.protobuf.ByteString getWordsBytes(int index) {
return words_.getByteString(index);
@@ -1116,6 +1169,8 @@ private void ensureWordsIsMutable() {
*
*
* repeated string words = 1;
+ *
+ * @return A list containing the words.
*/
public com.google.protobuf.ProtocolStringList getWordsList() {
return words_.getUnmodifiableView();
@@ -1130,6 +1185,8 @@ public com.google.protobuf.ProtocolStringList getWordsList() {
*
*
* repeated string words = 1;
+ *
+ * @return The count of words.
*/
public int getWordsCount() {
return words_.size();
@@ -1144,6 +1201,9 @@ public int getWordsCount() {
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The words at the given index.
*/
public java.lang.String getWords(int index) {
return words_.get(index);
@@ -1158,6 +1218,9 @@ public java.lang.String getWords(int index) {
*
*
* repeated string words = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the words at the given index.
*/
public com.google.protobuf.ByteString getWordsBytes(int index) {
return words_.getByteString(index);
@@ -1172,6 +1235,10 @@ public com.google.protobuf.ByteString getWordsBytes(int index) {
*
*
* repeated string words = 1;
+ *
+ * @param index The index to set the value at.
+ * @param value The words to set.
+ * @return This builder for chaining.
*/
public Builder setWords(int index, java.lang.String value) {
if (value == null) {
@@ -1192,6 +1259,9 @@ public Builder setWords(int index, java.lang.String value) {
*
*
* repeated string words = 1;
+ *
+ * @param value The words to add.
+ * @return This builder for chaining.
*/
public Builder addWords(java.lang.String value) {
if (value == null) {
@@ -1212,6 +1282,9 @@ public Builder addWords(java.lang.String value) {
*
*
* repeated string words = 1;
+ *
+ * @param values The words to add.
+ * @return This builder for chaining.
*/
public Builder addAllWords(java.lang.Iterable values) {
ensureWordsIsMutable();
@@ -1229,6 +1302,8 @@ public Builder addAllWords(java.lang.Iterable values) {
*
*
* repeated string words = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWords() {
words_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1246,6 +1321,9 @@ public Builder clearWords() {
*
*
* repeated string words = 1;
+ *
+ * @param value The bytes of the words to add.
+ * @return This builder for chaining.
*/
public Builder addWordsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1316,7 +1394,10 @@ public com.google.protobuf.Parser getParserForType() {
private int sourceCase_ = 0;
private java.lang.Object source_;
- public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SourceCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
WORD_LIST(1),
CLOUD_STORAGE_PATH(3),
SOURCE_NOT_SET(0);
@@ -1325,7 +1406,11 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
private SourceCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SourceCase valueOf(int value) {
return forNumber(value);
@@ -1362,6 +1447,8 @@ public SourceCase getSourceCase() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return Whether the wordList field is set.
*/
public boolean hasWordList() {
return sourceCase_ == 1;
@@ -1374,6 +1461,8 @@ public boolean hasWordList() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return The wordList.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() {
if (sourceCase_ == 1) {
@@ -1408,6 +1497,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return Whether the cloudStoragePath field is set.
*/
public boolean hasCloudStoragePath() {
return sourceCase_ == 3;
@@ -1421,6 +1512,8 @@ public boolean hasCloudStoragePath() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return The cloudStoragePath.
*/
public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() {
if (sourceCase_ == 3) {
@@ -1872,6 +1965,8 @@ public Builder clearSource() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return Whether the wordList field is set.
*/
public boolean hasWordList() {
return sourceCase_ == 1;
@@ -1884,6 +1979,8 @@ public boolean hasWordList() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
+ *
+ * @return The wordList.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() {
if (wordListBuilder_ == null) {
@@ -2082,6 +2179,8 @@ public Builder clearWordList() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return Whether the cloudStoragePath field is set.
*/
public boolean hasCloudStoragePath() {
return sourceCase_ == 3;
@@ -2095,6 +2194,8 @@ public boolean hasCloudStoragePath() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
+ *
+ * @return The cloudStoragePath.
*/
public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() {
if (cloudStoragePathBuilder_ == null) {
@@ -2346,6 +2447,8 @@ public interface RegexOrBuilder
*
*
* string pattern = 1;
+ *
+ * @return The pattern.
*/
java.lang.String getPattern();
/**
@@ -2358,6 +2461,8 @@ public interface RegexOrBuilder
*
*
* string pattern = 1;
+ *
+ * @return The bytes for pattern.
*/
com.google.protobuf.ByteString getPatternBytes();
@@ -2370,6 +2475,8 @@ public interface RegexOrBuilder
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return A list containing the groupIndexes.
*/
java.util.List getGroupIndexesList();
/**
@@ -2381,6 +2488,8 @@ public interface RegexOrBuilder
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return The count of groupIndexes.
*/
int getGroupIndexesCount();
/**
@@ -2392,6 +2501,9 @@ public interface RegexOrBuilder
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groupIndexes at the given index.
*/
int getGroupIndexes(int index);
}
@@ -2419,6 +2531,12 @@ private Regex() {
groupIndexes_ = emptyIntList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Regex();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2452,9 +2570,9 @@ private Regex(
}
case 16:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
groupIndexes_ = newIntList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
groupIndexes_.addInt(input.readInt32());
break;
@@ -2463,9 +2581,9 @@ private Regex(
{
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
- if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
groupIndexes_ = newIntList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
groupIndexes_.addInt(input.readInt32());
@@ -2487,7 +2605,7 @@ private Regex(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
groupIndexes_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
@@ -2510,7 +2628,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class);
}
- private int bitField0_;
public static final int PATTERN_FIELD_NUMBER = 1;
private volatile java.lang.Object pattern_;
/**
@@ -2523,6 +2640,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string pattern = 1;
+ *
+ * @return The pattern.
*/
public java.lang.String getPattern() {
java.lang.Object ref = pattern_;
@@ -2545,6 +2664,8 @@ public java.lang.String getPattern() {
*
*
* string pattern = 1;
+ *
+ * @return The bytes for pattern.
*/
public com.google.protobuf.ByteString getPatternBytes() {
java.lang.Object ref = pattern_;
@@ -2569,6 +2690,8 @@ public com.google.protobuf.ByteString getPatternBytes() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return A list containing the groupIndexes.
*/
public java.util.List getGroupIndexesList() {
return groupIndexes_;
@@ -2582,6 +2705,8 @@ public java.util.List getGroupIndexesList() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return The count of groupIndexes.
*/
public int getGroupIndexesCount() {
return groupIndexes_.size();
@@ -2595,6 +2720,9 @@ public int getGroupIndexesCount() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groupIndexes at the given index.
*/
public int getGroupIndexes(int index) {
return groupIndexes_.getInt(index);
@@ -2837,7 +2965,7 @@ public Builder clear() {
pattern_ = "";
groupIndexes_ = emptyIntList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -2866,14 +2994,12 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() {
com.google.privacy.dlp.v2.CustomInfoType.Regex result =
new com.google.privacy.dlp.v2.CustomInfoType.Regex(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.pattern_ = pattern_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
groupIndexes_.makeImmutable();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.groupIndexes_ = groupIndexes_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2933,7 +3059,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Regex other) {
if (!other.groupIndexes_.isEmpty()) {
if (groupIndexes_.isEmpty()) {
groupIndexes_ = other.groupIndexes_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupIndexesIsMutable();
groupIndexes_.addAll(other.groupIndexes_);
@@ -2982,6 +3108,8 @@ public Builder mergeFrom(
*
*
* string pattern = 1;
+ *
+ * @return The pattern.
*/
public java.lang.String getPattern() {
java.lang.Object ref = pattern_;
@@ -3004,6 +3132,8 @@ public java.lang.String getPattern() {
*
*
* string pattern = 1;
+ *
+ * @return The bytes for pattern.
*/
public com.google.protobuf.ByteString getPatternBytes() {
java.lang.Object ref = pattern_;
@@ -3026,6 +3156,9 @@ public com.google.protobuf.ByteString getPatternBytes() {
*
*
* string pattern = 1;
+ *
+ * @param value The pattern to set.
+ * @return This builder for chaining.
*/
public Builder setPattern(java.lang.String value) {
if (value == null) {
@@ -3046,6 +3179,8 @@ public Builder setPattern(java.lang.String value) {
*
*
* string pattern = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPattern() {
@@ -3063,6 +3198,9 @@ public Builder clearPattern() {
*
*
* string pattern = 1;
+ *
+ * @param value The bytes for pattern to set.
+ * @return This builder for chaining.
*/
public Builder setPatternBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3078,9 +3216,9 @@ public Builder setPatternBytes(com.google.protobuf.ByteString value) {
private com.google.protobuf.Internal.IntList groupIndexes_ = emptyIntList();
private void ensureGroupIndexesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
groupIndexes_ = mutableCopy(groupIndexes_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -3092,9 +3230,11 @@ private void ensureGroupIndexesIsMutable() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return A list containing the groupIndexes.
*/
public java.util.List getGroupIndexesList() {
- return ((bitField0_ & 0x00000002) != 0)
+ return ((bitField0_ & 0x00000001) != 0)
? java.util.Collections.unmodifiableList(groupIndexes_)
: groupIndexes_;
}
@@ -3107,6 +3247,8 @@ public java.util.List getGroupIndexesList() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return The count of groupIndexes.
*/
public int getGroupIndexesCount() {
return groupIndexes_.size();
@@ -3120,6 +3262,9 @@ public int getGroupIndexesCount() {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The groupIndexes at the given index.
*/
public int getGroupIndexes(int index) {
return groupIndexes_.getInt(index);
@@ -3133,6 +3278,10 @@ public int getGroupIndexes(int index) {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The groupIndexes to set.
+ * @return This builder for chaining.
*/
public Builder setGroupIndexes(int index, int value) {
ensureGroupIndexesIsMutable();
@@ -3149,6 +3298,9 @@ public Builder setGroupIndexes(int index, int value) {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param value The groupIndexes to add.
+ * @return This builder for chaining.
*/
public Builder addGroupIndexes(int value) {
ensureGroupIndexesIsMutable();
@@ -3165,6 +3317,9 @@ public Builder addGroupIndexes(int value) {
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @param values The groupIndexes to add.
+ * @return This builder for chaining.
*/
public Builder addAllGroupIndexes(java.lang.Iterable extends java.lang.Integer> values) {
ensureGroupIndexesIsMutable();
@@ -3181,10 +3336,12 @@ public Builder addAllGroupIndexes(java.lang.Iterable extends java.lang.Integer
*
*
* repeated int32 group_indexes = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupIndexes() {
groupIndexes_ = emptyIntList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -3273,6 +3430,12 @@ private SurrogateType(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private SurrogateType() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SurrogateType();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3710,6 +3873,8 @@ public interface DetectionRuleOrBuilder
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return Whether the hotwordRule field is set.
*/
boolean hasHotwordRule();
/**
@@ -3721,6 +3886,8 @@ public interface DetectionRuleOrBuilder
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return The hotwordRule.
*/
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule();
/**
@@ -3762,6 +3929,12 @@ private DetectionRule(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private DetectionRule() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DetectionRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3775,7 +3948,6 @@ private DetectionRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3854,6 +4026,8 @@ public interface ProximityOrBuilder
*
*
* int32 window_before = 1;
+ *
+ * @return The windowBefore.
*/
int getWindowBefore();
@@ -3865,6 +4039,8 @@ public interface ProximityOrBuilder
*
*
* int32 window_after = 2;
+ *
+ * @return The windowAfter.
*/
int getWindowAfter();
}
@@ -3890,6 +4066,12 @@ private Proximity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Proximity() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Proximity();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3903,7 +4085,6 @@ private Proximity(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -3969,6 +4150,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 window_before = 1;
+ *
+ * @return The windowBefore.
*/
public int getWindowBefore() {
return windowBefore_;
@@ -3984,6 +4167,8 @@ public int getWindowBefore() {
*
*
* int32 window_after = 2;
+ *
+ * @return The windowAfter.
*/
public int getWindowAfter() {
return windowAfter_;
@@ -4345,6 +4530,8 @@ public Builder mergeFrom(
*
*
* int32 window_before = 1;
+ *
+ * @return The windowBefore.
*/
public int getWindowBefore() {
return windowBefore_;
@@ -4357,6 +4544,9 @@ public int getWindowBefore() {
*
*
* int32 window_before = 1;
+ *
+ * @param value The windowBefore to set.
+ * @return This builder for chaining.
*/
public Builder setWindowBefore(int value) {
@@ -4372,6 +4562,8 @@ public Builder setWindowBefore(int value) {
*
*
* int32 window_before = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWindowBefore() {
@@ -4389,6 +4581,8 @@ public Builder clearWindowBefore() {
*
*
* int32 window_after = 2;
+ *
+ * @return The windowAfter.
*/
public int getWindowAfter() {
return windowAfter_;
@@ -4401,6 +4595,9 @@ public int getWindowAfter() {
*
*
* int32 window_after = 2;
+ *
+ * @param value The windowAfter to set.
+ * @return This builder for chaining.
*/
public Builder setWindowAfter(int value) {
@@ -4416,6 +4613,8 @@ public Builder setWindowAfter(int value) {
*
*
* int32 window_after = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWindowAfter() {
@@ -4492,6 +4691,8 @@ public interface LikelihoodAdjustmentOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The enum numeric value on the wire for fixedLikelihood.
*/
int getFixedLikelihoodValue();
/**
@@ -4502,6 +4703,8 @@ public interface LikelihoodAdjustmentOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The fixedLikelihood.
*/
com.google.privacy.dlp.v2.Likelihood getFixedLikelihood();
@@ -4520,6 +4723,8 @@ public interface LikelihoodAdjustmentOrBuilder
*
*
* int32 relative_likelihood = 2;
+ *
+ * @return The relativeLikelihood.
*/
int getRelativeLikelihood();
@@ -4549,6 +4754,12 @@ private LikelihoodAdjustment(com.google.protobuf.GeneratedMessageV3.Builder> b
private LikelihoodAdjustment() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LikelihoodAdjustment();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -4562,7 +4773,6 @@ private LikelihoodAdjustment(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -4625,7 +4835,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int adjustmentCase_ = 0;
private java.lang.Object adjustment_;
- public enum AdjustmentCase implements com.google.protobuf.Internal.EnumLite {
+ public enum AdjustmentCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
FIXED_LIKELIHOOD(1),
RELATIVE_LIKELIHOOD(2),
ADJUSTMENT_NOT_SET(0);
@@ -4634,7 +4847,11 @@ public enum AdjustmentCase implements com.google.protobuf.Internal.EnumLite {
private AdjustmentCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static AdjustmentCase valueOf(int value) {
return forNumber(value);
@@ -4671,6 +4888,8 @@ public AdjustmentCase getAdjustmentCase() {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The enum numeric value on the wire for fixedLikelihood.
*/
public int getFixedLikelihoodValue() {
if (adjustmentCase_ == 1) {
@@ -4686,6 +4905,8 @@ public int getFixedLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The fixedLikelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
if (adjustmentCase_ == 1) {
@@ -4713,6 +4934,8 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
*
*
* int32 relative_likelihood = 2;
+ *
+ * @return The relativeLikelihood.
*/
public int getRelativeLikelihood() {
if (adjustmentCase_ == 2) {
@@ -5140,6 +5363,8 @@ public Builder clearAdjustment() {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The enum numeric value on the wire for fixedLikelihood.
*/
public int getFixedLikelihoodValue() {
if (adjustmentCase_ == 1) {
@@ -5155,6 +5380,9 @@ public int getFixedLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @param value The enum numeric value on the wire for fixedLikelihood to set.
+ * @return This builder for chaining.
*/
public Builder setFixedLikelihoodValue(int value) {
adjustmentCase_ = 1;
@@ -5170,6 +5398,8 @@ public Builder setFixedLikelihoodValue(int value) {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return The fixedLikelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
if (adjustmentCase_ == 1) {
@@ -5188,6 +5418,9 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @param value The fixedLikelihood to set.
+ * @return This builder for chaining.
*/
public Builder setFixedLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
if (value == null) {
@@ -5206,6 +5439,8 @@ public Builder setFixedLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
*
*
* .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFixedLikelihood() {
if (adjustmentCase_ == 1) {
@@ -5231,6 +5466,8 @@ public Builder clearFixedLikelihood() {
*
*
* int32 relative_likelihood = 2;
+ *
+ * @return The relativeLikelihood.
*/
public int getRelativeLikelihood() {
if (adjustmentCase_ == 2) {
@@ -5253,6 +5490,9 @@ public int getRelativeLikelihood() {
*
*
* int32 relative_likelihood = 2;
+ *
+ * @param value The relativeLikelihood to set.
+ * @return This builder for chaining.
*/
public Builder setRelativeLikelihood(int value) {
adjustmentCase_ = 2;
@@ -5275,6 +5515,8 @@ public Builder setRelativeLikelihood(int value) {
*
*
* int32 relative_likelihood = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRelativeLikelihood() {
if (adjustmentCase_ == 2) {
@@ -5355,6 +5597,8 @@ public interface HotwordRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return Whether the hotwordRegex field is set.
*/
boolean hasHotwordRegex();
/**
@@ -5365,6 +5609,8 @@ public interface HotwordRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return The hotwordRegex.
*/
com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex();
/**
@@ -5393,6 +5639,8 @@ public interface HotwordRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return Whether the proximity field is set.
*/
boolean hasProximity();
/**
@@ -5410,6 +5658,8 @@ public interface HotwordRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return The proximity.
*/
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity();
/**
@@ -5441,6 +5691,8 @@ public interface HotwordRuleOrBuilder
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return Whether the likelihoodAdjustment field is set.
*/
boolean hasLikelihoodAdjustment();
/**
@@ -5453,6 +5705,8 @@ public interface HotwordRuleOrBuilder
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return The likelihoodAdjustment.
*/
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
getLikelihoodAdjustment();
@@ -5492,6 +5746,12 @@ private HotwordRule(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private HotwordRule() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new HotwordRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -5505,7 +5765,6 @@ private HotwordRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -5616,6 +5875,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return Whether the hotwordRegex field is set.
*/
public boolean hasHotwordRegex() {
return hotwordRegex_ != null;
@@ -5628,6 +5889,8 @@ public boolean hasHotwordRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return The hotwordRegex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() {
return hotwordRegex_ == null
@@ -5664,6 +5927,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return Whether the proximity field is set.
*/
public boolean hasProximity() {
return proximity_ != null;
@@ -5683,6 +5948,8 @@ public boolean hasProximity() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return The proximity.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() {
return proximity_ == null
@@ -5723,6 +5990,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return Whether the likelihoodAdjustment field is set.
*/
public boolean hasLikelihoodAdjustment() {
return likelihoodAdjustment_ != null;
@@ -5737,6 +6006,8 @@ public boolean hasLikelihoodAdjustment() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return The likelihoodAdjustment.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
getLikelihoodAdjustment() {
@@ -6179,6 +6450,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return Whether the hotwordRegex field is set.
*/
public boolean hasHotwordRegex() {
return hotwordRegexBuilder_ != null || hotwordRegex_ != null;
@@ -6191,6 +6464,8 @@ public boolean hasHotwordRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1;
+ *
+ * @return The hotwordRegex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() {
if (hotwordRegexBuilder_ == null) {
@@ -6368,6 +6643,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return Whether the proximity field is set.
*/
public boolean hasProximity() {
return proximityBuilder_ != null || proximity_ != null;
@@ -6387,6 +6664,8 @@ public boolean hasProximity() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
+ *
+ * @return The proximity.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() {
if (proximityBuilder_ == null) {
@@ -6618,6 +6897,8 @@ public Builder clearProximity() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return Whether the likelihoodAdjustment field is set.
*/
public boolean hasLikelihoodAdjustment() {
return likelihoodAdjustmentBuilder_ != null || likelihoodAdjustment_ != null;
@@ -6632,6 +6913,8 @@ public boolean hasLikelihoodAdjustment() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3;
*
+ *
+ * @return The likelihoodAdjustment.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
getLikelihoodAdjustment() {
@@ -6872,7 +7155,10 @@ public com.google.protobuf.Parser getParserForType() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
HOTWORD_RULE(1),
TYPE_NOT_SET(0);
private final int value;
@@ -6880,7 +7166,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -6916,6 +7206,8 @@ public TypeCase getTypeCase() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return Whether the hotwordRule field is set.
*/
public boolean hasHotwordRule() {
return typeCase_ == 1;
@@ -6929,6 +7221,8 @@ public boolean hasHotwordRule() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return The hotwordRule.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (typeCase_ == 1) {
@@ -7340,6 +7634,8 @@ public Builder clearType() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return Whether the hotwordRule field is set.
*/
public boolean hasHotwordRule() {
return typeCase_ == 1;
@@ -7353,6 +7649,8 @@ public boolean hasHotwordRule() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return The hotwordRule.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (hotwordRuleBuilder_ == null) {
@@ -7601,11 +7899,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDefaultInstance
}
}
- private int bitField0_;
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DICTIONARY(2),
REGEX(3),
SURROGATE_TYPE(4),
@@ -7616,7 +7916,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -7663,6 +7967,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoType_ != null;
@@ -7680,6 +7986,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
@@ -7714,6 +8022,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
public int getLikelihoodValue() {
return likelihood_;
@@ -7728,6 +8038,8 @@ public int getLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The likelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
@@ -7745,6 +8057,8 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return Whether the dictionary field is set.
*/
public boolean hasDictionary() {
return typeCase_ == 2;
@@ -7757,6 +8071,8 @@ public boolean hasDictionary() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return The dictionary.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (typeCase_ == 2) {
@@ -7789,6 +8105,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return Whether the regex field is set.
*/
public boolean hasRegex() {
return typeCase_ == 3;
@@ -7801,6 +8119,8 @@ public boolean hasRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return The regex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (typeCase_ == 3) {
@@ -7834,6 +8154,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return Whether the surrogateType field is set.
*/
public boolean hasSurrogateType() {
return typeCase_ == 4;
@@ -7847,6 +8169,8 @@ public boolean hasSurrogateType() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return The surrogateType.
*/
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() {
if (typeCase_ == 4) {
@@ -7882,6 +8206,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType()
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return Whether the storedType field is set.
*/
public boolean hasStoredType() {
return typeCase_ == 5;
@@ -7895,6 +8221,8 @@ public boolean hasStoredType() {
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return The storedType.
*/
public com.google.privacy.dlp.v2.StoredType getStoredType() {
if (typeCase_ == 5) {
@@ -8006,6 +8334,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetect
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The enum numeric value on the wire for exclusionType.
*/
public int getExclusionTypeValue() {
return exclusionType_;
@@ -8019,6 +8349,8 @@ public int getExclusionTypeValue() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The exclusionType.
*/
public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() {
@SuppressWarnings("deprecation")
@@ -8352,7 +8684,7 @@ public Builder clear() {
if (detectionRulesBuilder_ == null) {
detectionRules_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
detectionRulesBuilder_.clear();
}
@@ -8388,7 +8720,6 @@ public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
com.google.privacy.dlp.v2.CustomInfoType result =
new com.google.privacy.dlp.v2.CustomInfoType(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (infoTypeBuilder_ == null) {
result.infoType_ = infoType_;
} else {
@@ -8424,16 +8755,15 @@ public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
}
}
if (detectionRulesBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
detectionRules_ = java.util.Collections.unmodifiableList(detectionRules_);
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.detectionRules_ = detectionRules_;
} else {
result.detectionRules_ = detectionRulesBuilder_.build();
}
result.exclusionType_ = exclusionType_;
- result.bitField0_ = to_bitField0_;
result.typeCase_ = typeCase_;
onBuilt();
return result;
@@ -8494,7 +8824,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
if (!other.detectionRules_.isEmpty()) {
if (detectionRules_.isEmpty()) {
detectionRules_ = other.detectionRules_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDetectionRulesIsMutable();
detectionRules_.addAll(other.detectionRules_);
@@ -8507,7 +8837,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
detectionRulesBuilder_.dispose();
detectionRulesBuilder_ = null;
detectionRules_ = other.detectionRules_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000001);
detectionRulesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getDetectionRulesFieldBuilder()
@@ -8610,6 +8940,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoTypeBuilder_ != null || infoType_ != null;
@@ -8627,6 +8959,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -8828,6 +9162,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
public int getLikelihoodValue() {
return likelihood_;
@@ -8842,6 +9178,9 @@ public int getLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @param value The enum numeric value on the wire for likelihood to set.
+ * @return This builder for chaining.
*/
public Builder setLikelihoodValue(int value) {
likelihood_ = value;
@@ -8858,6 +9197,8 @@ public Builder setLikelihoodValue(int value) {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The likelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
@@ -8875,6 +9216,9 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @param value The likelihood to set.
+ * @return This builder for chaining.
*/
public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
if (value == null) {
@@ -8895,6 +9239,8 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLikelihood() {
@@ -8916,6 +9262,8 @@ public Builder clearLikelihood() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return Whether the dictionary field is set.
*/
public boolean hasDictionary() {
return typeCase_ == 2;
@@ -8928,6 +9276,8 @@ public boolean hasDictionary() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return The dictionary.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (dictionaryBuilder_ == null) {
@@ -9118,6 +9468,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return Whether the regex field is set.
*/
public boolean hasRegex() {
return typeCase_ == 3;
@@ -9130,6 +9482,8 @@ public boolean hasRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return The regex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (regexBuilder_ == null) {
@@ -9321,6 +9675,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return Whether the surrogateType field is set.
*/
public boolean hasSurrogateType() {
return typeCase_ == 4;
@@ -9334,6 +9690,8 @@ public boolean hasSurrogateType() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return The surrogateType.
*/
public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() {
if (surrogateTypeBuilder_ == null) {
@@ -9536,6 +9894,8 @@ public Builder clearSurrogateType() {
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return Whether the storedType field is set.
*/
public boolean hasStoredType() {
return typeCase_ == 5;
@@ -9549,6 +9909,8 @@ public boolean hasStoredType() {
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return The storedType.
*/
public com.google.privacy.dlp.v2.StoredType getStoredType() {
if (storedTypeBuilder_ == null) {
@@ -9733,11 +10095,11 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
java.util.Collections.emptyList();
private void ensureDetectionRulesIsMutable() {
- if (!((bitField0_ & 0x00000040) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
detectionRules_ =
new java.util.ArrayList(
detectionRules_);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000001;
}
}
@@ -9990,7 +10352,7 @@ public Builder addAllDetectionRules(
public Builder clearDetectionRules() {
if (detectionRulesBuilder_ == null) {
detectionRules_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
detectionRulesBuilder_.clear();
@@ -10139,7 +10501,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetecti
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder,
com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>(
detectionRules_,
- ((bitField0_ & 0x00000040) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
detectionRules_ = null;
@@ -10157,6 +10519,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetecti
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The enum numeric value on the wire for exclusionType.
*/
public int getExclusionTypeValue() {
return exclusionType_;
@@ -10170,6 +10534,9 @@ public int getExclusionTypeValue() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @param value The enum numeric value on the wire for exclusionType to set.
+ * @return This builder for chaining.
*/
public Builder setExclusionTypeValue(int value) {
exclusionType_ = value;
@@ -10185,6 +10552,8 @@ public Builder setExclusionTypeValue(int value) {
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The exclusionType.
*/
public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() {
@SuppressWarnings("deprecation")
@@ -10203,6 +10572,9 @@ public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType()
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @param value The exclusionType to set.
+ * @return This builder for chaining.
*/
public Builder setExclusionType(com.google.privacy.dlp.v2.CustomInfoType.ExclusionType value) {
if (value == null) {
@@ -10222,6 +10594,8 @@ public Builder setExclusionType(com.google.privacy.dlp.v2.CustomInfoType.Exclusi
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearExclusionType() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java
index 619f2f8e..ab9c80ca 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java
@@ -36,6 +36,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -51,6 +53,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -79,6 +83,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
int getLikelihoodValue();
/**
@@ -91,6 +97,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 6;
+ *
+ * @return The likelihood.
*/
com.google.privacy.dlp.v2.Likelihood getLikelihood();
@@ -102,6 +110,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return Whether the dictionary field is set.
*/
boolean hasDictionary();
/**
@@ -112,6 +122,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2;
+ *
+ * @return The dictionary.
*/
com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary();
/**
@@ -133,6 +145,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return Whether the regex field is set.
*/
boolean hasRegex();
/**
@@ -143,6 +157,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3;
+ *
+ * @return The regex.
*/
com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();
/**
@@ -165,6 +181,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return Whether the surrogateType field is set.
*/
boolean hasSurrogateType();
/**
@@ -176,6 +194,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
+ *
+ * @return The surrogateType.
*/
com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType();
/**
@@ -199,6 +219,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return Whether the storedType field is set.
*/
boolean hasStoredType();
/**
@@ -210,6 +232,8 @@ public interface CustomInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.StoredType stored_type = 5;
+ *
+ * @return The storedType.
*/
com.google.privacy.dlp.v2.StoredType getStoredType();
/**
@@ -296,6 +320,8 @@ com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRule
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The enum numeric value on the wire for exclusionType.
*/
int getExclusionTypeValue();
/**
@@ -307,6 +333,8 @@ com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRule
*
*
* .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;
+ *
+ * @return The exclusionType.
*/
com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
index 42ff0a97..a3151327 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java
@@ -39,6 +39,12 @@ private DatastoreKey(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private DatastoreKey() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DatastoreKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private DatastoreKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,6 +127,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return Whether the entityKey field is set.
*/
public boolean hasEntityKey() {
return entityKey_ != null;
@@ -134,6 +141,8 @@ public boolean hasEntityKey() {
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return The entityKey.
*/
public com.google.privacy.dlp.v2.Key getEntityKey() {
return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_;
@@ -492,6 +501,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return Whether the entityKey field is set.
*/
public boolean hasEntityKey() {
return entityKeyBuilder_ != null || entityKey_ != null;
@@ -504,6 +515,8 @@ public boolean hasEntityKey() {
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return The entityKey.
*/
public com.google.privacy.dlp.v2.Key getEntityKey() {
if (entityKeyBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java
index 1b03a134..3b934a99 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java
@@ -31,6 +31,8 @@ public interface DatastoreKeyOrBuilder
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return Whether the entityKey field is set.
*/
boolean hasEntityKey();
/**
@@ -41,6 +43,8 @@ public interface DatastoreKeyOrBuilder
*
*
* .google.privacy.dlp.v2.Key entity_key = 1;
+ *
+ * @return The entityKey.
*/
com.google.privacy.dlp.v2.Key getEntityKey();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
index b7df3e46..8b635bef 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java
@@ -39,6 +39,12 @@ private DatastoreOptions(com.google.protobuf.GeneratedMessageV3.Builder> build
private DatastoreOptions() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DatastoreOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private DatastoreOptions(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
public boolean hasPartitionId() {
return partitionId_ != null;
@@ -153,6 +160,8 @@ public boolean hasPartitionId() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
return partitionId_ == null
@@ -183,6 +192,8 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return Whether the kind field is set.
*/
public boolean hasKind() {
return kind_ != null;
@@ -195,6 +206,8 @@ public boolean hasKind() {
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return The kind.
*/
public com.google.privacy.dlp.v2.KindExpression getKind() {
return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_;
@@ -583,6 +596,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
public boolean hasPartitionId() {
return partitionIdBuilder_ != null || partitionId_ != null;
@@ -596,6 +611,8 @@ public boolean hasPartitionId() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
if (partitionIdBuilder_ == null) {
@@ -772,6 +789,8 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return Whether the kind field is set.
*/
public boolean hasKind() {
return kindBuilder_ != null || kind_ != null;
@@ -784,6 +803,8 @@ public boolean hasKind() {
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return The kind.
*/
public com.google.privacy.dlp.v2.KindExpression getKind() {
if (kindBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java
index 649a130a..02676566 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java
@@ -32,6 +32,8 @@ public interface DatastoreOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
boolean hasPartitionId();
/**
@@ -43,6 +45,8 @@ public interface DatastoreOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
com.google.privacy.dlp.v2.PartitionId getPartitionId();
/**
@@ -65,6 +69,8 @@ public interface DatastoreOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return Whether the kind field is set.
*/
boolean hasKind();
/**
@@ -75,6 +81,8 @@ public interface DatastoreOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.KindExpression kind = 2;
+ *
+ * @return The kind.
*/
com.google.privacy.dlp.v2.KindExpression getKind();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
index 42816253..209d09d7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java
@@ -41,6 +41,12 @@ private DateShiftConfig(com.google.protobuf.GeneratedMessageV3.Builder> builde
private DateShiftConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DateShiftConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DateShiftConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -143,7 +148,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int methodCase_ = 0;
private java.lang.Object method_;
- public enum MethodCase implements com.google.protobuf.Internal.EnumLite {
+ public enum MethodCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CRYPTO_KEY(4),
METHOD_NOT_SET(0);
private final int value;
@@ -151,7 +159,11 @@ public enum MethodCase implements com.google.protobuf.Internal.EnumLite {
private MethodCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static MethodCase valueOf(int value) {
return forNumber(value);
@@ -191,6 +203,8 @@ public MethodCase getMethodCase() {
*
*
* int32 upper_bound_days = 1;
+ *
+ * @return The upperBoundDays.
*/
public int getUpperBoundDays() {
return upperBoundDays_;
@@ -207,6 +221,8 @@ public int getUpperBoundDays() {
*
*
* int32 lower_bound_days = 2;
+ *
+ * @return The lowerBoundDays.
*/
public int getLowerBoundDays() {
return lowerBoundDays_;
@@ -224,6 +240,8 @@ public int getLowerBoundDays() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return context_ != null;
@@ -238,6 +256,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
@@ -268,6 +288,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return methodCase_ == 4;
@@ -282,6 +304,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (methodCase_ == 4) {
@@ -739,6 +763,8 @@ public Builder clearMethod() {
*
*
* int32 upper_bound_days = 1;
+ *
+ * @return The upperBoundDays.
*/
public int getUpperBoundDays() {
return upperBoundDays_;
@@ -755,6 +781,9 @@ public int getUpperBoundDays() {
*
*
* int32 upper_bound_days = 1;
+ *
+ * @param value The upperBoundDays to set.
+ * @return This builder for chaining.
*/
public Builder setUpperBoundDays(int value) {
@@ -774,6 +803,8 @@ public Builder setUpperBoundDays(int value) {
*
*
* int32 upper_bound_days = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUpperBoundDays() {
@@ -792,6 +823,8 @@ public Builder clearUpperBoundDays() {
*
*
* int32 lower_bound_days = 2;
+ *
+ * @return The lowerBoundDays.
*/
public int getLowerBoundDays() {
return lowerBoundDays_;
@@ -805,6 +838,9 @@ public int getLowerBoundDays() {
*
*
* int32 lower_bound_days = 2;
+ *
+ * @param value The lowerBoundDays to set.
+ * @return This builder for chaining.
*/
public Builder setLowerBoundDays(int value) {
@@ -821,6 +857,8 @@ public Builder setLowerBoundDays(int value) {
*
*
* int32 lower_bound_days = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLowerBoundDays() {
@@ -845,6 +883,8 @@ public Builder clearLowerBoundDays() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return contextBuilder_ != null || context_ != null;
@@ -859,6 +899,8 @@ public boolean hasContext() {
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
public com.google.privacy.dlp.v2.FieldId getContext() {
if (contextBuilder_ == null) {
@@ -1039,6 +1081,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return Whether the cryptoKey field is set.
*/
public boolean hasCryptoKey() {
return methodCase_ == 4;
@@ -1053,6 +1097,8 @@ public boolean hasCryptoKey() {
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return The cryptoKey.
*/
public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
if (cryptoKeyBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
index e3bd79fd..5bfa2ca7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
@@ -35,6 +35,8 @@ public interface DateShiftConfigOrBuilder
*
*
* int32 upper_bound_days = 1;
+ *
+ * @return The upperBoundDays.
*/
int getUpperBoundDays();
@@ -47,6 +49,8 @@ public interface DateShiftConfigOrBuilder
*
*
* int32 lower_bound_days = 2;
+ *
+ * @return The lowerBoundDays.
*/
int getLowerBoundDays();
@@ -60,6 +64,8 @@ public interface DateShiftConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
@@ -72,6 +78,8 @@ public interface DateShiftConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId context = 3;
+ *
+ * @return The context.
*/
com.google.privacy.dlp.v2.FieldId getContext();
/**
@@ -97,6 +105,8 @@ public interface DateShiftConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return Whether the cryptoKey field is set.
*/
boolean hasCryptoKey();
/**
@@ -109,6 +119,8 @@ public interface DateShiftConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
+ *
+ * @return The cryptoKey.
*/
com.google.privacy.dlp.v2.CryptoKey getCryptoKey();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
index 372d4347..2800b6b5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
@@ -42,6 +42,12 @@ private DateTime() {
dayOfWeek_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DateTime();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DateTime(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -165,6 +170,8 @@ public interface TimeZoneOrBuilder
*
*
* int32 offset_minutes = 1;
+ *
+ * @return The offsetMinutes.
*/
int getOffsetMinutes();
}
@@ -181,6 +188,12 @@ private TimeZone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TimeZone() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeZone();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -194,7 +207,6 @@ private TimeZone(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -255,6 +267,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 offset_minutes = 1;
+ *
+ * @return The offsetMinutes.
*/
public int getOffsetMinutes() {
return offsetMinutes_;
@@ -581,6 +595,8 @@ public Builder mergeFrom(
*
*
* int32 offset_minutes = 1;
+ *
+ * @return The offsetMinutes.
*/
public int getOffsetMinutes() {
return offsetMinutes_;
@@ -594,6 +610,9 @@ public int getOffsetMinutes() {
*
*
* int32 offset_minutes = 1;
+ *
+ * @param value The offsetMinutes to set.
+ * @return This builder for chaining.
*/
public Builder setOffsetMinutes(int value) {
@@ -610,6 +629,8 @@ public Builder setOffsetMinutes(int value) {
*
*
* int32 offset_minutes = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOffsetMinutes() {
@@ -681,6 +702,8 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstanceForType() {
*
*
* .google.type.Date date = 1;
+ *
+ * @return Whether the date field is set.
*/
public boolean hasDate() {
return date_ != null;
@@ -694,6 +717,8 @@ public boolean hasDate() {
*
*
* .google.type.Date date = 1;
+ *
+ * @return The date.
*/
public com.google.type.Date getDate() {
return date_ == null ? com.google.type.Date.getDefaultInstance() : date_;
@@ -714,11 +739,19 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
public static final int DAY_OF_WEEK_FIELD_NUMBER = 2;
private int dayOfWeek_;
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The enum numeric value on the wire for dayOfWeek.
+ */
public int getDayOfWeekValue() {
return dayOfWeek_;
}
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The dayOfWeek.
+ */
public com.google.type.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_);
@@ -727,11 +760,19 @@ public com.google.type.DayOfWeek getDayOfWeek() {
public static final int TIME_FIELD_NUMBER = 3;
private com.google.type.TimeOfDay time_;
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return Whether the time field is set.
+ */
public boolean hasTime() {
return time_ != null;
}
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return The time.
+ */
public com.google.type.TimeOfDay getTime() {
return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_;
}
@@ -742,11 +783,19 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() {
public static final int TIME_ZONE_FIELD_NUMBER = 4;
private com.google.privacy.dlp.v2.DateTime.TimeZone timeZone_;
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return Whether the timeZone field is set.
+ */
public boolean hasTimeZone() {
return timeZone_ != null;
}
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return The timeZone.
+ */
public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() {
return timeZone_ == null
? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance()
@@ -1167,6 +1216,8 @@ public Builder mergeFrom(
*
*
* .google.type.Date date = 1;
+ *
+ * @return Whether the date field is set.
*/
public boolean hasDate() {
return dateBuilder_ != null || date_ != null;
@@ -1180,6 +1231,8 @@ public boolean hasDate() {
*
*
* .google.type.Date date = 1;
+ *
+ * @return The date.
*/
public com.google.type.Date getDate() {
if (dateBuilder_ == null) {
@@ -1332,23 +1385,41 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
}
private int dayOfWeek_ = 0;
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The enum numeric value on the wire for dayOfWeek.
+ */
public int getDayOfWeekValue() {
return dayOfWeek_;
}
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @param value The enum numeric value on the wire for dayOfWeek to set.
+ * @return This builder for chaining.
+ */
public Builder setDayOfWeekValue(int value) {
dayOfWeek_ = value;
onChanged();
return this;
}
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The dayOfWeek.
+ */
public com.google.type.DayOfWeek getDayOfWeek() {
@SuppressWarnings("deprecation")
com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_);
return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result;
}
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @param value The dayOfWeek to set.
+ * @return This builder for chaining.
+ */
public Builder setDayOfWeek(com.google.type.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
@@ -1358,7 +1429,11 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) {
onChanged();
return this;
}
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearDayOfWeek() {
dayOfWeek_ = 0;
@@ -1372,11 +1447,19 @@ public Builder clearDayOfWeek() {
com.google.type.TimeOfDay.Builder,
com.google.type.TimeOfDayOrBuilder>
timeBuilder_;
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return Whether the time field is set.
+ */
public boolean hasTime() {
return timeBuilder_ != null || time_ != null;
}
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return The time.
+ */
public com.google.type.TimeOfDay getTime() {
if (timeBuilder_ == null) {
return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_;
@@ -1473,11 +1556,19 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() {
com.google.privacy.dlp.v2.DateTime.TimeZone.Builder,
com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder>
timeZoneBuilder_;
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return Whether the timeZone field is set.
+ */
public boolean hasTimeZone() {
return timeZoneBuilder_ != null || timeZone_ != null;
}
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return The timeZone.
+ */
public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() {
if (timeZoneBuilder_ == null) {
return timeZone_ == null
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java
index e12fbf3a..10bd76b0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java
@@ -32,6 +32,8 @@ public interface DateTimeOrBuilder
*
*
* .google.type.Date date = 1;
+ *
+ * @return Whether the date field is set.
*/
boolean hasDate();
/**
@@ -43,6 +45,8 @@ public interface DateTimeOrBuilder
*
*
* .google.type.Date date = 1;
+ *
+ * @return The date.
*/
com.google.type.Date getDate();
/**
@@ -57,21 +61,45 @@ public interface DateTimeOrBuilder
*/
com.google.type.DateOrBuilder getDateOrBuilder();
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The enum numeric value on the wire for dayOfWeek.
+ */
int getDayOfWeekValue();
- /** .google.type.DayOfWeek day_of_week = 2;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week = 2;
+ *
+ * @return The dayOfWeek.
+ */
com.google.type.DayOfWeek getDayOfWeek();
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return Whether the time field is set.
+ */
boolean hasTime();
- /** .google.type.TimeOfDay time = 3;
*/
+ /**
+ * .google.type.TimeOfDay time = 3;
+ *
+ * @return The time.
+ */
com.google.type.TimeOfDay getTime();
/** .google.type.TimeOfDay time = 3;
*/
com.google.type.TimeOfDayOrBuilder getTimeOrBuilder();
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return Whether the timeZone field is set.
+ */
boolean hasTimeZone();
- /** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
+ *
+ * @return The timeZone.
+ */
com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone();
/** .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4;
*/
com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
index 2505cab5..66cd5911 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java
@@ -39,6 +39,12 @@ private DeidentifyConfig(com.google.protobuf.GeneratedMessageV3.Builder> build
private DeidentifyConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeidentifyConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private DeidentifyConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,7 +143,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int transformationCase_ = 0;
private java.lang.Object transformation_;
- public enum TransformationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TransformationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INFO_TYPE_TRANSFORMATIONS(1),
RECORD_TRANSFORMATIONS(2),
TRANSFORMATION_NOT_SET(0);
@@ -147,7 +155,11 @@ public enum TransformationCase implements com.google.protobuf.Internal.EnumLite
private TransformationCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TransformationCase valueOf(int value) {
return forNumber(value);
@@ -185,6 +197,8 @@ public TransformationCase getTransformationCase() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 1;
@@ -198,6 +212,8 @@ public boolean hasInfoTypeTransformations() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return The infoTypeTransformations.
*/
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (transformationCase_ == 1) {
@@ -234,6 +250,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return Whether the recordTransformations field is set.
*/
public boolean hasRecordTransformations() {
return transformationCase_ == 2;
@@ -248,6 +266,8 @@ public boolean hasRecordTransformations() {
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return The recordTransformations.
*/
public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() {
if (transformationCase_ == 2) {
@@ -674,6 +694,8 @@ public Builder clearTransformation() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 1;
@@ -687,6 +709,8 @@ public boolean hasInfoTypeTransformations() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return The infoTypeTransformations.
*/
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (infoTypeTransformationsBuilder_ == null) {
@@ -891,6 +915,8 @@ public Builder clearInfoTypeTransformations() {
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return Whether the recordTransformations field is set.
*/
public boolean hasRecordTransformations() {
return transformationCase_ == 2;
@@ -905,6 +931,8 @@ public boolean hasRecordTransformations() {
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return The recordTransformations.
*/
public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() {
if (recordTransformationsBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java
index bdd5d1f4..39141a1a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java
@@ -32,6 +32,8 @@ public interface DeidentifyConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
boolean hasInfoTypeTransformations();
/**
@@ -43,6 +45,8 @@ public interface DeidentifyConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
+ *
+ * @return The infoTypeTransformations.
*/
com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations();
/**
@@ -67,6 +71,8 @@ public interface DeidentifyConfigOrBuilder
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return Whether the recordTransformations field is set.
*/
boolean hasRecordTransformations();
/**
@@ -79,6 +85,8 @@ public interface DeidentifyConfigOrBuilder
*
*
* .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
+ *
+ * @return The recordTransformations.
*/
com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
index 585aa332..e4ccc5ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
@@ -44,6 +44,12 @@ private DeidentifyContentRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeidentifyContentRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private DeidentifyContentRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -188,6 +193,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -208,6 +215,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -233,6 +242,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
public boolean hasDeidentifyConfig() {
return deidentifyConfig_ != null;
@@ -247,6 +258,8 @@ public boolean hasDeidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return The deidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
return deidentifyConfig_ == null
@@ -280,6 +293,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -294,6 +309,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -325,6 +342,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return item_ != null;
@@ -337,6 +356,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
@@ -368,6 +389,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -392,6 +415,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -419,6 +444,8 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The deidentifyTemplateName.
*/
public java.lang.String getDeidentifyTemplateName() {
java.lang.Object ref = deidentifyTemplateName_;
@@ -443,6 +470,8 @@ public java.lang.String getDeidentifyTemplateName() {
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The bytes for deidentifyTemplateName.
*/
public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
java.lang.Object ref = deidentifyTemplateName_;
@@ -467,6 +496,8 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -488,6 +519,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -960,6 +993,8 @@ public Builder mergeFrom(
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -980,6 +1015,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1000,6 +1037,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -1018,6 +1058,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -1033,6 +1075,9 @@ public Builder clearParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1061,6 +1106,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
public boolean hasDeidentifyConfig() {
return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null;
@@ -1075,6 +1122,8 @@ public boolean hasDeidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return The deidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
if (deidentifyConfigBuilder_ == null) {
@@ -1261,6 +1310,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -1275,6 +1326,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
@@ -1459,6 +1512,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return itemBuilder_ != null || item_ != null;
@@ -1471,6 +1526,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
if (itemBuilder_ == null) {
@@ -1635,6 +1692,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -1659,6 +1718,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -1683,6 +1744,9 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string inspect_template_name = 5;
+ *
+ * @param value The inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateName(java.lang.String value) {
if (value == null) {
@@ -1705,6 +1769,8 @@ public Builder setInspectTemplateName(java.lang.String value) {
*
*
* string inspect_template_name = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInspectTemplateName() {
@@ -1724,6 +1790,9 @@ public Builder clearInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @param value The bytes for inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1749,6 +1818,8 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The deidentifyTemplateName.
*/
public java.lang.String getDeidentifyTemplateName() {
java.lang.Object ref = deidentifyTemplateName_;
@@ -1773,6 +1844,8 @@ public java.lang.String getDeidentifyTemplateName() {
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The bytes for deidentifyTemplateName.
*/
public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
java.lang.Object ref = deidentifyTemplateName_;
@@ -1797,6 +1870,9 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
*
*
* string deidentify_template_name = 6;
+ *
+ * @param value The deidentifyTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setDeidentifyTemplateName(java.lang.String value) {
if (value == null) {
@@ -1819,6 +1895,8 @@ public Builder setDeidentifyTemplateName(java.lang.String value) {
*
*
* string deidentify_template_name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDeidentifyTemplateName() {
@@ -1838,6 +1916,9 @@ public Builder clearDeidentifyTemplateName() {
*
*
* string deidentify_template_name = 6;
+ *
+ * @param value The bytes for deidentifyTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1860,6 +1941,8 @@ public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString val
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1881,6 +1964,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1902,6 +1987,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 7;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1921,6 +2009,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1937,6 +2027,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 7;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java
index e55b0bae..8dab778a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java
@@ -31,6 +31,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -41,6 +43,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -54,6 +58,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
boolean hasDeidentifyConfig();
/**
@@ -66,6 +72,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
+ *
+ * @return The deidentifyConfig.
*/
com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig();
/**
@@ -91,6 +99,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -103,6 +113,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
@@ -126,6 +138,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
boolean hasItem();
/**
@@ -136,6 +150,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
@@ -161,6 +177,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
java.lang.String getInspectTemplateName();
/**
@@ -175,6 +193,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
com.google.protobuf.ByteString getInspectTemplateNameBytes();
@@ -190,6 +210,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The deidentifyTemplateName.
*/
java.lang.String getDeidentifyTemplateName();
/**
@@ -204,6 +226,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string deidentify_template_name = 6;
+ *
+ * @return The bytes for deidentifyTemplateName.
*/
com.google.protobuf.ByteString getDeidentifyTemplateNameBytes();
@@ -216,6 +240,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -227,6 +253,8 @@ public interface DeidentifyContentRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
index 4fc1a722..93641e8f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java
@@ -39,6 +39,12 @@ private DeidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder
private DeidentifyContentResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeidentifyContentResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private DeidentifyContentResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return item_ != null;
@@ -151,6 +158,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
@@ -178,6 +187,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
public boolean hasOverview() {
return overview_ != null;
@@ -190,6 +201,8 @@ public boolean hasOverview() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
return overview_ == null
@@ -581,6 +594,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return itemBuilder_ != null || item_ != null;
@@ -593,6 +608,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
if (itemBuilder_ == null) {
@@ -758,6 +775,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
public boolean hasOverview() {
return overviewBuilder_ != null || overview_ != null;
@@ -770,6 +789,8 @@ public boolean hasOverview() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
if (overviewBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java
index 4a2056ef..bebe6f42 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java
@@ -31,6 +31,8 @@ public interface DeidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
boolean hasItem();
/**
@@ -41,6 +43,8 @@ public interface DeidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
@@ -62,6 +66,8 @@ public interface DeidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
boolean hasOverview();
/**
@@ -72,6 +78,8 @@ public interface DeidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
com.google.privacy.dlp.v2.TransformationOverview getOverview();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
index 53bc3abc..38210fcb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java
@@ -44,6 +44,12 @@ private DeidentifyTemplate() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeidentifyTemplate();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private DeidentifyTemplate(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -182,6 +187,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -205,6 +212,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -228,6 +237,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -248,6 +259,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -271,6 +284,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -291,6 +306,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -314,6 +331,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -326,6 +345,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -353,6 +374,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -365,6 +388,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -392,6 +417,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
public boolean hasDeidentifyConfig() {
return deidentifyConfig_ != null;
@@ -404,6 +431,8 @@ public boolean hasDeidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return The deidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
return deidentifyConfig_ == null
@@ -868,6 +897,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -891,6 +922,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -914,6 +947,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -935,6 +971,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -953,6 +991,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -974,6 +1015,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -994,6 +1037,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1014,6 +1059,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1032,6 +1080,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1047,6 +1097,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1068,6 +1121,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1088,6 +1143,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1108,6 +1165,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1126,6 +1186,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1141,6 +1203,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1167,6 +1232,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -1179,6 +1246,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1346,6 +1415,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -1358,6 +1429,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -1525,6 +1598,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
public boolean hasDeidentifyConfig() {
return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null;
@@ -1537,6 +1612,8 @@ public boolean hasDeidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return The deidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() {
if (deidentifyConfigBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java
index 184ae7ff..498683e2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class DeidentifyTemplateName implements ResourceName {
protected DeidentifyTemplateName() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateNames.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateNames.java
index 940dc792..cd1cbd91 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateNames.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateNames.java
@@ -16,8 +16,13 @@
package com.google.privacy.dlp.v2;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class DeidentifyTemplateNames {
private DeidentifyTemplateNames() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java
index 3b3bf392..1903488f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java
@@ -34,6 +34,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -68,6 +74,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -79,6 +87,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -89,6 +99,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -100,6 +112,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -110,6 +124,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -131,6 +147,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -141,6 +159,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -162,6 +182,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return Whether the deidentifyConfig field is set.
*/
boolean hasDeidentifyConfig();
/**
@@ -172,6 +194,8 @@ public interface DeidentifyTemplateOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
+ *
+ * @return The deidentifyConfig.
*/
com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
index 47a223d6..6b82796c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java
@@ -42,6 +42,12 @@ private DeleteDeidentifyTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteDeidentifyTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteDeidentifyTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -145,6 +152,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -490,6 +499,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -514,6 +525,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -538,6 +551,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -560,6 +576,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -579,6 +597,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java
index 0bf50ec2..12c4bb9b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface DeleteDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface DeleteDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
index 83d3f785..a9d41553 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java
@@ -41,6 +41,12 @@ private DeleteDlpJobRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteDlpJobRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteDlpJobRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -140,6 +147,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -480,6 +489,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -502,6 +513,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -524,6 +537,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -544,6 +560,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -561,6 +579,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java
index b878e32d..973f8b52 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface DeleteDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface DeleteDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
index 8cde316d..7e7cf2b5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java
@@ -41,6 +41,12 @@ private DeleteInspectTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteInspectTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteInspectTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -489,6 +498,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -513,6 +524,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -578,6 +596,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java
index b86755d1..fa4b95ae 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface DeleteInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface DeleteInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
index 6b47e47c..31708668 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java
@@ -41,6 +41,12 @@ private DeleteJobTriggerRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteJobTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteJobTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -485,6 +494,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -508,6 +519,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -552,6 +568,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -570,6 +588,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java
index c1e58083..5df329e6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface DeleteJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface DeleteJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
index f40de9c9..90236b18 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java
@@ -41,6 +41,12 @@ private DeleteStoredInfoTypeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteStoredInfoTypeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteStoredInfoTypeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -489,6 +498,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -513,6 +524,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -578,6 +596,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java
index 50d92923..0451f034 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface DeleteStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface DeleteStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
index e94cd5ef..ebe69c36 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java
@@ -45,6 +45,12 @@ private DlpJob() {
errors_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DlpJob();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -181,9 +187,9 @@ private DlpJob(
}
case 90:
{
- if (!((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000200;
+ mutable_bitField0_ |= 0x00000001;
}
errors_.add(
input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
@@ -203,7 +209,7 @@ private DlpJob(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
}
this.unknownFields = unknownFields.build();
@@ -343,12 +349,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static JobState valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static JobState forNumber(int value) {
switch (value) {
case 0:
@@ -412,11 +426,13 @@ private JobState(int value) {
// @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DlpJob.JobState)
}
- private int bitField0_;
private int detailsCase_ = 0;
private java.lang.Object details_;
- public enum DetailsCase implements com.google.protobuf.Internal.EnumLite {
+ public enum DetailsCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
RISK_DETAILS(4),
INSPECT_DETAILS(5),
DETAILS_NOT_SET(0);
@@ -425,7 +441,11 @@ public enum DetailsCase implements com.google.protobuf.Internal.EnumLite {
private DetailsCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static DetailsCase valueOf(int value) {
return forNumber(value);
@@ -463,6 +483,8 @@ public DetailsCase getDetailsCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -483,6 +505,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -506,6 +530,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -518,6 +544,8 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
@@ -536,6 +564,8 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -548,6 +578,8 @@ public int getStateValue() {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The state.
*/
public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
@SuppressWarnings("deprecation")
@@ -565,6 +597,8 @@ public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return Whether the riskDetails field is set.
*/
public boolean hasRiskDetails() {
return detailsCase_ == 4;
@@ -577,6 +611,8 @@ public boolean hasRiskDetails() {
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return The riskDetails.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() {
if (detailsCase_ == 4) {
@@ -609,6 +645,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDe
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return Whether the inspectDetails field is set.
*/
public boolean hasInspectDetails() {
return detailsCase_ == 5;
@@ -621,6 +659,8 @@ public boolean hasInspectDetails() {
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return The inspectDetails.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() {
if (detailsCase_ == 5) {
@@ -654,6 +694,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -666,6 +708,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -693,6 +737,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -705,6 +751,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -732,6 +780,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -744,6 +794,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -772,6 +824,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* string job_trigger_name = 10;
+ *
+ * @return The jobTriggerName.
*/
public java.lang.String getJobTriggerName() {
java.lang.Object ref = jobTriggerName_;
@@ -793,6 +847,8 @@ public java.lang.String getJobTriggerName() {
*
*
* string job_trigger_name = 10;
+ *
+ * @return The bytes for jobTriggerName.
*/
public com.google.protobuf.ByteString getJobTriggerNameBytes() {
java.lang.Object ref = jobTriggerName_;
@@ -1221,7 +1277,7 @@ public Builder clear() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
errorsBuilder_.clear();
}
@@ -1254,7 +1310,6 @@ public com.google.privacy.dlp.v2.DlpJob build() {
public com.google.privacy.dlp.v2.DlpJob buildPartial() {
com.google.privacy.dlp.v2.DlpJob result = new com.google.privacy.dlp.v2.DlpJob(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.type_ = type_;
result.state_ = state_;
@@ -1289,15 +1344,14 @@ public com.google.privacy.dlp.v2.DlpJob buildPartial() {
}
result.jobTriggerName_ = jobTriggerName_;
if (errorsBuilder_ == null) {
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.errors_ = errors_;
} else {
result.errors_ = errorsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
result.detailsCase_ = detailsCase_;
onBuilt();
return result;
@@ -1375,7 +1429,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DlpJob other) {
if (!other.errors_.isEmpty()) {
if (errors_.isEmpty()) {
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureErrorsIsMutable();
errors_.addAll(other.errors_);
@@ -1388,7 +1442,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DlpJob other) {
errorsBuilder_.dispose();
errorsBuilder_ = null;
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000001);
errorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getErrorsFieldBuilder()
@@ -1468,6 +1522,8 @@ public Builder clearDetails() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1488,6 +1544,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1508,6 +1566,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1526,6 +1587,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1541,6 +1604,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1562,6 +1628,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -1574,6 +1642,9 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
@@ -1588,6 +1659,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
@@ -1603,6 +1676,9 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) {
if (value == null) {
@@ -1621,6 +1697,8 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -1638,6 +1716,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1650,6 +1730,9 @@ public int getStateValue() {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1664,6 +1747,8 @@ public Builder setStateValue(int value) {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The state.
*/
public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
@SuppressWarnings("deprecation")
@@ -1679,6 +1764,9 @@ public com.google.privacy.dlp.v2.DlpJob.JobState getState() {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.privacy.dlp.v2.DlpJob.JobState value) {
if (value == null) {
@@ -1697,6 +1785,8 @@ public Builder setState(com.google.privacy.dlp.v2.DlpJob.JobState value) {
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -1718,6 +1808,8 @@ public Builder clearState() {
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return Whether the riskDetails field is set.
*/
public boolean hasRiskDetails() {
return detailsCase_ == 4;
@@ -1730,6 +1822,8 @@ public boolean hasRiskDetails() {
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return The riskDetails.
*/
public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() {
if (riskDetailsBuilder_ == null) {
@@ -1922,6 +2016,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return Whether the inspectDetails field is set.
*/
public boolean hasInspectDetails() {
return detailsCase_ == 5;
@@ -1934,6 +2030,8 @@ public boolean hasInspectDetails() {
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return The inspectDetails.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() {
if (inspectDetailsBuilder_ == null) {
@@ -2127,6 +2225,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -2139,6 +2239,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -2306,6 +2408,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -2318,6 +2422,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -2481,6 +2587,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -2493,6 +2601,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
@@ -2652,6 +2762,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* string job_trigger_name = 10;
+ *
+ * @return The jobTriggerName.
*/
public java.lang.String getJobTriggerName() {
java.lang.Object ref = jobTriggerName_;
@@ -2673,6 +2785,8 @@ public java.lang.String getJobTriggerName() {
*
*
* string job_trigger_name = 10;
+ *
+ * @return The bytes for jobTriggerName.
*/
public com.google.protobuf.ByteString getJobTriggerNameBytes() {
java.lang.Object ref = jobTriggerName_;
@@ -2694,6 +2808,9 @@ public com.google.protobuf.ByteString getJobTriggerNameBytes() {
*
*
* string job_trigger_name = 10;
+ *
+ * @param value The jobTriggerName to set.
+ * @return This builder for chaining.
*/
public Builder setJobTriggerName(java.lang.String value) {
if (value == null) {
@@ -2713,6 +2830,8 @@ public Builder setJobTriggerName(java.lang.String value) {
*
*
* string job_trigger_name = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearJobTriggerName() {
@@ -2729,6 +2848,9 @@ public Builder clearJobTriggerName() {
*
*
* string job_trigger_name = 10;
+ *
+ * @param value The bytes for jobTriggerName to set.
+ * @return This builder for chaining.
*/
public Builder setJobTriggerNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2745,9 +2867,9 @@ public Builder setJobTriggerNameBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureErrorsIsMutable() {
- if (!((bitField0_ & 0x00000200) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
errors_ = new java.util.ArrayList(errors_);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000001;
}
}
@@ -2960,7 +3082,7 @@ public Builder addAllErrors(
public Builder clearErrors() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
errorsBuilder_.clear();
@@ -3081,7 +3203,7 @@ public java.util.List getErrorsBuilderL
com.google.privacy.dlp.v2.Error,
com.google.privacy.dlp.v2.Error.Builder,
com.google.privacy.dlp.v2.ErrorOrBuilder>(
- errors_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean());
+ errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
errors_ = null;
}
return errorsBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java
index 44f089ad..992b06e9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class DlpJobName implements ResourceName {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java
index 77231af9..0b20c8e9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java
@@ -31,6 +31,8 @@ public interface DlpJobOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface DlpJobOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -52,6 +56,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -62,6 +68,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJobType type = 2;
+ *
+ * @return The type.
*/
com.google.privacy.dlp.v2.DlpJobType getType();
@@ -73,6 +81,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -83,6 +93,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJob.JobState state = 3;
+ *
+ * @return The state.
*/
com.google.privacy.dlp.v2.DlpJob.JobState getState();
@@ -94,6 +106,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return Whether the riskDetails field is set.
*/
boolean hasRiskDetails();
/**
@@ -104,6 +118,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
+ *
+ * @return The riskDetails.
*/
com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails();
/**
@@ -125,6 +141,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return Whether the inspectDetails field is set.
*/
boolean hasInspectDetails();
/**
@@ -135,6 +153,8 @@ public interface DlpJobOrBuilder
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
+ *
+ * @return The inspectDetails.
*/
com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails();
/**
@@ -156,6 +176,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -166,6 +188,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -187,6 +211,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -197,6 +223,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 7;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -218,6 +246,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -228,6 +258,8 @@ public interface DlpJobOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 8;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
@@ -250,6 +282,8 @@ public interface DlpJobOrBuilder
*
*
* string job_trigger_name = 10;
+ *
+ * @return The jobTriggerName.
*/
java.lang.String getJobTriggerName();
/**
@@ -261,6 +295,8 @@ public interface DlpJobOrBuilder
*
*
* string job_trigger_name = 10;
+ *
+ * @return The bytes for jobTriggerName.
*/
com.google.protobuf.ByteString getJobTriggerNameBytes();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
index 2a25121b..0ea3ed31 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java
@@ -84,12 +84,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static DlpJobType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static DlpJobType forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
index 24a02962..29f46857 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java
@@ -1629,32 +1629,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ";dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Clou"
+ "d\\Dlp\\V2b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.privacy.dlp.v2.DlpStorage.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- com.google.type.DateProto.getDescriptor(),
- com.google.type.DayOfWeekProto.getDescriptor(),
- com.google.type.TimeOfDayProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.privacy.dlp.v2.DlpStorage.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
+ com.google.type.DateProto.getDescriptor(),
+ com.google.type.DayOfWeekProto.getDescriptor(),
+ com.google.type.TimeOfDayProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ });
internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
index 5b1f0bae..f32c9c42 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java
@@ -279,21 +279,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006prot"
+ "o3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.ResourceProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_privacy_dlp_v2_InfoType_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
index 409894d4..90c06e74 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java
@@ -39,6 +39,12 @@ private DocumentLocation(com.google.protobuf.GeneratedMessageV3.Builder> build
private DocumentLocation() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DocumentLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private DocumentLocation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -113,6 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 file_offset = 1;
+ *
+ * @return The fileOffset.
*/
public long getFileOffset() {
return fileOffset_;
@@ -443,6 +450,8 @@ public Builder mergeFrom(
*
*
* int64 file_offset = 1;
+ *
+ * @return The fileOffset.
*/
public long getFileOffset() {
return fileOffset_;
@@ -456,6 +465,9 @@ public long getFileOffset() {
*
*
* int64 file_offset = 1;
+ *
+ * @param value The fileOffset to set.
+ * @return This builder for chaining.
*/
public Builder setFileOffset(long value) {
@@ -472,6 +484,8 @@ public Builder setFileOffset(long value) {
*
*
* int64 file_offset = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFileOffset() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java
index e3308008..f19d9fc5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java
@@ -32,6 +32,8 @@ public interface DocumentLocationOrBuilder
*
*
* int64 file_offset = 1;
+ *
+ * @return The fileOffset.
*/
long getFileOffset();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
index 4873a6e6..d7a40495 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java
@@ -43,6 +43,12 @@ private EntityId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private EntityId() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new EntityId();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private EntityId(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -126,6 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -138,6 +145,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -498,6 +507,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -510,6 +521,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java
index 6609c863..db8ddaa9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java
@@ -31,6 +31,8 @@ public interface EntityIdOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -41,6 +43,8 @@ public interface EntityIdOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
index 080e35a4..1bf46f5a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java
@@ -43,6 +43,12 @@ private Error() {
timestamps_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Error();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -83,9 +89,9 @@ private Error(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
timestamps_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
timestamps_.add(
input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry));
@@ -105,7 +111,7 @@ private Error(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
timestamps_ = java.util.Collections.unmodifiableList(timestamps_);
}
this.unknownFields = unknownFields.build();
@@ -127,14 +133,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.Error.class, com.google.privacy.dlp.v2.Error.Builder.class);
}
- private int bitField0_;
public static final int DETAILS_FIELD_NUMBER = 1;
private com.google.rpc.Status details_;
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return Whether the details field is set.
+ */
public boolean hasDetails() {
return details_ != null;
}
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return The details.
+ */
public com.google.rpc.Status getDetails() {
return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_;
}
@@ -436,7 +449,7 @@ public Builder clear() {
}
if (timestampsBuilder_ == null) {
timestamps_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
timestampsBuilder_.clear();
}
@@ -467,22 +480,20 @@ public com.google.privacy.dlp.v2.Error build() {
public com.google.privacy.dlp.v2.Error buildPartial() {
com.google.privacy.dlp.v2.Error result = new com.google.privacy.dlp.v2.Error(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (detailsBuilder_ == null) {
result.details_ = details_;
} else {
result.details_ = detailsBuilder_.build();
}
if (timestampsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
timestamps_ = java.util.Collections.unmodifiableList(timestamps_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.timestamps_ = timestamps_;
} else {
result.timestamps_ = timestampsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -539,7 +550,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Error other) {
if (!other.timestamps_.isEmpty()) {
if (timestamps_.isEmpty()) {
timestamps_ = other.timestamps_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTimestampsIsMutable();
timestamps_.addAll(other.timestamps_);
@@ -552,7 +563,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Error other) {
timestampsBuilder_.dispose();
timestampsBuilder_ = null;
timestamps_ = other.timestamps_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
timestampsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTimestampsFieldBuilder()
@@ -597,11 +608,19 @@ public Builder mergeFrom(
private com.google.protobuf.SingleFieldBuilderV3<
com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
detailsBuilder_;
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return Whether the details field is set.
+ */
public boolean hasDetails() {
return detailsBuilder_ != null || details_ != null;
}
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return The details.
+ */
public com.google.rpc.Status getDetails() {
if (detailsBuilder_ == null) {
return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_;
@@ -694,9 +713,9 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() {
java.util.Collections.emptyList();
private void ensureTimestampsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
timestamps_ = new java.util.ArrayList(timestamps_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -909,7 +928,7 @@ public Builder addAllTimestamps(
public Builder clearTimestamps() {
if (timestampsBuilder_ == null) {
timestamps_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
timestampsBuilder_.clear();
@@ -1030,7 +1049,7 @@ public java.util.List getTimestampsBuilde
com.google.protobuf.Timestamp,
com.google.protobuf.Timestamp.Builder,
com.google.protobuf.TimestampOrBuilder>(
- timestamps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ timestamps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
timestamps_ = null;
}
return timestampsBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java
index 9a7f4f43..0aed6002 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java
@@ -23,9 +23,17 @@ public interface ErrorOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Error)
com.google.protobuf.MessageOrBuilder {
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return Whether the details field is set.
+ */
boolean hasDetails();
- /** .google.rpc.Status details = 1;
*/
+ /**
+ * .google.rpc.Status details = 1;
+ *
+ * @return The details.
+ */
com.google.rpc.Status getDetails();
/** .google.rpc.Status details = 1;
*/
com.google.rpc.StatusOrBuilder getDetailsOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
index 33f3bfe8..270569ac 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java
@@ -41,6 +41,12 @@ private ExcludeInfoTypes() {
infoTypes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ExcludeInfoTypes();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
index 345aa2a3..0dcc3df8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
@@ -42,6 +42,12 @@ private ExclusionRule() {
matchingType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ExclusionRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ExclusionRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -160,7 +165,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DICTIONARY(1),
REGEX(2),
EXCLUDE_INFO_TYPES(3),
@@ -170,7 +178,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -209,6 +221,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return Whether the dictionary field is set.
*/
public boolean hasDictionary() {
return typeCase_ == 1;
@@ -221,6 +235,8 @@ public boolean hasDictionary() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return The dictionary.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (typeCase_ == 1) {
@@ -253,6 +269,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return Whether the regex field is set.
*/
public boolean hasRegex() {
return typeCase_ == 2;
@@ -265,6 +283,8 @@ public boolean hasRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return The regex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (typeCase_ == 2) {
@@ -297,6 +317,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return Whether the excludeInfoTypes field is set.
*/
public boolean hasExcludeInfoTypes() {
return typeCase_ == 3;
@@ -309,6 +331,8 @@ public boolean hasExcludeInfoTypes() {
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return The excludeInfoTypes.
*/
public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() {
if (typeCase_ == 3) {
@@ -342,6 +366,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The enum numeric value on the wire for matchingType.
*/
public int getMatchingTypeValue() {
return matchingType_;
@@ -354,6 +380,8 @@ public int getMatchingTypeValue() {
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The matchingType.
*/
public com.google.privacy.dlp.v2.MatchingType getMatchingType() {
@SuppressWarnings("deprecation")
@@ -805,6 +833,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return Whether the dictionary field is set.
*/
public boolean hasDictionary() {
return typeCase_ == 1;
@@ -817,6 +847,8 @@ public boolean hasDictionary() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return The dictionary.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() {
if (dictionaryBuilder_ == null) {
@@ -1007,6 +1039,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return Whether the regex field is set.
*/
public boolean hasRegex() {
return typeCase_ == 2;
@@ -1019,6 +1053,8 @@ public boolean hasRegex() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return The regex.
*/
public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() {
if (regexBuilder_ == null) {
@@ -1209,6 +1245,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return Whether the excludeInfoTypes field is set.
*/
public boolean hasExcludeInfoTypes() {
return typeCase_ == 3;
@@ -1221,6 +1259,8 @@ public boolean hasExcludeInfoTypes() {
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return The excludeInfoTypes.
*/
public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() {
if (excludeInfoTypesBuilder_ == null) {
@@ -1407,6 +1447,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The enum numeric value on the wire for matchingType.
*/
public int getMatchingTypeValue() {
return matchingType_;
@@ -1419,6 +1461,9 @@ public int getMatchingTypeValue() {
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @param value The enum numeric value on the wire for matchingType to set.
+ * @return This builder for chaining.
*/
public Builder setMatchingTypeValue(int value) {
matchingType_ = value;
@@ -1433,6 +1478,8 @@ public Builder setMatchingTypeValue(int value) {
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The matchingType.
*/
public com.google.privacy.dlp.v2.MatchingType getMatchingType() {
@SuppressWarnings("deprecation")
@@ -1448,6 +1495,9 @@ public com.google.privacy.dlp.v2.MatchingType getMatchingType() {
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @param value The matchingType to set.
+ * @return This builder for chaining.
*/
public Builder setMatchingType(com.google.privacy.dlp.v2.MatchingType value) {
if (value == null) {
@@ -1466,6 +1516,8 @@ public Builder setMatchingType(com.google.privacy.dlp.v2.MatchingType value) {
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMatchingType() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java
index 16ccc0e0..428211d5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java
@@ -31,6 +31,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return Whether the dictionary field is set.
*/
boolean hasDictionary();
/**
@@ -41,6 +43,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
+ *
+ * @return The dictionary.
*/
com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary();
/**
@@ -62,6 +66,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return Whether the regex field is set.
*/
boolean hasRegex();
/**
@@ -72,6 +78,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
+ *
+ * @return The regex.
*/
com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();
/**
@@ -93,6 +101,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return Whether the excludeInfoTypes field is set.
*/
boolean hasExcludeInfoTypes();
/**
@@ -103,6 +113,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
+ *
+ * @return The excludeInfoTypes.
*/
com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes();
/**
@@ -124,6 +136,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The enum numeric value on the wire for matchingType.
*/
int getMatchingTypeValue();
/**
@@ -134,6 +148,8 @@ public interface ExclusionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
+ *
+ * @return The matchingType.
*/
com.google.privacy.dlp.v2.MatchingType getMatchingType();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
index 78248da8..7cc27728 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java
@@ -41,6 +41,12 @@ private FieldId() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FieldId();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private FieldId(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -136,6 +143,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -471,6 +480,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -491,6 +502,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -511,6 +524,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -529,6 +545,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -544,6 +562,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java
index 8b2470bd..92c79746 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java
@@ -31,6 +31,8 @@ public interface FieldIdOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface FieldIdOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
index a4417b8e..00dee184 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java
@@ -41,6 +41,12 @@ private FieldTransformation() {
fields_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FieldTransformation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -168,11 +174,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.FieldTransformation.Builder.class);
}
- private int bitField0_;
private int transformationCase_ = 0;
private java.lang.Object transformation_;
- public enum TransformationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TransformationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PRIMITIVE_TRANSFORMATION(4),
INFO_TYPE_TRANSFORMATIONS(5),
TRANSFORMATION_NOT_SET(0);
@@ -181,7 +189,11 @@ public enum TransformationCase implements com.google.protobuf.Internal.EnumLite
private TransformationCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TransformationCase valueOf(int value) {
return forNumber(value);
@@ -289,6 +301,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index)
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return condition_ != null;
@@ -307,6 +321,8 @@ public boolean hasCondition() {
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return The condition.
*/
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
return condition_ == null
@@ -341,6 +357,8 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
public boolean hasPrimitiveTransformation() {
return transformationCase_ == 4;
@@ -353,6 +371,8 @@ public boolean hasPrimitiveTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return The primitiveTransformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
if (transformationCase_ == 4) {
@@ -387,6 +407,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 5;
@@ -400,6 +422,8 @@ public boolean hasInfoTypeTransformations() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return The infoTypeTransformations.
*/
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (transformationCase_ == 5) {
@@ -728,7 +752,6 @@ public com.google.privacy.dlp.v2.FieldTransformation buildPartial() {
com.google.privacy.dlp.v2.FieldTransformation result =
new com.google.privacy.dlp.v2.FieldTransformation(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (fieldsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fields_ = java.util.Collections.unmodifiableList(fields_);
@@ -757,7 +780,6 @@ public com.google.privacy.dlp.v2.FieldTransformation buildPartial() {
result.transformation_ = infoTypeTransformationsBuilder_.build();
}
}
- result.bitField0_ = to_bitField0_;
result.transformationCase_ = transformationCase_;
onBuilt();
return result;
@@ -1265,6 +1287,8 @@ public java.util.List getFieldsBuilde
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return conditionBuilder_ != null || condition_ != null;
@@ -1283,6 +1307,8 @@ public boolean hasCondition() {
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return The condition.
*/
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
if (conditionBuilder_ == null) {
@@ -1493,6 +1519,8 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
public boolean hasPrimitiveTransformation() {
return transformationCase_ == 4;
@@ -1505,6 +1533,8 @@ public boolean hasPrimitiveTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return The primitiveTransformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
if (primitiveTransformationBuilder_ == null) {
@@ -1701,6 +1731,8 @@ public Builder clearPrimitiveTransformation() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
public boolean hasInfoTypeTransformations() {
return transformationCase_ == 5;
@@ -1714,6 +1746,8 @@ public boolean hasInfoTypeTransformations() {
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return The infoTypeTransformations.
*/
public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() {
if (infoTypeTransformationsBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
index 11ec81d0..d2c587d6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
@@ -88,6 +88,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return Whether the condition field is set.
*/
boolean hasCondition();
/**
@@ -104,6 +106,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 3;
+ *
+ * @return The condition.
*/
com.google.privacy.dlp.v2.RecordCondition getCondition();
/**
@@ -131,6 +135,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
boolean hasPrimitiveTransformation();
/**
@@ -141,6 +147,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
+ *
+ * @return The primitiveTransformation.
*/
com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation();
/**
@@ -163,6 +171,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return Whether the infoTypeTransformations field is set.
*/
boolean hasInfoTypeTransformations();
/**
@@ -174,6 +184,8 @@ public interface FieldTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
+ *
+ * @return The infoTypeTransformations.
*/
com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
index 72906da1..7688c5c5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
@@ -156,12 +156,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static FileType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static FileType forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
index 19c1e9bb..37624c6c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
@@ -42,6 +42,12 @@ private Finding() {
likelihood_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Finding();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private Finding(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -189,6 +194,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string quote = 1;
+ *
+ * @return The quote.
*/
public java.lang.String getQuote() {
java.lang.Object ref = quote_;
@@ -213,6 +220,8 @@ public java.lang.String getQuote() {
*
*
* string quote = 1;
+ *
+ * @return The bytes for quote.
*/
public com.google.protobuf.ByteString getQuoteBytes() {
java.lang.Object ref = quote_;
@@ -237,6 +246,8 @@ public com.google.protobuf.ByteString getQuoteBytes() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoType_ != null;
@@ -250,6 +261,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
@@ -278,6 +291,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
public int getLikelihoodValue() {
return likelihood_;
@@ -290,6 +305,8 @@ public int getLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The likelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
@@ -308,6 +325,8 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return Whether the location field is set.
*/
public boolean hasLocation() {
return location_ != null;
@@ -320,6 +339,8 @@ public boolean hasLocation() {
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return The location.
*/
public com.google.privacy.dlp.v2.Location getLocation() {
return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_;
@@ -347,6 +368,8 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -359,6 +382,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -388,6 +413,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return Whether the quoteInfo field is set.
*/
public boolean hasQuoteInfo() {
return quoteInfo_ != null;
@@ -402,6 +429,8 @@ public boolean hasQuoteInfo() {
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return The quoteInfo.
*/
public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() {
return quoteInfo_ == null
@@ -876,6 +905,8 @@ public Builder mergeFrom(
*
*
* string quote = 1;
+ *
+ * @return The quote.
*/
public java.lang.String getQuote() {
java.lang.Object ref = quote_;
@@ -900,6 +931,8 @@ public java.lang.String getQuote() {
*
*
* string quote = 1;
+ *
+ * @return The bytes for quote.
*/
public com.google.protobuf.ByteString getQuoteBytes() {
java.lang.Object ref = quote_;
@@ -924,6 +957,9 @@ public com.google.protobuf.ByteString getQuoteBytes() {
*
*
* string quote = 1;
+ *
+ * @param value The quote to set.
+ * @return This builder for chaining.
*/
public Builder setQuote(java.lang.String value) {
if (value == null) {
@@ -946,6 +982,8 @@ public Builder setQuote(java.lang.String value) {
*
*
* string quote = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearQuote() {
@@ -965,6 +1003,9 @@ public Builder clearQuote() {
*
*
* string quote = 1;
+ *
+ * @param value The bytes for quote to set.
+ * @return This builder for chaining.
*/
public Builder setQuoteBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -992,6 +1033,8 @@ public Builder setQuoteBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoTypeBuilder_ != null || infoType_ != null;
@@ -1005,6 +1048,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -1176,6 +1221,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
public int getLikelihoodValue() {
return likelihood_;
@@ -1188,6 +1235,9 @@ public int getLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @param value The enum numeric value on the wire for likelihood to set.
+ * @return This builder for chaining.
*/
public Builder setLikelihoodValue(int value) {
likelihood_ = value;
@@ -1202,6 +1252,8 @@ public Builder setLikelihoodValue(int value) {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The likelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
@SuppressWarnings("deprecation")
@@ -1217,6 +1269,9 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @param value The likelihood to set.
+ * @return This builder for chaining.
*/
public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
if (value == null) {
@@ -1235,6 +1290,8 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLikelihood() {
@@ -1257,6 +1314,8 @@ public Builder clearLikelihood() {
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return Whether the location field is set.
*/
public boolean hasLocation() {
return locationBuilder_ != null || location_ != null;
@@ -1269,6 +1328,8 @@ public boolean hasLocation() {
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return The location.
*/
public com.google.privacy.dlp.v2.Location getLocation() {
if (locationBuilder_ == null) {
@@ -1438,6 +1499,8 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -1450,6 +1513,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1619,6 +1684,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return Whether the quoteInfo field is set.
*/
public boolean hasQuoteInfo() {
return quoteInfoBuilder_ != null || quoteInfo_ != null;
@@ -1633,6 +1700,8 @@ public boolean hasQuoteInfo() {
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return The quoteInfo.
*/
public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() {
if (quoteInfoBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java
index 95f27621..54a691fc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java
@@ -35,6 +35,8 @@ public interface FindingOrBuilder
*
*
* string quote = 1;
+ *
+ * @return The quote.
*/
java.lang.String getQuote();
/**
@@ -49,6 +51,8 @@ public interface FindingOrBuilder
*
*
* string quote = 1;
+ *
+ * @return The bytes for quote.
*/
com.google.protobuf.ByteString getQuoteBytes();
@@ -61,6 +65,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -72,6 +78,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -94,6 +102,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The enum numeric value on the wire for likelihood.
*/
int getLikelihoodValue();
/**
@@ -104,6 +114,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood likelihood = 3;
+ *
+ * @return The likelihood.
*/
com.google.privacy.dlp.v2.Likelihood getLikelihood();
@@ -115,6 +127,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return Whether the location field is set.
*/
boolean hasLocation();
/**
@@ -125,6 +139,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.Location location = 4;
+ *
+ * @return The location.
*/
com.google.privacy.dlp.v2.Location getLocation();
/**
@@ -146,6 +162,8 @@ public interface FindingOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -156,6 +174,8 @@ public interface FindingOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 6;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -179,6 +199,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return Whether the quoteInfo field is set.
*/
boolean hasQuoteInfo();
/**
@@ -191,6 +213,8 @@ public interface FindingOrBuilder
*
*
* .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
+ *
+ * @return The quoteInfo.
*/
com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
index 37569fc6..93741520 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java
@@ -50,6 +50,12 @@ private FixedSizeBucketingConfig(com.google.protobuf.GeneratedMessageV3.Builder<
private FixedSizeBucketingConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FixedSizeBucketingConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -63,7 +69,6 @@ private FixedSizeBucketingConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -155,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return Whether the lowerBound field is set.
*/
public boolean hasLowerBound() {
return lowerBound_ != null;
@@ -169,6 +176,8 @@ public boolean hasLowerBound() {
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return The lowerBound.
*/
public com.google.privacy.dlp.v2.Value getLowerBound() {
return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_;
@@ -201,6 +210,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return Whether the upperBound field is set.
*/
public boolean hasUpperBound() {
return upperBound_ != null;
@@ -216,6 +227,8 @@ public boolean hasUpperBound() {
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return The upperBound.
*/
public com.google.privacy.dlp.v2.Value getUpperBound() {
return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_;
@@ -249,6 +262,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
*
*
* double bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public double getBucketSize() {
return bucketSize_;
@@ -658,6 +673,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return Whether the lowerBound field is set.
*/
public boolean hasLowerBound() {
return lowerBoundBuilder_ != null || lowerBound_ != null;
@@ -672,6 +689,8 @@ public boolean hasLowerBound() {
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return The lowerBound.
*/
public com.google.privacy.dlp.v2.Value getLowerBound() {
if (lowerBoundBuilder_ == null) {
@@ -858,6 +877,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() {
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return Whether the upperBound field is set.
*/
public boolean hasUpperBound() {
return upperBoundBuilder_ != null || upperBound_ != null;
@@ -873,6 +894,8 @@ public boolean hasUpperBound() {
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return The upperBound.
*/
public com.google.privacy.dlp.v2.Value getUpperBound() {
if (upperBoundBuilder_ == null) {
@@ -1061,6 +1084,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
*
*
* double bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
public double getBucketSize() {
return bucketSize_;
@@ -1076,6 +1101,9 @@ public double getBucketSize() {
*
*
* double bucket_size = 3;
+ *
+ * @param value The bucketSize to set.
+ * @return This builder for chaining.
*/
public Builder setBucketSize(double value) {
@@ -1094,6 +1122,8 @@ public Builder setBucketSize(double value) {
*
*
* double bucket_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucketSize() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java
index 3fbb6e21..06992bde 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java
@@ -33,6 +33,8 @@ public interface FixedSizeBucketingConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return Whether the lowerBound field is set.
*/
boolean hasLowerBound();
/**
@@ -45,6 +47,8 @@ public interface FixedSizeBucketingConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value lower_bound = 1;
+ *
+ * @return The lowerBound.
*/
com.google.privacy.dlp.v2.Value getLowerBound();
/**
@@ -71,6 +75,8 @@ public interface FixedSizeBucketingConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return Whether the upperBound field is set.
*/
boolean hasUpperBound();
/**
@@ -84,6 +90,8 @@ public interface FixedSizeBucketingConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value upper_bound = 2;
+ *
+ * @return The upperBound.
*/
com.google.privacy.dlp.v2.Value getUpperBound();
/**
@@ -111,6 +119,8 @@ public interface FixedSizeBucketingConfigOrBuilder
*
*
* double bucket_size = 3;
+ *
+ * @return The bucketSize.
*/
double getBucketSize();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
index 70ed6211..bff36bb7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java
@@ -41,6 +41,12 @@ private GetDeidentifyTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetDeidentifyTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetDeidentifyTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -489,6 +498,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -513,6 +524,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -578,6 +596,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java
index 024ab9bd..c435f046 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
index 7e3e665c..e7ef4f57 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java
@@ -41,6 +41,12 @@ private GetDlpJobRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetDlpJobRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetDlpJobRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,6 +123,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -140,6 +147,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -480,6 +489,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -502,6 +513,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -524,6 +537,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -544,6 +560,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -561,6 +579,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java
index f55ae516..4e4a9e3b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface GetDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface GetDlpJobRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
index 50bbe01f..ab1e9d40 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java
@@ -41,6 +41,12 @@ private GetInspectTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetInspectTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetInspectTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -488,6 +497,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -512,6 +523,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -558,6 +574,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -577,6 +595,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java
index 001f2204..f89d8b98 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
index b93421b6..207f3471 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java
@@ -41,6 +41,12 @@ private GetJobTriggerRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetJobTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetJobTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -142,6 +149,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -483,6 +492,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -506,6 +517,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -529,6 +542,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -550,6 +566,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -568,6 +586,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java
index 2e362d1b..1c804139 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface GetJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface GetJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
index f540fd62..c5770d2f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java
@@ -41,6 +41,12 @@ private GetStoredInfoTypeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetStoredInfoTypeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetStoredInfoTypeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -488,6 +497,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -512,6 +523,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -558,6 +574,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -577,6 +595,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java
index 49baf779..518e0bf2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
index 5bb64319..862010ef 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
@@ -41,6 +41,12 @@ private ImageLocation() {
boundingBoxes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ImageLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
index 08327301..bc76e11e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
@@ -41,6 +41,12 @@ private InfoType() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoType();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private InfoType(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -483,6 +492,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -507,6 +518,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -553,6 +569,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -572,6 +590,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
index 12d998fe..c4bee8db 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java
@@ -44,6 +44,12 @@ private InfoTypeDescription() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoTypeDescription();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -85,9 +91,9 @@ private InfoTypeDescription(
case 24:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
supportedBy_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
supportedBy_.add(rawValue);
break;
@@ -98,9 +104,9 @@ private InfoTypeDescription(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
supportedBy_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
supportedBy_.add(rawValue);
}
@@ -128,7 +134,7 @@ private InfoTypeDescription(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
supportedBy_ = java.util.Collections.unmodifiableList(supportedBy_);
}
this.unknownFields = unknownFields.build();
@@ -151,7 +157,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -162,6 +167,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -182,6 +189,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -205,6 +214,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -225,6 +236,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -262,6 +275,8 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy convert(java.lang.Integer f
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the supportedBy.
*/
public java.util.List getSupportedByList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -276,6 +291,8 @@ public java.util.List getSupporte
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param value The supportedBy to add.
*/
public int getSupportedByCount() {
return supportedBy_.size();
@@ -288,6 +305,9 @@ public int getSupportedByCount() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The supportedBy at the given index.
*/
public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
return supportedBy_converter_.convert(supportedBy_.get(index));
@@ -300,6 +320,8 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the enum numeric values on the wire for supportedBy.
*/
public java.util.List getSupportedByValueList() {
return supportedBy_;
@@ -312,6 +334,9 @@ public java.util.List getSupportedByValueList() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedBy at the given index.
*/
public int getSupportedByValue(int index) {
return supportedBy_.get(index);
@@ -330,6 +355,8 @@ public int getSupportedByValue(int index) {
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -351,6 +378,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -616,7 +645,7 @@ public Builder clear() {
displayName_ = "";
supportedBy_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
description_ = "";
return this;
@@ -647,16 +676,14 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() {
com.google.privacy.dlp.v2.InfoTypeDescription result =
new com.google.privacy.dlp.v2.InfoTypeDescription(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.displayName_ = displayName_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
supportedBy_ = java.util.Collections.unmodifiableList(supportedBy_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.supportedBy_ = supportedBy_;
result.description_ = description_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -717,7 +744,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) {
if (!other.supportedBy_.isEmpty()) {
if (supportedBy_.isEmpty()) {
supportedBy_ = other.supportedBy_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSupportedByIsMutable();
supportedBy_.addAll(other.supportedBy_);
@@ -768,6 +795,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -788,6 +817,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -808,6 +839,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -826,6 +860,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -841,6 +877,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -862,6 +901,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -882,6 +923,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -902,6 +945,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -920,6 +966,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -935,6 +983,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -950,9 +1001,9 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
private java.util.List supportedBy_ = java.util.Collections.emptyList();
private void ensureSupportedByIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
supportedBy_ = new java.util.ArrayList(supportedBy_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -963,6 +1014,8 @@ private void ensureSupportedByIsMutable() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the supportedBy.
*/
public java.util.List getSupportedByList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -977,6 +1030,8 @@ public java.util.List getSupporte
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return The count of supportedBy.
*/
public int getSupportedByCount() {
return supportedBy_.size();
@@ -989,6 +1044,9 @@ public int getSupportedByCount() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The supportedBy at the given index.
*/
public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
return supportedBy_converter_.convert(supportedBy_.get(index));
@@ -1001,6 +1059,10 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The supportedBy to set.
+ * @return This builder for chaining.
*/
public Builder setSupportedBy(int index, com.google.privacy.dlp.v2.InfoTypeSupportedBy value) {
if (value == null) {
@@ -1019,6 +1081,9 @@ public Builder setSupportedBy(int index, com.google.privacy.dlp.v2.InfoTypeSuppo
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param value The supportedBy to add.
+ * @return This builder for chaining.
*/
public Builder addSupportedBy(com.google.privacy.dlp.v2.InfoTypeSupportedBy value) {
if (value == null) {
@@ -1037,6 +1102,9 @@ public Builder addSupportedBy(com.google.privacy.dlp.v2.InfoTypeSupportedBy valu
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param values The supportedBy to add.
+ * @return This builder for chaining.
*/
public Builder addAllSupportedBy(
java.lang.Iterable extends com.google.privacy.dlp.v2.InfoTypeSupportedBy> values) {
@@ -1055,10 +1123,12 @@ public Builder addAllSupportedBy(
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSupportedBy() {
supportedBy_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1070,6 +1140,8 @@ public Builder clearSupportedBy() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the enum numeric values on the wire for supportedBy.
*/
public java.util.List getSupportedByValueList() {
return java.util.Collections.unmodifiableList(supportedBy_);
@@ -1082,6 +1154,9 @@ public java.util.List getSupportedByValueList() {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedBy at the given index.
*/
public int getSupportedByValue(int index) {
return supportedBy_.get(index);
@@ -1094,6 +1169,10 @@ public int getSupportedByValue(int index) {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedBy at the given index.
+ * @return This builder for chaining.
*/
public Builder setSupportedByValue(int index, int value) {
ensureSupportedByIsMutable();
@@ -1109,6 +1188,9 @@ public Builder setSupportedByValue(int index, int value) {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param value The enum numeric value on the wire for supportedBy to add.
+ * @return This builder for chaining.
*/
public Builder addSupportedByValue(int value) {
ensureSupportedByIsMutable();
@@ -1124,6 +1206,9 @@ public Builder addSupportedByValue(int value) {
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param values The enum numeric values on the wire for supportedBy to add.
+ * @return This builder for chaining.
*/
public Builder addAllSupportedByValue(java.lang.Iterable values) {
ensureSupportedByIsMutable();
@@ -1144,6 +1229,8 @@ public Builder addAllSupportedByValue(java.lang.Iterable valu
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1165,6 +1252,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1186,6 +1275,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 4;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1205,6 +1297,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1221,6 +1315,9 @@ public Builder clearDescription() {
*
*
* string description = 4;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
index 3f375762..49d87e19 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java
@@ -31,6 +31,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -52,6 +56,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -62,6 +68,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -73,6 +81,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the supportedBy.
*/
java.util.List getSupportedByList();
/**
@@ -83,6 +93,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return The count of supportedBy.
*/
int getSupportedByCount();
/**
@@ -93,6 +105,9 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The supportedBy at the given index.
*/
com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index);
/**
@@ -103,6 +118,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @return A list containing the enum numeric values on the wire for supportedBy.
*/
java.util.List getSupportedByValueList();
/**
@@ -113,6 +130,9 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of supportedBy at the given index.
*/
int getSupportedByValue(int index);
@@ -125,6 +145,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string description = 4;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -136,6 +158,8 @@ public interface InfoTypeDescriptionOrBuilder
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java
index de90c603..7e75a487 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java
@@ -35,6 +35,8 @@ public interface InfoTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface InfoTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
index 3a036b69..0ff24ee0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java
@@ -39,6 +39,12 @@ private InfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private InfoTypeStats() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoTypeStats();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private InfoTypeStats(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoType_ != null;
@@ -139,6 +146,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
@@ -166,6 +175,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -527,6 +538,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoTypeBuilder_ != null || infoType_ != null;
@@ -539,6 +552,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -703,6 +718,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -715,6 +732,9 @@ public long getCount() {
*
*
* int64 count = 2;
+ *
+ * @param value The count to set.
+ * @return This builder for chaining.
*/
public Builder setCount(long value) {
@@ -730,6 +750,8 @@ public Builder setCount(long value) {
*
*
* int64 count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCount() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java
index d5ebbb1e..db5a230f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java
@@ -31,6 +31,8 @@ public interface InfoTypeStatsOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -41,6 +43,8 @@ public interface InfoTypeStatsOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -62,6 +66,8 @@ public interface InfoTypeStatsOrBuilder
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
long getCount();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
index d91dc93a..33e01231 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java
@@ -84,12 +84,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static InfoTypeSupportedBy valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static InfoTypeSupportedBy forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
index c23623a2..f919aa72 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java
@@ -44,6 +44,12 @@ private InfoTypeTransformations() {
transformations_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoTypeTransformations();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -195,6 +201,8 @@ public interface InfoTypeTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
boolean hasPrimitiveTransformation();
/**
@@ -205,6 +213,8 @@ public interface InfoTypeTransformationOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return The primitiveTransformation.
*/
com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation();
/**
@@ -243,6 +253,12 @@ private InfoTypeTransformation() {
infoTypes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoTypeTransformation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -333,7 +349,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.class);
}
- private int bitField0_;
public static final int INFO_TYPES_FIELD_NUMBER = 1;
private java.util.List infoTypes_;
/**
@@ -418,6 +433,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
public boolean hasPrimitiveTransformation() {
return primitiveTransformation_ != null;
@@ -430,6 +447,8 @@ public boolean hasPrimitiveTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return The primitiveTransformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
return primitiveTransformation_ == null
@@ -731,7 +750,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result =
new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (infoTypesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -746,7 +764,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
} else {
result.primitiveTransformation_ = primitiveTransformationBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1265,6 +1282,8 @@ public java.util.List getInfoTypesBu
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return Whether the primitiveTransformation field is set.
*/
public boolean hasPrimitiveTransformation() {
return primitiveTransformationBuilder_ != null || primitiveTransformation_ != null;
@@ -1277,6 +1296,8 @@ public boolean hasPrimitiveTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2;
+ *
+ * @return The primitiveTransformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() {
if (primitiveTransformationBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
index ddb9ced9..010014aa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java
@@ -47,6 +47,12 @@ private InspectConfig() {
ruleSet_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -118,10 +124,10 @@ private InspectConfig(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
customInfoTypes_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
customInfoTypes_.add(
input.readMessage(
@@ -131,9 +137,9 @@ private InspectConfig(
case 64:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
contentOptions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000040;
+ mutable_bitField0_ |= 0x00000004;
}
contentOptions_.add(rawValue);
break;
@@ -144,9 +150,9 @@ private InspectConfig(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
contentOptions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000040;
+ mutable_bitField0_ |= 0x00000004;
}
contentOptions_.add(rawValue);
}
@@ -155,9 +161,9 @@ private InspectConfig(
}
case 82:
{
- if (!((mutable_bitField0_ & 0x00000080) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
ruleSet_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000080;
+ mutable_bitField0_ |= 0x00000008;
}
ruleSet_.add(
input.readMessage(
@@ -181,13 +187,13 @@ private InspectConfig(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
customInfoTypes_ = java.util.Collections.unmodifiableList(customInfoTypes_);
}
- if (((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
contentOptions_ = java.util.Collections.unmodifiableList(contentOptions_);
}
- if (((mutable_bitField0_ & 0x00000080) != 0)) {
+ if (((mutable_bitField0_ & 0x00000008) != 0)) {
ruleSet_ = java.util.Collections.unmodifiableList(ruleSet_);
}
this.unknownFields = unknownFields.build();
@@ -226,6 +232,8 @@ public interface FindingLimitsOrBuilder
*
*
* int32 max_findings_per_item = 1;
+ *
+ * @return The maxFindingsPerItem.
*/
int getMaxFindingsPerItem();
@@ -239,6 +247,8 @@ public interface FindingLimitsOrBuilder
*
*
* int32 max_findings_per_request = 2;
+ *
+ * @return The maxFindingsPerRequest.
*/
int getMaxFindingsPerRequest();
@@ -323,6 +333,12 @@ private FindingLimits() {
maxFindingsPerInfoType_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FindingLimits();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -359,11 +375,11 @@ private FindingLimits(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
maxFindingsPerInfoType_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
maxFindingsPerInfoType_.add(
input.readMessage(
@@ -386,7 +402,7 @@ private FindingLimits(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
maxFindingsPerInfoType_ = java.util.Collections.unmodifiableList(maxFindingsPerInfoType_);
}
this.unknownFields = unknownFields.build();
@@ -425,6 +441,8 @@ public interface InfoTypeLimitOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -438,6 +456,8 @@ public interface InfoTypeLimitOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -462,6 +482,8 @@ public interface InfoTypeLimitOrBuilder
*
*
* int32 max_findings = 2;
+ *
+ * @return The maxFindings.
*/
int getMaxFindings();
}
@@ -487,6 +509,12 @@ private InfoTypeLimit(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private InfoTypeLimit() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InfoTypeLimit();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -500,7 +528,6 @@ private InfoTypeLimit(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -580,6 +607,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoType_ != null;
@@ -595,6 +624,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null
@@ -627,6 +658,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* int32 max_findings = 2;
+ *
+ * @return The maxFindings.
*/
public int getMaxFindings() {
return maxFindings_;
@@ -1012,6 +1045,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoTypeBuilder_ != null || infoType_ != null;
@@ -1027,6 +1062,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -1212,6 +1249,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* int32 max_findings = 2;
+ *
+ * @return The maxFindings.
*/
public int getMaxFindings() {
return maxFindings_;
@@ -1224,6 +1263,9 @@ public int getMaxFindings() {
*
*
* int32 max_findings = 2;
+ *
+ * @param value The maxFindings to set.
+ * @return This builder for chaining.
*/
public Builder setMaxFindings(int value) {
@@ -1239,6 +1281,8 @@ public Builder setMaxFindings(int value) {
*
*
* int32 max_findings = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxFindings() {
@@ -1303,7 +1347,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int MAX_FINDINGS_PER_ITEM_FIELD_NUMBER = 1;
private int maxFindingsPerItem_;
/**
@@ -1317,6 +1360,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* int32 max_findings_per_item = 1;
+ *
+ * @return The maxFindingsPerItem.
*/
public int getMaxFindingsPerItem() {
return maxFindingsPerItem_;
@@ -1334,6 +1379,8 @@ public int getMaxFindingsPerItem() {
*
*
* int32 max_findings_per_request = 2;
+ *
+ * @return The maxFindingsPerRequest.
*/
public int getMaxFindingsPerRequest() {
return maxFindingsPerRequest_;
@@ -1648,7 +1695,7 @@ public Builder clear() {
if (maxFindingsPerInfoTypeBuilder_ == null) {
maxFindingsPerInfoType_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
maxFindingsPerInfoTypeBuilder_.clear();
}
@@ -1680,20 +1727,18 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits buildPartial() {
com.google.privacy.dlp.v2.InspectConfig.FindingLimits result =
new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.maxFindingsPerItem_ = maxFindingsPerItem_;
result.maxFindingsPerRequest_ = maxFindingsPerRequest_;
if (maxFindingsPerInfoTypeBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
maxFindingsPerInfoType_ =
java.util.Collections.unmodifiableList(maxFindingsPerInfoType_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.maxFindingsPerInfoType_ = maxFindingsPerInfoType_;
} else {
result.maxFindingsPerInfoType_ = maxFindingsPerInfoTypeBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1756,7 +1801,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits o
if (!other.maxFindingsPerInfoType_.isEmpty()) {
if (maxFindingsPerInfoType_.isEmpty()) {
maxFindingsPerInfoType_ = other.maxFindingsPerInfoType_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMaxFindingsPerInfoTypeIsMutable();
maxFindingsPerInfoType_.addAll(other.maxFindingsPerInfoType_);
@@ -1769,7 +1814,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits o
maxFindingsPerInfoTypeBuilder_.dispose();
maxFindingsPerInfoTypeBuilder_ = null;
maxFindingsPerInfoType_ = other.maxFindingsPerInfoType_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
maxFindingsPerInfoTypeBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getMaxFindingsPerInfoTypeFieldBuilder()
@@ -1823,6 +1868,8 @@ public Builder mergeFrom(
*
*
* int32 max_findings_per_item = 1;
+ *
+ * @return The maxFindingsPerItem.
*/
public int getMaxFindingsPerItem() {
return maxFindingsPerItem_;
@@ -1838,6 +1885,9 @@ public int getMaxFindingsPerItem() {
*
*
* int32 max_findings_per_item = 1;
+ *
+ * @param value The maxFindingsPerItem to set.
+ * @return This builder for chaining.
*/
public Builder setMaxFindingsPerItem(int value) {
@@ -1856,6 +1906,8 @@ public Builder setMaxFindingsPerItem(int value) {
*
*
* int32 max_findings_per_item = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxFindingsPerItem() {
@@ -1875,6 +1927,8 @@ public Builder clearMaxFindingsPerItem() {
*
*
* int32 max_findings_per_request = 2;
+ *
+ * @return The maxFindingsPerRequest.
*/
public int getMaxFindingsPerRequest() {
return maxFindingsPerRequest_;
@@ -1889,6 +1943,9 @@ public int getMaxFindingsPerRequest() {
*
*
* int32 max_findings_per_request = 2;
+ *
+ * @param value The maxFindingsPerRequest to set.
+ * @return This builder for chaining.
*/
public Builder setMaxFindingsPerRequest(int value) {
@@ -1906,6 +1963,8 @@ public Builder setMaxFindingsPerRequest(int value) {
*
*
* int32 max_findings_per_request = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMaxFindingsPerRequest() {
@@ -1918,12 +1977,12 @@ public Builder clearMaxFindingsPerRequest() {
maxFindingsPerInfoType_ = java.util.Collections.emptyList();
private void ensureMaxFindingsPerInfoTypeIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
maxFindingsPerInfoType_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>(
maxFindingsPerInfoType_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -2173,7 +2232,7 @@ public Builder addAllMaxFindingsPerInfoType(
public Builder clearMaxFindingsPerInfoType() {
if (maxFindingsPerInfoTypeBuilder_ == null) {
maxFindingsPerInfoType_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
maxFindingsPerInfoTypeBuilder_.clear();
@@ -2322,7 +2381,7 @@ public Builder removeMaxFindingsPerInfoType(int index) {
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder,
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>(
maxFindingsPerInfoType_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
maxFindingsPerInfoType_ = null;
@@ -2382,7 +2441,6 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultInstanceF
}
}
- private int bitField0_;
public static final int INFO_TYPES_FIELD_NUMBER = 1;
private java.util.List infoTypes_;
/**
@@ -2499,6 +2557,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The enum numeric value on the wire for minLikelihood.
*/
public int getMinLikelihoodValue() {
return minLikelihood_;
@@ -2513,6 +2573,8 @@ public int getMinLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The minLikelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
@SuppressWarnings("deprecation")
@@ -2523,11 +2585,19 @@ public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
public static final int LIMITS_FIELD_NUMBER = 3;
private com.google.privacy.dlp.v2.InspectConfig.FindingLimits limits_;
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return Whether the limits field is set.
+ */
public boolean hasLimits() {
return limits_ != null;
}
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return The limits.
+ */
public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() {
return limits_ == null
? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()
@@ -2549,6 +2619,8 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
*
*
* bool include_quote = 4;
+ *
+ * @return The includeQuote.
*/
public boolean getIncludeQuote() {
return includeQuote_;
@@ -2564,6 +2636,8 @@ public boolean getIncludeQuote() {
*
*
* bool exclude_info_types = 5;
+ *
+ * @return The excludeInfoTypes.
*/
public boolean getExcludeInfoTypes() {
return excludeInfoTypes_;
@@ -2661,6 +2735,8 @@ public com.google.privacy.dlp.v2.ContentOption convert(java.lang.Integer from) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the contentOptions.
*/
public java.util.List getContentOptionsList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -2676,6 +2752,8 @@ public java.util.List getContentOptions
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param value The contentOptions to add.
*/
public int getContentOptionsCount() {
return contentOptions_.size();
@@ -2689,6 +2767,9 @@ public int getContentOptionsCount() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The contentOptions at the given index.
*/
public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
return contentOptions_converter_.convert(contentOptions_.get(index));
@@ -2702,6 +2783,8 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the enum numeric values on the wire for contentOptions.
*/
public java.util.List getContentOptionsValueList() {
return contentOptions_;
@@ -2715,6 +2798,9 @@ public java.util.List getContentOptionsValueList() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of contentOptions at the given index.
*/
public int getContentOptionsValue(int index) {
return contentOptions_.get(index);
@@ -3116,15 +3202,15 @@ public Builder clear() {
if (customInfoTypesBuilder_ == null) {
customInfoTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
customInfoTypesBuilder_.clear();
}
contentOptions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000004);
if (ruleSetBuilder_ == null) {
ruleSet_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ruleSetBuilder_.clear();
}
@@ -3156,7 +3242,6 @@ public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
com.google.privacy.dlp.v2.InspectConfig result =
new com.google.privacy.dlp.v2.InspectConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (infoTypesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -3175,29 +3260,28 @@ public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
result.includeQuote_ = includeQuote_;
result.excludeInfoTypes_ = excludeInfoTypes_;
if (customInfoTypesBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
customInfoTypes_ = java.util.Collections.unmodifiableList(customInfoTypes_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.customInfoTypes_ = customInfoTypes_;
} else {
result.customInfoTypes_ = customInfoTypesBuilder_.build();
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
contentOptions_ = java.util.Collections.unmodifiableList(contentOptions_);
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.contentOptions_ = contentOptions_;
if (ruleSetBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
ruleSet_ = java.util.Collections.unmodifiableList(ruleSet_);
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.ruleSet_ = ruleSet_;
} else {
result.ruleSet_ = ruleSetBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -3290,7 +3374,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
if (!other.customInfoTypes_.isEmpty()) {
if (customInfoTypes_.isEmpty()) {
customInfoTypes_ = other.customInfoTypes_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureCustomInfoTypesIsMutable();
customInfoTypes_.addAll(other.customInfoTypes_);
@@ -3303,7 +3387,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
customInfoTypesBuilder_.dispose();
customInfoTypesBuilder_ = null;
customInfoTypes_ = other.customInfoTypes_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
customInfoTypesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getCustomInfoTypesFieldBuilder()
@@ -3316,7 +3400,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
if (!other.contentOptions_.isEmpty()) {
if (contentOptions_.isEmpty()) {
contentOptions_ = other.contentOptions_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureContentOptionsIsMutable();
contentOptions_.addAll(other.contentOptions_);
@@ -3327,7 +3411,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
if (!other.ruleSet_.isEmpty()) {
if (ruleSet_.isEmpty()) {
ruleSet_ = other.ruleSet_;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureRuleSetIsMutable();
ruleSet_.addAll(other.ruleSet_);
@@ -3340,7 +3424,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
ruleSetBuilder_.dispose();
ruleSetBuilder_ = null;
ruleSet_ = other.ruleSet_;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
ruleSetBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getRuleSetFieldBuilder()
@@ -3884,6 +3968,8 @@ public java.util.List getInfoTypesBu
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The enum numeric value on the wire for minLikelihood.
*/
public int getMinLikelihoodValue() {
return minLikelihood_;
@@ -3898,6 +3984,9 @@ public int getMinLikelihoodValue() {
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @param value The enum numeric value on the wire for minLikelihood to set.
+ * @return This builder for chaining.
*/
public Builder setMinLikelihoodValue(int value) {
minLikelihood_ = value;
@@ -3914,6 +4003,8 @@ public Builder setMinLikelihoodValue(int value) {
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The minLikelihood.
*/
public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
@SuppressWarnings("deprecation")
@@ -3931,6 +4022,9 @@ public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @param value The minLikelihood to set.
+ * @return This builder for chaining.
*/
public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
if (value == null) {
@@ -3951,6 +4045,8 @@ public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMinLikelihood() {
@@ -3965,11 +4061,19 @@ public Builder clearMinLikelihood() {
com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder,
com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>
limitsBuilder_;
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return Whether the limits field is set.
+ */
public boolean hasLimits() {
return limitsBuilder_ != null || limits_ != null;
}
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return The limits.
+ */
public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() {
if (limitsBuilder_ == null) {
return limits_ == null
@@ -4079,6 +4183,8 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
*
*
* bool include_quote = 4;
+ *
+ * @return The includeQuote.
*/
public boolean getIncludeQuote() {
return includeQuote_;
@@ -4092,6 +4198,9 @@ public boolean getIncludeQuote() {
*
*
* bool include_quote = 4;
+ *
+ * @param value The includeQuote to set.
+ * @return This builder for chaining.
*/
public Builder setIncludeQuote(boolean value) {
@@ -4108,6 +4217,8 @@ public Builder setIncludeQuote(boolean value) {
*
*
* bool include_quote = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIncludeQuote() {
@@ -4125,6 +4236,8 @@ public Builder clearIncludeQuote() {
*
*
* bool exclude_info_types = 5;
+ *
+ * @return The excludeInfoTypes.
*/
public boolean getExcludeInfoTypes() {
return excludeInfoTypes_;
@@ -4137,6 +4250,9 @@ public boolean getExcludeInfoTypes() {
*
*
* bool exclude_info_types = 5;
+ *
+ * @param value The excludeInfoTypes to set.
+ * @return This builder for chaining.
*/
public Builder setExcludeInfoTypes(boolean value) {
@@ -4152,6 +4268,8 @@ public Builder setExcludeInfoTypes(boolean value) {
*
*
* bool exclude_info_types = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearExcludeInfoTypes() {
@@ -4164,10 +4282,10 @@ public Builder clearExcludeInfoTypes() {
java.util.Collections.emptyList();
private void ensureCustomInfoTypesIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
customInfoTypes_ =
new java.util.ArrayList(customInfoTypes_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
@@ -4394,7 +4512,7 @@ public Builder addAllCustomInfoTypes(
public Builder clearCustomInfoTypes() {
if (customInfoTypesBuilder_ == null) {
customInfoTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
customInfoTypesBuilder_.clear();
@@ -4525,7 +4643,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
com.google.privacy.dlp.v2.CustomInfoType.Builder,
com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>(
customInfoTypes_,
- ((bitField0_ & 0x00000020) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
customInfoTypes_ = null;
@@ -4536,9 +4654,9 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
private java.util.List contentOptions_ = java.util.Collections.emptyList();
private void ensureContentOptionsIsMutable() {
- if (!((bitField0_ & 0x00000040) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
contentOptions_ = new java.util.ArrayList(contentOptions_);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -4550,6 +4668,8 @@ private void ensureContentOptionsIsMutable() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the contentOptions.
*/
public java.util.List getContentOptionsList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -4565,6 +4685,8 @@ public java.util.List getContentOptions
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return The count of contentOptions.
*/
public int getContentOptionsCount() {
return contentOptions_.size();
@@ -4578,6 +4700,9 @@ public int getContentOptionsCount() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The contentOptions at the given index.
*/
public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
return contentOptions_converter_.convert(contentOptions_.get(index));
@@ -4591,6 +4716,10 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index to set the value at.
+ * @param value The contentOptions to set.
+ * @return This builder for chaining.
*/
public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOption value) {
if (value == null) {
@@ -4610,6 +4739,9 @@ public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOpt
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param value The contentOptions to add.
+ * @return This builder for chaining.
*/
public Builder addContentOptions(com.google.privacy.dlp.v2.ContentOption value) {
if (value == null) {
@@ -4629,6 +4761,9 @@ public Builder addContentOptions(com.google.privacy.dlp.v2.ContentOption value)
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param values The contentOptions to add.
+ * @return This builder for chaining.
*/
public Builder addAllContentOptions(
java.lang.Iterable extends com.google.privacy.dlp.v2.ContentOption> values) {
@@ -4648,10 +4783,12 @@ public Builder addAllContentOptions(
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearContentOptions() {
contentOptions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -4664,6 +4801,8 @@ public Builder clearContentOptions() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the enum numeric values on the wire for contentOptions.
*/
public java.util.List getContentOptionsValueList() {
return java.util.Collections.unmodifiableList(contentOptions_);
@@ -4677,6 +4816,9 @@ public java.util.List getContentOptionsValueList() {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of contentOptions at the given index.
*/
public int getContentOptionsValue(int index) {
return contentOptions_.get(index);
@@ -4690,6 +4832,10 @@ public int getContentOptionsValue(int index) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of contentOptions at the given index.
+ * @return This builder for chaining.
*/
public Builder setContentOptionsValue(int index, int value) {
ensureContentOptionsIsMutable();
@@ -4706,6 +4852,9 @@ public Builder setContentOptionsValue(int index, int value) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param value The enum numeric value on the wire for contentOptions to add.
+ * @return This builder for chaining.
*/
public Builder addContentOptionsValue(int value) {
ensureContentOptionsIsMutable();
@@ -4722,6 +4871,9 @@ public Builder addContentOptionsValue(int value) {
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param values The enum numeric values on the wire for contentOptions to add.
+ * @return This builder for chaining.
*/
public Builder addAllContentOptionsValue(java.lang.Iterable values) {
ensureContentOptionsIsMutable();
@@ -4736,9 +4888,9 @@ public Builder addAllContentOptionsValue(java.lang.Iterable v
java.util.Collections.emptyList();
private void ensureRuleSetIsMutable() {
- if (!((bitField0_ & 0x00000080) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
ruleSet_ = new java.util.ArrayList(ruleSet_);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000008;
}
}
@@ -4975,7 +5127,7 @@ public Builder addAllRuleSet(
public Builder clearRuleSet() {
if (ruleSetBuilder_ == null) {
ruleSet_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
ruleSetBuilder_.clear();
@@ -5111,7 +5263,7 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(int
com.google.privacy.dlp.v2.InspectionRuleSet,
com.google.privacy.dlp.v2.InspectionRuleSet.Builder,
com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>(
- ruleSet_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean());
+ ruleSet_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
ruleSet_ = null;
}
return ruleSetBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
index 31d9722b..b4200889 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
@@ -124,6 +124,8 @@ public interface InspectConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The enum numeric value on the wire for minLikelihood.
*/
int getMinLikelihoodValue();
/**
@@ -136,12 +138,22 @@ public interface InspectConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Likelihood min_likelihood = 2;
+ *
+ * @return The minLikelihood.
*/
com.google.privacy.dlp.v2.Likelihood getMinLikelihood();
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return Whether the limits field is set.
+ */
boolean hasLimits();
- /** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
+ *
+ * @return The limits.
+ */
com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits();
/** .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
*/
com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder();
@@ -155,6 +167,8 @@ public interface InspectConfigOrBuilder
*
*
* bool include_quote = 4;
+ *
+ * @return The includeQuote.
*/
boolean getIncludeQuote();
@@ -166,6 +180,8 @@ public interface InspectConfigOrBuilder
*
*
* bool exclude_info_types = 5;
+ *
+ * @return The excludeInfoTypes.
*/
boolean getExcludeInfoTypes();
@@ -235,6 +251,8 @@ public interface InspectConfigOrBuilder
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the contentOptions.
*/
java.util.List getContentOptionsList();
/**
@@ -246,6 +264,8 @@ public interface InspectConfigOrBuilder
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return The count of contentOptions.
*/
int getContentOptionsCount();
/**
@@ -257,6 +277,9 @@ public interface InspectConfigOrBuilder
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The contentOptions at the given index.
*/
com.google.privacy.dlp.v2.ContentOption getContentOptions(int index);
/**
@@ -268,6 +291,8 @@ public interface InspectConfigOrBuilder
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @return A list containing the enum numeric values on the wire for contentOptions.
*/
java.util.List getContentOptionsValueList();
/**
@@ -279,6 +304,9 @@ public interface InspectConfigOrBuilder
*
*
* repeated .google.privacy.dlp.v2.ContentOption content_options = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of contentOptions at the given index.
*/
int getContentOptionsValue(int index);
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
index 84a3f036..5ce1e855 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
@@ -43,6 +43,12 @@ private InspectContentRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectContentRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private InspectContentRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -164,6 +169,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -184,6 +191,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -208,6 +217,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -221,6 +232,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -251,6 +264,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return item_ != null;
@@ -263,6 +278,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
@@ -294,6 +311,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 4;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -318,6 +337,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 4;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -342,6 +363,8 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -363,6 +386,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -790,6 +815,8 @@ public Builder mergeFrom(
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -810,6 +837,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -830,6 +859,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -848,6 +880,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -863,6 +897,9 @@ public Builder clearParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -890,6 +927,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -903,6 +942,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
@@ -1080,6 +1121,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return itemBuilder_ != null || item_ != null;
@@ -1092,6 +1135,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
if (itemBuilder_ == null) {
@@ -1256,6 +1301,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 4;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -1280,6 +1327,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 4;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -1304,6 +1353,9 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string inspect_template_name = 4;
+ *
+ * @param value The inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateName(java.lang.String value) {
if (value == null) {
@@ -1326,6 +1378,8 @@ public Builder setInspectTemplateName(java.lang.String value) {
*
*
* string inspect_template_name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInspectTemplateName() {
@@ -1345,6 +1399,9 @@ public Builder clearInspectTemplateName() {
*
*
* string inspect_template_name = 4;
+ *
+ * @param value The bytes for inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1367,6 +1424,8 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1388,6 +1447,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1409,6 +1470,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1428,6 +1492,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1444,6 +1510,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 5;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java
index d9264246..355d150a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java
@@ -31,6 +31,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -41,6 +43,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -53,6 +57,8 @@ public interface InspectContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -64,6 +70,8 @@ public interface InspectContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
@@ -86,6 +94,8 @@ public interface InspectContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return Whether the item field is set.
*/
boolean hasItem();
/**
@@ -96,6 +106,8 @@ public interface InspectContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 3;
+ *
+ * @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
@@ -121,6 +133,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string inspect_template_name = 4;
+ *
+ * @return The inspectTemplateName.
*/
java.lang.String getInspectTemplateName();
/**
@@ -135,6 +149,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string inspect_template_name = 4;
+ *
+ * @return The bytes for inspectTemplateName.
*/
com.google.protobuf.ByteString getInspectTemplateNameBytes();
@@ -147,6 +163,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -158,6 +176,8 @@ public interface InspectContentRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
index 05f25286..cb0ae184 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java
@@ -39,6 +39,12 @@ private InspectContentResponse(com.google.protobuf.GeneratedMessageV3.Builder>
private InspectContentResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectContentResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private InspectContentResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -123,6 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return Whether the result field is set.
*/
public boolean hasResult() {
return result_ != null;
@@ -135,6 +142,8 @@ public boolean hasResult() {
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return The result.
*/
public com.google.privacy.dlp.v2.InspectResult getResult() {
return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_;
@@ -495,6 +504,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return Whether the result field is set.
*/
public boolean hasResult() {
return resultBuilder_ != null || result_ != null;
@@ -507,6 +518,8 @@ public boolean hasResult() {
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return The result.
*/
public com.google.privacy.dlp.v2.InspectResult getResult() {
if (resultBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java
index a7f7c449..6fd3a9ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java
@@ -31,6 +31,8 @@ public interface InspectContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return Whether the result field is set.
*/
boolean hasResult();
/**
@@ -41,6 +43,8 @@ public interface InspectContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.InspectResult result = 1;
+ *
+ * @return The result.
*/
com.google.privacy.dlp.v2.InspectResult getResult();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
index 40247631..5f516194 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java
@@ -39,6 +39,12 @@ private InspectDataSourceDetails(com.google.protobuf.GeneratedMessageV3.Builder<
private InspectDataSourceDetails() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectDataSourceDetails();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private InspectDataSourceDetails(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -146,6 +151,8 @@ public interface RequestedOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return Whether the snapshotInspectTemplate field is set.
*/
boolean hasSnapshotInspectTemplate();
/**
@@ -157,6 +164,8 @@ public interface RequestedOptionsOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return The snapshotInspectTemplate.
*/
com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate();
/**
@@ -171,9 +180,17 @@ public interface RequestedOptionsOrBuilder
*/
com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder();
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return Whether the jobConfig field is set.
+ */
boolean hasJobConfig();
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return The jobConfig.
+ */
com.google.privacy.dlp.v2.InspectJobConfig getJobConfig();
/** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder();
@@ -191,6 +208,12 @@ private RequestedOptions(com.google.protobuf.GeneratedMessageV3.Builder> build
private RequestedOptions() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RequestedOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -204,7 +227,6 @@ private RequestedOptions(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -292,6 +314,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return Whether the snapshotInspectTemplate field is set.
*/
public boolean hasSnapshotInspectTemplate() {
return snapshotInspectTemplate_ != null;
@@ -305,6 +329,8 @@ public boolean hasSnapshotInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return The snapshotInspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
return snapshotInspectTemplate_ == null
@@ -328,11 +354,19 @@ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
public static final int JOB_CONFIG_FIELD_NUMBER = 3;
private com.google.privacy.dlp.v2.InspectJobConfig jobConfig_;
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return Whether the jobConfig field is set.
+ */
public boolean hasJobConfig() {
return jobConfig_ != null;
}
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return The jobConfig.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() {
return jobConfig_ == null
? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()
@@ -723,6 +757,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return Whether the snapshotInspectTemplate field is set.
*/
public boolean hasSnapshotInspectTemplate() {
return snapshotInspectTemplateBuilder_ != null || snapshotInspectTemplate_ != null;
@@ -736,6 +772,8 @@ public boolean hasSnapshotInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
+ *
+ * @return The snapshotInspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
if (snapshotInspectTemplateBuilder_ == null) {
@@ -906,11 +944,19 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTempl
com.google.privacy.dlp.v2.InspectJobConfig.Builder,
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>
jobConfigBuilder_;
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return Whether the jobConfig field is set.
+ */
public boolean hasJobConfig() {
return jobConfigBuilder_ != null || jobConfig_ != null;
}
- /** .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig job_config = 3;
+ *
+ * @return The jobConfig.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() {
if (jobConfigBuilder_ == null) {
return jobConfig_ == null
@@ -1078,6 +1124,8 @@ public interface ResultOrBuilder
*
*
* int64 processed_bytes = 1;
+ *
+ * @return The processedBytes.
*/
long getProcessedBytes();
@@ -1089,6 +1137,8 @@ public interface ResultOrBuilder
*
*
* int64 total_estimated_bytes = 2;
+ *
+ * @return The totalEstimatedBytes.
*/
long getTotalEstimatedBytes();
@@ -1172,6 +1222,12 @@ private Result() {
infoTypeStats_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Result();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1208,10 +1264,10 @@ private Result(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
infoTypeStats_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
infoTypeStats_.add(
input.readMessage(
@@ -1232,7 +1288,7 @@ private Result(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_);
}
this.unknownFields = unknownFields.build();
@@ -1255,7 +1311,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class);
}
- private int bitField0_;
public static final int PROCESSED_BYTES_FIELD_NUMBER = 1;
private long processedBytes_;
/**
@@ -1266,6 +1321,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 processed_bytes = 1;
+ *
+ * @return The processedBytes.
*/
public long getProcessedBytes() {
return processedBytes_;
@@ -1281,6 +1338,8 @@ public long getProcessedBytes() {
*
*
* int64 total_estimated_bytes = 2;
+ *
+ * @return The totalEstimatedBytes.
*/
public long getTotalEstimatedBytes() {
return totalEstimatedBytes_;
@@ -1590,7 +1649,7 @@ public Builder clear() {
if (infoTypeStatsBuilder_ == null) {
infoTypeStats_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
infoTypeStatsBuilder_.clear();
}
@@ -1622,19 +1681,17 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result buildPartial()
com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result =
new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.processedBytes_ = processedBytes_;
result.totalEstimatedBytes_ = totalEstimatedBytes_;
if (infoTypeStatsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.infoTypeStats_ = infoTypeStats_;
} else {
result.infoTypeStats_ = infoTypeStatsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1697,7 +1754,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu
if (!other.infoTypeStats_.isEmpty()) {
if (infoTypeStats_.isEmpty()) {
infoTypeStats_ = other.infoTypeStats_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInfoTypeStatsIsMutable();
infoTypeStats_.addAll(other.infoTypeStats_);
@@ -1710,7 +1767,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu
infoTypeStatsBuilder_.dispose();
infoTypeStatsBuilder_ = null;
infoTypeStats_ = other.infoTypeStats_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
infoTypeStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getInfoTypeStatsFieldBuilder()
@@ -1761,6 +1818,8 @@ public Builder mergeFrom(
*
*
* int64 processed_bytes = 1;
+ *
+ * @return The processedBytes.
*/
public long getProcessedBytes() {
return processedBytes_;
@@ -1773,6 +1832,9 @@ public long getProcessedBytes() {
*
*
* int64 processed_bytes = 1;
+ *
+ * @param value The processedBytes to set.
+ * @return This builder for chaining.
*/
public Builder setProcessedBytes(long value) {
@@ -1788,6 +1850,8 @@ public Builder setProcessedBytes(long value) {
*
*
* int64 processed_bytes = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProcessedBytes() {
@@ -1805,6 +1869,8 @@ public Builder clearProcessedBytes() {
*
*
* int64 total_estimated_bytes = 2;
+ *
+ * @return The totalEstimatedBytes.
*/
public long getTotalEstimatedBytes() {
return totalEstimatedBytes_;
@@ -1817,6 +1883,9 @@ public long getTotalEstimatedBytes() {
*
*
* int64 total_estimated_bytes = 2;
+ *
+ * @param value The totalEstimatedBytes to set.
+ * @return This builder for chaining.
*/
public Builder setTotalEstimatedBytes(long value) {
@@ -1832,6 +1901,8 @@ public Builder setTotalEstimatedBytes(long value) {
*
*
* int64 total_estimated_bytes = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTotalEstimatedBytes() {
@@ -1844,10 +1915,10 @@ public Builder clearTotalEstimatedBytes() {
java.util.Collections.emptyList();
private void ensureInfoTypeStatsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
infoTypeStats_ =
new java.util.ArrayList(infoTypeStats_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -2074,7 +2145,7 @@ public Builder addAllInfoTypeStats(
public Builder clearInfoTypeStats() {
if (infoTypeStatsBuilder_ == null) {
infoTypeStats_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
infoTypeStatsBuilder_.clear();
@@ -2204,7 +2275,7 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(i
com.google.privacy.dlp.v2.InfoTypeStats.Builder,
com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>(
infoTypeStats_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
infoTypeStats_ = null;
@@ -2275,6 +2346,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefaultInsta
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return Whether the requestedOptions field is set.
*/
public boolean hasRequestedOptions() {
return requestedOptions_ != null;
@@ -2288,6 +2361,8 @@ public boolean hasRequestedOptions() {
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return The requestedOptions.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() {
return requestedOptions_ == null
@@ -2319,6 +2394,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRe
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return Whether the result field is set.
*/
public boolean hasResult() {
return result_ != null;
@@ -2331,6 +2408,8 @@ public boolean hasResult() {
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return The result.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() {
return result_ == null
@@ -2723,6 +2802,8 @@ public Builder mergeFrom(
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return Whether the requestedOptions field is set.
*/
public boolean hasRequestedOptions() {
return requestedOptionsBuilder_ != null || requestedOptions_ != null;
@@ -2736,6 +2817,8 @@ public boolean hasRequestedOptions() {
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return The requestedOptions.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions
getRequestedOptions() {
@@ -2922,6 +3005,8 @@ public Builder clearRequestedOptions() {
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return Whether the result field is set.
*/
public boolean hasResult() {
return resultBuilder_ != null || result_ != null;
@@ -2934,6 +3019,8 @@ public boolean hasResult() {
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return The result.
*/
public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() {
if (resultBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java
index 6d703ed1..d64dbf8e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java
@@ -32,6 +32,8 @@ public interface InspectDataSourceDetailsOrBuilder
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return Whether the requestedOptions field is set.
*/
boolean hasRequestedOptions();
/**
@@ -43,6 +45,8 @@ public interface InspectDataSourceDetailsOrBuilder
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2;
*
+ *
+ * @return The requestedOptions.
*/
com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions();
/**
@@ -66,6 +70,8 @@ public interface InspectDataSourceDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return Whether the result field is set.
*/
boolean hasResult();
/**
@@ -76,6 +82,8 @@ public interface InspectDataSourceDetailsOrBuilder
*
*
* .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3;
+ *
+ * @return The result.
*/
com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
index 31a73fb8..55e41e53 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java
@@ -34,6 +34,12 @@ private InspectJobConfig() {
actions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectJobConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -99,9 +105,9 @@ private InspectJobConfig(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
actions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
actions_.add(
input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
@@ -121,7 +127,7 @@ private InspectJobConfig(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
actions_ = java.util.Collections.unmodifiableList(actions_);
}
this.unknownFields = unknownFields.build();
@@ -144,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.InspectJobConfig.Builder.class);
}
- private int bitField0_;
public static final int STORAGE_CONFIG_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.StorageConfig storageConfig_;
/**
@@ -155,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return Whether the storageConfig field is set.
*/
public boolean hasStorageConfig() {
return storageConfig_ != null;
@@ -167,6 +174,8 @@ public boolean hasStorageConfig() {
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return The storageConfig.
*/
public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() {
return storageConfig_ == null
@@ -196,6 +205,8 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -208,6 +219,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -239,6 +252,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* string inspect_template_name = 3;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -261,6 +276,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 3;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -591,7 +608,7 @@ public Builder clear() {
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
actionsBuilder_.clear();
}
@@ -623,7 +640,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() {
com.google.privacy.dlp.v2.InspectJobConfig result =
new com.google.privacy.dlp.v2.InspectJobConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (storageConfigBuilder_ == null) {
result.storageConfig_ = storageConfig_;
} else {
@@ -636,15 +652,14 @@ public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() {
}
result.inspectTemplateName_ = inspectTemplateName_;
if (actionsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
actions_ = java.util.Collections.unmodifiableList(actions_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.actions_ = actions_;
} else {
result.actions_ = actionsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -708,7 +723,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectJobConfig other) {
if (!other.actions_.isEmpty()) {
if (actions_.isEmpty()) {
actions_ = other.actions_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureActionsIsMutable();
actions_.addAll(other.actions_);
@@ -721,7 +736,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectJobConfig other) {
actionsBuilder_.dispose();
actionsBuilder_ = null;
actions_ = other.actions_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
actionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getActionsFieldBuilder()
@@ -776,6 +791,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return Whether the storageConfig field is set.
*/
public boolean hasStorageConfig() {
return storageConfigBuilder_ != null || storageConfig_ != null;
@@ -788,6 +805,8 @@ public boolean hasStorageConfig() {
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return The storageConfig.
*/
public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() {
if (storageConfigBuilder_ == null) {
@@ -958,6 +977,8 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -970,6 +991,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
@@ -1137,6 +1160,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* string inspect_template_name = 3;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -1159,6 +1184,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 3;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -1181,6 +1208,9 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string inspect_template_name = 3;
+ *
+ * @param value The inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateName(java.lang.String value) {
if (value == null) {
@@ -1201,6 +1231,8 @@ public Builder setInspectTemplateName(java.lang.String value) {
*
*
* string inspect_template_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInspectTemplateName() {
@@ -1218,6 +1250,9 @@ public Builder clearInspectTemplateName() {
*
*
* string inspect_template_name = 3;
+ *
+ * @param value The bytes for inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1234,9 +1269,9 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
java.util.Collections.emptyList();
private void ensureActionsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
actions_ = new java.util.ArrayList(actions_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -1449,7 +1484,7 @@ public Builder addAllActions(
public Builder clearActions() {
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
actionsBuilder_.clear();
@@ -1570,7 +1605,7 @@ public java.util.List getActionsBuilde
com.google.privacy.dlp.v2.Action,
com.google.privacy.dlp.v2.Action.Builder,
com.google.privacy.dlp.v2.ActionOrBuilder>(
- actions_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+ actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
actions_ = null;
}
return actionsBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java
index aaac1742..062d6135 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface InspectJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return Whether the storageConfig field is set.
*/
boolean hasStorageConfig();
/**
@@ -41,6 +43,8 @@ public interface InspectJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.StorageConfig storage_config = 1;
+ *
+ * @return The storageConfig.
*/
com.google.privacy.dlp.v2.StorageConfig getStorageConfig();
/**
@@ -62,6 +66,8 @@ public interface InspectJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -72,6 +78,8 @@ public interface InspectJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
@@ -95,6 +103,8 @@ public interface InspectJobConfigOrBuilder
*
*
* string inspect_template_name = 3;
+ *
+ * @return The inspectTemplateName.
*/
java.lang.String getInspectTemplateName();
/**
@@ -107,6 +117,8 @@ public interface InspectJobConfigOrBuilder
*
*
* string inspect_template_name = 3;
+ *
+ * @return The bytes for inspectTemplateName.
*/
com.google.protobuf.ByteString getInspectTemplateNameBytes();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
index a5bb99ee..81d18046 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java
@@ -41,6 +41,12 @@ private InspectResult() {
findings_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -117,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.InspectResult.Builder.class);
}
- private int bitField0_;
public static final int FINDINGS_FIELD_NUMBER = 1;
private java.util.List findings_;
/**
@@ -197,6 +202,8 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index
*
*
* bool findings_truncated = 2;
+ *
+ * @return The findingsTruncated.
*/
public boolean getFindingsTruncated() {
return findingsTruncated_;
@@ -454,7 +461,6 @@ public com.google.privacy.dlp.v2.InspectResult buildPartial() {
com.google.privacy.dlp.v2.InspectResult result =
new com.google.privacy.dlp.v2.InspectResult(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (findingsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
findings_ = java.util.Collections.unmodifiableList(findings_);
@@ -465,7 +471,6 @@ public com.google.privacy.dlp.v2.InspectResult buildPartial() {
result.findings_ = findingsBuilder_.build();
}
result.findingsTruncated_ = findingsTruncated_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -938,6 +943,8 @@ public java.util.List getFindingsBuil
*
*
* bool findings_truncated = 2;
+ *
+ * @return The findingsTruncated.
*/
public boolean getFindingsTruncated() {
return findingsTruncated_;
@@ -955,6 +962,9 @@ public boolean getFindingsTruncated() {
*
*
* bool findings_truncated = 2;
+ *
+ * @param value The findingsTruncated to set.
+ * @return This builder for chaining.
*/
public Builder setFindingsTruncated(boolean value) {
@@ -975,6 +985,8 @@ public Builder setFindingsTruncated(boolean value) {
*
*
* bool findings_truncated = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFindingsTruncated() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java
index cbda2865..b04fc79f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java
@@ -87,6 +87,8 @@ public interface InspectResultOrBuilder
*
*
* bool findings_truncated = 2;
+ *
+ * @return The findingsTruncated.
*/
boolean getFindingsTruncated();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
index f989ab32..a2b20c39 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java
@@ -46,6 +46,12 @@ private InspectTemplate() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectTemplate();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private InspectTemplate(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -184,6 +189,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -207,6 +214,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -230,6 +239,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -250,6 +261,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -273,6 +286,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -293,6 +308,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -316,6 +333,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -328,6 +347,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -355,6 +376,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -367,6 +390,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -394,6 +419,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -406,6 +433,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -872,6 +901,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -895,6 +926,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -918,6 +951,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -939,6 +975,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -957,6 +995,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -978,6 +1019,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -998,6 +1041,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1018,6 +1063,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1036,6 +1084,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1051,6 +1101,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1072,6 +1125,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1092,6 +1147,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1112,6 +1169,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1130,6 +1190,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1145,6 +1207,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1171,6 +1236,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -1183,6 +1250,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1350,6 +1419,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -1362,6 +1433,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -1529,6 +1602,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -1541,6 +1616,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java
index 495dc6fd..41d845f0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class InspectTemplateName implements ResourceName {
protected InspectTemplateName() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateNames.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateNames.java
index c96735de..06fccdbc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateNames.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateNames.java
@@ -16,8 +16,13 @@
package com.google.privacy.dlp.v2;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class InspectTemplateNames {
private InspectTemplateNames() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java
index 6111594c..a7b4eb3f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java
@@ -34,6 +34,8 @@ public interface InspectTemplateOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface InspectTemplateOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface InspectTemplateOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -68,6 +74,8 @@ public interface InspectTemplateOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -79,6 +87,8 @@ public interface InspectTemplateOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -89,6 +99,8 @@ public interface InspectTemplateOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -100,6 +112,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -110,6 +124,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 4;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -131,6 +147,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -141,6 +159,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 5;
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -162,6 +182,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -172,6 +194,8 @@ public interface InspectTemplateOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 6;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
index 790f24e6..a1b0a124 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java
@@ -40,6 +40,12 @@ private InspectionRule(com.google.protobuf.GeneratedMessageV3.Builder> builder
private InspectionRule() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectionRule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private InspectionRule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,7 +143,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
HOTWORD_RULE(1),
EXCLUSION_RULE(2),
TYPE_NOT_SET(0);
@@ -147,7 +155,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -184,6 +196,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
+ *
+ * @return Whether the hotwordRule field is set.
*/
public boolean hasHotwordRule() {
return typeCase_ == 1;
@@ -196,6 +210,8 @@ public boolean hasHotwordRule() {
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
+ *
+ * @return The hotwordRule.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (typeCase_ == 1) {
@@ -229,6 +245,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return Whether the exclusionRule field is set.
*/
public boolean hasExclusionRule() {
return typeCase_ == 2;
@@ -241,6 +259,8 @@ public boolean hasExclusionRule() {
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return The exclusionRule.
*/
public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() {
if (typeCase_ == 2) {
@@ -665,6 +685,8 @@ public Builder clearType() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return Whether the hotwordRule field is set.
*/
public boolean hasHotwordRule() {
return typeCase_ == 1;
@@ -678,6 +700,8 @@ public boolean hasHotwordRule() {
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
*
+ *
+ * @return The hotwordRule.
*/
public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() {
if (hotwordRuleBuilder_ == null) {
@@ -887,6 +911,8 @@ public Builder clearHotwordRule() {
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return Whether the exclusionRule field is set.
*/
public boolean hasExclusionRule() {
return typeCase_ == 2;
@@ -899,6 +925,8 @@ public boolean hasExclusionRule() {
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return The exclusionRule.
*/
public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() {
if (exclusionRuleBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java
index 67481226..13604975 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java
@@ -31,6 +31,8 @@ public interface InspectionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
+ *
+ * @return Whether the hotwordRule field is set.
*/
boolean hasHotwordRule();
/**
@@ -41,6 +43,8 @@ public interface InspectionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
+ *
+ * @return The hotwordRule.
*/
com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule();
/**
@@ -63,6 +67,8 @@ public interface InspectionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return Whether the exclusionRule field is set.
*/
boolean hasExclusionRule();
/**
@@ -73,6 +79,8 @@ public interface InspectionRuleOrBuilder
*
*
* .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2;
+ *
+ * @return The exclusionRule.
*/
com.google.privacy.dlp.v2.ExclusionRule getExclusionRule();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
index dcbd8f44..82b02c08 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java
@@ -43,6 +43,12 @@ private InspectionRuleSet() {
rules_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new InspectionRuleSet();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
index 65d0221e..5d8e47d5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java
@@ -47,6 +47,12 @@ private JobTrigger() {
status_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new JobTrigger();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -110,9 +116,9 @@ private JobTrigger(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
triggers_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
triggers_.add(
input.readMessage(
@@ -121,9 +127,9 @@ private JobTrigger(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
errors_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
errors_.add(
input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
@@ -195,10 +201,10 @@ private JobTrigger(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
triggers_ = java.util.Collections.unmodifiableList(triggers_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
}
this.unknownFields = unknownFields.build();
@@ -310,12 +316,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Status forNumber(int value) {
switch (value) {
case 0:
@@ -388,6 +402,8 @@ public interface TriggerOrBuilder
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return Whether the schedule field is set.
*/
boolean hasSchedule();
/**
@@ -398,6 +414,8 @@ public interface TriggerOrBuilder
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return The schedule.
*/
com.google.privacy.dlp.v2.Schedule getSchedule();
/**
@@ -434,6 +452,12 @@ private Trigger(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Trigger() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Trigger();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -447,7 +471,6 @@ private Trigger(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -511,7 +534,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int triggerCase_ = 0;
private java.lang.Object trigger_;
- public enum TriggerCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TriggerCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SCHEDULE(1),
TRIGGER_NOT_SET(0);
private final int value;
@@ -519,7 +545,11 @@ public enum TriggerCase implements com.google.protobuf.Internal.EnumLite {
private TriggerCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TriggerCase valueOf(int value) {
return forNumber(value);
@@ -554,6 +584,8 @@ public TriggerCase getTriggerCase() {
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return Whether the schedule field is set.
*/
public boolean hasSchedule() {
return triggerCase_ == 1;
@@ -566,6 +598,8 @@ public boolean hasSchedule() {
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return The schedule.
*/
public com.google.privacy.dlp.v2.Schedule getSchedule() {
if (triggerCase_ == 1) {
@@ -965,6 +999,8 @@ public Builder clearTrigger() {
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return Whether the schedule field is set.
*/
public boolean hasSchedule() {
return triggerCase_ == 1;
@@ -977,6 +1013,8 @@ public boolean hasSchedule() {
*
*
* .google.privacy.dlp.v2.Schedule schedule = 1;
+ *
+ * @return The schedule.
*/
public com.google.privacy.dlp.v2.Schedule getSchedule() {
if (scheduleBuilder_ == null) {
@@ -1203,11 +1241,13 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getDefaultInstanceForType()
}
}
- private int bitField0_;
private int jobCase_ = 0;
private java.lang.Object job_;
- public enum JobCase implements com.google.protobuf.Internal.EnumLite {
+ public enum JobCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INSPECT_JOB(4),
JOB_NOT_SET(0);
private final int value;
@@ -1215,7 +1255,11 @@ public enum JobCase implements com.google.protobuf.Internal.EnumLite {
private JobCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static JobCase valueOf(int value) {
return forNumber(value);
@@ -1253,6 +1297,8 @@ public JobCase getJobCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1275,6 +1321,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1298,6 +1346,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1318,6 +1368,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1341,6 +1393,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1361,6 +1415,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1375,11 +1431,19 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
}
public static final int INSPECT_JOB_FIELD_NUMBER = 4;
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return Whether the inspectJob field is set.
+ */
public boolean hasInspectJob() {
return jobCase_ == 4;
}
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return The inspectJob.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (jobCase_ == 4) {
return (com.google.privacy.dlp.v2.InspectJobConfig) job_;
@@ -1557,6 +1621,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -1569,6 +1635,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -1596,6 +1664,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -1608,6 +1678,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -1635,6 +1707,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return Whether the lastRunTime field is set.
*/
public boolean hasLastRunTime() {
return lastRunTime_ != null;
@@ -1647,6 +1721,8 @@ public boolean hasLastRunTime() {
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return The lastRunTime.
*/
public com.google.protobuf.Timestamp getLastRunTime() {
return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_;
@@ -1674,6 +1750,8 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -1686,6 +1764,8 @@ public int getStatusValue() {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The status.
*/
public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -2023,13 +2103,13 @@ public Builder clear() {
if (triggersBuilder_ == null) {
triggers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
triggersBuilder_.clear();
}
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
errorsBuilder_.clear();
}
@@ -2082,7 +2162,6 @@ public com.google.privacy.dlp.v2.JobTrigger build() {
public com.google.privacy.dlp.v2.JobTrigger buildPartial() {
com.google.privacy.dlp.v2.JobTrigger result = new com.google.privacy.dlp.v2.JobTrigger(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.displayName_ = displayName_;
result.description_ = description_;
@@ -2094,18 +2173,18 @@ public com.google.privacy.dlp.v2.JobTrigger buildPartial() {
}
}
if (triggersBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
triggers_ = java.util.Collections.unmodifiableList(triggers_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.triggers_ = triggers_;
} else {
result.triggers_ = triggersBuilder_.build();
}
if (errorsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.errors_ = errors_;
} else {
@@ -2127,7 +2206,6 @@ public com.google.privacy.dlp.v2.JobTrigger buildPartial() {
result.lastRunTime_ = lastRunTimeBuilder_.build();
}
result.status_ = status_;
- result.bitField0_ = to_bitField0_;
result.jobCase_ = jobCase_;
onBuilt();
return result;
@@ -2194,7 +2272,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
if (!other.triggers_.isEmpty()) {
if (triggers_.isEmpty()) {
triggers_ = other.triggers_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTriggersIsMutable();
triggers_.addAll(other.triggers_);
@@ -2207,7 +2285,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
triggersBuilder_.dispose();
triggersBuilder_ = null;
triggers_ = other.triggers_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
triggersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTriggersFieldBuilder()
@@ -2221,7 +2299,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
if (!other.errors_.isEmpty()) {
if (errors_.isEmpty()) {
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureErrorsIsMutable();
errors_.addAll(other.errors_);
@@ -2234,7 +2312,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
errorsBuilder_.dispose();
errorsBuilder_ = null;
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
errorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getErrorsFieldBuilder()
@@ -2323,6 +2401,8 @@ public Builder clearJob() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -2345,6 +2425,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -2367,6 +2449,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -2387,6 +2472,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -2404,6 +2491,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2425,6 +2515,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -2445,6 +2537,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -2465,6 +2559,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -2483,6 +2580,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -2498,6 +2597,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2519,6 +2621,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -2539,6 +2643,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -2559,6 +2665,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -2577,6 +2686,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -2592,6 +2703,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2609,11 +2723,19 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
com.google.privacy.dlp.v2.InspectJobConfig.Builder,
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>
inspectJobBuilder_;
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return Whether the inspectJob field is set.
+ */
public boolean hasInspectJob() {
return jobCase_ == 4;
}
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return The inspectJob.
+ */
public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() {
if (inspectJobBuilder_ == null) {
if (jobCase_ == 4) {
@@ -2738,10 +2860,10 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde
java.util.Collections.emptyList();
private void ensureTriggersIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
triggers_ =
new java.util.ArrayList(triggers_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000001;
}
}
@@ -2979,7 +3101,7 @@ public Builder addAllTriggers(
public Builder clearTriggers() {
if (triggersBuilder_ == null) {
triggers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
triggersBuilder_.clear();
@@ -3115,7 +3237,7 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(i
com.google.privacy.dlp.v2.JobTrigger.Trigger,
com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder,
com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>(
- triggers_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+ triggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
triggers_ = null;
}
return triggersBuilder_;
@@ -3125,9 +3247,9 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(i
java.util.Collections.emptyList();
private void ensureErrorsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
errors_ = new java.util.ArrayList(errors_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
@@ -3373,7 +3495,7 @@ public Builder addAllErrors(
public Builder clearErrors() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
errorsBuilder_.clear();
@@ -3515,7 +3637,7 @@ public java.util.List getErrorsBuilderL
com.google.privacy.dlp.v2.Error,
com.google.privacy.dlp.v2.Error.Builder,
com.google.privacy.dlp.v2.ErrorOrBuilder>(
- errors_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+ errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
errors_ = null;
}
return errorsBuilder_;
@@ -3535,6 +3657,8 @@ public java.util.List getErrorsBuilderL
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -3547,6 +3671,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -3714,6 +3840,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -3726,6 +3854,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -3893,6 +4023,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return Whether the lastRunTime field is set.
*/
public boolean hasLastRunTime() {
return lastRunTimeBuilder_ != null || lastRunTime_ != null;
@@ -3905,6 +4037,8 @@ public boolean hasLastRunTime() {
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return The lastRunTime.
*/
public com.google.protobuf.Timestamp getLastRunTime() {
if (lastRunTimeBuilder_ == null) {
@@ -4069,6 +4203,8 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -4081,6 +4217,9 @@ public int getStatusValue() {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @param value The enum numeric value on the wire for status to set.
+ * @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
@@ -4095,6 +4234,8 @@ public Builder setStatusValue(int value) {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The status.
*/
public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -4110,6 +4251,9 @@ public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @param value The status to set.
+ * @return This builder for chaining.
*/
public Builder setStatus(com.google.privacy.dlp.v2.JobTrigger.Status value) {
if (value == null) {
@@ -4128,6 +4272,8 @@ public Builder setStatus(com.google.privacy.dlp.v2.JobTrigger.Status value) {
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStatus() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java
index 53bc1511..5999fe15 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java
@@ -33,6 +33,8 @@ public interface JobTriggerOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface JobTriggerOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -56,6 +60,8 @@ public interface JobTriggerOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -66,6 +72,8 @@ public interface JobTriggerOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -77,6 +85,8 @@ public interface JobTriggerOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -87,12 +97,22 @@ public interface JobTriggerOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return Whether the inspectJob field is set.
+ */
boolean hasInspectJob();
- /** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
+ *
+ * @return The inspectJob.
+ */
com.google.privacy.dlp.v2.InspectJobConfig getInspectJob();
/** .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder();
@@ -233,6 +253,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -243,6 +265,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 7;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -264,6 +288,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -274,6 +300,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 8;
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -295,6 +323,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return Whether the lastRunTime field is set.
*/
boolean hasLastRunTime();
/**
@@ -305,6 +335,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.protobuf.Timestamp last_run_time = 9;
+ *
+ * @return The lastRunTime.
*/
com.google.protobuf.Timestamp getLastRunTime();
/**
@@ -326,6 +358,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
@@ -336,6 +370,8 @@ public interface JobTriggerOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10;
+ *
+ * @return The status.
*/
com.google.privacy.dlp.v2.JobTrigger.Status getStatus();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java
index 6e58e000..5fe3c019 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java
@@ -44,6 +44,12 @@ private Key() {
path_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Key();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -86,9 +92,9 @@ private Key(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
path_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
path_.add(
input.readMessage(
@@ -109,7 +115,7 @@ private Key(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
path_ = java.util.Collections.unmodifiableList(path_);
}
this.unknownFields = unknownFields.build();
@@ -147,6 +153,8 @@ public interface PathElementOrBuilder
*
*
* string kind = 1;
+ *
+ * @return The kind.
*/
java.lang.String getKind();
/**
@@ -160,6 +168,8 @@ public interface PathElementOrBuilder
*
*
* string kind = 1;
+ *
+ * @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
@@ -173,6 +183,8 @@ public interface PathElementOrBuilder
*
*
* int64 id = 2;
+ *
+ * @return The id.
*/
long getId();
@@ -187,6 +199,8 @@ public interface PathElementOrBuilder
*
*
* string name = 3;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -200,6 +214,8 @@ public interface PathElementOrBuilder
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -230,6 +246,12 @@ private PathElement() {
kind_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PathElement();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -243,7 +265,6 @@ private PathElement(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -311,7 +332,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int idTypeCase_ = 0;
private java.lang.Object idType_;
- public enum IdTypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum IdTypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ID(2),
NAME(3),
IDTYPE_NOT_SET(0);
@@ -320,7 +344,11 @@ public enum IdTypeCase implements com.google.protobuf.Internal.EnumLite {
private IdTypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static IdTypeCase valueOf(int value) {
return forNumber(value);
@@ -361,6 +389,8 @@ public IdTypeCase getIdTypeCase() {
*
*
* string kind = 1;
+ *
+ * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -384,6 +414,8 @@ public java.lang.String getKind() {
*
*
* string kind = 1;
+ *
+ * @return The bytes for kind.
*/
public com.google.protobuf.ByteString getKindBytes() {
java.lang.Object ref = kind_;
@@ -408,6 +440,8 @@ public com.google.protobuf.ByteString getKindBytes() {
*
*
* int64 id = 2;
+ *
+ * @return The id.
*/
public long getId() {
if (idTypeCase_ == 2) {
@@ -428,6 +462,8 @@ public long getId() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = "";
@@ -456,6 +492,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = "";
@@ -886,6 +924,8 @@ public Builder clearIdType() {
*
*
* string kind = 1;
+ *
+ * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -909,6 +949,8 @@ public java.lang.String getKind() {
*
*
* string kind = 1;
+ *
+ * @return The bytes for kind.
*/
public com.google.protobuf.ByteString getKindBytes() {
java.lang.Object ref = kind_;
@@ -932,6 +974,9 @@ public com.google.protobuf.ByteString getKindBytes() {
*
*
* string kind = 1;
+ *
+ * @param value The kind to set.
+ * @return This builder for chaining.
*/
public Builder setKind(java.lang.String value) {
if (value == null) {
@@ -953,6 +998,8 @@ public Builder setKind(java.lang.String value) {
*
*
* string kind = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearKind() {
@@ -971,6 +1018,9 @@ public Builder clearKind() {
*
*
* string kind = 1;
+ *
+ * @param value The bytes for kind to set.
+ * @return This builder for chaining.
*/
public Builder setKindBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -993,6 +1043,8 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) {
*
*
* int64 id = 2;
+ *
+ * @return The id.
*/
public long getId() {
if (idTypeCase_ == 2) {
@@ -1010,6 +1062,9 @@ public long getId() {
*
*
* int64 id = 2;
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(long value) {
idTypeCase_ = 2;
@@ -1027,6 +1082,8 @@ public Builder setId(long value) {
*
*
* int64 id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
if (idTypeCase_ == 2) {
@@ -1048,6 +1105,8 @@ public Builder clearId() {
*
*
* string name = 3;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = "";
@@ -1076,6 +1135,8 @@ public java.lang.String getName() {
*
*
* string name = 3;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = "";
@@ -1104,6 +1165,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 3;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1125,6 +1189,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
if (idTypeCase_ == 3) {
@@ -1145,6 +1211,9 @@ public Builder clearName() {
*
*
* string name = 3;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1209,7 +1278,6 @@ public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() {
}
}
- private int bitField0_;
public static final int PARTITION_ID_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.PartitionId partitionId_;
/**
@@ -1222,6 +1290,8 @@ public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
public boolean hasPartitionId() {
return partitionId_ != null;
@@ -1236,6 +1306,8 @@ public boolean hasPartitionId() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
return partitionId_ == null
@@ -1586,7 +1658,7 @@ public Builder clear() {
}
if (pathBuilder_ == null) {
path_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
pathBuilder_.clear();
}
@@ -1617,22 +1689,20 @@ public com.google.privacy.dlp.v2.Key build() {
public com.google.privacy.dlp.v2.Key buildPartial() {
com.google.privacy.dlp.v2.Key result = new com.google.privacy.dlp.v2.Key(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (partitionIdBuilder_ == null) {
result.partitionId_ = partitionId_;
} else {
result.partitionId_ = partitionIdBuilder_.build();
}
if (pathBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
path_ = java.util.Collections.unmodifiableList(path_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.path_ = path_;
} else {
result.path_ = pathBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1689,7 +1759,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key other) {
if (!other.path_.isEmpty()) {
if (path_.isEmpty()) {
path_ = other.path_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePathIsMutable();
path_.addAll(other.path_);
@@ -1702,7 +1772,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key other) {
pathBuilder_.dispose();
pathBuilder_ = null;
path_ = other.path_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
pathBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getPathFieldBuilder()
@@ -1759,6 +1829,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
public boolean hasPartitionId() {
return partitionIdBuilder_ != null || partitionId_ != null;
@@ -1773,6 +1845,8 @@ public boolean hasPartitionId() {
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
public com.google.privacy.dlp.v2.PartitionId getPartitionId() {
if (partitionIdBuilder_ == null) {
@@ -1946,9 +2020,9 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
java.util.Collections.emptyList();
private void ensurePathIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
path_ = new java.util.ArrayList(path_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -2240,7 +2314,7 @@ public Builder addAllPath(
public Builder clearPath() {
if (pathBuilder_ == null) {
path_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pathBuilder_.clear();
@@ -2410,7 +2484,7 @@ public java.util.List getPath
com.google.privacy.dlp.v2.Key.PathElement,
com.google.privacy.dlp.v2.Key.PathElement.Builder,
com.google.privacy.dlp.v2.Key.PathElementOrBuilder>(
- path_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ path_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
path_ = null;
}
return pathBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
index 5040d689..f9032a9c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
@@ -33,6 +33,8 @@ public interface KeyOrBuilder
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return Whether the partitionId field is set.
*/
boolean hasPartitionId();
/**
@@ -45,6 +47,8 @@ public interface KeyOrBuilder
*
*
* .google.privacy.dlp.v2.PartitionId partition_id = 1;
+ *
+ * @return The partitionId.
*/
com.google.privacy.dlp.v2.PartitionId getPartitionId();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
index 474e5023..48ba72fe 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
@@ -41,6 +41,12 @@ private KindExpression() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KindExpression();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private KindExpression(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -136,6 +143,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -473,6 +482,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -493,6 +504,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -513,6 +526,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -531,6 +547,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -546,6 +564,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java
index c03c2930..f9b3e361 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java
@@ -31,6 +31,8 @@ public interface KindExpressionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface KindExpressionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
index f27ee3b0..c40a61fe 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java
@@ -46,6 +46,12 @@ private KmsWrappedCryptoKey() {
cryptoKeyName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KmsWrappedCryptoKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private KmsWrappedCryptoKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -126,6 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes wrapped_key = 1;
+ *
+ * @return The wrappedKey.
*/
public com.google.protobuf.ByteString getWrappedKey() {
return wrappedKey_;
@@ -141,6 +148,8 @@ public com.google.protobuf.ByteString getWrappedKey() {
*
*
* string crypto_key_name = 2;
+ *
+ * @return The cryptoKeyName.
*/
public java.lang.String getCryptoKeyName() {
java.lang.Object ref = cryptoKeyName_;
@@ -161,6 +170,8 @@ public java.lang.String getCryptoKeyName() {
*
*
* string crypto_key_name = 2;
+ *
+ * @return The bytes for cryptoKeyName.
*/
public com.google.protobuf.ByteString getCryptoKeyNameBytes() {
java.lang.Object ref = cryptoKeyName_;
@@ -518,6 +529,8 @@ public Builder mergeFrom(
*
*
* bytes wrapped_key = 1;
+ *
+ * @return The wrappedKey.
*/
public com.google.protobuf.ByteString getWrappedKey() {
return wrappedKey_;
@@ -530,6 +543,9 @@ public com.google.protobuf.ByteString getWrappedKey() {
*
*
* bytes wrapped_key = 1;
+ *
+ * @param value The wrappedKey to set.
+ * @return This builder for chaining.
*/
public Builder setWrappedKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -548,6 +564,8 @@ public Builder setWrappedKey(com.google.protobuf.ByteString value) {
*
*
* bytes wrapped_key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWrappedKey() {
@@ -565,6 +583,8 @@ public Builder clearWrappedKey() {
*
*
* string crypto_key_name = 2;
+ *
+ * @return The cryptoKeyName.
*/
public java.lang.String getCryptoKeyName() {
java.lang.Object ref = cryptoKeyName_;
@@ -585,6 +605,8 @@ public java.lang.String getCryptoKeyName() {
*
*
* string crypto_key_name = 2;
+ *
+ * @return The bytes for cryptoKeyName.
*/
public com.google.protobuf.ByteString getCryptoKeyNameBytes() {
java.lang.Object ref = cryptoKeyName_;
@@ -605,6 +627,9 @@ public com.google.protobuf.ByteString getCryptoKeyNameBytes() {
*
*
* string crypto_key_name = 2;
+ *
+ * @param value The cryptoKeyName to set.
+ * @return This builder for chaining.
*/
public Builder setCryptoKeyName(java.lang.String value) {
if (value == null) {
@@ -623,6 +648,8 @@ public Builder setCryptoKeyName(java.lang.String value) {
*
*
* string crypto_key_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCryptoKeyName() {
@@ -638,6 +665,9 @@ public Builder clearCryptoKeyName() {
*
*
* string crypto_key_name = 2;
+ *
+ * @param value The bytes for cryptoKeyName to set.
+ * @return This builder for chaining.
*/
public Builder setCryptoKeyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java
index 96026d3e..d4ce2e08 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java
@@ -31,6 +31,8 @@ public interface KmsWrappedCryptoKeyOrBuilder
*
*
* bytes wrapped_key = 1;
+ *
+ * @return The wrappedKey.
*/
com.google.protobuf.ByteString getWrappedKey();
@@ -42,6 +44,8 @@ public interface KmsWrappedCryptoKeyOrBuilder
*
*
* string crypto_key_name = 2;
+ *
+ * @return The cryptoKeyName.
*/
java.lang.String getCryptoKeyName();
/**
@@ -52,6 +56,8 @@ public interface KmsWrappedCryptoKeyOrBuilder
*
*
* string crypto_key_name = 2;
+ *
+ * @return The bytes for cryptoKeyName.
*/
com.google.protobuf.ByteString getCryptoKeyNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
index b0f130bc..113a4276 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java
@@ -44,6 +44,12 @@ private LargeCustomDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Build
private LargeCustomDictionaryConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LargeCustomDictionaryConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private LargeCustomDictionaryConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -153,7 +158,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int sourceCase_ = 0;
private java.lang.Object source_;
- public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SourceCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CLOUD_STORAGE_FILE_SET(2),
BIG_QUERY_FIELD(3),
SOURCE_NOT_SET(0);
@@ -162,7 +170,11 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
private SourceCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SourceCase valueOf(int value) {
return forNumber(value);
@@ -203,6 +215,8 @@ public SourceCase getSourceCase() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return Whether the outputPath field is set.
*/
public boolean hasOutputPath() {
return outputPath_ != null;
@@ -218,6 +232,8 @@ public boolean hasOutputPath() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return The outputPath.
*/
public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() {
return outputPath_ == null
@@ -249,6 +265,8 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return Whether the cloudStorageFileSet field is set.
*/
public boolean hasCloudStorageFileSet() {
return sourceCase_ == 2;
@@ -261,6 +279,8 @@ public boolean hasCloudStorageFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return The cloudStorageFileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() {
if (sourceCase_ == 2) {
@@ -293,6 +313,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFil
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return Whether the bigQueryField field is set.
*/
public boolean hasBigQueryField() {
return sourceCase_ == 3;
@@ -305,6 +327,8 @@ public boolean hasBigQueryField() {
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return The bigQueryField.
*/
public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() {
if (sourceCase_ == 3) {
@@ -767,6 +791,8 @@ public Builder clearSource() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return Whether the outputPath field is set.
*/
public boolean hasOutputPath() {
return outputPathBuilder_ != null || outputPath_ != null;
@@ -782,6 +808,8 @@ public boolean hasOutputPath() {
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return The outputPath.
*/
public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() {
if (outputPathBuilder_ == null) {
@@ -972,6 +1000,8 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return Whether the cloudStorageFileSet field is set.
*/
public boolean hasCloudStorageFileSet() {
return sourceCase_ == 2;
@@ -984,6 +1014,8 @@ public boolean hasCloudStorageFileSet() {
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return The cloudStorageFileSet.
*/
public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() {
if (cloudStorageFileSetBuilder_ == null) {
@@ -1175,6 +1207,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return Whether the bigQueryField field is set.
*/
public boolean hasBigQueryField() {
return sourceCase_ == 3;
@@ -1187,6 +1221,8 @@ public boolean hasBigQueryField() {
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return The bigQueryField.
*/
public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() {
if (bigQueryFieldBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java
index b00459e3..b21252c1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java
@@ -34,6 +34,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return Whether the outputPath field is set.
*/
boolean hasOutputPath();
/**
@@ -47,6 +49,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
+ *
+ * @return The outputPath.
*/
com.google.privacy.dlp.v2.CloudStoragePath getOutputPath();
/**
@@ -71,6 +75,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return Whether the cloudStorageFileSet field is set.
*/
boolean hasCloudStorageFileSet();
/**
@@ -81,6 +87,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2;
+ *
+ * @return The cloudStorageFileSet.
*/
com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet();
/**
@@ -102,6 +110,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return Whether the bigQueryField field is set.
*/
boolean hasBigQueryField();
/**
@@ -112,6 +122,8 @@ public interface LargeCustomDictionaryConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryField big_query_field = 3;
+ *
+ * @return The bigQueryField.
*/
com.google.privacy.dlp.v2.BigQueryField getBigQueryField();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
index cb9c1689..7c5031c9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java
@@ -39,6 +39,12 @@ private LargeCustomDictionaryStats(com.google.protobuf.GeneratedMessageV3.Builde
private LargeCustomDictionaryStats() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LargeCustomDictionaryStats();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private LargeCustomDictionaryStats(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -112,6 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 approx_num_phrases = 1;
+ *
+ * @return The approxNumPhrases.
*/
public long getApproxNumPhrases() {
return approxNumPhrases_;
@@ -443,6 +450,8 @@ public Builder mergeFrom(
*
*
* int64 approx_num_phrases = 1;
+ *
+ * @return The approxNumPhrases.
*/
public long getApproxNumPhrases() {
return approxNumPhrases_;
@@ -455,6 +464,9 @@ public long getApproxNumPhrases() {
*
*
* int64 approx_num_phrases = 1;
+ *
+ * @param value The approxNumPhrases to set.
+ * @return This builder for chaining.
*/
public Builder setApproxNumPhrases(long value) {
@@ -470,6 +482,8 @@ public Builder setApproxNumPhrases(long value) {
*
*
* int64 approx_num_phrases = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearApproxNumPhrases() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java
index de6a0156..731e4c67 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java
@@ -31,6 +31,8 @@ public interface LargeCustomDictionaryStatsOrBuilder
*
*
* int64 approx_num_phrases = 1;
+ *
+ * @return The approxNumPhrases.
*/
long getApproxNumPhrases();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
index caaaa400..e68b4f4e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java
@@ -129,12 +129,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Likelihood valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Likelihood forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
index 479c34d3..1df6e085 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
@@ -45,6 +45,12 @@ private ListDeidentifyTemplatesRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDeidentifyTemplatesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListDeidentifyTemplatesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -149,6 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -172,6 +179,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -196,6 +205,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -217,6 +228,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -241,6 +254,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -265,6 +280,8 @@ public int getPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -294,6 +311,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -318,6 +337,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -339,6 +360,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -746,6 +769,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -769,6 +794,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -792,6 +819,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -813,6 +843,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -831,6 +863,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -853,6 +888,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -874,6 +911,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -895,6 +934,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -914,6 +956,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -930,6 +974,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -952,6 +999,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -965,6 +1014,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -981,6 +1033,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1007,6 +1061,8 @@ public Builder clearPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1036,6 +1092,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1065,6 +1123,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 4;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1092,6 +1153,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1116,6 +1179,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1138,6 +1204,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1159,6 +1227,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1180,6 +1250,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1199,6 +1272,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1215,6 +1290,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 5;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java
index 2d00200d..b0082bb6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -59,6 +63,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -70,6 +76,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -82,6 +90,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -102,6 +112,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -121,6 +133,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -133,6 +147,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -144,6 +160,8 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
index 4d17acdf..31bf7a61 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java
@@ -43,6 +43,12 @@ private ListDeidentifyTemplatesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDeidentifyTemplatesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class);
}
- private int bitField0_;
public static final int DEIDENTIFY_TEMPLATES_FIELD_NUMBER = 1;
private java.util.List deidentifyTemplates_;
/**
@@ -205,6 +210,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -226,6 +233,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -494,7 +503,6 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial()
com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse result =
new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (deidentifyTemplatesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deidentifyTemplates_ = java.util.Collections.unmodifiableList(deidentifyTemplates_);
@@ -505,7 +513,6 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial()
result.deidentifyTemplates_ = deidentifyTemplatesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1008,6 +1015,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1029,6 +1038,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1050,6 +1061,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1069,6 +1083,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1085,6 +1101,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java
index abcdcf78..e6550566 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java
@@ -89,6 +89,8 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -100,6 +102,8 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
index bd66b12f..50e811e8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
@@ -46,6 +46,12 @@ private ListDlpJobsRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDlpJobsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private ListDlpJobsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -163,6 +168,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -185,6 +192,8 @@ public java.lang.String getParent() {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -230,6 +239,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string filter = 1;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -272,6 +283,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 1;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -295,6 +308,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -310,6 +325,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -330,6 +347,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -353,6 +372,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -365,6 +386,8 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
@@ -392,6 +415,8 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -421,6 +446,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -445,6 +472,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -466,6 +495,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -900,6 +931,8 @@ public Builder mergeFrom(
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -922,6 +955,8 @@ public java.lang.String getParent() {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -944,6 +979,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -964,6 +1002,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -981,6 +1021,9 @@ public Builder clearParent() {
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1024,6 +1067,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 1;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -1066,6 +1111,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 1;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -1108,6 +1155,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 1;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -1148,6 +1198,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -1185,6 +1237,9 @@ public Builder clearFilter() {
*
*
* string filter = 1;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1206,6 +1261,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1218,6 +1275,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1233,6 +1293,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1250,6 +1312,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1270,6 +1334,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1290,6 +1356,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1308,6 +1377,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1323,6 +1394,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1344,6 +1418,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -1356,6 +1432,9 @@ public int getTypeValue() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
@@ -1370,6 +1449,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The type.
*/
public com.google.privacy.dlp.v2.DlpJobType getType() {
@SuppressWarnings("deprecation")
@@ -1385,6 +1466,9 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) {
if (value == null) {
@@ -1403,6 +1487,8 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) {
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -1429,6 +1515,8 @@ public Builder clearType() {
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1458,6 +1546,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1487,6 +1577,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 6;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1514,6 +1607,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1538,6 +1633,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 6;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1560,6 +1658,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1581,6 +1681,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1602,6 +1704,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 7;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1621,6 +1726,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1637,6 +1744,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 7;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java
index 73730cbc..7e15253b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface ListDlpJobsRequestOrBuilder
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface ListDlpJobsRequestOrBuilder
*
* string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -78,6 +82,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string filter = 1;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -110,6 +116,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string filter = 1;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -121,6 +129,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -132,6 +142,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -142,6 +154,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -153,6 +167,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -163,6 +179,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DlpJobType type = 5;
+ *
+ * @return The type.
*/
com.google.privacy.dlp.v2.DlpJobType getType();
@@ -183,6 +201,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -202,6 +222,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string order_by = 6;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -214,6 +236,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -225,6 +249,8 @@ public interface ListDlpJobsRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
index 3049aa51..0a29a9d4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java
@@ -42,6 +42,12 @@ private ListDlpJobsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDlpJobsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class);
}
- private int bitField0_;
public static final int JOBS_FIELD_NUMBER = 1;
private java.util.List jobs_;
/**
@@ -195,6 +200,8 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) {
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -215,6 +222,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -481,7 +490,6 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() {
com.google.privacy.dlp.v2.ListDlpJobsResponse result =
new com.google.privacy.dlp.v2.ListDlpJobsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (jobsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
jobs_ = java.util.Collections.unmodifiableList(jobs_);
@@ -492,7 +500,6 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() {
result.jobs_ = jobsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -959,6 +966,8 @@ public java.util.List getJobsBuilderLi
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -979,6 +988,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -999,6 +1010,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1017,6 +1031,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1032,6 +1048,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java
index d6f4b86b..f72e2280 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java
@@ -82,6 +82,8 @@ public interface ListDlpJobsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -92,6 +94,8 @@ public interface ListDlpJobsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
index a82edfb8..15ee6fa3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
@@ -43,6 +43,12 @@ private ListInfoTypesRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInfoTypesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListInfoTypesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string language_code = 1;
+ *
+ * @return The languageCode.
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
@@ -156,6 +163,8 @@ public java.lang.String getLanguageCode() {
*
*
* string language_code = 1;
+ *
+ * @return The bytes for languageCode.
*/
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
@@ -180,6 +189,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -201,6 +212,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -225,6 +238,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string location_id = 3;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -246,6 +261,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 3;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -618,6 +635,8 @@ public Builder mergeFrom(
*
*
* string language_code = 1;
+ *
+ * @return The languageCode.
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
@@ -640,6 +659,8 @@ public java.lang.String getLanguageCode() {
*
*
* string language_code = 1;
+ *
+ * @return The bytes for languageCode.
*/
public com.google.protobuf.ByteString getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
@@ -662,6 +683,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
*
*
* string language_code = 1;
+ *
+ * @param value The languageCode to set.
+ * @return This builder for chaining.
*/
public Builder setLanguageCode(java.lang.String value) {
if (value == null) {
@@ -682,6 +706,8 @@ public Builder setLanguageCode(java.lang.String value) {
*
*
* string language_code = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLanguageCode() {
@@ -699,6 +725,9 @@ public Builder clearLanguageCode() {
*
*
* string language_code = 1;
+ *
+ * @param value The bytes for languageCode to set.
+ * @return This builder for chaining.
*/
public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -721,6 +750,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -742,6 +773,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -763,6 +796,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 2;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -782,6 +818,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -798,6 +836,9 @@ public Builder clearFilter() {
*
*
* string filter = 2;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -820,6 +861,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 3;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -841,6 +884,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 3;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -862,6 +907,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 3;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -881,6 +929,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -897,6 +947,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 3;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java
index 248ede21..dba01f1b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string language_code = 1;
+ *
+ * @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
@@ -45,6 +47,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string language_code = 1;
+ *
+ * @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
@@ -57,6 +61,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -68,6 +74,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string filter = 2;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -80,6 +88,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string location_id = 3;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -91,6 +101,8 @@ public interface ListInfoTypesRequestOrBuilder
*
*
* string location_id = 3;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
index 38e03c52..47280211 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java
@@ -41,6 +41,12 @@ private ListInfoTypesResponse() {
infoTypes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInfoTypesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
index f13e0e31..346d14f0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
@@ -44,6 +44,12 @@ private ListInspectTemplatesRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInspectTemplatesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ListInspectTemplatesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -171,6 +178,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -195,6 +204,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -216,6 +227,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -240,6 +253,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -264,6 +279,8 @@ public int getPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -293,6 +310,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -317,6 +336,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -338,6 +359,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -745,6 +768,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -768,6 +793,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -791,6 +818,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -812,6 +842,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -830,6 +862,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -852,6 +887,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -873,6 +910,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -894,6 +933,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -913,6 +955,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -929,6 +973,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -951,6 +998,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -964,6 +1013,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -980,6 +1032,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1006,6 +1060,8 @@ public Builder clearPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1035,6 +1091,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1064,6 +1122,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 4;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1091,6 +1152,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1115,6 +1178,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1137,6 +1203,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1158,6 +1226,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1179,6 +1249,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1198,6 +1271,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1214,6 +1289,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 5;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java
index f8e7c0f9..58e0b5dc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -59,6 +63,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -70,6 +76,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -82,6 +90,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -102,6 +112,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -121,6 +133,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -133,6 +147,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -144,6 +160,8 @@ public interface ListInspectTemplatesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
index 4229e5f3..fd221025 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java
@@ -42,6 +42,12 @@ private ListInspectTemplatesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListInspectTemplatesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -122,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class);
}
- private int bitField0_;
public static final int INSPECT_TEMPLATES_FIELD_NUMBER = 1;
private java.util.List inspectTemplates_;
/**
@@ -199,6 +204,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -220,6 +227,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -487,7 +496,6 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() {
com.google.privacy.dlp.v2.ListInspectTemplatesResponse result =
new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (inspectTemplatesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
inspectTemplates_ = java.util.Collections.unmodifiableList(inspectTemplates_);
@@ -498,7 +506,6 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() {
result.inspectTemplates_ = inspectTemplatesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -977,6 +984,8 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuil
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -998,6 +1007,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1019,6 +1030,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1038,6 +1052,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1054,6 +1070,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java
index cc8eedcf..3faee262 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListInspectTemplatesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -95,6 +97,8 @@ public interface ListInspectTemplatesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
index e3975ec2..e2ec3ffb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
@@ -45,6 +45,12 @@ private ListJobTriggersRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListJobTriggersRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private ListJobTriggersRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -155,6 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -177,6 +184,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -202,6 +211,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -224,6 +235,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -247,6 +260,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -273,6 +288,8 @@ public int getPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -304,6 +321,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -345,6 +364,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -383,6 +404,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -407,6 +430,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -428,6 +453,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -848,6 +875,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -870,6 +899,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -892,6 +923,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -912,6 +946,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -929,6 +965,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -952,6 +991,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -974,6 +1015,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -996,6 +1039,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1016,6 +1062,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1033,6 +1081,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1054,6 +1105,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1066,6 +1119,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1081,6 +1137,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1109,6 +1167,8 @@ public Builder clearPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1140,6 +1200,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1171,6 +1233,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 4;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1200,6 +1265,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1226,6 +1293,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1265,6 +1335,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -1303,6 +1375,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -1341,6 +1415,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 5;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -1377,6 +1454,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -1410,6 +1489,9 @@ public Builder clearFilter() {
*
*
* string filter = 5;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1432,6 +1514,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1453,6 +1537,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1474,6 +1560,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 7;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1493,6 +1582,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1509,6 +1600,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 7;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
index a2e56e93..b3cada7e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface ListJobTriggersRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface ListJobTriggersRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -70,6 +76,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -81,6 +89,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -103,6 +113,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -124,6 +136,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -153,6 +167,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -181,6 +197,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string filter = 5;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
@@ -193,6 +211,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -204,6 +224,8 @@ public interface ListJobTriggersRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
index 91ee9a39..beea2287 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java
@@ -42,6 +42,12 @@ private ListJobTriggersResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListJobTriggersResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class);
}
- private int bitField0_;
public static final int JOB_TRIGGERS_FIELD_NUMBER = 1;
private java.util.List jobTriggers_;
/**
@@ -197,6 +202,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -218,6 +225,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -484,7 +493,6 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() {
com.google.privacy.dlp.v2.ListJobTriggersResponse result =
new com.google.privacy.dlp.v2.ListJobTriggersResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (jobTriggersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
jobTriggers_ = java.util.Collections.unmodifiableList(jobTriggers_);
@@ -495,7 +503,6 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() {
result.jobTriggers_ = jobTriggersBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -968,6 +975,8 @@ public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder(int in
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -989,6 +998,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1010,6 +1021,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1029,6 +1043,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1045,6 +1061,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java
index 84d86900..4c71c166 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListJobTriggersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -95,6 +97,8 @@ public interface ListJobTriggersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
index 253fa750..bd643416 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
@@ -44,6 +44,12 @@ private ListStoredInfoTypesRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListStoredInfoTypesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ListStoredInfoTypesRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -171,6 +178,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -195,6 +204,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -216,6 +227,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -240,6 +253,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -265,6 +280,8 @@ public int getPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -295,6 +312,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -319,6 +338,8 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -340,6 +361,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -746,6 +769,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -769,6 +794,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -792,6 +819,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -813,6 +843,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -831,6 +863,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -853,6 +888,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -874,6 +911,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -895,6 +934,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 2;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -914,6 +956,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -930,6 +974,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 2;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -952,6 +999,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -965,6 +1014,9 @@ public int getPageSize() {
*
*
* int32 page_size = 3;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -981,6 +1033,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1008,6 +1062,8 @@ public Builder clearPageSize() {
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
public java.lang.String getOrderBy() {
java.lang.Object ref = orderBy_;
@@ -1038,6 +1094,8 @@ public java.lang.String getOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
public com.google.protobuf.ByteString getOrderByBytes() {
java.lang.Object ref = orderBy_;
@@ -1068,6 +1126,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* string order_by = 4;
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderBy(java.lang.String value) {
if (value == null) {
@@ -1096,6 +1157,8 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* string order_by = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrderBy() {
@@ -1121,6 +1184,9 @@ public Builder clearOrderBy() {
*
*
* string order_by = 4;
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
*/
public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1143,6 +1209,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1164,6 +1232,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1185,6 +1255,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 5;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1204,6 +1277,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -1220,6 +1295,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 5;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java
index b270f62b..db205575 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -47,6 +49,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -59,6 +63,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -70,6 +76,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string page_token = 2;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -82,6 +90,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* int32 page_size = 3;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -103,6 +113,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The orderBy.
*/
java.lang.String getOrderBy();
/**
@@ -123,6 +135,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string order_by = 4;
+ *
+ * @return The bytes for orderBy.
*/
com.google.protobuf.ByteString getOrderByBytes();
@@ -135,6 +149,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -146,6 +162,8 @@ public interface ListStoredInfoTypesRequestOrBuilder
*
*
* string location_id = 5;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
index 657217cd..17427501 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java
@@ -42,6 +42,12 @@ private ListStoredInfoTypesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListStoredInfoTypesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -122,7 +128,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class);
}
- private int bitField0_;
public static final int STORED_INFO_TYPES_FIELD_NUMBER = 1;
private java.util.List storedInfoTypes_;
/**
@@ -198,6 +203,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -219,6 +226,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -486,7 +495,6 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() {
com.google.privacy.dlp.v2.ListStoredInfoTypesResponse result =
new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (storedInfoTypesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
storedInfoTypes_ = java.util.Collections.unmodifiableList(storedInfoTypes_);
@@ -497,7 +505,6 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() {
result.storedInfoTypes_ = storedInfoTypesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -976,6 +983,8 @@ public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilde
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -997,6 +1006,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1018,6 +1029,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1037,6 +1051,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1053,6 +1069,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java
index ac0b2bde..7731f422 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java
@@ -84,6 +84,8 @@ public interface ListStoredInfoTypesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -95,6 +97,8 @@ public interface ListStoredInfoTypesResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
index a4010c93..a59f8de2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java
@@ -41,6 +41,12 @@ private Location() {
contentLocations_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Location();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -97,10 +103,10 @@ private Location(
}
case 58:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
contentLocations_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
contentLocations_.add(
input.readMessage(
@@ -121,7 +127,7 @@ private Location(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
contentLocations_ = java.util.Collections.unmodifiableList(contentLocations_);
}
this.unknownFields = unknownFields.build();
@@ -144,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.Location.Builder.class);
}
- private int bitField0_;
public static final int BYTE_RANGE_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.Range byteRange_;
/**
@@ -159,6 +164,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return Whether the byteRange field is set.
*/
public boolean hasByteRange() {
return byteRange_ != null;
@@ -175,6 +182,8 @@ public boolean hasByteRange() {
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return The byteRange.
*/
public com.google.privacy.dlp.v2.Range getByteRange() {
return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_;
@@ -208,6 +217,8 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return Whether the codepointRange field is set.
*/
public boolean hasCodepointRange() {
return codepointRange_ != null;
@@ -222,6 +233,8 @@ public boolean hasCodepointRange() {
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return The codepointRange.
*/
public com.google.privacy.dlp.v2.Range getCodepointRange() {
return codepointRange_ == null
@@ -561,7 +574,7 @@ public Builder clear() {
}
if (contentLocationsBuilder_ == null) {
contentLocations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
contentLocationsBuilder_.clear();
}
@@ -592,7 +605,6 @@ public com.google.privacy.dlp.v2.Location build() {
public com.google.privacy.dlp.v2.Location buildPartial() {
com.google.privacy.dlp.v2.Location result = new com.google.privacy.dlp.v2.Location(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (byteRangeBuilder_ == null) {
result.byteRange_ = byteRange_;
} else {
@@ -604,15 +616,14 @@ public com.google.privacy.dlp.v2.Location buildPartial() {
result.codepointRange_ = codepointRangeBuilder_.build();
}
if (contentLocationsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
contentLocations_ = java.util.Collections.unmodifiableList(contentLocations_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.contentLocations_ = contentLocations_;
} else {
result.contentLocations_ = contentLocationsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -672,7 +683,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Location other) {
if (!other.contentLocations_.isEmpty()) {
if (contentLocations_.isEmpty()) {
contentLocations_ = other.contentLocations_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureContentLocationsIsMutable();
contentLocations_.addAll(other.contentLocations_);
@@ -685,7 +696,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Location other) {
contentLocationsBuilder_.dispose();
contentLocationsBuilder_ = null;
contentLocations_ = other.contentLocations_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
contentLocationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getContentLocationsFieldBuilder()
@@ -744,6 +755,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return Whether the byteRange field is set.
*/
public boolean hasByteRange() {
return byteRangeBuilder_ != null || byteRange_ != null;
@@ -760,6 +773,8 @@ public boolean hasByteRange() {
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return The byteRange.
*/
public com.google.privacy.dlp.v2.Range getByteRange() {
if (byteRangeBuilder_ == null) {
@@ -959,6 +974,8 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return Whether the codepointRange field is set.
*/
public boolean hasCodepointRange() {
return codepointRangeBuilder_ != null || codepointRange_ != null;
@@ -973,6 +990,8 @@ public boolean hasCodepointRange() {
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return The codepointRange.
*/
public com.google.privacy.dlp.v2.Range getCodepointRange() {
if (codepointRangeBuilder_ == null) {
@@ -1146,10 +1165,10 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
java.util.Collections.emptyList();
private void ensureContentLocationsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
contentLocations_ =
new java.util.ArrayList(contentLocations_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -1376,7 +1395,7 @@ public Builder addAllContentLocations(
public Builder clearContentLocations() {
if (contentLocationsBuilder_ == null) {
contentLocations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
contentLocationsBuilder_.clear();
@@ -1507,7 +1526,7 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
com.google.privacy.dlp.v2.ContentLocation.Builder,
com.google.privacy.dlp.v2.ContentLocationOrBuilder>(
contentLocations_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
contentLocations_ = null;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java
index 46718c3c..cc288f72 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java
@@ -35,6 +35,8 @@ public interface LocationOrBuilder
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return Whether the byteRange field is set.
*/
boolean hasByteRange();
/**
@@ -49,6 +51,8 @@ public interface LocationOrBuilder
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
+ *
+ * @return The byteRange.
*/
com.google.privacy.dlp.v2.Range getByteRange();
/**
@@ -76,6 +80,8 @@ public interface LocationOrBuilder
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return Whether the codepointRange field is set.
*/
boolean hasCodepointRange();
/**
@@ -88,6 +94,8 @@ public interface LocationOrBuilder
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
+ *
+ * @return The codepointRange.
*/
com.google.privacy.dlp.v2.Range getCodepointRange();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
index 3c13ed28..8241a17b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
@@ -140,12 +140,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static MatchingType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static MatchingType forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationDeidentifyTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationDeidentifyTemplateName.java
index 75a45388..49013aeb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationDeidentifyTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationDeidentifyTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class OrganizationDeidentifyTemplateName extends DeidentifyTemplateName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationInspectTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationInspectTemplateName.java
index 29ff07c7..aa5e5c38 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationInspectTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationInspectTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class OrganizationInspectTemplateName extends InspectTemplateName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java
index 8cde550e..fa475108 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class OrganizationName implements ResourceName {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationStoredInfoTypeName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationStoredInfoTypeName.java
index dc913eee..d81ea957 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationStoredInfoTypeName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationStoredInfoTypeName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class OrganizationStoredInfoTypeName extends StoredInfoTypeName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
index 82a26f5a..09408829 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java
@@ -41,6 +41,12 @@ private OutputStorageConfig() {
outputSchema_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new OutputStorageConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private OutputStorageConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -250,12 +255,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static OutputSchema valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static OutputSchema forNumber(int value) {
switch (value) {
case 0:
@@ -322,7 +335,10 @@ private OutputSchema(int value) {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TABLE(1),
TYPE_NOT_SET(0);
private final int value;
@@ -330,7 +346,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -376,6 +396,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return typeCase_ == 1;
@@ -399,6 +421,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (typeCase_ == 1) {
@@ -450,6 +474,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The enum numeric value on the wire for outputSchema.
*/
public int getOutputSchemaValue() {
return outputSchema_;
@@ -469,6 +495,8 @@ public int getOutputSchemaValue() {
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The outputSchema.
*/
public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() {
@SuppressWarnings("deprecation")
@@ -881,6 +909,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return typeCase_ == 1;
@@ -904,6 +934,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (tableBuilder_ == null) {
@@ -1171,6 +1203,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The enum numeric value on the wire for outputSchema.
*/
public int getOutputSchemaValue() {
return outputSchema_;
@@ -1190,6 +1224,9 @@ public int getOutputSchemaValue() {
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @param value The enum numeric value on the wire for outputSchema to set.
+ * @return This builder for chaining.
*/
public Builder setOutputSchemaValue(int value) {
outputSchema_ = value;
@@ -1211,6 +1248,8 @@ public Builder setOutputSchemaValue(int value) {
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The outputSchema.
*/
public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() {
@SuppressWarnings("deprecation")
@@ -1235,6 +1274,9 @@ public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchem
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @param value The outputSchema to set.
+ * @return This builder for chaining.
*/
public Builder setOutputSchema(
com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema value) {
@@ -1261,6 +1303,8 @@ public Builder setOutputSchema(
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOutputSchema() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java
index 98944421..90dcd760 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java
@@ -42,6 +42,8 @@ public interface OutputStorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -63,6 +65,8 @@ public interface OutputStorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 1;
+ *
+ * @return The table.
*/
com.google.privacy.dlp.v2.BigQueryTable getTable();
/**
@@ -102,6 +106,8 @@ public interface OutputStorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The enum numeric value on the wire for outputSchema.
*/
int getOutputSchemaValue();
/**
@@ -119,6 +125,8 @@ public interface OutputStorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;
+ *
+ * @return The outputSchema.
*/
com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
index bff84f79..40eed541 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java
@@ -46,6 +46,12 @@ private PartitionId() {
namespaceId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PartitionId();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private PartitionId(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -128,6 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -148,6 +155,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -171,6 +180,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string namespace_id = 4;
+ *
+ * @return The namespaceId.
*/
public java.lang.String getNamespaceId() {
java.lang.Object ref = namespaceId_;
@@ -191,6 +202,8 @@ public java.lang.String getNamespaceId() {
*
*
* string namespace_id = 4;
+ *
+ * @return The bytes for namespaceId.
*/
public com.google.protobuf.ByteString getNamespaceIdBytes() {
java.lang.Object ref = namespaceId_;
@@ -547,6 +560,8 @@ public Builder mergeFrom(
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -567,6 +582,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -587,6 +604,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 2;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -605,6 +625,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -620,6 +642,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 2;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -641,6 +666,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string namespace_id = 4;
+ *
+ * @return The namespaceId.
*/
public java.lang.String getNamespaceId() {
java.lang.Object ref = namespaceId_;
@@ -661,6 +688,8 @@ public java.lang.String getNamespaceId() {
*
*
* string namespace_id = 4;
+ *
+ * @return The bytes for namespaceId.
*/
public com.google.protobuf.ByteString getNamespaceIdBytes() {
java.lang.Object ref = namespaceId_;
@@ -681,6 +710,9 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() {
*
*
* string namespace_id = 4;
+ *
+ * @param value The namespaceId to set.
+ * @return This builder for chaining.
*/
public Builder setNamespaceId(java.lang.String value) {
if (value == null) {
@@ -699,6 +731,8 @@ public Builder setNamespaceId(java.lang.String value) {
*
*
* string namespace_id = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNamespaceId() {
@@ -714,6 +748,9 @@ public Builder clearNamespaceId() {
*
*
* string namespace_id = 4;
+ *
+ * @param value The bytes for namespaceId to set.
+ * @return This builder for chaining.
*/
public Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java
index b3931e3c..5331f546 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java
@@ -31,6 +31,8 @@ public interface PartitionIdOrBuilder
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface PartitionIdOrBuilder
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface PartitionIdOrBuilder
*
*
* string namespace_id = 4;
+ *
+ * @return The namespaceId.
*/
java.lang.String getNamespaceId();
/**
@@ -62,6 +68,8 @@ public interface PartitionIdOrBuilder
*
*
* string namespace_id = 4;
+ *
+ * @return The bytes for namespaceId.
*/
com.google.protobuf.ByteString getNamespaceIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
index 4e9da057..0fb03dfe 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java
@@ -39,6 +39,12 @@ private PrimitiveTransformation(com.google.protobuf.GeneratedMessageV3.Builder
private PrimitiveTransformation() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PrimitiveTransformation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private PrimitiveTransformation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -300,7 +305,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int transformationCase_ = 0;
private java.lang.Object transformation_;
- public enum TransformationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TransformationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
REPLACE_CONFIG(1),
REDACT_CONFIG(2),
CHARACTER_MASK_CONFIG(3),
@@ -318,7 +326,11 @@ public enum TransformationCase implements com.google.protobuf.Internal.EnumLite
private TransformationCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TransformationCase valueOf(int value) {
return forNumber(value);
@@ -365,11 +377,19 @@ public TransformationCase getTransformationCase() {
}
public static final int REPLACE_CONFIG_FIELD_NUMBER = 1;
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return Whether the replaceConfig field is set.
+ */
public boolean hasReplaceConfig() {
return transformationCase_ == 1;
}
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return The replaceConfig.
+ */
public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() {
if (transformationCase_ == 1) {
return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_;
@@ -385,11 +405,19 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB
}
public static final int REDACT_CONFIG_FIELD_NUMBER = 2;
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return Whether the redactConfig field is set.
+ */
public boolean hasRedactConfig() {
return transformationCase_ == 2;
}
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return The redactConfig.
+ */
public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() {
if (transformationCase_ == 2) {
return (com.google.privacy.dlp.v2.RedactConfig) transformation_;
@@ -405,11 +433,19 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(
}
public static final int CHARACTER_MASK_CONFIG_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return Whether the characterMaskConfig field is set.
+ */
public boolean hasCharacterMaskConfig() {
return transformationCase_ == 3;
}
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return The characterMaskConfig.
+ */
public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
if (transformationCase_ == 3) {
return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_;
@@ -428,6 +464,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskCo
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return Whether the cryptoReplaceFfxFpeConfig field is set.
*/
public boolean hasCryptoReplaceFfxFpeConfig() {
return transformationCase_ == 4;
@@ -435,6 +473,8 @@ public boolean hasCryptoReplaceFfxFpeConfig() {
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return The cryptoReplaceFfxFpeConfig.
*/
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() {
if (transformationCase_ == 4) {
@@ -457,12 +497,16 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFp
public static final int FIXED_SIZE_BUCKETING_CONFIG_FIELD_NUMBER = 5;
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return Whether the fixedSizeBucketingConfig field is set.
*/
public boolean hasFixedSizeBucketingConfig() {
return transformationCase_ == 5;
}
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return The fixedSizeBucketingConfig.
*/
public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() {
if (transformationCase_ == 5) {
@@ -482,11 +526,19 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC
}
public static final int BUCKETING_CONFIG_FIELD_NUMBER = 6;
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return Whether the bucketingConfig field is set.
+ */
public boolean hasBucketingConfig() {
return transformationCase_ == 6;
}
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return The bucketingConfig.
+ */
public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() {
if (transformationCase_ == 6) {
return (com.google.privacy.dlp.v2.BucketingConfig) transformation_;
@@ -505,6 +557,8 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return Whether the replaceWithInfoTypeConfig field is set.
*/
public boolean hasReplaceWithInfoTypeConfig() {
return transformationCase_ == 7;
@@ -512,6 +566,8 @@ public boolean hasReplaceWithInfoTypeConfig() {
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return The replaceWithInfoTypeConfig.
*/
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() {
if (transformationCase_ == 7) {
@@ -532,11 +588,19 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTyp
}
public static final int TIME_PART_CONFIG_FIELD_NUMBER = 8;
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return Whether the timePartConfig field is set.
+ */
public boolean hasTimePartConfig() {
return transformationCase_ == 8;
}
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return The timePartConfig.
+ */
public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() {
if (transformationCase_ == 8) {
return (com.google.privacy.dlp.v2.TimePartConfig) transformation_;
@@ -552,11 +616,19 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil
}
public static final int CRYPTO_HASH_CONFIG_FIELD_NUMBER = 9;
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return Whether the cryptoHashConfig field is set.
+ */
public boolean hasCryptoHashConfig() {
return transformationCase_ == 9;
}
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return The cryptoHashConfig.
+ */
public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() {
if (transformationCase_ == 9) {
return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_;
@@ -572,11 +644,19 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr
}
public static final int DATE_SHIFT_CONFIG_FIELD_NUMBER = 11;
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return Whether the dateShiftConfig field is set.
+ */
public boolean hasDateShiftConfig() {
return transformationCase_ == 11;
}
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return The dateShiftConfig.
+ */
public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() {
if (transformationCase_ == 11) {
return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_;
@@ -594,12 +674,16 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu
public static final int CRYPTO_DETERMINISTIC_CONFIG_FIELD_NUMBER = 12;
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
+ *
+ * @return Whether the cryptoDeterministicConfig field is set.
*/
public boolean hasCryptoDeterministicConfig() {
return transformationCase_ == 12;
}
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
+ *
+ * @return The cryptoDeterministicConfig.
*/
public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() {
if (transformationCase_ == 12) {
@@ -1259,11 +1343,19 @@ public Builder clearTransformation() {
com.google.privacy.dlp.v2.ReplaceValueConfig.Builder,
com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder>
replaceConfigBuilder_;
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return Whether the replaceConfig field is set.
+ */
public boolean hasReplaceConfig() {
return transformationCase_ == 1;
}
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return The replaceConfig.
+ */
public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() {
if (replaceConfigBuilder_ == null) {
if (transformationCase_ == 1) {
@@ -1390,11 +1482,19 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB
com.google.privacy.dlp.v2.RedactConfig.Builder,
com.google.privacy.dlp.v2.RedactConfigOrBuilder>
redactConfigBuilder_;
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return Whether the redactConfig field is set.
+ */
public boolean hasRedactConfig() {
return transformationCase_ == 2;
}
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return The redactConfig.
+ */
public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() {
if (redactConfigBuilder_ == null) {
if (transformationCase_ == 2) {
@@ -1519,11 +1619,19 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(
com.google.privacy.dlp.v2.CharacterMaskConfig.Builder,
com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder>
characterMaskConfigBuilder_;
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return Whether the characterMaskConfig field is set.
+ */
public boolean hasCharacterMaskConfig() {
return transformationCase_ == 3;
}
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return The characterMaskConfig.
+ */
public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
if (characterMaskConfigBuilder_ == null) {
if (transformationCase_ == 3) {
@@ -1654,6 +1762,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return Whether the cryptoReplaceFfxFpeConfig field is set.
*/
public boolean hasCryptoReplaceFfxFpeConfig() {
return transformationCase_ == 4;
@@ -1661,6 +1771,8 @@ public boolean hasCryptoReplaceFfxFpeConfig() {
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return The cryptoReplaceFfxFpeConfig.
*/
public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() {
if (cryptoReplaceFfxFpeConfigBuilder_ == null) {
@@ -1816,12 +1928,16 @@ public Builder clearCryptoReplaceFfxFpeConfig() {
fixedSizeBucketingConfigBuilder_;
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return Whether the fixedSizeBucketingConfig field is set.
*/
public boolean hasFixedSizeBucketingConfig() {
return transformationCase_ == 5;
}
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return The fixedSizeBucketingConfig.
*/
public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() {
if (fixedSizeBucketingConfigBuilder_ == null) {
@@ -1967,11 +2083,19 @@ public Builder clearFixedSizeBucketingConfig() {
com.google.privacy.dlp.v2.BucketingConfig.Builder,
com.google.privacy.dlp.v2.BucketingConfigOrBuilder>
bucketingConfigBuilder_;
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return Whether the bucketingConfig field is set.
+ */
public boolean hasBucketingConfig() {
return transformationCase_ == 6;
}
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return The bucketingConfig.
+ */
public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() {
if (bucketingConfigBuilder_ == null) {
if (transformationCase_ == 6) {
@@ -2100,6 +2224,8 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return Whether the replaceWithInfoTypeConfig field is set.
*/
public boolean hasReplaceWithInfoTypeConfig() {
return transformationCase_ == 7;
@@ -2107,6 +2233,8 @@ public boolean hasReplaceWithInfoTypeConfig() {
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return The replaceWithInfoTypeConfig.
*/
public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() {
if (replaceWithInfoTypeConfigBuilder_ == null) {
@@ -2260,11 +2388,19 @@ public Builder clearReplaceWithInfoTypeConfig() {
com.google.privacy.dlp.v2.TimePartConfig.Builder,
com.google.privacy.dlp.v2.TimePartConfigOrBuilder>
timePartConfigBuilder_;
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return Whether the timePartConfig field is set.
+ */
public boolean hasTimePartConfig() {
return transformationCase_ == 8;
}
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return The timePartConfig.
+ */
public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() {
if (timePartConfigBuilder_ == null) {
if (transformationCase_ == 8) {
@@ -2390,11 +2526,19 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil
com.google.privacy.dlp.v2.CryptoHashConfig.Builder,
com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder>
cryptoHashConfigBuilder_;
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return Whether the cryptoHashConfig field is set.
+ */
public boolean hasCryptoHashConfig() {
return transformationCase_ == 9;
}
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return The cryptoHashConfig.
+ */
public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() {
if (cryptoHashConfigBuilder_ == null) {
if (transformationCase_ == 9) {
@@ -2520,11 +2664,19 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr
com.google.privacy.dlp.v2.DateShiftConfig.Builder,
com.google.privacy.dlp.v2.DateShiftConfigOrBuilder>
dateShiftConfigBuilder_;
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return Whether the dateShiftConfig field is set.
+ */
public boolean hasDateShiftConfig() {
return transformationCase_ == 11;
}
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return The dateShiftConfig.
+ */
public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() {
if (dateShiftConfigBuilder_ == null) {
if (transformationCase_ == 11) {
@@ -2653,6 +2805,8 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
*
+ *
+ * @return Whether the cryptoDeterministicConfig field is set.
*/
public boolean hasCryptoDeterministicConfig() {
return transformationCase_ == 12;
@@ -2660,6 +2814,8 @@ public boolean hasCryptoDeterministicConfig() {
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
*
+ *
+ * @return The cryptoDeterministicConfig.
*/
public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() {
if (cryptoDeterministicConfigBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java
index b488eaeb..969fc8b1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java
@@ -23,23 +23,47 @@ public interface PrimitiveTransformationOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrimitiveTransformation)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return Whether the replaceConfig field is set.
+ */
boolean hasReplaceConfig();
- /** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
+ *
+ * @return The replaceConfig.
+ */
com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig();
/** .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;
*/
com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder();
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return Whether the redactConfig field is set.
+ */
boolean hasRedactConfig();
- /** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.RedactConfig redact_config = 2;
+ *
+ * @return The redactConfig.
+ */
com.google.privacy.dlp.v2.RedactConfig getRedactConfig();
/** .google.privacy.dlp.v2.RedactConfig redact_config = 2;
*/
com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder();
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return Whether the characterMaskConfig field is set.
+ */
boolean hasCharacterMaskConfig();
- /** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
+ *
+ * @return The characterMaskConfig.
+ */
com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig();
/** .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;
*/
com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder();
@@ -47,11 +71,15 @@ public interface PrimitiveTransformationOrBuilder
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return Whether the cryptoReplaceFfxFpeConfig field is set.
*/
boolean hasCryptoReplaceFfxFpeConfig();
/**
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
*
+ *
+ * @return The cryptoReplaceFfxFpeConfig.
*/
com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig();
/**
@@ -63,10 +91,14 @@ public interface PrimitiveTransformationOrBuilder
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return Whether the fixedSizeBucketingConfig field is set.
*/
boolean hasFixedSizeBucketingConfig();
/**
* .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+ *
+ * @return The fixedSizeBucketingConfig.
*/
com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig();
/**
@@ -75,9 +107,17 @@ public interface PrimitiveTransformationOrBuilder
com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder
getFixedSizeBucketingConfigOrBuilder();
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return Whether the bucketingConfig field is set.
+ */
boolean hasBucketingConfig();
- /** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
+ *
+ * @return The bucketingConfig.
+ */
com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig();
/** .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;
*/
com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder();
@@ -85,11 +125,15 @@ public interface PrimitiveTransformationOrBuilder
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return Whether the replaceWithInfoTypeConfig field is set.
*/
boolean hasReplaceWithInfoTypeConfig();
/**
* .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
*
+ *
+ * @return The replaceWithInfoTypeConfig.
*/
com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig();
/**
@@ -99,33 +143,61 @@ public interface PrimitiveTransformationOrBuilder
com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder
getReplaceWithInfoTypeConfigOrBuilder();
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return Whether the timePartConfig field is set.
+ */
boolean hasTimePartConfig();
- /** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
+ *
+ * @return The timePartConfig.
+ */
com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig();
/** .google.privacy.dlp.v2.TimePartConfig time_part_config = 8;
*/
com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder();
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return Whether the cryptoHashConfig field is set.
+ */
boolean hasCryptoHashConfig();
- /** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
+ /**
+ * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
+ *
+ * @return The cryptoHashConfig.
+ */
com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig();
/** .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;
*/
com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder();
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return Whether the dateShiftConfig field is set.
+ */
boolean hasDateShiftConfig();
- /** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
+ /**
+ * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
+ *
+ * @return The dateShiftConfig.
+ */
com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig();
/** .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;
*/
com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder();
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
+ *
+ * @return Whether the cryptoDeterministicConfig field is set.
*/
boolean hasCryptoDeterministicConfig();
/**
* .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;
+ *
+ * @return The cryptoDeterministicConfig.
*/
com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java
index 4888e42a..8b0911ae 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java
@@ -39,6 +39,12 @@ private PrivacyMetric(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private PrivacyMetric() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PrivacyMetric();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private PrivacyMetric(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -234,6 +239,8 @@ public interface NumericalStatsConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -245,6 +252,8 @@ public interface NumericalStatsConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -281,6 +290,12 @@ private NumericalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder> b
private NumericalStatsConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new NumericalStatsConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -294,7 +309,6 @@ private NumericalStatsConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -366,6 +380,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -379,6 +395,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -751,6 +769,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -764,6 +784,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -993,6 +1015,8 @@ public interface CategoricalStatsConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -1006,6 +1030,8 @@ public interface CategoricalStatsConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -1044,6 +1070,12 @@ private CategoricalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder>
private CategoricalStatsConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CategoricalStatsConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1057,7 +1089,6 @@ private CategoricalStatsConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1131,6 +1162,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -1146,6 +1179,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -1523,6 +1558,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -1538,6 +1575,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -1857,6 +1896,8 @@ public interface KAnonymityConfigOrBuilder
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return Whether the entityId field is set.
*/
boolean hasEntityId();
/**
@@ -1875,6 +1916,8 @@ public interface KAnonymityConfigOrBuilder
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return The entityId.
*/
com.google.privacy.dlp.v2.EntityId getEntityId();
/**
@@ -1919,6 +1962,12 @@ private KAnonymityConfig() {
quasiIds_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KAnonymityConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2007,7 +2056,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_FIELD_NUMBER = 1;
private java.util.List quasiIds_;
/**
@@ -2110,6 +2158,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return Whether the entityId field is set.
*/
public boolean hasEntityId() {
return entityId_ != null;
@@ -2130,6 +2180,8 @@ public boolean hasEntityId() {
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return The entityId.
*/
public com.google.privacy.dlp.v2.EntityId getEntityId() {
return entityId_ == null
@@ -2422,7 +2474,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() {
com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig result =
new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -2437,7 +2488,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() {
} else {
result.entityId_ = entityIdBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2994,6 +3044,8 @@ public java.util.List getQuasiIdsBuil
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return Whether the entityId field is set.
*/
public boolean hasEntityId() {
return entityIdBuilder_ != null || entityId_ != null;
@@ -3014,6 +3066,8 @@ public boolean hasEntityId() {
*
*
* .google.privacy.dlp.v2.EntityId entity_id = 2;
+ *
+ * @return The entityId.
*/
public com.google.privacy.dlp.v2.EntityId getEntityId() {
if (entityIdBuilder_ == null) {
@@ -3351,6 +3405,8 @@ public interface LDiversityConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return Whether the sensitiveAttribute field is set.
*/
boolean hasSensitiveAttribute();
/**
@@ -3361,6 +3417,8 @@ public interface LDiversityConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return The sensitiveAttribute.
*/
com.google.privacy.dlp.v2.FieldId getSensitiveAttribute();
/**
@@ -3397,6 +3455,12 @@ private LDiversityConfig() {
quasiIds_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LDiversityConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -3485,7 +3549,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_FIELD_NUMBER = 1;
private java.util.List quasiIds_;
/**
@@ -3570,6 +3633,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return Whether the sensitiveAttribute field is set.
*/
public boolean hasSensitiveAttribute() {
return sensitiveAttribute_ != null;
@@ -3582,6 +3647,8 @@ public boolean hasSensitiveAttribute() {
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return The sensitiveAttribute.
*/
public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() {
return sensitiveAttribute_ == null
@@ -3867,7 +3934,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() {
com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig result =
new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -3882,7 +3948,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() {
} else {
result.sensitiveAttribute_ = sensitiveAttributeBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -4395,6 +4460,8 @@ public java.util.List getQuasiIdsBuil
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return Whether the sensitiveAttribute field is set.
*/
public boolean hasSensitiveAttribute() {
return sensitiveAttributeBuilder_ != null || sensitiveAttribute_ != null;
@@ -4407,6 +4474,8 @@ public boolean hasSensitiveAttribute() {
*
*
* .google.privacy.dlp.v2.FieldId sensitive_attribute = 2;
+ *
+ * @return The sensitiveAttribute.
*/
public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() {
if (sensitiveAttributeBuilder_ == null) {
@@ -4701,6 +4770,8 @@ public interface KMapEstimationConfigOrBuilder
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
java.lang.String getRegionCode();
/**
@@ -4713,6 +4784,8 @@ public interface KMapEstimationConfigOrBuilder
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
com.google.protobuf.ByteString getRegionCodeBytes();
@@ -4825,6 +4898,12 @@ private KMapEstimationConfig() {
auxiliaryTables_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new KMapEstimationConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -4874,12 +4953,12 @@ private KMapEstimationConfig(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
.AuxiliaryTable>();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
auxiliaryTables_.add(
input.readMessage(
@@ -4905,7 +4984,7 @@ private KMapEstimationConfig(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
}
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ = java.util.Collections.unmodifiableList(auxiliaryTables_);
}
this.unknownFields = unknownFields.build();
@@ -4941,6 +5020,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -4951,6 +5032,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -4976,6 +5059,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -4990,6 +5075,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -5017,6 +5104,8 @@ public interface TaggedFieldOrBuilder
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
java.lang.String getCustomTag();
/**
@@ -5029,6 +5118,8 @@ public interface TaggedFieldOrBuilder
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
com.google.protobuf.ByteString getCustomTagBytes();
@@ -5041,6 +5132,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
boolean hasInferred();
/**
@@ -5052,6 +5145,8 @@ public interface TaggedFieldOrBuilder
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
com.google.protobuf.Empty getInferred();
/**
@@ -5084,6 +5179,12 @@ private TaggedField(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TaggedField() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TaggedField();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -5097,7 +5198,6 @@ private TaggedField(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -5200,7 +5300,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int tagCase_ = 0;
private java.lang.Object tag_;
- public enum TagCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TagCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INFO_TYPE(2),
CUSTOM_TAG(3),
INFERRED(4),
@@ -5210,7 +5313,11 @@ public enum TagCase implements com.google.protobuf.Internal.EnumLite {
private TagCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TagCase valueOf(int value) {
return forNumber(value);
@@ -5250,6 +5357,8 @@ public TagCase getTagCase() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -5262,6 +5371,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -5292,6 +5403,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return tagCase_ == 2;
@@ -5308,6 +5421,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (tagCase_ == 2) {
@@ -5346,6 +5461,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
@@ -5373,6 +5490,8 @@ public java.lang.String getCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
@@ -5401,6 +5520,8 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
public boolean hasInferred() {
return tagCase_ == 4;
@@ -5414,6 +5535,8 @@ public boolean hasInferred() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
public com.google.protobuf.Empty getInferred() {
if (tagCase_ == 4) {
@@ -5911,6 +6034,8 @@ public Builder clearTag() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -5923,6 +6048,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -6091,6 +6218,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return tagCase_ == 2;
@@ -6107,6 +6236,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -6318,6 +6449,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
@@ -6345,6 +6478,8 @@ public java.lang.String getCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
@@ -6372,6 +6507,9 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
*
* string custom_tag = 3;
+ *
+ * @param value The customTag to set.
+ * @return This builder for chaining.
*/
public Builder setCustomTag(java.lang.String value) {
if (value == null) {
@@ -6392,6 +6530,8 @@ public Builder setCustomTag(java.lang.String value) {
*
*
* string custom_tag = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCustomTag() {
if (tagCase_ == 3) {
@@ -6411,6 +6551,9 @@ public Builder clearCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @param value The bytes for customTag to set.
+ * @return This builder for chaining.
*/
public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -6437,6 +6580,8 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
public boolean hasInferred() {
return tagCase_ == 4;
@@ -6450,6 +6595,8 @@ public boolean hasInferred() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
public com.google.protobuf.Empty getInferred() {
if (inferredBuilder_ == null) {
@@ -6698,6 +6845,8 @@ public interface AuxiliaryTableOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -6708,6 +6857,8 @@ public interface AuxiliaryTableOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
com.google.privacy.dlp.v2.BigQueryTable getTable();
/**
@@ -6802,6 +6953,8 @@ public interface AuxiliaryTableOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
boolean hasRelativeFrequency();
/**
@@ -6814,6 +6967,8 @@ public interface AuxiliaryTableOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
com.google.privacy.dlp.v2.FieldId getRelativeFrequency();
/**
@@ -6858,6 +7013,12 @@ private AuxiliaryTable() {
quasiIds_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AuxiliaryTable();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -6884,12 +7045,12 @@ private AuxiliaryTable(
break;
case 10:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
.AuxiliaryTable.QuasiIdField>();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
quasiIds_.add(
input.readMessage(
@@ -6945,7 +7106,7 @@ private AuxiliaryTable(
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
}
this.unknownFields = unknownFields.build();
@@ -6974,16 +7135,32 @@ public interface QuasiIdFieldOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
boolean hasField();
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
com.google.privacy.dlp.v2.FieldId getField();
/** .google.privacy.dlp.v2.FieldId field = 1;
*/
com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
java.lang.String getCustomTag();
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
com.google.protobuf.ByteString getCustomTagBytes();
}
/**
@@ -7011,6 +7188,12 @@ private QuasiIdField() {
customTag_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QuasiIdField();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -7024,7 +7207,6 @@ private QuasiIdField(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -7097,11 +7279,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int FIELD_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.FieldId field_;
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
public boolean hasField() {
return field_ != null;
}
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -7112,7 +7302,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
public static final int CUSTOM_TAG_FIELD_NUMBER = 2;
private volatile java.lang.Object customTag_;
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -7124,7 +7318,11 @@ public java.lang.String getCustomTag() {
return s;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -7553,11 +7751,19 @@ public Builder mergeFrom(
com.google.privacy.dlp.v2.FieldId.Builder,
com.google.privacy.dlp.v2.FieldIdOrBuilder>
fieldBuilder_;
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
}
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
return field_ == null
@@ -7657,7 +7863,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
}
private java.lang.Object customTag_ = "";
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (!(ref instanceof java.lang.String)) {
@@ -7669,7 +7879,11 @@ public java.lang.String getCustomTag() {
return (java.lang.String) ref;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof String) {
@@ -7681,7 +7895,12 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @param value The customTag to set.
+ * @return This builder for chaining.
+ */
public Builder setCustomTag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -7691,14 +7910,23 @@ public Builder setCustomTag(java.lang.String value) {
onChanged();
return this;
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearCustomTag() {
customTag_ = getDefaultInstance().getCustomTag();
onChanged();
return this;
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @param value The bytes for customTag to set.
+ * @return This builder for chaining.
+ */
public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -7770,7 +7998,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int TABLE_FIELD_NUMBER = 3;
private com.google.privacy.dlp.v2.BigQueryTable table_;
/**
@@ -7781,6 +8008,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return table_ != null;
@@ -7793,6 +8022,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
return table_ == null
@@ -7911,6 +8142,8 @@ public int getQuasiIdsCount() {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
public boolean hasRelativeFrequency() {
return relativeFrequency_ != null;
@@ -7925,6 +8158,8 @@ public boolean hasRelativeFrequency() {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
return relativeFrequency_ == null
@@ -8213,7 +8448,7 @@ public Builder clear() {
}
if (quasiIdsBuilder_ == null) {
quasiIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
quasiIdsBuilder_.clear();
}
@@ -8255,16 +8490,15 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result =
new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (tableBuilder_ == null) {
result.table_ = table_;
} else {
result.table_ = tableBuilder_.build();
}
if (quasiIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.quasiIds_ = quasiIds_;
} else {
@@ -8275,7 +8509,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab
} else {
result.relativeFrequency_ = relativeFrequencyBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -8341,7 +8574,7 @@ public Builder mergeFrom(
if (!other.quasiIds_.isEmpty()) {
if (quasiIds_.isEmpty()) {
quasiIds_ = other.quasiIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQuasiIdsIsMutable();
quasiIds_.addAll(other.quasiIds_);
@@ -8354,7 +8587,7 @@ public Builder mergeFrom(
quasiIdsBuilder_.dispose();
quasiIdsBuilder_ = null;
quasiIds_ = other.quasiIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
quasiIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getQuasiIdsFieldBuilder()
@@ -8415,6 +8648,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return tableBuilder_ != null || table_ != null;
@@ -8427,6 +8662,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (tableBuilder_ == null) {
@@ -8588,12 +8825,12 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
quasiIds_ = java.util.Collections.emptyList();
private void ensureQuasiIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
quasiIds_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
.QuasiIdField>(quasiIds_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -8859,7 +9096,7 @@ public Builder addAllQuasiIds(
public Builder clearQuasiIds() {
if (quasiIdsBuilder_ == null) {
quasiIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
quasiIdsBuilder_.clear();
@@ -9019,7 +9256,7 @@ public Builder removeQuasiIds(int index) {
.QuasiIdField.Builder,
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
.QuasiIdFieldOrBuilder>(
- quasiIds_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
quasiIds_ = null;
}
return quasiIdsBuilder_;
@@ -9041,6 +9278,8 @@ public Builder removeQuasiIds(int index) {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
public boolean hasRelativeFrequency() {
return relativeFrequencyBuilder_ != null || relativeFrequency_ != null;
@@ -9055,6 +9294,8 @@ public boolean hasRelativeFrequency() {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
if (relativeFrequencyBuilder_ == null) {
@@ -9282,7 +9523,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int QUASI_IDS_FIELD_NUMBER = 1;
private java.util.List
quasiIds_;
@@ -9380,6 +9620,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
@@ -9402,6 +9644,8 @@ public java.lang.String getRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
@@ -9757,7 +10001,7 @@ public Builder clear() {
if (auxiliaryTablesBuilder_ == null) {
auxiliaryTables_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
auxiliaryTablesBuilder_.clear();
}
@@ -9790,7 +10034,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig result =
new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -9802,15 +10045,14 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial
}
result.regionCode_ = regionCode_;
if (auxiliaryTablesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ = java.util.Collections.unmodifiableList(auxiliaryTables_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.auxiliaryTables_ = auxiliaryTables_;
} else {
result.auxiliaryTables_ = auxiliaryTablesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -9899,7 +10141,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
if (!other.auxiliaryTables_.isEmpty()) {
if (auxiliaryTables_.isEmpty()) {
auxiliaryTables_ = other.auxiliaryTables_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAuxiliaryTablesIsMutable();
auxiliaryTables_.addAll(other.auxiliaryTables_);
@@ -9912,7 +10154,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
auxiliaryTablesBuilder_.dispose();
auxiliaryTablesBuilder_ = null;
auxiliaryTables_ = other.auxiliaryTables_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
auxiliaryTablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getAuxiliaryTablesFieldBuilder()
@@ -10403,6 +10645,8 @@ public Builder removeQuasiIds(int index) {
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
@@ -10425,6 +10669,8 @@ public java.lang.String getRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
@@ -10447,6 +10693,9 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
*
*
* string region_code = 2;
+ *
+ * @param value The regionCode to set.
+ * @return This builder for chaining.
*/
public Builder setRegionCode(java.lang.String value) {
if (value == null) {
@@ -10467,6 +10716,8 @@ public Builder setRegionCode(java.lang.String value) {
*
*
* string region_code = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRegionCode() {
@@ -10484,6 +10735,9 @@ public Builder clearRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @param value The bytes for regionCode to set.
+ * @return This builder for chaining.
*/
public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -10501,12 +10755,12 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) {
auxiliaryTables_ = java.util.Collections.emptyList();
private void ensureAuxiliaryTablesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>(
auxiliaryTables_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
@@ -10782,7 +11036,7 @@ public Builder addAllAuxiliaryTables(
public Builder clearAuxiliaryTables() {
if (auxiliaryTablesBuilder_ == null) {
auxiliaryTables_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
auxiliaryTablesBuilder_.clear();
@@ -10948,7 +11202,7 @@ public Builder removeAuxiliaryTables(int index) {
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
.AuxiliaryTableOrBuilder>(
auxiliaryTables_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
auxiliaryTables_ = null;
@@ -11082,6 +11336,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
java.lang.String getRegionCode();
/**
@@ -11094,6 +11350,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
com.google.protobuf.ByteString getRegionCodeBytes();
@@ -11189,6 +11447,12 @@ private DeltaPresenceEstimationConfig() {
auxiliaryTables_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeltaPresenceEstimationConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -11233,10 +11497,10 @@ private DeltaPresenceEstimationConfig(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
auxiliaryTables_.add(
input.readMessage(
@@ -11260,7 +11524,7 @@ private DeltaPresenceEstimationConfig(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
}
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ = java.util.Collections.unmodifiableList(auxiliaryTables_);
}
this.unknownFields = unknownFields.build();
@@ -11283,7 +11547,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
}
- private int bitField0_;
public static final int QUASI_IDS_FIELD_NUMBER = 1;
private java.util.List quasiIds_;
/**
@@ -11365,6 +11628,8 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
@@ -11387,6 +11652,8 @@ public java.lang.String getRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
@@ -11724,7 +11991,7 @@ public Builder clear() {
if (auxiliaryTablesBuilder_ == null) {
auxiliaryTables_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
auxiliaryTablesBuilder_.clear();
}
@@ -11759,7 +12026,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result =
new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (quasiIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -11771,15 +12037,14 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
}
result.regionCode_ = regionCode_;
if (auxiliaryTablesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ = java.util.Collections.unmodifiableList(auxiliaryTables_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.auxiliaryTables_ = auxiliaryTables_;
} else {
result.auxiliaryTables_ = auxiliaryTablesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -11871,7 +12136,7 @@ public Builder mergeFrom(
if (!other.auxiliaryTables_.isEmpty()) {
if (auxiliaryTables_.isEmpty()) {
auxiliaryTables_ = other.auxiliaryTables_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAuxiliaryTablesIsMutable();
auxiliaryTables_.addAll(other.auxiliaryTables_);
@@ -11884,7 +12149,7 @@ public Builder mergeFrom(
auxiliaryTablesBuilder_.dispose();
auxiliaryTablesBuilder_ = null;
auxiliaryTables_ = other.auxiliaryTables_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
auxiliaryTablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getAuxiliaryTablesFieldBuilder()
@@ -12304,6 +12569,8 @@ public java.util.List getQuasiIdsBuil
*
*
* string region_code = 2;
+ *
+ * @return The regionCode.
*/
public java.lang.String getRegionCode() {
java.lang.Object ref = regionCode_;
@@ -12326,6 +12593,8 @@ public java.lang.String getRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @return The bytes for regionCode.
*/
public com.google.protobuf.ByteString getRegionCodeBytes() {
java.lang.Object ref = regionCode_;
@@ -12348,6 +12617,9 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
*
*
* string region_code = 2;
+ *
+ * @param value The regionCode to set.
+ * @return This builder for chaining.
*/
public Builder setRegionCode(java.lang.String value) {
if (value == null) {
@@ -12368,6 +12640,8 @@ public Builder setRegionCode(java.lang.String value) {
*
*
* string region_code = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRegionCode() {
@@ -12385,6 +12659,9 @@ public Builder clearRegionCode() {
*
*
* string region_code = 2;
+ *
+ * @param value The bytes for regionCode to set.
+ * @return This builder for chaining.
*/
public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -12401,10 +12678,10 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureAuxiliaryTablesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
auxiliaryTables_ =
new java.util.ArrayList(auxiliaryTables_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
@@ -12644,7 +12921,7 @@ public Builder addAllAuxiliaryTables(
public Builder clearAuxiliaryTables() {
if (auxiliaryTablesBuilder_ == null) {
auxiliaryTables_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
auxiliaryTablesBuilder_.clear();
@@ -12784,7 +13061,7 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
com.google.privacy.dlp.v2.StatisticalTable.Builder,
com.google.privacy.dlp.v2.StatisticalTableOrBuilder>(
auxiliaryTables_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
auxiliaryTables_ = null;
@@ -12851,7 +13128,10 @@ public com.google.protobuf.Parser getParserForTyp
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NUMERICAL_STATS_CONFIG(1),
CATEGORICAL_STATS_CONFIG(2),
K_ANONYMITY_CONFIG(3),
@@ -12864,7 +13144,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -12904,6 +13188,8 @@ public TypeCase getTypeCase() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return Whether the numericalStatsConfig field is set.
*/
public boolean hasNumericalStatsConfig() {
return typeCase_ == 1;
@@ -12911,6 +13197,8 @@ public boolean hasNumericalStatsConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return The numericalStatsConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() {
if (typeCase_ == 1) {
@@ -12934,6 +13222,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumerical
/**
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return Whether the categoricalStatsConfig field is set.
*/
public boolean hasCategoricalStatsConfig() {
return typeCase_ == 2;
@@ -12941,6 +13231,8 @@ public boolean hasCategoricalStatsConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return The categoricalStatsConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
getCategoricalStatsConfig() {
@@ -12962,11 +13254,19 @@ public boolean hasCategoricalStatsConfig() {
}
public static final int K_ANONYMITY_CONFIG_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return Whether the kAnonymityConfig field is set.
+ */
public boolean hasKAnonymityConfig() {
return typeCase_ == 3;
}
- /** .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return The kAnonymityConfig.
+ */
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_;
@@ -12983,11 +13283,19 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon
}
public static final int L_DIVERSITY_CONFIG_FIELD_NUMBER = 4;
- /** .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return Whether the lDiversityConfig field is set.
+ */
public boolean hasLDiversityConfig() {
return typeCase_ == 4;
}
- /** .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return The lDiversityConfig.
+ */
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() {
if (typeCase_ == 4) {
return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_;
@@ -13007,6 +13315,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return Whether the kMapEstimationConfig field is set.
*/
public boolean hasKMapEstimationConfig() {
return typeCase_ == 5;
@@ -13014,6 +13324,8 @@ public boolean hasKMapEstimationConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return The kMapEstimationConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() {
if (typeCase_ == 5) {
@@ -13038,6 +13350,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstim
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return Whether the deltaPresenceEstimationConfig field is set.
*/
public boolean hasDeltaPresenceEstimationConfig() {
return typeCase_ == 6;
@@ -13046,6 +13360,8 @@ public boolean hasDeltaPresenceEstimationConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return The deltaPresenceEstimationConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
getDeltaPresenceEstimationConfig() {
@@ -13573,6 +13889,8 @@ public Builder clearType() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return Whether the numericalStatsConfig field is set.
*/
public boolean hasNumericalStatsConfig() {
return typeCase_ == 1;
@@ -13580,6 +13898,8 @@ public boolean hasNumericalStatsConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return The numericalStatsConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() {
if (numericalStatsConfigBuilder_ == null) {
@@ -13737,6 +14057,8 @@ public Builder clearNumericalStatsConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return Whether the categoricalStatsConfig field is set.
*/
public boolean hasCategoricalStatsConfig() {
return typeCase_ == 2;
@@ -13745,6 +14067,8 @@ public boolean hasCategoricalStatsConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return The categoricalStatsConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
getCategoricalStatsConfig() {
@@ -13909,12 +14233,16 @@ public Builder clearCategoricalStatsConfig() {
kAnonymityConfigBuilder_;
/**
* .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return Whether the kAnonymityConfig field is set.
*/
public boolean hasKAnonymityConfig() {
return typeCase_ == 3;
}
/**
* .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return The kAnonymityConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() {
if (kAnonymityConfigBuilder_ == null) {
@@ -14062,12 +14390,16 @@ public Builder clearKAnonymityConfig() {
lDiversityConfigBuilder_;
/**
* .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return Whether the lDiversityConfig field is set.
*/
public boolean hasLDiversityConfig() {
return typeCase_ == 4;
}
/**
* .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return The lDiversityConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() {
if (lDiversityConfigBuilder_ == null) {
@@ -14216,6 +14548,8 @@ public Builder clearLDiversityConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return Whether the kMapEstimationConfig field is set.
*/
public boolean hasKMapEstimationConfig() {
return typeCase_ == 5;
@@ -14223,6 +14557,8 @@ public boolean hasKMapEstimationConfig() {
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return The kMapEstimationConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() {
if (kMapEstimationConfigBuilder_ == null) {
@@ -14380,6 +14716,8 @@ public Builder clearKMapEstimationConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return Whether the deltaPresenceEstimationConfig field is set.
*/
public boolean hasDeltaPresenceEstimationConfig() {
return typeCase_ == 6;
@@ -14388,6 +14726,8 @@ public boolean hasDeltaPresenceEstimationConfig() {
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return The deltaPresenceEstimationConfig.
*/
public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
getDeltaPresenceEstimationConfig() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java
index 73d18155..cec31429 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java
@@ -26,11 +26,15 @@ public interface PrivacyMetricOrBuilder
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return Whether the numericalStatsConfig field is set.
*/
boolean hasNumericalStatsConfig();
/**
* .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1;
*
+ *
+ * @return The numericalStatsConfig.
*/
com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig();
/**
@@ -43,11 +47,15 @@ public interface PrivacyMetricOrBuilder
/**
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return Whether the categoricalStatsConfig field is set.
*/
boolean hasCategoricalStatsConfig();
/**
* .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2;
*
+ *
+ * @return The categoricalStatsConfig.
*/
com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig();
/**
@@ -57,16 +65,32 @@ public interface PrivacyMetricOrBuilder
com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder
getCategoricalStatsConfigOrBuilder();
- /** .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return Whether the kAnonymityConfig field is set.
+ */
boolean hasKAnonymityConfig();
- /** .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
+ *
+ * @return The kAnonymityConfig.
+ */
com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig();
/** .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3;
*/
com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder();
- /** .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return Whether the lDiversityConfig field is set.
+ */
boolean hasLDiversityConfig();
- /** .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
+ /**
+ * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
+ *
+ * @return The lDiversityConfig.
+ */
com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig();
/** .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4;
*/
com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder();
@@ -74,11 +98,15 @@ public interface PrivacyMetricOrBuilder
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return Whether the kMapEstimationConfig field is set.
*/
boolean hasKMapEstimationConfig();
/**
* .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5;
*
+ *
+ * @return The kMapEstimationConfig.
*/
com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig();
/**
@@ -92,12 +120,16 @@ public interface PrivacyMetricOrBuilder
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return Whether the deltaPresenceEstimationConfig field is set.
*/
boolean hasDeltaPresenceEstimationConfig();
/**
*
* .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
*
+ *
+ * @return The deltaPresenceEstimationConfig.
*/
com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
getDeltaPresenceEstimationConfig();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectDeidentifyTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectDeidentifyTemplateName.java
index affa4d64..91b9b2be 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectDeidentifyTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectDeidentifyTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectDeidentifyTemplateName extends DeidentifyTemplateName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectInspectTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectInspectTemplateName.java
index 9186f16b..5009c0b2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectInspectTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectInspectTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectInspectTemplateName extends InspectTemplateName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectJobTriggerName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectJobTriggerName.java
index 6f0308e1..2b1b213d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectJobTriggerName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectJobTriggerName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ProjectJobTriggerName implements ResourceName {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java
index abd28cf1..0b3cc6f6 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ProjectName implements ResourceName {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectStoredInfoTypeName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectStoredInfoTypeName.java
index 63d09df0..d9bed6ea 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectStoredInfoTypeName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectStoredInfoTypeName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectStoredInfoTypeName extends StoredInfoTypeName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java
index 2547dc5c..284b3781 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java
@@ -39,6 +39,12 @@ private QuasiId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private QuasiId() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QuasiId();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private QuasiId(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,7 +156,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int tagCase_ = 0;
private java.lang.Object tag_;
- public enum TagCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TagCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INFO_TYPE(2),
CUSTOM_TAG(3),
INFERRED(4),
@@ -161,7 +169,11 @@ public enum TagCase implements com.google.protobuf.Internal.EnumLite {
private TagCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TagCase valueOf(int value) {
return forNumber(value);
@@ -201,6 +213,8 @@ public TagCase getTagCase() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -213,6 +227,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -243,6 +259,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return tagCase_ == 2;
@@ -259,6 +277,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (tagCase_ == 2) {
@@ -297,6 +317,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
@@ -324,6 +346,8 @@ public java.lang.String getCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
@@ -352,6 +376,8 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
public boolean hasInferred() {
return tagCase_ == 4;
@@ -365,6 +391,8 @@ public boolean hasInferred() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
public com.google.protobuf.Empty getInferred() {
if (tagCase_ == 4) {
@@ -837,6 +865,8 @@ public Builder clearTag() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -849,6 +879,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -1015,6 +1047,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return tagCase_ == 2;
@@ -1031,6 +1065,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -1242,6 +1278,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
public java.lang.String getCustomTag() {
java.lang.Object ref = "";
@@ -1269,6 +1307,8 @@ public java.lang.String getCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = "";
@@ -1296,6 +1336,9 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
*
*
* string custom_tag = 3;
+ *
+ * @param value The customTag to set.
+ * @return This builder for chaining.
*/
public Builder setCustomTag(java.lang.String value) {
if (value == null) {
@@ -1316,6 +1359,8 @@ public Builder setCustomTag(java.lang.String value) {
*
*
* string custom_tag = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCustomTag() {
if (tagCase_ == 3) {
@@ -1335,6 +1380,9 @@ public Builder clearCustomTag() {
*
*
* string custom_tag = 3;
+ *
+ * @param value The bytes for customTag to set.
+ * @return This builder for chaining.
*/
public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1361,6 +1409,8 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
public boolean hasInferred() {
return tagCase_ == 4;
@@ -1374,6 +1424,8 @@ public boolean hasInferred() {
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
public com.google.protobuf.Empty getInferred() {
if (inferredBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
index 37c937d2..79ff2133 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
@@ -31,6 +31,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -41,6 +43,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -66,6 +70,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -80,6 +86,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 2;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -107,6 +115,8 @@ public interface QuasiIdOrBuilder
*
*
* string custom_tag = 3;
+ *
+ * @return The customTag.
*/
java.lang.String getCustomTag();
/**
@@ -119,6 +129,8 @@ public interface QuasiIdOrBuilder
*
*
* string custom_tag = 3;
+ *
+ * @return The bytes for customTag.
*/
com.google.protobuf.ByteString getCustomTagBytes();
@@ -131,6 +143,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return Whether the inferred field is set.
*/
boolean hasInferred();
/**
@@ -142,6 +156,8 @@ public interface QuasiIdOrBuilder
*
*
* .google.protobuf.Empty inferred = 4;
+ *
+ * @return The inferred.
*/
com.google.protobuf.Empty getInferred();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
index 7cfc4da1..2ca22455 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
@@ -39,6 +39,12 @@ private QuoteInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private QuoteInfo() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QuoteInfo();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private QuoteInfo(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -115,7 +120,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int parsedQuoteCase_ = 0;
private java.lang.Object parsedQuote_;
- public enum ParsedQuoteCase implements com.google.protobuf.Internal.EnumLite {
+ public enum ParsedQuoteCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DATE_TIME(2),
PARSEDQUOTE_NOT_SET(0);
private final int value;
@@ -123,7 +131,11 @@ public enum ParsedQuoteCase implements com.google.protobuf.Internal.EnumLite {
private ParsedQuoteCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ParsedQuoteCase valueOf(int value) {
return forNumber(value);
@@ -158,6 +170,8 @@ public ParsedQuoteCase getParsedQuoteCase() {
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return Whether the dateTime field is set.
*/
public boolean hasDateTime() {
return parsedQuoteCase_ == 2;
@@ -170,6 +184,8 @@ public boolean hasDateTime() {
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return The dateTime.
*/
public com.google.privacy.dlp.v2.DateTime getDateTime() {
if (parsedQuoteCase_ == 2) {
@@ -562,6 +578,8 @@ public Builder clearParsedQuote() {
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return Whether the dateTime field is set.
*/
public boolean hasDateTime() {
return parsedQuoteCase_ == 2;
@@ -574,6 +592,8 @@ public boolean hasDateTime() {
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return The dateTime.
*/
public com.google.privacy.dlp.v2.DateTime getDateTime() {
if (dateTimeBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java
index 230a68dc..a5cb6b3c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java
@@ -31,6 +31,8 @@ public interface QuoteInfoOrBuilder
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return Whether the dateTime field is set.
*/
boolean hasDateTime();
/**
@@ -41,6 +43,8 @@ public interface QuoteInfoOrBuilder
*
*
* .google.privacy.dlp.v2.DateTime date_time = 2;
+ *
+ * @return The dateTime.
*/
com.google.privacy.dlp.v2.DateTime getDateTime();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
index ed906655..ca23d235 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java
@@ -39,6 +39,12 @@ private Range(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Range() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Range();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Range(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 start = 1;
+ *
+ * @return The start.
*/
public long getStart() {
return start_;
@@ -131,6 +138,8 @@ public long getStart() {
*
*
* int64 end = 2;
+ *
+ * @return The end.
*/
public long getEnd() {
return end_;
@@ -471,6 +480,8 @@ public Builder mergeFrom(
*
*
* int64 start = 1;
+ *
+ * @return The start.
*/
public long getStart() {
return start_;
@@ -483,6 +494,9 @@ public long getStart() {
*
*
* int64 start = 1;
+ *
+ * @param value The start to set.
+ * @return This builder for chaining.
*/
public Builder setStart(long value) {
@@ -498,6 +512,8 @@ public Builder setStart(long value) {
*
*
* int64 start = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStart() {
@@ -515,6 +531,8 @@ public Builder clearStart() {
*
*
* int64 end = 2;
+ *
+ * @return The end.
*/
public long getEnd() {
return end_;
@@ -527,6 +545,9 @@ public long getEnd() {
*
*
* int64 end = 2;
+ *
+ * @param value The end to set.
+ * @return This builder for chaining.
*/
public Builder setEnd(long value) {
@@ -542,6 +563,8 @@ public Builder setEnd(long value) {
*
*
* int64 end = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEnd() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java
index e00a7bd0..dbbb436b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java
@@ -31,6 +31,8 @@ public interface RangeOrBuilder
*
*
* int64 start = 1;
+ *
+ * @return The start.
*/
long getStart();
@@ -42,6 +44,8 @@ public interface RangeOrBuilder
*
*
* int64 end = 2;
+ *
+ * @return The end.
*/
long getEnd();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
index c31b8d47..4eabb60f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
@@ -40,6 +40,12 @@ private RecordCondition(com.google.protobuf.GeneratedMessageV3.Builder> builde
private RecordCondition() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecordCondition();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private RecordCondition(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -128,6 +133,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -138,6 +145,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -159,6 +168,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The enum numeric value on the wire for operator.
*/
int getOperatorValue();
/**
@@ -169,6 +180,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The operator.
*/
com.google.privacy.dlp.v2.RelationalOperator getOperator();
@@ -180,6 +193,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return Whether the value field is set.
*/
boolean hasValue();
/**
@@ -190,6 +205,8 @@ public interface ConditionOrBuilder
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return The value.
*/
com.google.privacy.dlp.v2.Value getValue();
/**
@@ -242,6 +259,12 @@ private Condition() {
operator_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Condition();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -255,7 +278,6 @@ private Condition(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -348,6 +370,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -360,6 +384,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -387,6 +413,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The enum numeric value on the wire for operator.
*/
public int getOperatorValue() {
return operator_;
@@ -399,6 +427,8 @@ public int getOperatorValue() {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The operator.
*/
public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
@SuppressWarnings("deprecation")
@@ -417,6 +447,8 @@ public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return value_ != null;
@@ -429,6 +461,8 @@ public boolean hasValue() {
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return The value.
*/
public com.google.privacy.dlp.v2.Value getValue() {
return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_;
@@ -858,6 +892,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -870,6 +906,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -1030,6 +1068,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The enum numeric value on the wire for operator.
*/
public int getOperatorValue() {
return operator_;
@@ -1042,6 +1082,9 @@ public int getOperatorValue() {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @param value The enum numeric value on the wire for operator to set.
+ * @return This builder for chaining.
*/
public Builder setOperatorValue(int value) {
operator_ = value;
@@ -1056,6 +1099,8 @@ public Builder setOperatorValue(int value) {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return The operator.
*/
public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
@SuppressWarnings("deprecation")
@@ -1071,6 +1116,9 @@ public com.google.privacy.dlp.v2.RelationalOperator getOperator() {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @param value The operator to set.
+ * @return This builder for chaining.
*/
public Builder setOperator(com.google.privacy.dlp.v2.RelationalOperator value) {
if (value == null) {
@@ -1089,6 +1137,8 @@ public Builder setOperator(com.google.privacy.dlp.v2.RelationalOperator value) {
*
*
* .google.privacy.dlp.v2.RelationalOperator operator = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOperator() {
@@ -1111,6 +1161,8 @@ public Builder clearOperator() {
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
@@ -1123,6 +1175,8 @@ public boolean hasValue() {
*
*
* .google.privacy.dlp.v2.Value value = 4;
+ *
+ * @return The value.
*/
public com.google.privacy.dlp.v2.Value getValue() {
if (valueBuilder_ == null) {
@@ -1364,6 +1418,12 @@ private Conditions() {
conditions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Conditions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2113,6 +2173,8 @@ public interface ExpressionsOrBuilder
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The enum numeric value on the wire for logicalOperator.
*/
int getLogicalOperatorValue();
/**
@@ -2126,12 +2188,22 @@ public interface ExpressionsOrBuilder
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The logicalOperator.
*/
com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator();
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return Whether the conditions field is set.
+ */
boolean hasConditions();
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return The conditions.
+ */
com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions();
/** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder();
@@ -2161,6 +2233,12 @@ private Expressions() {
logicalOperator_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Expressions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2174,7 +2252,6 @@ private Expressions(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -2267,12 +2344,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static LogicalOperator valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static LogicalOperator forNumber(int value) {
switch (value) {
case 0:
@@ -2336,7 +2421,10 @@ private LogicalOperator(int value) {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CONDITIONS(3),
TYPE_NOT_SET(0);
private final int value;
@@ -2344,7 +2432,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -2383,6 +2475,8 @@ public TypeCase getTypeCase() {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The enum numeric value on the wire for logicalOperator.
*/
public int getLogicalOperatorValue() {
return logicalOperator_;
@@ -2398,6 +2492,8 @@ public int getLogicalOperatorValue() {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The logicalOperator.
*/
public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
getLogicalOperator() {
@@ -2411,11 +2507,19 @@ public int getLogicalOperatorValue() {
}
public static final int CONDITIONS_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return Whether the conditions field is set.
+ */
public boolean hasConditions() {
return typeCase_ == 3;
}
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return The conditions.
+ */
public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_;
@@ -2829,6 +2933,8 @@ public Builder clearType() {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The enum numeric value on the wire for logicalOperator.
*/
public int getLogicalOperatorValue() {
return logicalOperator_;
@@ -2844,6 +2950,9 @@ public int getLogicalOperatorValue() {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @param value The enum numeric value on the wire for logicalOperator to set.
+ * @return This builder for chaining.
*/
public Builder setLogicalOperatorValue(int value) {
logicalOperator_ = value;
@@ -2861,6 +2970,8 @@ public Builder setLogicalOperatorValue(int value) {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return The logicalOperator.
*/
public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
getLogicalOperator() {
@@ -2883,6 +2994,9 @@ public Builder setLogicalOperatorValue(int value) {
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @param value The logicalOperator to set.
+ * @return This builder for chaining.
*/
public Builder setLogicalOperator(
com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator value) {
@@ -2905,6 +3019,8 @@ public Builder setLogicalOperator(
*
* .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearLogicalOperator() {
@@ -2918,11 +3034,19 @@ public Builder clearLogicalOperator() {
com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder,
com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder>
conditionsBuilder_;
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return Whether the conditions field is set.
+ */
public boolean hasConditions() {
return typeCase_ == 3;
}
- /** .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
+ *
+ * @return The conditions.
+ */
public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() {
if (conditionsBuilder_ == null) {
if (typeCase_ == 3) {
@@ -3107,6 +3231,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultInstanceF
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return Whether the expressions field is set.
*/
public boolean hasExpressions() {
return expressions_ != null;
@@ -3119,6 +3245,8 @@ public boolean hasExpressions() {
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return The expressions.
*/
public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() {
return expressions_ == null
@@ -3481,6 +3609,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return Whether the expressions field is set.
*/
public boolean hasExpressions() {
return expressionsBuilder_ != null || expressions_ != null;
@@ -3493,6 +3623,8 @@ public boolean hasExpressions() {
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return The expressions.
*/
public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() {
if (expressionsBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java
index 13396290..513d264a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java
@@ -31,6 +31,8 @@ public interface RecordConditionOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return Whether the expressions field is set.
*/
boolean hasExpressions();
/**
@@ -41,6 +43,8 @@ public interface RecordConditionOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
+ *
+ * @return The expressions.
*/
com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
index 13b7b2ae..99f76e8d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
@@ -41,6 +41,12 @@ private RecordKey() {
idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecordKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -100,9 +106,9 @@ private RecordKey(
case 42:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
idValues_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
idValues_.add(s);
break;
@@ -121,7 +127,7 @@ private RecordKey(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
idValues_ = idValues_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -144,11 +150,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.RecordKey.Builder.class);
}
- private int bitField0_;
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DATASTORE_KEY(2),
BIG_QUERY_KEY(3),
TYPE_NOT_SET(0);
@@ -157,7 +165,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -186,11 +198,19 @@ public TypeCase getTypeCase() {
}
public static final int DATASTORE_KEY_FIELD_NUMBER = 2;
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return Whether the datastoreKey field is set.
+ */
public boolean hasDatastoreKey() {
return typeCase_ == 2;
}
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return The datastoreKey.
+ */
public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() {
if (typeCase_ == 2) {
return (com.google.privacy.dlp.v2.DatastoreKey) type_;
@@ -206,11 +226,19 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(
}
public static final int BIG_QUERY_KEY_FIELD_NUMBER = 3;
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return Whether the bigQueryKey field is set.
+ */
public boolean hasBigQueryKey() {
return typeCase_ == 3;
}
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return The bigQueryKey.
+ */
public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() {
if (typeCase_ == 3) {
return (com.google.privacy.dlp.v2.BigQueryKey) type_;
@@ -236,6 +264,8 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
*
*
* repeated string id_values = 5;
+ *
+ * @return A list containing the idValues.
*/
public com.google.protobuf.ProtocolStringList getIdValuesList() {
return idValues_;
@@ -249,6 +279,8 @@ public com.google.protobuf.ProtocolStringList getIdValuesList() {
*
*
* repeated string id_values = 5;
+ *
+ * @return The count of idValues.
*/
public int getIdValuesCount() {
return idValues_.size();
@@ -262,6 +294,9 @@ public int getIdValuesCount() {
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The idValues at the given index.
*/
public java.lang.String getIdValues(int index) {
return idValues_.get(index);
@@ -275,6 +310,9 @@ public java.lang.String getIdValues(int index) {
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the idValues at the given index.
*/
public com.google.protobuf.ByteString getIdValuesBytes(int index) {
return idValues_.getByteString(index);
@@ -529,7 +567,7 @@ private void maybeForceBuilderInitialization() {
public Builder clear() {
super.clear();
idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
typeCase_ = 0;
type_ = null;
return this;
@@ -559,7 +597,6 @@ public com.google.privacy.dlp.v2.RecordKey build() {
public com.google.privacy.dlp.v2.RecordKey buildPartial() {
com.google.privacy.dlp.v2.RecordKey result = new com.google.privacy.dlp.v2.RecordKey(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (typeCase_ == 2) {
if (datastoreKeyBuilder_ == null) {
result.type_ = type_;
@@ -574,12 +611,11 @@ public com.google.privacy.dlp.v2.RecordKey buildPartial() {
result.type_ = bigQueryKeyBuilder_.build();
}
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
idValues_ = idValues_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.idValues_ = idValues_;
- result.bitField0_ = to_bitField0_;
result.typeCase_ = typeCase_;
onBuilt();
return result;
@@ -633,7 +669,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordKey other) {
if (!other.idValues_.isEmpty()) {
if (idValues_.isEmpty()) {
idValues_ = other.idValues_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIdValuesIsMutable();
idValues_.addAll(other.idValues_);
@@ -706,11 +742,19 @@ public Builder clearType() {
com.google.privacy.dlp.v2.DatastoreKey.Builder,
com.google.privacy.dlp.v2.DatastoreKeyOrBuilder>
datastoreKeyBuilder_;
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return Whether the datastoreKey field is set.
+ */
public boolean hasDatastoreKey() {
return typeCase_ == 2;
}
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return The datastoreKey.
+ */
public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() {
if (datastoreKeyBuilder_ == null) {
if (typeCase_ == 2) {
@@ -833,11 +877,19 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(
com.google.privacy.dlp.v2.BigQueryKey.Builder,
com.google.privacy.dlp.v2.BigQueryKeyOrBuilder>
bigQueryKeyBuilder_;
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return Whether the bigQueryKey field is set.
+ */
public boolean hasBigQueryKey() {
return typeCase_ == 3;
}
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return The bigQueryKey.
+ */
public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() {
if (bigQueryKeyBuilder_ == null) {
if (typeCase_ == 3) {
@@ -958,9 +1010,9 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureIdValuesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
idValues_ = new com.google.protobuf.LazyStringArrayList(idValues_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -972,6 +1024,8 @@ private void ensureIdValuesIsMutable() {
*
*
* repeated string id_values = 5;
+ *
+ * @return A list containing the idValues.
*/
public com.google.protobuf.ProtocolStringList getIdValuesList() {
return idValues_.getUnmodifiableView();
@@ -985,6 +1039,8 @@ public com.google.protobuf.ProtocolStringList getIdValuesList() {
*
*
* repeated string id_values = 5;
+ *
+ * @return The count of idValues.
*/
public int getIdValuesCount() {
return idValues_.size();
@@ -998,6 +1054,9 @@ public int getIdValuesCount() {
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The idValues at the given index.
*/
public java.lang.String getIdValues(int index) {
return idValues_.get(index);
@@ -1011,6 +1070,9 @@ public java.lang.String getIdValues(int index) {
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the idValues at the given index.
*/
public com.google.protobuf.ByteString getIdValuesBytes(int index) {
return idValues_.getByteString(index);
@@ -1024,6 +1086,10 @@ public com.google.protobuf.ByteString getIdValuesBytes(int index) {
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index to set the value at.
+ * @param value The idValues to set.
+ * @return This builder for chaining.
*/
public Builder setIdValues(int index, java.lang.String value) {
if (value == null) {
@@ -1043,6 +1109,9 @@ public Builder setIdValues(int index, java.lang.String value) {
*
*
* repeated string id_values = 5;
+ *
+ * @param value The idValues to add.
+ * @return This builder for chaining.
*/
public Builder addIdValues(java.lang.String value) {
if (value == null) {
@@ -1062,6 +1131,9 @@ public Builder addIdValues(java.lang.String value) {
*
*
* repeated string id_values = 5;
+ *
+ * @param values The idValues to add.
+ * @return This builder for chaining.
*/
public Builder addAllIdValues(java.lang.Iterable values) {
ensureIdValuesIsMutable();
@@ -1078,10 +1150,12 @@ public Builder addAllIdValues(java.lang.Iterable values) {
*
*
* repeated string id_values = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIdValues() {
idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1094,6 +1168,9 @@ public Builder clearIdValues() {
*
*
* repeated string id_values = 5;
+ *
+ * @param value The bytes of the idValues to add.
+ * @return This builder for chaining.
*/
public Builder addIdValuesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
index e06fa765..7a3fbd5c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java
@@ -23,16 +23,32 @@ public interface RecordKeyOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordKey)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return Whether the datastoreKey field is set.
+ */
boolean hasDatastoreKey();
- /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
+ /**
+ * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
+ *
+ * @return The datastoreKey.
+ */
com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey();
/** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
*/
com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder();
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return Whether the bigQueryKey field is set.
+ */
boolean hasBigQueryKey();
- /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
+ /**
+ * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
+ *
+ * @return The bigQueryKey.
+ */
com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey();
/** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
*/
com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder();
@@ -46,6 +62,8 @@ public interface RecordKeyOrBuilder
*
*
* repeated string id_values = 5;
+ *
+ * @return A list containing the idValues.
*/
java.util.List getIdValuesList();
/**
@@ -57,6 +75,8 @@ public interface RecordKeyOrBuilder
*
*
* repeated string id_values = 5;
+ *
+ * @return The count of idValues.
*/
int getIdValuesCount();
/**
@@ -68,6 +88,9 @@ public interface RecordKeyOrBuilder
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the element to return.
+ * @return The idValues at the given index.
*/
java.lang.String getIdValues(int index);
/**
@@ -79,6 +102,9 @@ public interface RecordKeyOrBuilder
*
*
* repeated string id_values = 5;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the idValues at the given index.
*/
com.google.protobuf.ByteString getIdValuesBytes(int index);
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
index 8ce85e62..e609180e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java
@@ -39,6 +39,12 @@ private RecordLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder
private RecordLocation() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecordLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private RecordLocation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +159,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return Whether the recordKey field is set.
*/
public boolean hasRecordKey() {
return recordKey_ != null;
@@ -166,6 +173,8 @@ public boolean hasRecordKey() {
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return The recordKey.
*/
public com.google.privacy.dlp.v2.RecordKey getRecordKey() {
return recordKey_ == null
@@ -195,6 +204,8 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return Whether the fieldId field is set.
*/
public boolean hasFieldId() {
return fieldId_ != null;
@@ -207,6 +218,8 @@ public boolean hasFieldId() {
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return The fieldId.
*/
public com.google.privacy.dlp.v2.FieldId getFieldId() {
return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_;
@@ -234,6 +247,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() {
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return Whether the tableLocation field is set.
*/
public boolean hasTableLocation() {
return tableLocation_ != null;
@@ -246,6 +261,8 @@ public boolean hasTableLocation() {
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return The tableLocation.
*/
public com.google.privacy.dlp.v2.TableLocation getTableLocation() {
return tableLocation_ == null
@@ -662,6 +679,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return Whether the recordKey field is set.
*/
public boolean hasRecordKey() {
return recordKeyBuilder_ != null || recordKey_ != null;
@@ -674,6 +693,8 @@ public boolean hasRecordKey() {
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return The recordKey.
*/
public com.google.privacy.dlp.v2.RecordKey getRecordKey() {
if (recordKeyBuilder_ == null) {
@@ -843,6 +864,8 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return Whether the fieldId field is set.
*/
public boolean hasFieldId() {
return fieldIdBuilder_ != null || fieldId_ != null;
@@ -855,6 +878,8 @@ public boolean hasFieldId() {
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return The fieldId.
*/
public com.google.privacy.dlp.v2.FieldId getFieldId() {
if (fieldIdBuilder_ == null) {
@@ -1020,6 +1045,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() {
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return Whether the tableLocation field is set.
*/
public boolean hasTableLocation() {
return tableLocationBuilder_ != null || tableLocation_ != null;
@@ -1032,6 +1059,8 @@ public boolean hasTableLocation() {
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return The tableLocation.
*/
public com.google.privacy.dlp.v2.TableLocation getTableLocation() {
if (tableLocationBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java
index b31efef4..d27e2aed 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java
@@ -31,6 +31,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return Whether the recordKey field is set.
*/
boolean hasRecordKey();
/**
@@ -41,6 +43,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.RecordKey record_key = 1;
+ *
+ * @return The recordKey.
*/
com.google.privacy.dlp.v2.RecordKey getRecordKey();
/**
@@ -62,6 +66,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return Whether the fieldId field is set.
*/
boolean hasFieldId();
/**
@@ -72,6 +78,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field_id = 2;
+ *
+ * @return The fieldId.
*/
com.google.privacy.dlp.v2.FieldId getFieldId();
/**
@@ -93,6 +101,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return Whether the tableLocation field is set.
*/
boolean hasTableLocation();
/**
@@ -103,6 +113,8 @@ public interface RecordLocationOrBuilder
*
*
* .google.privacy.dlp.v2.TableLocation table_location = 3;
+ *
+ * @return The tableLocation.
*/
com.google.privacy.dlp.v2.TableLocation getTableLocation();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
index b43394c7..dea26f02 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java
@@ -40,6 +40,12 @@ private RecordSuppression(com.google.protobuf.GeneratedMessageV3.Builder> buil
private RecordSuppression() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecordSuppression();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private RecordSuppression(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return condition_ != null;
@@ -138,6 +145,8 @@ public boolean hasCondition() {
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return The condition.
*/
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
return condition_ == null
@@ -502,6 +511,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return Whether the condition field is set.
*/
public boolean hasCondition() {
return conditionBuilder_ != null || condition_ != null;
@@ -515,6 +526,8 @@ public boolean hasCondition() {
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return The condition.
*/
public com.google.privacy.dlp.v2.RecordCondition getCondition() {
if (conditionBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
index d33dd0e4..fdf6b047 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
@@ -32,6 +32,8 @@ public interface RecordSuppressionOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return Whether the condition field is set.
*/
boolean hasCondition();
/**
@@ -43,6 +45,8 @@ public interface RecordSuppressionOrBuilder
*
*
* .google.privacy.dlp.v2.RecordCondition condition = 1;
+ *
+ * @return The condition.
*/
com.google.privacy.dlp.v2.RecordCondition getCondition();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
index 5472abf0..50cff5aa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
@@ -43,6 +43,12 @@ private RecordTransformations() {
recordSuppressions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecordTransformations();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
index 2cec4f2c..b2d48c7f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
@@ -41,6 +41,12 @@ private RedactConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private RedactConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RedactConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
index 5f98345c..a87fde0c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
@@ -44,6 +44,12 @@ private RedactImageRequest() {
imageRedactionConfigs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RedactImageRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -93,11 +99,11 @@ private RedactImageRequest(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
imageRedactionConfigs_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
imageRedactionConfigs_.add(
input.readMessage(
@@ -147,7 +153,7 @@ private RedactImageRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_);
}
this.unknownFields = unknownFields.build();
@@ -186,6 +192,8 @@ public interface ImageRedactionConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -199,6 +207,8 @@ public interface ImageRedactionConfigOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -224,6 +234,8 @@ public interface ImageRedactionConfigOrBuilder
*
*
* bool redact_all_text = 2;
+ *
+ * @return The redactAllText.
*/
boolean getRedactAllText();
@@ -236,6 +248,8 @@ public interface ImageRedactionConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return Whether the redactionColor field is set.
*/
boolean hasRedactionColor();
/**
@@ -247,6 +261,8 @@ public interface ImageRedactionConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return The redactionColor.
*/
com.google.privacy.dlp.v2.Color getRedactionColor();
/**
@@ -285,6 +301,12 @@ private ImageRedactionConfig(com.google.protobuf.GeneratedMessageV3.Builder> b
private ImageRedactionConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ImageRedactionConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -298,7 +320,6 @@ private ImageRedactionConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -383,7 +404,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int targetCase_ = 0;
private java.lang.Object target_;
- public enum TargetCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TargetCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INFO_TYPE(1),
REDACT_ALL_TEXT(2),
TARGET_NOT_SET(0);
@@ -392,7 +416,11 @@ public enum TargetCase implements com.google.protobuf.Internal.EnumLite {
private TargetCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TargetCase valueOf(int value) {
return forNumber(value);
@@ -432,6 +460,8 @@ public TargetCase getTargetCase() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return targetCase_ == 1;
@@ -447,6 +477,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (targetCase_ == 1) {
@@ -483,6 +515,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* bool redact_all_text = 2;
+ *
+ * @return The redactAllText.
*/
public boolean getRedactAllText() {
if (targetCase_ == 2) {
@@ -502,6 +536,8 @@ public boolean getRedactAllText() {
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return Whether the redactionColor field is set.
*/
public boolean hasRedactionColor() {
return redactionColor_ != null;
@@ -515,6 +551,8 @@ public boolean hasRedactionColor() {
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return The redactionColor.
*/
public com.google.privacy.dlp.v2.Color getRedactionColor() {
return redactionColor_ == null
@@ -976,6 +1014,8 @@ public Builder clearTarget() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return targetCase_ == 1;
@@ -991,6 +1031,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -1195,6 +1237,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* bool redact_all_text = 2;
+ *
+ * @return The redactAllText.
*/
public boolean getRedactAllText() {
if (targetCase_ == 2) {
@@ -1211,6 +1255,9 @@ public boolean getRedactAllText() {
*
*
* bool redact_all_text = 2;
+ *
+ * @param value The redactAllText to set.
+ * @return This builder for chaining.
*/
public Builder setRedactAllText(boolean value) {
targetCase_ = 2;
@@ -1227,6 +1274,8 @@ public Builder setRedactAllText(boolean value) {
*
*
* bool redact_all_text = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRedactAllText() {
if (targetCase_ == 2) {
@@ -1252,6 +1301,8 @@ public Builder clearRedactAllText() {
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return Whether the redactionColor field is set.
*/
public boolean hasRedactionColor() {
return redactionColorBuilder_ != null || redactionColor_ != null;
@@ -1265,6 +1316,8 @@ public boolean hasRedactionColor() {
*
*
* .google.privacy.dlp.v2.Color redaction_color = 3;
+ *
+ * @return The redactionColor.
*/
public com.google.privacy.dlp.v2.Color getRedactionColor() {
if (redactionColorBuilder_ == null) {
@@ -1482,7 +1535,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -1493,6 +1545,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -1513,6 +1567,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1537,6 +1593,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string location_id = 8;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1558,6 +1616,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 8;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1581,6 +1641,8 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -1593,6 +1655,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -1702,6 +1766,8 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImag
*
*
* bool include_findings = 6;
+ *
+ * @return The includeFindings.
*/
public boolean getIncludeFindings() {
return includeFindings_;
@@ -1717,6 +1783,8 @@ public boolean getIncludeFindings() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return Whether the byteItem field is set.
*/
public boolean hasByteItem() {
return byteItem_ != null;
@@ -1729,6 +1797,8 @@ public boolean hasByteItem() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return The byteItem.
*/
public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
return byteItem_ == null
@@ -2026,7 +2096,7 @@ public Builder clear() {
}
if (imageRedactionConfigsBuilder_ == null) {
imageRedactionConfigs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
imageRedactionConfigsBuilder_.clear();
}
@@ -2066,7 +2136,6 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
com.google.privacy.dlp.v2.RedactImageRequest result =
new com.google.privacy.dlp.v2.RedactImageRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
result.locationId_ = locationId_;
if (inspectConfigBuilder_ == null) {
@@ -2075,9 +2144,9 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
result.inspectConfig_ = inspectConfigBuilder_.build();
}
if (imageRedactionConfigsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.imageRedactionConfigs_ = imageRedactionConfigs_;
} else {
@@ -2089,7 +2158,6 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
} else {
result.byteItem_ = byteItemBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2154,7 +2222,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) {
if (!other.imageRedactionConfigs_.isEmpty()) {
if (imageRedactionConfigs_.isEmpty()) {
imageRedactionConfigs_ = other.imageRedactionConfigs_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureImageRedactionConfigsIsMutable();
imageRedactionConfigs_.addAll(other.imageRedactionConfigs_);
@@ -2167,7 +2235,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) {
imageRedactionConfigsBuilder_.dispose();
imageRedactionConfigsBuilder_ = null;
imageRedactionConfigs_ = other.imageRedactionConfigs_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
imageRedactionConfigsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getImageRedactionConfigsFieldBuilder()
@@ -2223,6 +2291,8 @@ public Builder mergeFrom(
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -2243,6 +2313,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -2263,6 +2335,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -2281,6 +2356,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -2296,6 +2373,9 @@ public Builder clearParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2318,6 +2398,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string location_id = 8;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -2339,6 +2421,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 8;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -2360,6 +2444,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 8;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -2379,6 +2466,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -2395,6 +2484,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 8;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2421,6 +2513,8 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -2433,6 +2527,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
@@ -2593,12 +2689,12 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
imageRedactionConfigs_ = java.util.Collections.emptyList();
private void ensureImageRedactionConfigsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
imageRedactionConfigs_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>(
imageRedactionConfigs_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -2845,7 +2941,7 @@ public Builder addAllImageRedactionConfigs(
public Builder clearImageRedactionConfigs() {
if (imageRedactionConfigsBuilder_ == null) {
imageRedactionConfigs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
imageRedactionConfigsBuilder_.clear();
@@ -2992,7 +3088,7 @@ public Builder removeImageRedactionConfigs(int index) {
com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder,
com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>(
imageRedactionConfigs_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
imageRedactionConfigs_ = null;
@@ -3010,6 +3106,8 @@ public Builder removeImageRedactionConfigs(int index) {
*
*
* bool include_findings = 6;
+ *
+ * @return The includeFindings.
*/
public boolean getIncludeFindings() {
return includeFindings_;
@@ -3023,6 +3121,9 @@ public boolean getIncludeFindings() {
*
*
* bool include_findings = 6;
+ *
+ * @param value The includeFindings to set.
+ * @return This builder for chaining.
*/
public Builder setIncludeFindings(boolean value) {
@@ -3039,6 +3140,8 @@ public Builder setIncludeFindings(boolean value) {
*
*
* bool include_findings = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIncludeFindings() {
@@ -3061,6 +3164,8 @@ public Builder clearIncludeFindings() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return Whether the byteItem field is set.
*/
public boolean hasByteItem() {
return byteItemBuilder_ != null || byteItem_ != null;
@@ -3073,6 +3178,8 @@ public boolean hasByteItem() {
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return The byteItem.
*/
public com.google.privacy.dlp.v2.ByteContentItem getByteItem() {
if (byteItemBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java
index d61f0c6a..6641b0bb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java
@@ -31,6 +31,8 @@ public interface RedactImageRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -41,6 +43,8 @@ public interface RedactImageRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -53,6 +57,8 @@ public interface RedactImageRequestOrBuilder
*
*
* string location_id = 8;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -64,6 +70,8 @@ public interface RedactImageRequestOrBuilder
*
*
* string location_id = 8;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
@@ -75,6 +83,8 @@ public interface RedactImageRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -85,6 +95,8 @@ public interface RedactImageRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
@@ -173,6 +185,8 @@ com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedact
*
*
* bool include_findings = 6;
+ *
+ * @return The includeFindings.
*/
boolean getIncludeFindings();
@@ -184,6 +198,8 @@ com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedact
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return Whether the byteItem field is set.
*/
boolean hasByteItem();
/**
@@ -194,6 +210,8 @@ com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedact
*
*
* .google.privacy.dlp.v2.ByteContentItem byte_item = 7;
+ *
+ * @return The byteItem.
*/
com.google.privacy.dlp.v2.ByteContentItem getByteItem();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
index b9bf3f90..0af31626 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java
@@ -42,6 +42,12 @@ private RedactImageResponse() {
extractedText_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RedactImageResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private RedactImageResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes redacted_image = 1;
+ *
+ * @return The redactedImage.
*/
public com.google.protobuf.ByteString getRedactedImage() {
return redactedImage_;
@@ -155,6 +162,8 @@ public com.google.protobuf.ByteString getRedactedImage() {
*
*
* string extracted_text = 2;
+ *
+ * @return The extractedText.
*/
public java.lang.String getExtractedText() {
java.lang.Object ref = extractedText_;
@@ -177,6 +186,8 @@ public java.lang.String getExtractedText() {
*
*
* string extracted_text = 2;
+ *
+ * @return The bytes for extractedText.
*/
public com.google.protobuf.ByteString getExtractedTextBytes() {
java.lang.Object ref = extractedText_;
@@ -200,6 +211,8 @@ public com.google.protobuf.ByteString getExtractedTextBytes() {
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return Whether the inspectResult field is set.
*/
public boolean hasInspectResult() {
return inspectResult_ != null;
@@ -212,6 +225,8 @@ public boolean hasInspectResult() {
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return The inspectResult.
*/
public com.google.privacy.dlp.v2.InspectResult getInspectResult() {
return inspectResult_ == null
@@ -599,6 +614,8 @@ public Builder mergeFrom(
*
*
* bytes redacted_image = 1;
+ *
+ * @return The redactedImage.
*/
public com.google.protobuf.ByteString getRedactedImage() {
return redactedImage_;
@@ -611,6 +628,9 @@ public com.google.protobuf.ByteString getRedactedImage() {
*
*
* bytes redacted_image = 1;
+ *
+ * @param value The redactedImage to set.
+ * @return This builder for chaining.
*/
public Builder setRedactedImage(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -629,6 +649,8 @@ public Builder setRedactedImage(com.google.protobuf.ByteString value) {
*
*
* bytes redacted_image = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRedactedImage() {
@@ -648,6 +670,8 @@ public Builder clearRedactedImage() {
*
*
* string extracted_text = 2;
+ *
+ * @return The extractedText.
*/
public java.lang.String getExtractedText() {
java.lang.Object ref = extractedText_;
@@ -670,6 +694,8 @@ public java.lang.String getExtractedText() {
*
*
* string extracted_text = 2;
+ *
+ * @return The bytes for extractedText.
*/
public com.google.protobuf.ByteString getExtractedTextBytes() {
java.lang.Object ref = extractedText_;
@@ -692,6 +718,9 @@ public com.google.protobuf.ByteString getExtractedTextBytes() {
*
*
* string extracted_text = 2;
+ *
+ * @param value The extractedText to set.
+ * @return This builder for chaining.
*/
public Builder setExtractedText(java.lang.String value) {
if (value == null) {
@@ -712,6 +741,8 @@ public Builder setExtractedText(java.lang.String value) {
*
*
* string extracted_text = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearExtractedText() {
@@ -729,6 +760,9 @@ public Builder clearExtractedText() {
*
*
* string extracted_text = 2;
+ *
+ * @param value The bytes for extractedText to set.
+ * @return This builder for chaining.
*/
public Builder setExtractedTextBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -755,6 +789,8 @@ public Builder setExtractedTextBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return Whether the inspectResult field is set.
*/
public boolean hasInspectResult() {
return inspectResultBuilder_ != null || inspectResult_ != null;
@@ -767,6 +803,8 @@ public boolean hasInspectResult() {
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return The inspectResult.
*/
public com.google.privacy.dlp.v2.InspectResult getInspectResult() {
if (inspectResultBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java
index fa85fdea..8fef2a09 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java
@@ -31,6 +31,8 @@ public interface RedactImageResponseOrBuilder
*
*
* bytes redacted_image = 1;
+ *
+ * @return The redactedImage.
*/
com.google.protobuf.ByteString getRedactedImage();
@@ -44,6 +46,8 @@ public interface RedactImageResponseOrBuilder
*
*
* string extracted_text = 2;
+ *
+ * @return The extractedText.
*/
java.lang.String getExtractedText();
/**
@@ -56,6 +60,8 @@ public interface RedactImageResponseOrBuilder
*
*
* string extracted_text = 2;
+ *
+ * @return The bytes for extractedText.
*/
com.google.protobuf.ByteString getExtractedTextBytes();
@@ -67,6 +73,8 @@ public interface RedactImageResponseOrBuilder
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return Whether the inspectResult field is set.
*/
boolean hasInspectResult();
/**
@@ -77,6 +85,8 @@ public interface RedactImageResponseOrBuilder
*
*
* .google.privacy.dlp.v2.InspectResult inspect_result = 3;
+ *
+ * @return The inspectResult.
*/
com.google.privacy.dlp.v2.InspectResult getInspectResult();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
index c11ad1f3..bab7b249 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
@@ -44,6 +44,12 @@ private ReidentifyContentRequest() {
locationId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReidentifyContentRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ReidentifyContentRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -190,6 +195,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -212,6 +219,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -243,6 +252,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return Whether the reidentifyConfig field is set.
*/
public boolean hasReidentifyConfig() {
return reidentifyConfig_ != null;
@@ -263,6 +274,8 @@ public boolean hasReidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return The reidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() {
return reidentifyConfig_ == null
@@ -300,6 +313,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfig_ != null;
@@ -312,6 +327,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
return inspectConfig_ == null
@@ -341,6 +358,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return item_ != null;
@@ -353,6 +372,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
@@ -384,6 +405,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -408,6 +431,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -436,6 +461,8 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The reidentifyTemplateName.
*/
public java.lang.String getReidentifyTemplateName() {
java.lang.Object ref = reidentifyTemplateName_;
@@ -461,6 +488,8 @@ public java.lang.String getReidentifyTemplateName() {
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The bytes for reidentifyTemplateName.
*/
public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
java.lang.Object ref = reidentifyTemplateName_;
@@ -485,6 +514,8 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -506,6 +537,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -980,6 +1013,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -1002,6 +1037,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1024,6 +1061,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -1044,6 +1084,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -1061,6 +1103,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1095,6 +1140,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return Whether the reidentifyConfig field is set.
*/
public boolean hasReidentifyConfig() {
return reidentifyConfigBuilder_ != null || reidentifyConfig_ != null;
@@ -1115,6 +1162,8 @@ public boolean hasReidentifyConfig() {
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return The reidentifyConfig.
*/
public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() {
if (reidentifyConfigBuilder_ == null) {
@@ -1341,6 +1390,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
public boolean hasInspectConfig() {
return inspectConfigBuilder_ != null || inspectConfig_ != null;
@@ -1353,6 +1404,8 @@ public boolean hasInspectConfig() {
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() {
if (inspectConfigBuilder_ == null) {
@@ -1523,6 +1576,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return itemBuilder_ != null || item_ != null;
@@ -1535,6 +1590,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
if (itemBuilder_ == null) {
@@ -1699,6 +1756,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
public java.lang.String getInspectTemplateName() {
java.lang.Object ref = inspectTemplateName_;
@@ -1723,6 +1782,8 @@ public java.lang.String getInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
java.lang.Object ref = inspectTemplateName_;
@@ -1747,6 +1808,9 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
*
*
* string inspect_template_name = 5;
+ *
+ * @param value The inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateName(java.lang.String value) {
if (value == null) {
@@ -1769,6 +1833,8 @@ public Builder setInspectTemplateName(java.lang.String value) {
*
*
* string inspect_template_name = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearInspectTemplateName() {
@@ -1788,6 +1854,9 @@ public Builder clearInspectTemplateName() {
*
*
* string inspect_template_name = 5;
+ *
+ * @param value The bytes for inspectTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1814,6 +1883,8 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The reidentifyTemplateName.
*/
public java.lang.String getReidentifyTemplateName() {
java.lang.Object ref = reidentifyTemplateName_;
@@ -1839,6 +1910,8 @@ public java.lang.String getReidentifyTemplateName() {
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The bytes for reidentifyTemplateName.
*/
public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
java.lang.Object ref = reidentifyTemplateName_;
@@ -1864,6 +1937,9 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
*
*
* string reidentify_template_name = 6;
+ *
+ * @param value The reidentifyTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setReidentifyTemplateName(java.lang.String value) {
if (value == null) {
@@ -1887,6 +1963,8 @@ public Builder setReidentifyTemplateName(java.lang.String value) {
*
*
* string reidentify_template_name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearReidentifyTemplateName() {
@@ -1907,6 +1985,9 @@ public Builder clearReidentifyTemplateName() {
*
*
* string reidentify_template_name = 6;
+ *
+ * @param value The bytes for reidentifyTemplateName to set.
+ * @return This builder for chaining.
*/
public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1929,6 +2010,8 @@ public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString val
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
@@ -1950,6 +2033,8 @@ public java.lang.String getLocationId() {
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
public com.google.protobuf.ByteString getLocationIdBytes() {
java.lang.Object ref = locationId_;
@@ -1971,6 +2056,9 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
*
*
* string location_id = 7;
+ *
+ * @param value The locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationId(java.lang.String value) {
if (value == null) {
@@ -1990,6 +2078,8 @@ public Builder setLocationId(java.lang.String value) {
*
*
* string location_id = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocationId() {
@@ -2006,6 +2096,9 @@ public Builder clearLocationId() {
*
*
* string location_id = 7;
+ *
+ * @param value The bytes for locationId to set.
+ * @return This builder for chaining.
*/
public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java
index 01ff49ec..3f46ead2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface ReidentifyContentRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface ReidentifyContentRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -64,6 +68,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return Whether the reidentifyConfig field is set.
*/
boolean hasReidentifyConfig();
/**
@@ -82,6 +88,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
+ *
+ * @return The reidentifyConfig.
*/
com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig();
/**
@@ -111,6 +119,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return Whether the inspectConfig field is set.
*/
boolean hasInspectConfig();
/**
@@ -121,6 +131,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
+ *
+ * @return The inspectConfig.
*/
com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
/**
@@ -142,6 +154,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return Whether the item field is set.
*/
boolean hasItem();
/**
@@ -152,6 +166,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 4;
+ *
+ * @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
@@ -177,6 +193,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string inspect_template_name = 5;
+ *
+ * @return The inspectTemplateName.
*/
java.lang.String getInspectTemplateName();
/**
@@ -191,6 +209,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string inspect_template_name = 5;
+ *
+ * @return The bytes for inspectTemplateName.
*/
com.google.protobuf.ByteString getInspectTemplateNameBytes();
@@ -207,6 +227,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The reidentifyTemplateName.
*/
java.lang.String getReidentifyTemplateName();
/**
@@ -222,6 +244,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string reidentify_template_name = 6;
+ *
+ * @return The bytes for reidentifyTemplateName.
*/
com.google.protobuf.ByteString getReidentifyTemplateNameBytes();
@@ -234,6 +258,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The locationId.
*/
java.lang.String getLocationId();
/**
@@ -245,6 +271,8 @@ public interface ReidentifyContentRequestOrBuilder
*
*
* string location_id = 7;
+ *
+ * @return The bytes for locationId.
*/
com.google.protobuf.ByteString getLocationIdBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
index 0b7ac534..0a62305e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java
@@ -39,6 +39,12 @@ private ReidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder
private ReidentifyContentResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReidentifyContentResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ReidentifyContentResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return item_ != null;
@@ -151,6 +158,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_;
@@ -178,6 +187,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
public boolean hasOverview() {
return overview_ != null;
@@ -190,6 +201,8 @@ public boolean hasOverview() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
return overview_ == null
@@ -581,6 +594,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
public boolean hasItem() {
return itemBuilder_ != null || item_ != null;
@@ -593,6 +608,8 @@ public boolean hasItem() {
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
public com.google.privacy.dlp.v2.ContentItem getItem() {
if (itemBuilder_ == null) {
@@ -758,6 +775,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
public boolean hasOverview() {
return overviewBuilder_ != null || overview_ != null;
@@ -770,6 +789,8 @@ public boolean hasOverview() {
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
public com.google.privacy.dlp.v2.TransformationOverview getOverview() {
if (overviewBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java
index ac3df1e0..d0b9d26d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java
@@ -31,6 +31,8 @@ public interface ReidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return Whether the item field is set.
*/
boolean hasItem();
/**
@@ -41,6 +43,8 @@ public interface ReidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.ContentItem item = 1;
+ *
+ * @return The item.
*/
com.google.privacy.dlp.v2.ContentItem getItem();
/**
@@ -62,6 +66,8 @@ public interface ReidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return Whether the overview field is set.
*/
boolean hasOverview();
/**
@@ -72,6 +78,8 @@ public interface ReidentifyContentResponseOrBuilder
*
*
* .google.privacy.dlp.v2.TransformationOverview overview = 2;
+ *
+ * @return The overview.
*/
com.google.privacy.dlp.v2.TransformationOverview getOverview();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
index c61f5374..5f18a8fe 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java
@@ -184,12 +184,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static RelationalOperator valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static RelationalOperator forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
index 9dc65aab..18f29c6e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
@@ -39,6 +39,12 @@ private ReplaceValueConfig(com.google.protobuf.GeneratedMessageV3.Builder> bui
private ReplaceValueConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReplaceValueConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ReplaceValueConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,6 +127,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return Whether the newValue field is set.
*/
public boolean hasNewValue() {
return newValue_ != null;
@@ -134,6 +141,8 @@ public boolean hasNewValue() {
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return The newValue.
*/
public com.google.privacy.dlp.v2.Value getNewValue() {
return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_;
@@ -493,6 +502,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return Whether the newValue field is set.
*/
public boolean hasNewValue() {
return newValueBuilder_ != null || newValue_ != null;
@@ -505,6 +516,8 @@ public boolean hasNewValue() {
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return The newValue.
*/
public com.google.privacy.dlp.v2.Value getNewValue() {
if (newValueBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java
index 075aa6e9..2a36fd78 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface ReplaceValueConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return Whether the newValue field is set.
*/
boolean hasNewValue();
/**
@@ -41,6 +43,8 @@ public interface ReplaceValueConfigOrBuilder
*
*
* .google.privacy.dlp.v2.Value new_value = 1;
+ *
+ * @return The newValue.
*/
com.google.privacy.dlp.v2.Value getNewValue();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java
index be2cdc51..43d9ba77 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java
@@ -39,6 +39,12 @@ private ReplaceWithInfoTypeConfig(com.google.protobuf.GeneratedMessageV3.Builder
private ReplaceWithInfoTypeConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReplaceWithInfoTypeConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
index b315ead6..598bba50 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java
@@ -42,6 +42,12 @@ private RiskAnalysisJobConfig() {
actions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RiskAnalysisJobConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -100,9 +106,9 @@ private RiskAnalysisJobConfig(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
actions_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
actions_.add(
input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
@@ -122,7 +128,7 @@ private RiskAnalysisJobConfig(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
actions_ = java.util.Collections.unmodifiableList(actions_);
}
this.unknownFields = unknownFields.build();
@@ -145,7 +151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
}
- private int bitField0_;
public static final int PRIVACY_METRIC_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.PrivacyMetric privacyMetric_;
/**
@@ -156,6 +161,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return Whether the privacyMetric field is set.
*/
public boolean hasPrivacyMetric() {
return privacyMetric_ != null;
@@ -168,6 +175,8 @@ public boolean hasPrivacyMetric() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return The privacyMetric.
*/
public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() {
return privacyMetric_ == null
@@ -197,6 +206,8 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
public boolean hasSourceTable() {
return sourceTable_ != null;
@@ -209,6 +220,8 @@ public boolean hasSourceTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return The sourceTable.
*/
public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() {
return sourceTable_ == null
@@ -548,7 +561,7 @@ public Builder clear() {
}
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
actionsBuilder_.clear();
}
@@ -580,7 +593,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
com.google.privacy.dlp.v2.RiskAnalysisJobConfig result =
new com.google.privacy.dlp.v2.RiskAnalysisJobConfig(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (privacyMetricBuilder_ == null) {
result.privacyMetric_ = privacyMetric_;
} else {
@@ -592,15 +604,14 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
result.sourceTable_ = sourceTableBuilder_.build();
}
if (actionsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
actions_ = java.util.Collections.unmodifiableList(actions_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.actions_ = actions_;
} else {
result.actions_ = actionsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -661,7 +672,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other)
if (!other.actions_.isEmpty()) {
if (actions_.isEmpty()) {
actions_ = other.actions_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureActionsIsMutable();
actions_.addAll(other.actions_);
@@ -674,7 +685,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other)
actionsBuilder_.dispose();
actionsBuilder_ = null;
actions_ = other.actions_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
actionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getActionsFieldBuilder()
@@ -729,6 +740,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return Whether the privacyMetric field is set.
*/
public boolean hasPrivacyMetric() {
return privacyMetricBuilder_ != null || privacyMetric_ != null;
@@ -741,6 +754,8 @@ public boolean hasPrivacyMetric() {
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return The privacyMetric.
*/
public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() {
if (privacyMetricBuilder_ == null) {
@@ -911,6 +926,8 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
public boolean hasSourceTable() {
return sourceTableBuilder_ != null || sourceTable_ != null;
@@ -923,6 +940,8 @@ public boolean hasSourceTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return The sourceTable.
*/
public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() {
if (sourceTableBuilder_ == null) {
@@ -1082,9 +1101,9 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder(
java.util.Collections.emptyList();
private void ensureActionsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
actions_ = new java.util.ArrayList(actions_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -1308,7 +1327,7 @@ public Builder addAllActions(
public Builder clearActions() {
if (actionsBuilder_ == null) {
actions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
actionsBuilder_.clear();
@@ -1436,7 +1455,7 @@ public java.util.List getActionsBuilde
com.google.privacy.dlp.v2.Action,
com.google.privacy.dlp.v2.Action.Builder,
com.google.privacy.dlp.v2.ActionOrBuilder>(
- actions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+ actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
actions_ = null;
}
return actionsBuilder_;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
index 687a1ab6..bab5e374 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface RiskAnalysisJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return Whether the privacyMetric field is set.
*/
boolean hasPrivacyMetric();
/**
@@ -41,6 +43,8 @@ public interface RiskAnalysisJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;
+ *
+ * @return The privacyMetric.
*/
com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric();
/**
@@ -62,6 +66,8 @@ public interface RiskAnalysisJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return Whether the sourceTable field is set.
*/
boolean hasSourceTable();
/**
@@ -72,6 +78,8 @@ public interface RiskAnalysisJobConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable source_table = 2;
+ *
+ * @return The sourceTable.
*/
com.google.privacy.dlp.v2.BigQueryTable getSourceTable();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
index 7bfd00e9..95bbd1ff 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
@@ -39,6 +39,12 @@ private Schedule(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Schedule() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Schedule();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Schedule(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -114,7 +119,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int optionCase_ = 0;
private java.lang.Object option_;
- public enum OptionCase implements com.google.protobuf.Internal.EnumLite {
+ public enum OptionCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
RECURRENCE_PERIOD_DURATION(1),
OPTION_NOT_SET(0);
private final int value;
@@ -122,7 +130,11 @@ public enum OptionCase implements com.google.protobuf.Internal.EnumLite {
private OptionCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static OptionCase valueOf(int value) {
return forNumber(value);
@@ -162,6 +174,8 @@ public OptionCase getOptionCase() {
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return Whether the recurrencePeriodDuration field is set.
*/
public boolean hasRecurrencePeriodDuration() {
return optionCase_ == 1;
@@ -179,6 +193,8 @@ public boolean hasRecurrencePeriodDuration() {
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return The recurrencePeriodDuration.
*/
public com.google.protobuf.Duration getRecurrencePeriodDuration() {
if (optionCase_ == 1) {
@@ -582,6 +598,8 @@ public Builder clearOption() {
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return Whether the recurrencePeriodDuration field is set.
*/
public boolean hasRecurrencePeriodDuration() {
return optionCase_ == 1;
@@ -599,6 +617,8 @@ public boolean hasRecurrencePeriodDuration() {
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return The recurrencePeriodDuration.
*/
public com.google.protobuf.Duration getRecurrencePeriodDuration() {
if (recurrencePeriodDurationBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
index 9a12be4d..cf022227 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
@@ -36,6 +36,8 @@ public interface ScheduleOrBuilder
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return Whether the recurrencePeriodDuration field is set.
*/
boolean hasRecurrencePeriodDuration();
/**
@@ -51,6 +53,8 @@ public interface ScheduleOrBuilder
*
*
* .google.protobuf.Duration recurrence_period_duration = 1;
+ *
+ * @return The recurrencePeriodDuration.
*/
com.google.protobuf.Duration getRecurrencePeriodDuration();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
index 13fcf08e..597c0b06 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
@@ -47,6 +47,12 @@ private StatisticalTable() {
quasiIds_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StatisticalTable();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -73,11 +79,11 @@ private StatisticalTable(
break;
case 10:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
quasiIds_.add(
input.readMessage(
@@ -130,7 +136,7 @@ private StatisticalTable(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
}
this.unknownFields = unknownFields.build();
@@ -158,16 +164,32 @@ public interface QuasiIdentifierFieldOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
boolean hasField();
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
com.google.privacy.dlp.v2.FieldId getField();
/** .google.privacy.dlp.v2.FieldId field = 1;
*/
com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
java.lang.String getCustomTag();
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
com.google.protobuf.ByteString getCustomTagBytes();
}
/**
@@ -194,6 +216,12 @@ private QuasiIdentifierField() {
customTag_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QuasiIdentifierField();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -207,7 +235,6 @@ private QuasiIdentifierField(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -277,11 +304,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int FIELD_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.FieldId field_;
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
public boolean hasField() {
return field_ != null;
}
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
}
@@ -292,7 +327,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
public static final int CUSTOM_TAG_FIELD_NUMBER = 2;
private volatile java.lang.Object customTag_;
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -304,7 +343,11 @@ public java.lang.String getCustomTag() {
return s;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof java.lang.String) {
@@ -681,11 +724,19 @@ public Builder mergeFrom(
com.google.privacy.dlp.v2.FieldId.Builder,
com.google.privacy.dlp.v2.FieldIdOrBuilder>
fieldBuilder_;
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return Whether the field field is set.
+ */
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
}
- /** .google.privacy.dlp.v2.FieldId field = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.FieldId field = 1;
+ *
+ * @return The field.
+ */
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -781,7 +832,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
}
private java.lang.Object customTag_ = "";
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The customTag.
+ */
public java.lang.String getCustomTag() {
java.lang.Object ref = customTag_;
if (!(ref instanceof java.lang.String)) {
@@ -793,7 +848,11 @@ public java.lang.String getCustomTag() {
return (java.lang.String) ref;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return The bytes for customTag.
+ */
public com.google.protobuf.ByteString getCustomTagBytes() {
java.lang.Object ref = customTag_;
if (ref instanceof String) {
@@ -805,7 +864,12 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @param value The customTag to set.
+ * @return This builder for chaining.
+ */
public Builder setCustomTag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -815,14 +879,23 @@ public Builder setCustomTag(java.lang.String value) {
onChanged();
return this;
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearCustomTag() {
customTag_ = getDefaultInstance().getCustomTag();
onChanged();
return this;
}
- /** string custom_tag = 2;
*/
+ /**
+ * string custom_tag = 2;
+ *
+ * @param value The bytes for customTag to set.
+ * @return This builder for chaining.
+ */
public Builder setCustomTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -889,7 +962,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int TABLE_FIELD_NUMBER = 3;
private com.google.privacy.dlp.v2.BigQueryTable table_;
/**
@@ -900,6 +972,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return table_ != null;
@@ -912,6 +986,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_;
@@ -1013,6 +1089,8 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
public boolean hasRelativeFrequency() {
return relativeFrequency_ != null;
@@ -1027,6 +1105,8 @@ public boolean hasRelativeFrequency() {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
return relativeFrequency_ == null
@@ -1298,7 +1378,7 @@ public Builder clear() {
}
if (quasiIdsBuilder_ == null) {
quasiIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
quasiIdsBuilder_.clear();
}
@@ -1336,16 +1416,15 @@ public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
com.google.privacy.dlp.v2.StatisticalTable result =
new com.google.privacy.dlp.v2.StatisticalTable(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (tableBuilder_ == null) {
result.table_ = table_;
} else {
result.table_ = tableBuilder_.build();
}
if (quasiIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.quasiIds_ = quasiIds_;
} else {
@@ -1356,7 +1435,6 @@ public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
} else {
result.relativeFrequency_ = relativeFrequencyBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1413,7 +1491,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable other) {
if (!other.quasiIds_.isEmpty()) {
if (quasiIds_.isEmpty()) {
quasiIds_ = other.quasiIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQuasiIdsIsMutable();
quasiIds_.addAll(other.quasiIds_);
@@ -1426,7 +1504,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable other) {
quasiIdsBuilder_.dispose();
quasiIdsBuilder_ = null;
quasiIds_ = other.quasiIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
quasiIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getQuasiIdsFieldBuilder()
@@ -1484,6 +1562,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
public boolean hasTable() {
return tableBuilder_ != null || table_ != null;
@@ -1496,6 +1576,8 @@ public boolean hasTable() {
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
public com.google.privacy.dlp.v2.BigQueryTable getTable() {
if (tableBuilder_ == null) {
@@ -1655,11 +1737,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
quasiIds_ = java.util.Collections.emptyList();
private void ensureQuasiIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
quasiIds_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>(quasiIds_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -1894,7 +1976,7 @@ public Builder addAllQuasiIds(
public Builder clearQuasiIds() {
if (quasiIdsBuilder_ == null) {
quasiIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
quasiIdsBuilder_.clear();
@@ -2031,7 +2113,7 @@ public Builder removeQuasiIds(int index) {
com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField,
com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder,
com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>(
- quasiIds_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
quasiIds_ = null;
}
return quasiIdsBuilder_;
@@ -2053,6 +2135,8 @@ public Builder removeQuasiIds(int index) {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
public boolean hasRelativeFrequency() {
return relativeFrequencyBuilder_ != null || relativeFrequency_ != null;
@@ -2067,6 +2151,8 @@ public boolean hasRelativeFrequency() {
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() {
if (relativeFrequencyBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java
index e7d573e0..5432a1dc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java
@@ -31,6 +31,8 @@ public interface StatisticalTableOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return Whether the table field is set.
*/
boolean hasTable();
/**
@@ -41,6 +43,8 @@ public interface StatisticalTableOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryTable table = 3;
+ *
+ * @return The table.
*/
com.google.privacy.dlp.v2.BigQueryTable getTable();
/**
@@ -122,6 +126,8 @@ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuas
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return Whether the relativeFrequency field is set.
*/
boolean hasRelativeFrequency();
/**
@@ -134,6 +140,8 @@ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuas
*
*
* .google.privacy.dlp.v2.FieldId relative_frequency = 2;
+ *
+ * @return The relativeFrequency.
*/
com.google.privacy.dlp.v2.FieldId getRelativeFrequency();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
index a565d3a2..62e7054c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java
@@ -39,6 +39,12 @@ private StorageConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private StorageConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StorageConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private StorageConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -175,6 +180,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -185,6 +192,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -207,6 +216,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -218,6 +229,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
@@ -251,6 +264,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return Whether the timestampField field is set.
*/
boolean hasTimestampField();
/**
@@ -272,6 +287,8 @@ public interface TimespanConfigOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return The timestampField.
*/
com.google.privacy.dlp.v2.FieldId getTimestampField();
/**
@@ -307,6 +324,8 @@ public interface TimespanConfigOrBuilder
*
*
* bool enable_auto_population_of_timespan_config = 4;
+ *
+ * @return The enableAutoPopulationOfTimespanConfig.
*/
boolean getEnableAutoPopulationOfTimespanConfig();
}
@@ -332,6 +351,12 @@ private TimespanConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder
private TimespanConfig() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimespanConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -345,7 +370,6 @@ private TimespanConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -451,6 +475,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -463,6 +489,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -491,6 +519,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -504,6 +534,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -543,6 +575,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return Whether the timestampField field is set.
*/
public boolean hasTimestampField() {
return timestampField_ != null;
@@ -566,6 +600,8 @@ public boolean hasTimestampField() {
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return The timestampField.
*/
public com.google.privacy.dlp.v2.FieldId getTimestampField() {
return timestampField_ == null
@@ -609,6 +645,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
*
*
* bool enable_auto_population_of_timespan_config = 4;
+ *
+ * @return The enableAutoPopulationOfTimespanConfig.
*/
public boolean getEnableAutoPopulationOfTimespanConfig() {
return enableAutoPopulationOfTimespanConfig_;
@@ -1040,6 +1078,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -1052,6 +1092,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -1222,6 +1264,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -1235,6 +1279,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
@@ -1416,6 +1462,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return Whether the timestampField field is set.
*/
public boolean hasTimestampField() {
return timestampFieldBuilder_ != null || timestampField_ != null;
@@ -1439,6 +1487,8 @@ public boolean hasTimestampField() {
*
*
* .google.privacy.dlp.v2.FieldId timestamp_field = 3;
+ *
+ * @return The timestampField.
*/
public com.google.privacy.dlp.v2.FieldId getTimestampField() {
if (timestampFieldBuilder_ == null) {
@@ -1683,6 +1733,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
*
*
* bool enable_auto_population_of_timespan_config = 4;
+ *
+ * @return The enableAutoPopulationOfTimespanConfig.
*/
public boolean getEnableAutoPopulationOfTimespanConfig() {
return enableAutoPopulationOfTimespanConfig_;
@@ -1698,6 +1750,9 @@ public boolean getEnableAutoPopulationOfTimespanConfig() {
*
*
* bool enable_auto_population_of_timespan_config = 4;
+ *
+ * @param value The enableAutoPopulationOfTimespanConfig to set.
+ * @return This builder for chaining.
*/
public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) {
@@ -1716,6 +1771,8 @@ public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) {
*
*
* bool enable_auto_population_of_timespan_config = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEnableAutoPopulationOfTimespanConfig() {
@@ -1779,7 +1836,10 @@ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getDefaultInstance
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DATASTORE_OPTIONS(2),
CLOUD_STORAGE_OPTIONS(3),
BIG_QUERY_OPTIONS(4),
@@ -1789,7 +1849,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -1828,6 +1892,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return Whether the datastoreOptions field is set.
*/
public boolean hasDatastoreOptions() {
return typeCase_ == 2;
@@ -1840,6 +1906,8 @@ public boolean hasDatastoreOptions() {
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return The datastoreOptions.
*/
public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() {
if (typeCase_ == 2) {
@@ -1872,6 +1940,8 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return Whether the cloudStorageOptions field is set.
*/
public boolean hasCloudStorageOptions() {
return typeCase_ == 3;
@@ -1884,6 +1954,8 @@ public boolean hasCloudStorageOptions() {
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return The cloudStorageOptions.
*/
public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() {
if (typeCase_ == 3) {
@@ -1916,6 +1988,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOpt
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return Whether the bigQueryOptions field is set.
*/
public boolean hasBigQueryOptions() {
return typeCase_ == 4;
@@ -1928,6 +2002,8 @@ public boolean hasBigQueryOptions() {
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return The bigQueryOptions.
*/
public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() {
if (typeCase_ == 4) {
@@ -1953,11 +2029,19 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu
public static final int TIMESPAN_CONFIG_FIELD_NUMBER = 6;
private com.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespanConfig_;
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return Whether the timespanConfig field is set.
+ */
public boolean hasTimespanConfig() {
return timespanConfig_ != null;
}
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return The timespanConfig.
+ */
public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() {
return timespanConfig_ == null
? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance()
@@ -2422,6 +2506,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return Whether the datastoreOptions field is set.
*/
public boolean hasDatastoreOptions() {
return typeCase_ == 2;
@@ -2434,6 +2520,8 @@ public boolean hasDatastoreOptions() {
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return The datastoreOptions.
*/
public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() {
if (datastoreOptionsBuilder_ == null) {
@@ -2624,6 +2712,8 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return Whether the cloudStorageOptions field is set.
*/
public boolean hasCloudStorageOptions() {
return typeCase_ == 3;
@@ -2636,6 +2726,8 @@ public boolean hasCloudStorageOptions() {
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return The cloudStorageOptions.
*/
public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() {
if (cloudStorageOptionsBuilder_ == null) {
@@ -2827,6 +2919,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return Whether the bigQueryOptions field is set.
*/
public boolean hasBigQueryOptions() {
return typeCase_ == 4;
@@ -2839,6 +2933,8 @@ public boolean hasBigQueryOptions() {
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return The bigQueryOptions.
*/
public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() {
if (bigQueryOptionsBuilder_ == null) {
@@ -3022,11 +3118,19 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu
com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder,
com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder>
timespanConfigBuilder_;
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return Whether the timespanConfig field is set.
+ */
public boolean hasTimespanConfig() {
return timespanConfigBuilder_ != null || timespanConfig_ != null;
}
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return The timespanConfig.
+ */
public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() {
if (timespanConfigBuilder_ == null) {
return timespanConfig_ == null
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java
index 55d9e8f6..d3edac2f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return Whether the datastoreOptions field is set.
*/
boolean hasDatastoreOptions();
/**
@@ -41,6 +43,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
+ *
+ * @return The datastoreOptions.
*/
com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions();
/**
@@ -62,6 +66,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return Whether the cloudStorageOptions field is set.
*/
boolean hasCloudStorageOptions();
/**
@@ -72,6 +78,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
+ *
+ * @return The cloudStorageOptions.
*/
com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions();
/**
@@ -93,6 +101,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return Whether the bigQueryOptions field is set.
*/
boolean hasBigQueryOptions();
/**
@@ -103,6 +113,8 @@ public interface StorageConfigOrBuilder
*
*
* .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
+ *
+ * @return The bigQueryOptions.
*/
com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions();
/**
@@ -116,9 +128,17 @@ public interface StorageConfigOrBuilder
*/
com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder();
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return Whether the timespanConfig field is set.
+ */
boolean hasTimespanConfig();
- /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
+ /**
+ * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
+ *
+ * @return The timespanConfig.
+ */
com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig();
/** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
*/
com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
index a0f6c3af..5996c2e9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java
@@ -43,6 +43,12 @@ private StoredInfoType() {
pendingVersions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StoredInfoType();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -92,10 +98,10 @@ private StoredInfoType(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
pendingVersions_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
pendingVersions_.add(
input.readMessage(
@@ -116,7 +122,7 @@ private StoredInfoType(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
pendingVersions_ = java.util.Collections.unmodifiableList(pendingVersions_);
}
this.unknownFields = unknownFields.build();
@@ -139,7 +145,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -150,6 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -170,6 +177,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -193,6 +202,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return Whether the currentVersion field is set.
*/
public boolean hasCurrentVersion() {
return currentVersion_ != null;
@@ -205,6 +216,8 @@ public boolean hasCurrentVersion() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return The currentVersion.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() {
return currentVersion_ == null
@@ -535,7 +548,7 @@ public Builder clear() {
}
if (pendingVersionsBuilder_ == null) {
pendingVersions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
pendingVersionsBuilder_.clear();
}
@@ -567,7 +580,6 @@ public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
com.google.privacy.dlp.v2.StoredInfoType result =
new com.google.privacy.dlp.v2.StoredInfoType(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
if (currentVersionBuilder_ == null) {
result.currentVersion_ = currentVersion_;
@@ -575,15 +587,14 @@ public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
result.currentVersion_ = currentVersionBuilder_.build();
}
if (pendingVersionsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
pendingVersions_ = java.util.Collections.unmodifiableList(pendingVersions_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.pendingVersions_ = pendingVersions_;
} else {
result.pendingVersions_ = pendingVersionsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -644,7 +655,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoType other) {
if (!other.pendingVersions_.isEmpty()) {
if (pendingVersions_.isEmpty()) {
pendingVersions_ = other.pendingVersions_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePendingVersionsIsMutable();
pendingVersions_.addAll(other.pendingVersions_);
@@ -657,7 +668,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoType other) {
pendingVersionsBuilder_.dispose();
pendingVersionsBuilder_ = null;
pendingVersions_ = other.pendingVersions_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
pendingVersionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getPendingVersionsFieldBuilder()
@@ -707,6 +718,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -727,6 +740,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -747,6 +762,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -765,6 +783,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -780,6 +800,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -806,6 +829,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return Whether the currentVersion field is set.
*/
public boolean hasCurrentVersion() {
return currentVersionBuilder_ != null || currentVersion_ != null;
@@ -818,6 +843,8 @@ public boolean hasCurrentVersion() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return The currentVersion.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() {
if (currentVersionBuilder_ == null) {
@@ -978,11 +1005,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio
java.util.Collections.emptyList();
private void ensurePendingVersionsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
pendingVersions_ =
new java.util.ArrayList(
pendingVersions_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
@@ -1212,7 +1239,7 @@ public Builder addAllPendingVersions(
public Builder clearPendingVersions() {
if (pendingVersionsBuilder_ == null) {
pendingVersions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pendingVersionsBuilder_.clear();
@@ -1345,7 +1372,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder,
com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>(
pendingVersions_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
pendingVersions_ = null;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
index 265a352d..953bf1d4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
@@ -44,6 +44,12 @@ private StoredInfoTypeConfig() {
description_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StoredInfoTypeConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private StoredInfoTypeConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,7 +142,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
LARGE_CUSTOM_DICTIONARY(3),
TYPE_NOT_SET(0);
private final int value;
@@ -145,7 +153,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -181,6 +193,8 @@ public TypeCase getTypeCase() {
*
*
* string display_name = 1;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -201,6 +215,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 1;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -224,6 +240,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 2;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -244,6 +262,8 @@ public java.lang.String getDescription() {
*
*
* string description = 2;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -266,6 +286,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
public boolean hasLargeCustomDictionary() {
return typeCase_ == 3;
@@ -278,6 +300,8 @@ public boolean hasLargeCustomDictionary() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return The largeCustomDictionary.
*/
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() {
if (typeCase_ == 3) {
@@ -704,6 +728,8 @@ public Builder clearType() {
*
*
* string display_name = 1;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -724,6 +750,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 1;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -744,6 +772,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 1;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -762,6 +793,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -777,6 +810,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 1;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -798,6 +834,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 2;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -818,6 +856,8 @@ public java.lang.String getDescription() {
*
*
* string description = 2;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -838,6 +878,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 2;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -856,6 +899,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -871,6 +916,9 @@ public Builder clearDescription() {
*
*
* string description = 2;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -896,6 +944,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
public boolean hasLargeCustomDictionary() {
return typeCase_ == 3;
@@ -908,6 +958,8 @@ public boolean hasLargeCustomDictionary() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return The largeCustomDictionary.
*/
public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() {
if (largeCustomDictionaryBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java
index df66ba9f..d9f5407b 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java
@@ -31,6 +31,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* string display_name = 1;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -41,6 +43,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* string display_name = 1;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -52,6 +56,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* string description = 2;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -62,6 +68,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* string description = 2;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -73,6 +81,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
boolean hasLargeCustomDictionary();
/**
@@ -83,6 +93,8 @@ public interface StoredInfoTypeConfigOrBuilder
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
+ *
+ * @return The largeCustomDictionary.
*/
com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java
index fe4c7b59..3de194c5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class StoredInfoTypeName implements ResourceName {
protected StoredInfoTypeName() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeNames.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeNames.java
index 3d870bae..0dc27eb4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeNames.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeNames.java
@@ -16,8 +16,13 @@
package com.google.privacy.dlp.v2;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class StoredInfoTypeNames {
private StoredInfoTypeNames() {}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java
index f00c4a92..d02d72bf 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java
@@ -31,6 +31,8 @@ public interface StoredInfoTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface StoredInfoTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -52,6 +56,8 @@ public interface StoredInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return Whether the currentVersion field is set.
*/
boolean hasCurrentVersion();
/**
@@ -62,6 +68,8 @@ public interface StoredInfoTypeOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;
+ *
+ * @return The currentVersion.
*/
com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
index 46f5b35b..59998f53 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
@@ -130,12 +130,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static StoredInfoTypeState valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static StoredInfoTypeState forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
index 86a78c95..1bfdd058 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
@@ -39,6 +39,12 @@ private StoredInfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder> bu
private StoredInfoTypeStats() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StoredInfoTypeStats();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private StoredInfoTypeStats(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -118,7 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
LARGE_CUSTOM_DICTIONARY(1),
TYPE_NOT_SET(0);
private final int value;
@@ -126,7 +134,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -161,6 +173,8 @@ public TypeCase getTypeCase() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
public boolean hasLargeCustomDictionary() {
return typeCase_ == 1;
@@ -173,6 +187,8 @@ public boolean hasLargeCustomDictionary() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return The largeCustomDictionary.
*/
public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() {
if (typeCase_ == 1) {
@@ -569,6 +585,8 @@ public Builder clearType() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
public boolean hasLargeCustomDictionary() {
return typeCase_ == 1;
@@ -581,6 +599,8 @@ public boolean hasLargeCustomDictionary() {
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return The largeCustomDictionary.
*/
public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() {
if (largeCustomDictionaryBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java
index 15fa10d2..7c9fae1c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java
@@ -31,6 +31,8 @@ public interface StoredInfoTypeStatsOrBuilder
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return Whether the largeCustomDictionary field is set.
*/
boolean hasLargeCustomDictionary();
/**
@@ -41,6 +43,8 @@ public interface StoredInfoTypeStatsOrBuilder
*
*
* .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1;
+ *
+ * @return The largeCustomDictionary.
*/
com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
index 01cff7b8..d93a3c84 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java
@@ -43,6 +43,12 @@ private StoredInfoTypeVersion() {
errors_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StoredInfoTypeVersion();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -107,9 +113,9 @@ private StoredInfoTypeVersion(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
errors_.add(
input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
@@ -145,7 +151,7 @@ private StoredInfoTypeVersion(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
}
this.unknownFields = unknownFields.build();
@@ -168,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
}
- private int bitField0_;
public static final int CONFIG_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_;
/**
@@ -179,6 +184,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return config_ != null;
@@ -191,6 +198,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
return config_ == null
@@ -221,6 +230,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -234,6 +245,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -263,6 +276,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -276,6 +291,8 @@ public int getStateValue() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The state.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
@SuppressWarnings("deprecation")
@@ -408,6 +425,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return Whether the stats field is set.
*/
public boolean hasStats() {
return stats_ != null;
@@ -420,6 +439,8 @@ public boolean hasStats() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return The stats.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() {
return stats_ == null
@@ -719,7 +740,7 @@ public Builder clear() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
errorsBuilder_.clear();
}
@@ -757,7 +778,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
com.google.privacy.dlp.v2.StoredInfoTypeVersion result =
new com.google.privacy.dlp.v2.StoredInfoTypeVersion(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (configBuilder_ == null) {
result.config_ = config_;
} else {
@@ -770,9 +790,9 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
}
result.state_ = state_;
if (errorsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
errors_ = java.util.Collections.unmodifiableList(errors_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.errors_ = errors_;
} else {
@@ -783,7 +803,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
} else {
result.stats_ = statsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -847,7 +866,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other)
if (!other.errors_.isEmpty()) {
if (errors_.isEmpty()) {
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureErrorsIsMutable();
errors_.addAll(other.errors_);
@@ -860,7 +879,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other)
errorsBuilder_.dispose();
errorsBuilder_ = null;
errors_ = other.errors_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
errorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getErrorsFieldBuilder()
@@ -918,6 +937,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
@@ -930,6 +951,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
if (configBuilder_ == null) {
@@ -1101,6 +1124,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -1114,6 +1139,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1284,6 +1311,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -1297,6 +1326,9 @@ public int getStateValue() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -1312,6 +1344,8 @@ public Builder setStateValue(int value) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The state.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
@SuppressWarnings("deprecation")
@@ -1328,6 +1362,9 @@ public com.google.privacy.dlp.v2.StoredInfoTypeState getState() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.privacy.dlp.v2.StoredInfoTypeState value) {
if (value == null) {
@@ -1347,6 +1384,8 @@ public Builder setState(com.google.privacy.dlp.v2.StoredInfoTypeState value) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -1359,9 +1398,9 @@ public Builder clearState() {
java.util.Collections.emptyList();
private void ensureErrorsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
errors_ = new java.util.ArrayList(errors_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -1684,7 +1723,7 @@ public Builder addAllErrors(
public Builder clearErrors() {
if (errorsBuilder_ == null) {
errors_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
errorsBuilder_.clear();
@@ -1875,7 +1914,7 @@ public java.util.List getErrorsBuilderL
com.google.privacy.dlp.v2.Error,
com.google.privacy.dlp.v2.Error.Builder,
com.google.privacy.dlp.v2.ErrorOrBuilder>(
- errors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+ errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
errors_ = null;
}
return errorsBuilder_;
@@ -1895,6 +1934,8 @@ public java.util.List getErrorsBuilderL
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return Whether the stats field is set.
*/
public boolean hasStats() {
return statsBuilder_ != null || stats_ != null;
@@ -1907,6 +1948,8 @@ public boolean hasStats() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return The stats.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() {
if (statsBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java
index c5397ca9..346f9417 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java
@@ -31,6 +31,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return Whether the config field is set.
*/
boolean hasConfig();
/**
@@ -41,6 +43,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
+ *
+ * @return The config.
*/
com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig();
/**
@@ -63,6 +67,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -74,6 +80,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -97,6 +105,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -108,6 +118,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeState state = 3;
+ *
+ * @return The state.
*/
com.google.privacy.dlp.v2.StoredInfoTypeState getState();
@@ -220,6 +232,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return Whether the stats field is set.
*/
boolean hasStats();
/**
@@ -230,6 +244,8 @@ public interface StoredInfoTypeVersionOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
+ *
+ * @return The stats.
*/
com.google.privacy.dlp.v2.StoredInfoTypeStats getStats();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
index 5a7a4396..c4dc8f12 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java
@@ -41,6 +41,12 @@ private StoredType() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StoredType();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private StoredType(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -155,6 +162,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -192,6 +203,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -562,6 +575,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -584,6 +599,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -606,6 +623,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -626,6 +646,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -643,6 +665,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -670,6 +695,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -683,6 +710,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
index faa470dd..ad2776ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
@@ -33,6 +33,8 @@ public interface StoredTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface StoredTypeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -57,6 +61,8 @@ public interface StoredTypeOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -68,6 +74,8 @@ public interface StoredTypeOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 2;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
index eee1ebaa..10f9b7c1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
@@ -44,6 +44,12 @@ private Table() {
rows_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Table();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -159,6 +165,12 @@ private Row() {
values_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Row();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
index e445df8f..9eef7cc5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java
@@ -39,6 +39,12 @@ private TableLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private TableLocation() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TableLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private TableLocation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -112,6 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 row_index = 1;
+ *
+ * @return The rowIndex.
*/
public long getRowIndex() {
return rowIndex_;
@@ -440,6 +447,8 @@ public Builder mergeFrom(
*
*
* int64 row_index = 1;
+ *
+ * @return The rowIndex.
*/
public long getRowIndex() {
return rowIndex_;
@@ -452,6 +461,9 @@ public long getRowIndex() {
*
*
* int64 row_index = 1;
+ *
+ * @param value The rowIndex to set.
+ * @return This builder for chaining.
*/
public Builder setRowIndex(long value) {
@@ -467,6 +479,8 @@ public Builder setRowIndex(long value) {
*
*
* int64 row_index = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowIndex() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java
index 8156ec7c..12bc1a81 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java
@@ -31,6 +31,8 @@ public interface TableLocationOrBuilder
*
*
* int64 row_index = 1;
+ *
+ * @return The rowIndex.
*/
long getRowIndex();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
index 0d6ede65..6d2b206a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java
@@ -42,6 +42,12 @@ private TimePartConfig() {
partToExtract_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimePartConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private TimePartConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -245,12 +250,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TimePart valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TimePart forNumber(int value) {
switch (value) {
case 0:
@@ -318,11 +331,19 @@ private TimePart(int value) {
public static final int PART_TO_EXTRACT_FIELD_NUMBER = 1;
private int partToExtract_;
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The enum numeric value on the wire for partToExtract.
+ */
public int getPartToExtractValue() {
return partToExtract_;
}
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The partToExtract.
+ */
public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TimePartConfig.TimePart result =
@@ -648,17 +669,30 @@ public Builder mergeFrom(
}
private int partToExtract_ = 0;
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The enum numeric value on the wire for partToExtract.
+ */
public int getPartToExtractValue() {
return partToExtract_;
}
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @param value The enum numeric value on the wire for partToExtract to set.
+ * @return This builder for chaining.
+ */
public Builder setPartToExtractValue(int value) {
partToExtract_ = value;
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The partToExtract.
+ */
public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() {
@SuppressWarnings("deprecation")
com.google.privacy.dlp.v2.TimePartConfig.TimePart result =
@@ -667,7 +701,12 @@ public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() {
? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED
: result;
}
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @param value The partToExtract to set.
+ * @return This builder for chaining.
+ */
public Builder setPartToExtract(com.google.privacy.dlp.v2.TimePartConfig.TimePart value) {
if (value == null) {
throw new NullPointerException();
@@ -677,7 +716,11 @@ public Builder setPartToExtract(com.google.privacy.dlp.v2.TimePartConfig.TimePar
onChanged();
return this;
}
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearPartToExtract() {
partToExtract_ = 0;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java
index 900d6707..a7b571ee 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java
@@ -23,8 +23,16 @@ public interface TimePartConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TimePartConfig)
com.google.protobuf.MessageOrBuilder {
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The enum numeric value on the wire for partToExtract.
+ */
int getPartToExtractValue();
- /** .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
*/
+ /**
+ * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1;
+ *
+ * @return The partToExtract.
+ */
com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
index a2e5d986..0b69c2c1 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java
@@ -41,6 +41,12 @@ private TransformationOverview() {
transformationSummaries_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransformationOverview();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -72,10 +78,10 @@ private TransformationOverview(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
transformationSummaries_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
transformationSummaries_.add(
input.readMessage(
@@ -96,7 +102,7 @@ private TransformationOverview(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
transformationSummaries_ = java.util.Collections.unmodifiableList(transformationSummaries_);
}
this.unknownFields = unknownFields.build();
@@ -119,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.privacy.dlp.v2.TransformationOverview.Builder.class);
}
- private int bitField0_;
public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 2;
private long transformedBytes_;
/**
@@ -130,6 +135,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 transformed_bytes = 2;
+ *
+ * @return The transformedBytes.
*/
public long getTransformedBytes() {
return transformedBytes_;
@@ -430,7 +437,7 @@ public Builder clear() {
if (transformationSummariesBuilder_ == null) {
transformationSummaries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
transformationSummariesBuilder_.clear();
}
@@ -462,19 +469,17 @@ public com.google.privacy.dlp.v2.TransformationOverview buildPartial() {
com.google.privacy.dlp.v2.TransformationOverview result =
new com.google.privacy.dlp.v2.TransformationOverview(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.transformedBytes_ = transformedBytes_;
if (transformationSummariesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
transformationSummaries_ =
java.util.Collections.unmodifiableList(transformationSummaries_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.transformationSummaries_ = transformationSummaries_;
} else {
result.transformationSummaries_ = transformationSummariesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -532,7 +537,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other)
if (!other.transformationSummaries_.isEmpty()) {
if (transformationSummaries_.isEmpty()) {
transformationSummaries_ = other.transformationSummaries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransformationSummariesIsMutable();
transformationSummaries_.addAll(other.transformationSummaries_);
@@ -545,7 +550,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other)
transformationSummariesBuilder_.dispose();
transformationSummariesBuilder_ = null;
transformationSummaries_ = other.transformationSummaries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
transformationSummariesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTransformationSummariesFieldBuilder()
@@ -595,6 +600,8 @@ public Builder mergeFrom(
*
*
* int64 transformed_bytes = 2;
+ *
+ * @return The transformedBytes.
*/
public long getTransformedBytes() {
return transformedBytes_;
@@ -607,6 +614,9 @@ public long getTransformedBytes() {
*
*
* int64 transformed_bytes = 2;
+ *
+ * @param value The transformedBytes to set.
+ * @return This builder for chaining.
*/
public Builder setTransformedBytes(long value) {
@@ -622,6 +632,8 @@ public Builder setTransformedBytes(long value) {
*
*
* int64 transformed_bytes = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTransformedBytes() {
@@ -634,11 +646,11 @@ public Builder clearTransformedBytes() {
transformationSummaries_ = java.util.Collections.emptyList();
private void ensureTransformationSummariesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
transformationSummaries_ =
new java.util.ArrayList(
transformationSummaries_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
@@ -869,7 +881,7 @@ public Builder addAllTransformationSummaries(
public Builder clearTransformationSummaries() {
if (transformationSummariesBuilder_ == null) {
transformationSummaries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
transformationSummariesBuilder_.clear();
@@ -1003,7 +1015,7 @@ public Builder removeTransformationSummaries(int index) {
com.google.privacy.dlp.v2.TransformationSummary.Builder,
com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>(
transformationSummaries_,
- ((bitField0_ & 0x00000002) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
transformationSummaries_ = null;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java
index 42d8a90b..30988243 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java
@@ -31,6 +31,8 @@ public interface TransformationOverviewOrBuilder
*
*
* int64 transformed_bytes = 2;
+ *
+ * @return The transformedBytes.
*/
long getTransformedBytes();
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
index e0d0b8a6..67e7fd10 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
@@ -44,6 +44,12 @@ private TransformationSummary() {
results_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransformationSummary();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -117,11 +123,11 @@ private TransformationSummary(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
results_ =
new java.util.ArrayList<
com.google.privacy.dlp.v2.TransformationSummary.SummaryResult>();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000002;
}
results_.add(
input.readMessage(
@@ -131,10 +137,10 @@ private TransformationSummary(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fieldTransformations_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
fieldTransformations_.add(
input.readMessage(
@@ -176,10 +182,10 @@ private TransformationSummary(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
}
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
fieldTransformations_ = java.util.Collections.unmodifiableList(fieldTransformations_);
}
this.unknownFields = unknownFields.build();
@@ -236,12 +242,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TransformationResultCode valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TransformationResultCode forNumber(int value) {
switch (value) {
case 0:
@@ -307,15 +321,23 @@ public interface SummaryResultOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationSummary.SummaryResult)
com.google.protobuf.MessageOrBuilder {
- /** int64 count = 1;
*/
+ /**
+ * int64 count = 1;
+ *
+ * @return The count.
+ */
long getCount();
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
+ *
+ * @return The enum numeric value on the wire for code.
*/
int getCodeValue();
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
+ *
+ * @return The code.
*/
com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode();
@@ -328,6 +350,8 @@ public interface SummaryResultOrBuilder
*
*
* string details = 3;
+ *
+ * @return The details.
*/
java.lang.String getDetails();
/**
@@ -339,6 +363,8 @@ public interface SummaryResultOrBuilder
*
*
* string details = 3;
+ *
+ * @return The bytes for details.
*/
com.google.protobuf.ByteString getDetailsBytes();
}
@@ -367,6 +393,12 @@ private SummaryResult() {
details_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SummaryResult();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -380,7 +412,6 @@ private SummaryResult(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -446,7 +477,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int COUNT_FIELD_NUMBER = 1;
private long count_;
- /** int64 count = 1;
*/
+ /**
+ * int64 count = 1;
+ *
+ * @return The count.
+ */
public long getCount() {
return count_;
}
@@ -455,12 +490,16 @@ public long getCount() {
private int code_;
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
+ *
+ * @return The enum numeric value on the wire for code.
*/
public int getCodeValue() {
return code_;
}
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
+ *
+ * @return The code.
*/
public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() {
@SuppressWarnings("deprecation")
@@ -482,6 +521,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
*
*
* string details = 3;
+ *
+ * @return The details.
*/
public java.lang.String getDetails() {
java.lang.Object ref = details_;
@@ -503,6 +544,8 @@ public java.lang.String getDetails() {
*
*
* string details = 3;
+ *
+ * @return The bytes for details.
*/
public com.google.protobuf.ByteString getDetailsBytes() {
java.lang.Object ref = details_;
@@ -881,18 +924,31 @@ public Builder mergeFrom(
}
private long count_;
- /** int64 count = 1;
*/
+ /**
+ * int64 count = 1;
+ *
+ * @return The count.
+ */
public long getCount() {
return count_;
}
- /** int64 count = 1;
*/
+ /**
+ * int64 count = 1;
+ *
+ * @param value The count to set.
+ * @return This builder for chaining.
+ */
public Builder setCount(long value) {
count_ = value;
onChanged();
return this;
}
- /** int64 count = 1;
*/
+ /**
+ * int64 count = 1;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearCount() {
count_ = 0L;
@@ -904,6 +960,8 @@ public Builder clearCount() {
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
*
+ *
+ * @return The enum numeric value on the wire for code.
*/
public int getCodeValue() {
return code_;
@@ -911,6 +969,9 @@ public int getCodeValue() {
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
*
+ *
+ * @param value The enum numeric value on the wire for code to set.
+ * @return This builder for chaining.
*/
public Builder setCodeValue(int value) {
code_ = value;
@@ -920,6 +981,8 @@ public Builder setCodeValue(int value) {
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
*
+ *
+ * @return The code.
*/
public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() {
@SuppressWarnings("deprecation")
@@ -932,6 +995,9 @@ public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
*
+ *
+ * @param value The code to set.
+ * @return This builder for chaining.
*/
public Builder setCode(
com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode value) {
@@ -946,6 +1012,8 @@ public Builder setCode(
/**
* .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearCode() {
@@ -964,6 +1032,8 @@ public Builder clearCode() {
*
*
* string details = 3;
+ *
+ * @return The details.
*/
public java.lang.String getDetails() {
java.lang.Object ref = details_;
@@ -985,6 +1055,8 @@ public java.lang.String getDetails() {
*
*
* string details = 3;
+ *
+ * @return The bytes for details.
*/
public com.google.protobuf.ByteString getDetailsBytes() {
java.lang.Object ref = details_;
@@ -1006,6 +1078,9 @@ public com.google.protobuf.ByteString getDetailsBytes() {
*
*
* string details = 3;
+ *
+ * @param value The details to set.
+ * @return This builder for chaining.
*/
public Builder setDetails(java.lang.String value) {
if (value == null) {
@@ -1025,6 +1100,8 @@ public Builder setDetails(java.lang.String value) {
*
*
* string details = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDetails() {
@@ -1041,6 +1118,9 @@ public Builder clearDetails() {
*
*
* string details = 3;
+ *
+ * @param value The bytes for details to set.
+ * @return This builder for chaining.
*/
public Builder setDetailsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1108,7 +1188,6 @@ public com.google.protobuf.Parser getParserForType() {
}
}
- private int bitField0_;
public static final int INFO_TYPE_FIELD_NUMBER = 1;
private com.google.privacy.dlp.v2.InfoType infoType_;
/**
@@ -1119,6 +1198,8 @@ public com.google.protobuf.Parser getParserForType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoType_ != null;
@@ -1131,6 +1212,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
@@ -1158,6 +1241,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return field_ != null;
@@ -1170,6 +1255,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
@@ -1197,6 +1284,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return Whether the transformation field is set.
*/
public boolean hasTransformation() {
return transformation_ != null;
@@ -1209,6 +1298,8 @@ public boolean hasTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return The transformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() {
return transformation_ == null
@@ -1314,6 +1405,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return Whether the recordSuppress field is set.
*/
public boolean hasRecordSuppress() {
return recordSuppress_ != null;
@@ -1326,6 +1419,8 @@ public boolean hasRecordSuppress() {
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return The recordSuppress.
*/
public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() {
return recordSuppress_ == null
@@ -1392,6 +1487,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder ge
*
*
* int64 transformed_bytes = 7;
+ *
+ * @return The transformedBytes.
*/
public long getTransformedBytes() {
return transformedBytes_;
@@ -1705,7 +1802,7 @@ public Builder clear() {
}
if (fieldTransformationsBuilder_ == null) {
fieldTransformations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
fieldTransformationsBuilder_.clear();
}
@@ -1717,7 +1814,7 @@ public Builder clear() {
}
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
resultsBuilder_.clear();
}
@@ -1751,7 +1848,6 @@ public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
com.google.privacy.dlp.v2.TransformationSummary result =
new com.google.privacy.dlp.v2.TransformationSummary(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (infoTypeBuilder_ == null) {
result.infoType_ = infoType_;
} else {
@@ -1768,9 +1864,9 @@ public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
result.transformation_ = transformationBuilder_.build();
}
if (fieldTransformationsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
fieldTransformations_ = java.util.Collections.unmodifiableList(fieldTransformations_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.fieldTransformations_ = fieldTransformations_;
} else {
@@ -1782,16 +1878,15 @@ public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
result.recordSuppress_ = recordSuppressBuilder_.build();
}
if (resultsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
result.transformedBytes_ = transformedBytes_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1855,7 +1950,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
if (!other.fieldTransformations_.isEmpty()) {
if (fieldTransformations_.isEmpty()) {
fieldTransformations_ = other.fieldTransformations_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFieldTransformationsIsMutable();
fieldTransformations_.addAll(other.fieldTransformations_);
@@ -1868,7 +1963,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
fieldTransformationsBuilder_.dispose();
fieldTransformationsBuilder_ = null;
fieldTransformations_ = other.fieldTransformations_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
fieldTransformationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getFieldTransformationsFieldBuilder()
@@ -1885,7 +1980,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
@@ -1898,7 +1993,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getResultsFieldBuilder()
@@ -1956,6 +2051,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
public boolean hasInfoType() {
return infoTypeBuilder_ != null || infoType_ != null;
@@ -1968,6 +2065,8 @@ public boolean hasInfoType() {
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
public com.google.privacy.dlp.v2.InfoType getInfoType() {
if (infoTypeBuilder_ == null) {
@@ -2137,6 +2236,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
public boolean hasField() {
return fieldBuilder_ != null || field_ != null;
@@ -2149,6 +2250,8 @@ public boolean hasField() {
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
public com.google.privacy.dlp.v2.FieldId getField() {
if (fieldBuilder_ == null) {
@@ -2312,6 +2415,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return Whether the transformation field is set.
*/
public boolean hasTransformation() {
return transformationBuilder_ != null || transformation_ != null;
@@ -2324,6 +2429,8 @@ public boolean hasTransformation() {
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return The transformation.
*/
public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() {
if (transformationBuilder_ == null) {
@@ -2484,11 +2591,11 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
java.util.Collections.emptyList();
private void ensureFieldTransformationsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
fieldTransformations_ =
new java.util.ArrayList(
fieldTransformations_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
@@ -2729,7 +2836,7 @@ public Builder addAllFieldTransformations(
public Builder clearFieldTransformations() {
if (fieldTransformationsBuilder_ == null) {
fieldTransformations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fieldTransformationsBuilder_.clear();
@@ -2869,7 +2976,7 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
com.google.privacy.dlp.v2.FieldTransformation.Builder,
com.google.privacy.dlp.v2.FieldTransformationOrBuilder>(
fieldTransformations_,
- ((bitField0_ & 0x00000008) != 0),
+ ((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fieldTransformations_ = null;
@@ -2891,6 +2998,8 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return Whether the recordSuppress field is set.
*/
public boolean hasRecordSuppress() {
return recordSuppressBuilder_ != null || recordSuppress_ != null;
@@ -2903,6 +3012,8 @@ public boolean hasRecordSuppress() {
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return The recordSuppress.
*/
public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() {
if (recordSuppressBuilder_ == null) {
@@ -3063,11 +3174,11 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
results_ =
new java.util.ArrayList(
results_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000002;
}
}
@@ -3223,7 +3334,7 @@ public Builder addAllResults(
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
resultsBuilder_.clear();
@@ -3311,7 +3422,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder add
com.google.privacy.dlp.v2.TransformationSummary.SummaryResult,
com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder,
com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>(
- results_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+ results_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
results_ = null;
}
return resultsBuilder_;
@@ -3326,6 +3437,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder add
*
*
* int64 transformed_bytes = 7;
+ *
+ * @return The transformedBytes.
*/
public long getTransformedBytes() {
return transformedBytes_;
@@ -3338,6 +3451,9 @@ public long getTransformedBytes() {
*
*
* int64 transformed_bytes = 7;
+ *
+ * @param value The transformedBytes to set.
+ * @return This builder for chaining.
*/
public Builder setTransformedBytes(long value) {
@@ -3353,6 +3469,8 @@ public Builder setTransformedBytes(long value) {
*
*
* int64 transformed_bytes = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTransformedBytes() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
index d2e4b116..5d8e61c3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java
@@ -31,6 +31,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return Whether the infoType field is set.
*/
boolean hasInfoType();
/**
@@ -41,6 +43,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.InfoType info_type = 1;
+ *
+ * @return The infoType.
*/
com.google.privacy.dlp.v2.InfoType getInfoType();
/**
@@ -62,6 +66,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -72,6 +78,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.FieldId field = 2;
+ *
+ * @return The field.
*/
com.google.privacy.dlp.v2.FieldId getField();
/**
@@ -93,6 +101,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return Whether the transformation field is set.
*/
boolean hasTransformation();
/**
@@ -103,6 +113,8 @@ public interface TransformationSummaryOrBuilder
*
*
* .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3;
+ *
+ * @return The transformation.
*/
com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation();
/**
@@ -187,6 +199,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return Whether the recordSuppress field is set.
*/
boolean hasRecordSuppress();
/**
@@ -197,6 +211,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
*
*
* .google.privacy.dlp.v2.RecordSuppression record_suppress = 6;
+ *
+ * @return The recordSuppress.
*/
com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress();
/**
@@ -241,6 +257,8 @@ com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResult
*
*
* int64 transformed_bytes = 7;
+ *
+ * @return The transformedBytes.
*/
long getTransformedBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
index 577b480e..d4ff8fd2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java
@@ -42,6 +42,12 @@ private TransientCryptoKey() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransientCryptoKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private TransientCryptoKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -122,6 +127,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -147,6 +154,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -491,6 +500,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -516,6 +527,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -541,6 +554,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -564,6 +580,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -584,6 +602,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java
index b782824a..e33bb1aa 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java
@@ -36,6 +36,8 @@ public interface TransientCryptoKeyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -51,6 +53,8 @@ public interface TransientCryptoKeyOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedDeidentifyTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedDeidentifyTemplateName.java
index 8fc4ea3e..62765f5a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedDeidentifyTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedDeidentifyTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedDeidentifyTemplateName extends DeidentifyTemplateName {
private final String rawValue;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedInspectTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedInspectTemplateName.java
index 3c802ec9..e0589212 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedInspectTemplateName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedInspectTemplateName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedInspectTemplateName extends InspectTemplateName {
private final String rawValue;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedStoredInfoTypeName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedStoredInfoTypeName.java
index 31844e69..1f9a095c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedStoredInfoTypeName.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UntypedStoredInfoTypeName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedStoredInfoTypeName extends StoredInfoTypeName {
private final String rawValue;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
index 44ea8fc3..5099eeb2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java
@@ -42,6 +42,12 @@ private UnwrappedCryptoKey() {
key_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UnwrappedCryptoKey();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private UnwrappedCryptoKey(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -115,6 +120,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -445,6 +452,8 @@ public Builder mergeFrom(
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
public com.google.protobuf.ByteString getKey() {
return key_;
@@ -457,6 +466,9 @@ public com.google.protobuf.ByteString getKey() {
*
*
* bytes key = 1;
+ *
+ * @param value The key to set.
+ * @return This builder for chaining.
*/
public Builder setKey(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -475,6 +487,8 @@ public Builder setKey(com.google.protobuf.ByteString value) {
*
*
* bytes key = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearKey() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java
index 635600ff..84c15f11 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java
@@ -31,6 +31,8 @@ public interface UnwrappedCryptoKeyOrBuilder
*
*
* bytes key = 1;
+ *
+ * @return The key.
*/
com.google.protobuf.ByteString getKey();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
index 251b93ce..ba3df571 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java
@@ -42,6 +42,12 @@ private UpdateDeidentifyTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateDeidentifyTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private UpdateDeidentifyTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -152,6 +157,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -176,6 +183,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -199,6 +208,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
public boolean hasDeidentifyTemplate() {
return deidentifyTemplate_ != null;
@@ -211,6 +222,8 @@ public boolean hasDeidentifyTemplate() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
return deidentifyTemplate_ == null
@@ -240,6 +253,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -252,6 +267,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -657,6 +674,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -681,6 +700,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -705,6 +726,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -727,6 +751,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -746,6 +772,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -772,6 +801,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
public boolean hasDeidentifyTemplate() {
return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null;
@@ -784,6 +815,8 @@ public boolean hasDeidentifyTemplate() {
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() {
if (deidentifyTemplateBuilder_ == null) {
@@ -954,6 +987,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -966,6 +1001,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java
index ab18fe75..2c56eecc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -60,6 +64,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return Whether the deidentifyTemplate field is set.
*/
boolean hasDeidentifyTemplate();
/**
@@ -70,6 +76,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
+ *
+ * @return The deidentifyTemplate.
*/
com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate();
/**
@@ -91,6 +99,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -101,6 +111,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
index 92ab2103..54ee6291 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java
@@ -41,6 +41,12 @@ private UpdateInspectTemplateRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateInspectTemplateRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private UpdateInspectTemplateRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -175,6 +182,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -198,6 +207,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
public boolean hasInspectTemplate() {
return inspectTemplate_ != null;
@@ -210,6 +221,8 @@ public boolean hasInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
return inspectTemplate_ == null
@@ -239,6 +252,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -251,6 +266,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -656,6 +673,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -680,6 +699,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -704,6 +725,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -726,6 +750,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -745,6 +771,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -771,6 +800,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
public boolean hasInspectTemplate() {
return inspectTemplateBuilder_ != null || inspectTemplate_ != null;
@@ -783,6 +814,8 @@ public boolean hasInspectTemplate() {
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() {
if (inspectTemplateBuilder_ == null) {
@@ -953,6 +986,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -965,6 +1000,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java
index 547d3af1..de530aeb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -60,6 +64,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return Whether the inspectTemplate field is set.
*/
boolean hasInspectTemplate();
/**
@@ -70,6 +76,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
*
* .google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
+ *
+ * @return The inspectTemplate.
*/
com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate();
/**
@@ -91,6 +99,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -101,6 +111,8 @@ public interface UpdateInspectTemplateRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
index 670acadf..32137eff 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java
@@ -41,6 +41,12 @@ private UpdateJobTriggerRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateJobTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private UpdateJobTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -150,6 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -173,6 +180,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -196,6 +205,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
public boolean hasJobTrigger() {
return jobTrigger_ != null;
@@ -208,6 +219,8 @@ public boolean hasJobTrigger() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
return jobTrigger_ == null
@@ -237,6 +250,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -249,6 +264,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -652,6 +669,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -675,6 +694,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -698,6 +719,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -719,6 +743,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -737,6 +763,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -763,6 +792,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
public boolean hasJobTrigger() {
return jobTriggerBuilder_ != null || jobTrigger_ != null;
@@ -775,6 +806,8 @@ public boolean hasJobTrigger() {
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() {
if (jobTriggerBuilder_ == null) {
@@ -944,6 +977,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -956,6 +991,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java
index 72f93126..9a18dab0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java
@@ -34,6 +34,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return Whether the jobTrigger field is set.
*/
boolean hasJobTrigger();
/**
@@ -68,6 +74,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
*
* .google.privacy.dlp.v2.JobTrigger job_trigger = 2;
+ *
+ * @return The jobTrigger.
*/
com.google.privacy.dlp.v2.JobTrigger getJobTrigger();
/**
@@ -89,6 +97,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -99,6 +109,8 @@ public interface UpdateJobTriggerRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
index 8cfea812..c36e19ee 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java
@@ -41,6 +41,12 @@ private UpdateStoredInfoTypeRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateStoredInfoTypeRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private UpdateStoredInfoTypeRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -175,6 +182,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -200,6 +209,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return config_ != null;
@@ -214,6 +225,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
return config_ == null
@@ -245,6 +258,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -257,6 +272,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -662,6 +679,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -686,6 +705,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -710,6 +731,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -732,6 +756,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -751,6 +777,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -779,6 +808,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
@@ -793,6 +824,8 @@ public boolean hasConfig() {
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() {
if (configBuilder_ == null) {
@@ -977,6 +1010,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -989,6 +1024,8 @@ public boolean hasUpdateMask() {
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java
index 90da5a6c..27f3a89f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -62,6 +66,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return Whether the config field is set.
*/
boolean hasConfig();
/**
@@ -74,6 +80,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
*
* .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
+ *
+ * @return The config.
*/
com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig();
/**
@@ -97,6 +105,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -107,6 +117,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
*
*
* .google.protobuf.FieldMask update_mask = 3;
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java
index 40c0c558..c53e94b3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java
@@ -44,6 +44,12 @@ private Value(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Value() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Value();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private Value(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -178,7 +183,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int typeCase_ = 0;
private java.lang.Object type_;
- public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TypeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
INTEGER_VALUE(1),
FLOAT_VALUE(2),
STRING_VALUE(3),
@@ -193,7 +201,11 @@ public enum TypeCase implements com.google.protobuf.Internal.EnumLite {
private TypeCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TypeCase valueOf(int value) {
return forNumber(value);
@@ -234,7 +246,11 @@ public TypeCase getTypeCase() {
}
public static final int INTEGER_VALUE_FIELD_NUMBER = 1;
- /** int64 integer_value = 1;
*/
+ /**
+ * int64 integer_value = 1;
+ *
+ * @return The integerValue.
+ */
public long getIntegerValue() {
if (typeCase_ == 1) {
return (java.lang.Long) type_;
@@ -243,7 +259,11 @@ public long getIntegerValue() {
}
public static final int FLOAT_VALUE_FIELD_NUMBER = 2;
- /** double float_value = 2;
*/
+ /**
+ * double float_value = 2;
+ *
+ * @return The floatValue.
+ */
public double getFloatValue() {
if (typeCase_ == 2) {
return (java.lang.Double) type_;
@@ -252,7 +272,11 @@ public double getFloatValue() {
}
public static final int STRING_VALUE_FIELD_NUMBER = 3;
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The stringValue.
+ */
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -269,7 +293,11 @@ public java.lang.String getStringValue() {
return s;
}
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The bytes for stringValue.
+ */
public com.google.protobuf.ByteString getStringValueBytes() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -288,7 +316,11 @@ public com.google.protobuf.ByteString getStringValueBytes() {
}
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 4;
- /** bool boolean_value = 4;
*/
+ /**
+ * bool boolean_value = 4;
+ *
+ * @return The booleanValue.
+ */
public boolean getBooleanValue() {
if (typeCase_ == 4) {
return (java.lang.Boolean) type_;
@@ -297,11 +329,19 @@ public boolean getBooleanValue() {
}
public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5;
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return Whether the timestampValue field is set.
+ */
public boolean hasTimestampValue() {
return typeCase_ == 5;
}
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return The timestampValue.
+ */
public com.google.protobuf.Timestamp getTimestampValue() {
if (typeCase_ == 5) {
return (com.google.protobuf.Timestamp) type_;
@@ -317,11 +357,19 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
}
public static final int TIME_VALUE_FIELD_NUMBER = 6;
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return Whether the timeValue field is set.
+ */
public boolean hasTimeValue() {
return typeCase_ == 6;
}
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return The timeValue.
+ */
public com.google.type.TimeOfDay getTimeValue() {
if (typeCase_ == 6) {
return (com.google.type.TimeOfDay) type_;
@@ -337,11 +385,19 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
}
public static final int DATE_VALUE_FIELD_NUMBER = 7;
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return Whether the dateValue field is set.
+ */
public boolean hasDateValue() {
return typeCase_ == 7;
}
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return The dateValue.
+ */
public com.google.type.Date getDateValue() {
if (typeCase_ == 7) {
return (com.google.type.Date) type_;
@@ -357,14 +413,22 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() {
}
public static final int DAY_OF_WEEK_VALUE_FIELD_NUMBER = 8;
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The enum numeric value on the wire for dayOfWeekValue.
+ */
public int getDayOfWeekValueValue() {
if (typeCase_ == 8) {
return (java.lang.Integer) type_;
}
return 0;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The dayOfWeekValue.
+ */
public com.google.type.DayOfWeek getDayOfWeekValue() {
if (typeCase_ == 8) {
@SuppressWarnings("deprecation")
@@ -905,21 +969,34 @@ public Builder clearType() {
return this;
}
- /** int64 integer_value = 1;
*/
+ /**
+ * int64 integer_value = 1;
+ *
+ * @return The integerValue.
+ */
public long getIntegerValue() {
if (typeCase_ == 1) {
return (java.lang.Long) type_;
}
return 0L;
}
- /** int64 integer_value = 1;
*/
+ /**
+ * int64 integer_value = 1;
+ *
+ * @param value The integerValue to set.
+ * @return This builder for chaining.
+ */
public Builder setIntegerValue(long value) {
typeCase_ = 1;
type_ = value;
onChanged();
return this;
}
- /** int64 integer_value = 1;
*/
+ /**
+ * int64 integer_value = 1;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearIntegerValue() {
if (typeCase_ == 1) {
typeCase_ = 0;
@@ -929,21 +1006,34 @@ public Builder clearIntegerValue() {
return this;
}
- /** double float_value = 2;
*/
+ /**
+ * double float_value = 2;
+ *
+ * @return The floatValue.
+ */
public double getFloatValue() {
if (typeCase_ == 2) {
return (java.lang.Double) type_;
}
return 0D;
}
- /** double float_value = 2;
*/
+ /**
+ * double float_value = 2;
+ *
+ * @param value The floatValue to set.
+ * @return This builder for chaining.
+ */
public Builder setFloatValue(double value) {
typeCase_ = 2;
type_ = value;
onChanged();
return this;
}
- /** double float_value = 2;
*/
+ /**
+ * double float_value = 2;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearFloatValue() {
if (typeCase_ == 2) {
typeCase_ = 0;
@@ -953,7 +1043,11 @@ public Builder clearFloatValue() {
return this;
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The stringValue.
+ */
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -970,7 +1064,11 @@ public java.lang.String getStringValue() {
return (java.lang.String) ref;
}
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The bytes for stringValue.
+ */
public com.google.protobuf.ByteString getStringValueBytes() {
java.lang.Object ref = "";
if (typeCase_ == 3) {
@@ -987,7 +1085,12 @@ public com.google.protobuf.ByteString getStringValueBytes() {
return (com.google.protobuf.ByteString) ref;
}
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @param value The stringValue to set.
+ * @return This builder for chaining.
+ */
public Builder setStringValue(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
@@ -997,7 +1100,11 @@ public Builder setStringValue(java.lang.String value) {
onChanged();
return this;
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearStringValue() {
if (typeCase_ == 3) {
typeCase_ = 0;
@@ -1006,7 +1113,12 @@ public Builder clearStringValue() {
}
return this;
}
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @param value The bytes for stringValue to set.
+ * @return This builder for chaining.
+ */
public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -1018,21 +1130,34 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
return this;
}
- /** bool boolean_value = 4;
*/
+ /**
+ * bool boolean_value = 4;
+ *
+ * @return The booleanValue.
+ */
public boolean getBooleanValue() {
if (typeCase_ == 4) {
return (java.lang.Boolean) type_;
}
return false;
}
- /** bool boolean_value = 4;
*/
+ /**
+ * bool boolean_value = 4;
+ *
+ * @param value The booleanValue to set.
+ * @return This builder for chaining.
+ */
public Builder setBooleanValue(boolean value) {
typeCase_ = 4;
type_ = value;
onChanged();
return this;
}
- /** bool boolean_value = 4;
*/
+ /**
+ * bool boolean_value = 4;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearBooleanValue() {
if (typeCase_ == 4) {
typeCase_ = 0;
@@ -1047,11 +1172,19 @@ public Builder clearBooleanValue() {
com.google.protobuf.Timestamp.Builder,
com.google.protobuf.TimestampOrBuilder>
timestampValueBuilder_;
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return Whether the timestampValue field is set.
+ */
public boolean hasTimestampValue() {
return typeCase_ == 5;
}
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return The timestampValue.
+ */
public com.google.protobuf.Timestamp getTimestampValue() {
if (timestampValueBuilder_ == null) {
if (typeCase_ == 5) {
@@ -1172,11 +1305,19 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
com.google.type.TimeOfDay.Builder,
com.google.type.TimeOfDayOrBuilder>
timeValueBuilder_;
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return Whether the timeValue field is set.
+ */
public boolean hasTimeValue() {
return typeCase_ == 6;
}
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return The timeValue.
+ */
public com.google.type.TimeOfDay getTimeValue() {
if (timeValueBuilder_ == null) {
if (typeCase_ == 6) {
@@ -1295,11 +1436,19 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() {
private com.google.protobuf.SingleFieldBuilderV3<
com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
dateValueBuilder_;
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return Whether the dateValue field is set.
+ */
public boolean hasDateValue() {
return typeCase_ == 7;
}
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return The dateValue.
+ */
public com.google.type.Date getDateValue() {
if (dateValueBuilder_ == null) {
if (typeCase_ == 7) {
@@ -1411,21 +1560,34 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() {
return dateValueBuilder_;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The enum numeric value on the wire for dayOfWeekValue.
+ */
public int getDayOfWeekValueValue() {
if (typeCase_ == 8) {
return ((java.lang.Integer) type_).intValue();
}
return 0;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @param value The enum numeric value on the wire for dayOfWeekValue to set.
+ * @return This builder for chaining.
+ */
public Builder setDayOfWeekValueValue(int value) {
typeCase_ = 8;
type_ = value;
onChanged();
return this;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The dayOfWeekValue.
+ */
public com.google.type.DayOfWeek getDayOfWeekValue() {
if (typeCase_ == 8) {
@SuppressWarnings("deprecation")
@@ -1435,7 +1597,12 @@ public com.google.type.DayOfWeek getDayOfWeekValue() {
}
return com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @param value The dayOfWeekValue to set.
+ * @return This builder for chaining.
+ */
public Builder setDayOfWeekValue(com.google.type.DayOfWeek value) {
if (value == null) {
throw new NullPointerException();
@@ -1445,7 +1612,11 @@ public Builder setDayOfWeekValue(com.google.type.DayOfWeek value) {
onChanged();
return this;
}
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return This builder for chaining.
+ */
public Builder clearDayOfWeekValue() {
if (typeCase_ == 8) {
typeCase_ = 0;
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
index 07d9b6d7..4266587d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java
@@ -39,6 +39,12 @@ private ValueFrequency(com.google.protobuf.GeneratedMessageV3.Builder> builder
private ValueFrequency() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ValueFrequency();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ValueFrequency(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return value_ != null;
@@ -139,6 +146,8 @@ public boolean hasValue() {
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return The value.
*/
public com.google.privacy.dlp.v2.Value getValue() {
return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_;
@@ -166,6 +175,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -527,6 +538,8 @@ public Builder mergeFrom(
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
@@ -539,6 +552,8 @@ public boolean hasValue() {
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return The value.
*/
public com.google.privacy.dlp.v2.Value getValue() {
if (valueBuilder_ == null) {
@@ -697,6 +712,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() {
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -709,6 +726,9 @@ public long getCount() {
*
*
* int64 count = 2;
+ *
+ * @param value The count to set.
+ * @return This builder for chaining.
*/
public Builder setCount(long value) {
@@ -724,6 +744,8 @@ public Builder setCount(long value) {
*
*
* int64 count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCount() {
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java
index 4f57b4d7..2a9b97b8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java
@@ -31,6 +31,8 @@ public interface ValueFrequencyOrBuilder
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return Whether the value field is set.
*/
boolean hasValue();
/**
@@ -41,6 +43,8 @@ public interface ValueFrequencyOrBuilder
*
*
* .google.privacy.dlp.v2.Value value = 1;
+ *
+ * @return The value.
*/
com.google.privacy.dlp.v2.Value getValue();
/**
@@ -62,6 +66,8 @@ public interface ValueFrequencyOrBuilder
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
long getCount();
}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java
index 0e3d43a2..700167d3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java
@@ -23,44 +23,96 @@ public interface ValueOrBuilder
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Value)
com.google.protobuf.MessageOrBuilder {
- /** int64 integer_value = 1;
*/
+ /**
+ * int64 integer_value = 1;
+ *
+ * @return The integerValue.
+ */
long getIntegerValue();
- /** double float_value = 2;
*/
+ /**
+ * double float_value = 2;
+ *
+ * @return The floatValue.
+ */
double getFloatValue();
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The stringValue.
+ */
java.lang.String getStringValue();
- /** string string_value = 3;
*/
+ /**
+ * string string_value = 3;
+ *
+ * @return The bytes for stringValue.
+ */
com.google.protobuf.ByteString getStringValueBytes();
- /** bool boolean_value = 4;
*/
+ /**
+ * bool boolean_value = 4;
+ *
+ * @return The booleanValue.
+ */
boolean getBooleanValue();
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return Whether the timestampValue field is set.
+ */
boolean hasTimestampValue();
- /** .google.protobuf.Timestamp timestamp_value = 5;
*/
+ /**
+ * .google.protobuf.Timestamp timestamp_value = 5;
+ *
+ * @return The timestampValue.
+ */
com.google.protobuf.Timestamp getTimestampValue();
/** .google.protobuf.Timestamp timestamp_value = 5;
*/
com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return Whether the timeValue field is set.
+ */
boolean hasTimeValue();
- /** .google.type.TimeOfDay time_value = 6;
*/
+ /**
+ * .google.type.TimeOfDay time_value = 6;
+ *
+ * @return The timeValue.
+ */
com.google.type.TimeOfDay getTimeValue();
/** .google.type.TimeOfDay time_value = 6;
*/
com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder();
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return Whether the dateValue field is set.
+ */
boolean hasDateValue();
- /** .google.type.Date date_value = 7;
*/
+ /**
+ * .google.type.Date date_value = 7;
+ *
+ * @return The dateValue.
+ */
com.google.type.Date getDateValue();
/** .google.type.Date date_value = 7;
*/
com.google.type.DateOrBuilder getDateValueOrBuilder();
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The enum numeric value on the wire for dayOfWeekValue.
+ */
int getDayOfWeekValueValue();
- /** .google.type.DayOfWeek day_of_week_value = 8;
*/
+ /**
+ * .google.type.DayOfWeek day_of_week_value = 8;
+ *
+ * @return The dayOfWeekValue.
+ */
com.google.type.DayOfWeek getDayOfWeekValue();
public com.google.privacy.dlp.v2.Value.TypeCase getTypeCase();
diff --git a/synth.metadata b/synth.metadata
index eef30ab3..a5679318 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-11-27T08:46:57.547327Z",
+ "updateTime": "2019-12-12T08:42:52.244837Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.42.1",
- "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
+ "version": "0.42.2",
+ "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "d8896a3d8a191702a9e39f29cf4c2e16fa05f76d",
- "internalRef": "282674885"
+ "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8",
+ "internalRef": "285013366"
}
},
{