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

Commit

Permalink
chore: regenerate with updated protoc (#167)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/edde2ae8-988f-4790-916d-873296fc352f/targets

PiperOrigin-RevId: 313460921
Source-Link: googleapis/googleapis@c4e3701
  • Loading branch information
yoshi-automation committed Jun 3, 2020
1 parent 9489960 commit f0e3d5e
Show file tree
Hide file tree
Showing 29 changed files with 256 additions and 5 deletions.
Expand Up @@ -139,6 +139,10 @@ public CompressionType findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down
Expand Up @@ -373,6 +373,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The maxDiffEntries.
*/
@java.lang.Override
public int getMaxDiffEntries() {
return maxDiffEntries_;
}
Expand All @@ -392,6 +393,7 @@ public int getMaxDiffEntries() {
*
* @return The maxDatabaseEntries.
*/
@java.lang.Override
public int getMaxDatabaseEntries() {
return maxDatabaseEntries_;
}
Expand Down Expand Up @@ -421,6 +423,7 @@ public com.google.webrisk.v1.CompressionType convert(java.lang.Integer from) {
*
* @return A list containing the supportedCompressions.
*/
@java.lang.Override
public java.util.List<com.google.webrisk.v1.CompressionType> getSupportedCompressionsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.google.webrisk.v1.CompressionType>(
Expand All @@ -437,6 +440,7 @@ public java.util.List<com.google.webrisk.v1.CompressionType> getSupportedCompres
*
* @return The count of supportedCompressions.
*/
@java.lang.Override
public int getSupportedCompressionsCount() {
return supportedCompressions_.size();
}
Expand All @@ -452,6 +456,7 @@ public int getSupportedCompressionsCount() {
* @param index The index of the element to return.
* @return The supportedCompressions at the given index.
*/
@java.lang.Override
public com.google.webrisk.v1.CompressionType getSupportedCompressions(int index) {
return supportedCompressions_converter_.convert(supportedCompressions_.get(index));
}
Expand All @@ -466,6 +471,7 @@ public com.google.webrisk.v1.CompressionType getSupportedCompressions(int index)
*
* @return A list containing the enum numeric values on the wire for supportedCompressions.
*/
@java.lang.Override
public java.util.List<java.lang.Integer> getSupportedCompressionsValueList() {
return supportedCompressions_;
}
Expand All @@ -481,6 +487,7 @@ public java.util.List<java.lang.Integer> getSupportedCompressionsValueList() {
* @param index The index of the value to return.
* @return The enum numeric value on the wire of supportedCompressions at the given index.
*/
@java.lang.Override
public int getSupportedCompressionsValue(int index) {
return supportedCompressions_.get(index);
}
Expand Down Expand Up @@ -889,6 +896,7 @@ public Builder mergeFrom(
*
* @return The maxDiffEntries.
*/
@java.lang.Override
public int getMaxDiffEntries() {
return maxDiffEntries_;
}
Expand Down Expand Up @@ -946,6 +954,7 @@ public Builder clearMaxDiffEntries() {
*
* @return The maxDatabaseEntries.
*/
@java.lang.Override
public int getMaxDatabaseEntries() {
return maxDatabaseEntries_;
}
Expand Down Expand Up @@ -1284,6 +1293,7 @@ public com.google.protobuf.Parser<Constraints> getParserForType() {
*
* @return The enum numeric value on the wire for threatType.
*/
@java.lang.Override
public int getThreatTypeValue() {
return threatType_;
}
Expand All @@ -1300,6 +1310,7 @@ public int getThreatTypeValue() {
*
* @return The threatType.
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatType getThreatType() {
@SuppressWarnings("deprecation")
com.google.webrisk.v1.ThreatType result = com.google.webrisk.v1.ThreatType.valueOf(threatType_);
Expand All @@ -1323,6 +1334,7 @@ public com.google.webrisk.v1.ThreatType getThreatType() {
*
* @return The versionToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString getVersionToken() {
return versionToken_;
}
Expand All @@ -1342,6 +1354,7 @@ public com.google.protobuf.ByteString getVersionToken() {
*
* @return Whether the constraints field is set.
*/
@java.lang.Override
public boolean hasConstraints() {
return constraints_ != null;
}
Expand All @@ -1358,6 +1371,7 @@ public boolean hasConstraints() {
*
* @return The constraints.
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffRequest.Constraints getConstraints() {
return constraints_ == null
? com.google.webrisk.v1.ComputeThreatListDiffRequest.Constraints.getDefaultInstance()
Expand All @@ -1374,6 +1388,7 @@ public com.google.webrisk.v1.ComputeThreatListDiffRequest.Constraints getConstra
* .google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffRequest.ConstraintsOrBuilder
getConstraintsOrBuilder() {
return getConstraints();
Expand Down Expand Up @@ -1753,6 +1768,7 @@ public Builder mergeFrom(
*
* @return The enum numeric value on the wire for threatType.
*/
@java.lang.Override
public int getThreatTypeValue() {
return threatType_;
}
Expand All @@ -1771,6 +1787,7 @@ public int getThreatTypeValue() {
* @return This builder for chaining.
*/
public Builder setThreatTypeValue(int value) {

threatType_ = value;
onChanged();
return this;
Expand All @@ -1788,6 +1805,7 @@ public Builder setThreatTypeValue(int value) {
*
* @return The threatType.
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatType getThreatType() {
@SuppressWarnings("deprecation")
com.google.webrisk.v1.ThreatType result =
Expand Down Expand Up @@ -1853,6 +1871,7 @@ public Builder clearThreatType() {
*
* @return The versionToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString getVersionToken() {
return versionToken_;
}
Expand Down
Expand Up @@ -299,6 +299,10 @@ public ResponseType findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down Expand Up @@ -457,6 +461,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The sha256.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSha256() {
return sha256_;
}
Expand Down Expand Up @@ -799,6 +804,7 @@ public Builder mergeFrom(
*
* @return The sha256.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSha256() {
return sha256_;
}
Expand Down Expand Up @@ -913,6 +919,7 @@ public com.google.protobuf.Parser<Checksum> getParserForType() {
*
* @return The enum numeric value on the wire for responseType.
*/
@java.lang.Override
public int getResponseTypeValue() {
return responseType_;
}
Expand All @@ -929,6 +936,7 @@ public int getResponseTypeValue() {
*
* @return The responseType.
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffResponse.ResponseType getResponseType() {
@SuppressWarnings("deprecation")
com.google.webrisk.v1.ComputeThreatListDiffResponse.ResponseType result =
Expand All @@ -951,6 +959,7 @@ public com.google.webrisk.v1.ComputeThreatListDiffResponse.ResponseType getRespo
*
* @return Whether the additions field is set.
*/
@java.lang.Override
public boolean hasAdditions() {
return additions_ != null;
}
Expand All @@ -965,6 +974,7 @@ public boolean hasAdditions() {
*
* @return The additions.
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatEntryAdditions getAdditions() {
return additions_ == null
? com.google.webrisk.v1.ThreatEntryAdditions.getDefaultInstance()
Expand All @@ -979,6 +989,7 @@ public com.google.webrisk.v1.ThreatEntryAdditions getAdditions() {
*
* <code>.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;</code>
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder() {
return getAdditions();
}
Expand All @@ -997,6 +1008,7 @@ public com.google.webrisk.v1.ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder
*
* @return Whether the removals field is set.
*/
@java.lang.Override
public boolean hasRemovals() {
return removals_ != null;
}
Expand All @@ -1012,6 +1024,7 @@ public boolean hasRemovals() {
*
* @return The removals.
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatEntryRemovals getRemovals() {
return removals_ == null
? com.google.webrisk.v1.ThreatEntryRemovals.getDefaultInstance()
Expand All @@ -1027,6 +1040,7 @@ public com.google.webrisk.v1.ThreatEntryRemovals getRemovals() {
*
* <code>.google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;</code>
*/
@java.lang.Override
public com.google.webrisk.v1.ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder() {
return getRemovals();
}
Expand All @@ -1046,6 +1060,7 @@ public com.google.webrisk.v1.ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder()
*
* @return The newVersionToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNewVersionToken() {
return newVersionToken_;
}
Expand All @@ -1066,6 +1081,7 @@ public com.google.protobuf.ByteString getNewVersionToken() {
*
* @return Whether the checksum field is set.
*/
@java.lang.Override
public boolean hasChecksum() {
return checksum_ != null;
}
Expand All @@ -1083,6 +1099,7 @@ public boolean hasChecksum() {
*
* @return The checksum.
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffResponse.Checksum getChecksum() {
return checksum_ == null
? com.google.webrisk.v1.ComputeThreatListDiffResponse.Checksum.getDefaultInstance()
Expand All @@ -1100,6 +1117,7 @@ public com.google.webrisk.v1.ComputeThreatListDiffResponse.Checksum getChecksum(
*
* <code>.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;</code>
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffResponse.ChecksumOrBuilder
getChecksumOrBuilder() {
return getChecksum();
Expand All @@ -1121,6 +1139,7 @@ public com.google.webrisk.v1.ComputeThreatListDiffResponse.Checksum getChecksum(
*
* @return Whether the recommendedNextDiff field is set.
*/
@java.lang.Override
public boolean hasRecommendedNextDiff() {
return recommendedNextDiff_ != null;
}
Expand All @@ -1138,6 +1157,7 @@ public boolean hasRecommendedNextDiff() {
*
* @return The recommendedNextDiff.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getRecommendedNextDiff() {
return recommendedNextDiff_ == null
? com.google.protobuf.Timestamp.getDefaultInstance()
Expand All @@ -1155,6 +1175,7 @@ public com.google.protobuf.Timestamp getRecommendedNextDiff() {
*
* <code>.google.protobuf.Timestamp recommended_next_diff = 2;</code>
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getRecommendedNextDiffOrBuilder() {
return getRecommendedNextDiff();
}
Expand Down Expand Up @@ -1615,6 +1636,7 @@ public Builder mergeFrom(
*
* @return The enum numeric value on the wire for responseType.
*/
@java.lang.Override
public int getResponseTypeValue() {
return responseType_;
}
Expand All @@ -1633,6 +1655,7 @@ public int getResponseTypeValue() {
* @return This builder for chaining.
*/
public Builder setResponseTypeValue(int value) {

responseType_ = value;
onChanged();
return this;
Expand All @@ -1650,6 +1673,7 @@ public Builder setResponseTypeValue(int value) {
*
* @return The responseType.
*/
@java.lang.Override
public com.google.webrisk.v1.ComputeThreatListDiffResponse.ResponseType getResponseType() {
@SuppressWarnings("deprecation")
com.google.webrisk.v1.ComputeThreatListDiffResponse.ResponseType result =
Expand Down Expand Up @@ -2096,6 +2120,7 @@ public com.google.webrisk.v1.ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder()
*
* @return The newVersionToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNewVersionToken() {
return newVersionToken_;
}
Expand Down
Expand Up @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The parent.
*/
@java.lang.Override
public java.lang.String getParent() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand All @@ -167,6 +168,7 @@ public java.lang.String getParent() {
*
* @return The bytes for parent.
*/
@java.lang.Override
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
if (ref instanceof java.lang.String) {
Expand Down Expand Up @@ -194,6 +196,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* @return Whether the submission field is set.
*/
@java.lang.Override
public boolean hasSubmission() {
return submission_ != null;
}
Expand All @@ -210,6 +213,7 @@ public boolean hasSubmission() {
*
* @return The submission.
*/
@java.lang.Override
public com.google.webrisk.v1.Submission getSubmission() {
return submission_ == null
? com.google.webrisk.v1.Submission.getDefaultInstance()
Expand All @@ -226,6 +230,7 @@ public com.google.webrisk.v1.Submission getSubmission() {
* .google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.webrisk.v1.SubmissionOrBuilder getSubmissionOrBuilder() {
return getSubmission();
}
Expand Down

0 comments on commit f0e3d5e

Please sign in to comment.