WIP: upgrade deps
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: google/rpc/error_details.proto
|
||||
|
||||
// Protobuf Java Version: 3.25.6
|
||||
package com.google.rpc;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Describes how a quota check failed.
|
||||
*
|
||||
* For example if a daily limit was exceeded for the calling project,
|
||||
* a service could respond with a QuotaFailure detail containing the project
|
||||
* id and the description of the quota limit that was exceeded. If the
|
||||
* calling project hasn't enabled the service in the developer console, then
|
||||
* a service could respond with the project id and set `service_disabled`
|
||||
* to true.
|
||||
*
|
||||
* Also see RetryDetail and Help types for other details about handling a
|
||||
* quota failure.
|
||||
* </pre>
|
||||
@@ -38,61 +41,6 @@ private static final long serialVersionUID = 0L;
|
||||
return new QuotaFailure();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private QuotaFailure(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
violations_ = new java.util.ArrayList<com.google.rpc.QuotaFailure.Violation>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
violations_.add(
|
||||
input.readMessage(com.google.rpc.QuotaFailure.Violation.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
violations_ = java.util.Collections.unmodifiableList(violations_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_QuotaFailure_descriptor;
|
||||
@@ -140,6 +88,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -154,6 +103,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -193,60 +143,6 @@ private static final long serialVersionUID = 0L;
|
||||
return new Violation();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private Violation(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
subject_ = s;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
description_ = s;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_QuotaFailure_Violation_descriptor;
|
||||
@@ -261,7 +157,8 @@ private static final long serialVersionUID = 0L;
|
||||
}
|
||||
|
||||
public static final int SUBJECT_FIELD_NUMBER = 1;
|
||||
private volatile java.lang.Object subject_;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object subject_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
* The subject on which the quota check failed.
|
||||
@@ -311,13 +208,15 @@ private static final long serialVersionUID = 0L;
|
||||
}
|
||||
|
||||
public static final int DESCRIPTION_FIELD_NUMBER = 2;
|
||||
private volatile java.lang.Object description_;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object description_ = "";
|
||||
/**
|
||||
* <pre>
|
||||
* A description of how the quota check failed. Clients can use this
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -344,6 +243,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -380,13 +280,13 @@ private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!getSubjectBytes().isEmpty()) {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subject_);
|
||||
}
|
||||
if (!getDescriptionBytes().isEmpty()) {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -395,13 +295,13 @@ private static final long serialVersionUID = 0L;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (!getSubjectBytes().isEmpty()) {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subject_);
|
||||
}
|
||||
if (!getDescriptionBytes().isEmpty()) {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
@@ -420,7 +320,7 @@ private static final long serialVersionUID = 0L;
|
||||
.equals(other.getSubject())) return false;
|
||||
if (!getDescription()
|
||||
.equals(other.getDescription())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -435,7 +335,7 @@ private static final long serialVersionUID = 0L;
|
||||
hash = (53 * hash) + getSubject().hashCode();
|
||||
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDescription().hashCode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
@@ -484,11 +384,13 @@ private static final long serialVersionUID = 0L;
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static com.google.rpc.QuotaFailure.Violation parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static com.google.rpc.QuotaFailure.Violation parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
@@ -557,26 +459,20 @@ private static final long serialVersionUID = 0L;
|
||||
|
||||
// Construct using com.google.rpc.QuotaFailure.Violation.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
subject_ = "";
|
||||
|
||||
description_ = "";
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -603,12 +499,21 @@ private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public com.google.rpc.QuotaFailure.Violation buildPartial() {
|
||||
com.google.rpc.QuotaFailure.Violation result = new com.google.rpc.QuotaFailure.Violation(this);
|
||||
result.subject_ = subject_;
|
||||
result.description_ = description_;
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.google.rpc.QuotaFailure.Violation result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.subject_ = subject_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.description_ = description_;
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
@@ -655,13 +560,15 @@ private static final long serialVersionUID = 0L;
|
||||
if (other == com.google.rpc.QuotaFailure.Violation.getDefaultInstance()) return this;
|
||||
if (!other.getSubject().isEmpty()) {
|
||||
subject_ = other.subject_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.getDescription().isEmpty()) {
|
||||
description_ = other.description_;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -676,19 +583,43 @@ private static final long serialVersionUID = 0L;
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.google.rpc.QuotaFailure.Violation parsedMessage = null;
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
subject_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
description_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 18
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.google.rpc.QuotaFailure.Violation) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private java.lang.Object subject_ = "";
|
||||
/**
|
||||
@@ -749,11 +680,9 @@ private static final long serialVersionUID = 0L;
|
||||
*/
|
||||
public Builder setSubject(
|
||||
java.lang.String value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
subject_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -768,8 +697,8 @@ private static final long serialVersionUID = 0L;
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSubject() {
|
||||
|
||||
subject_ = getDefaultInstance().getSubject();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -786,12 +715,10 @@ private static final long serialVersionUID = 0L;
|
||||
*/
|
||||
public Builder setSubjectBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
subject_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -803,6 +730,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -828,6 +756,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -854,6 +783,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -864,11 +794,9 @@ private static final long serialVersionUID = 0L;
|
||||
*/
|
||||
public Builder setDescription(
|
||||
java.lang.String value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
description_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -878,6 +806,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -886,8 +815,8 @@ private static final long serialVersionUID = 0L;
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDescription() {
|
||||
|
||||
description_ = getDefaultInstance().getDescription();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -897,6 +826,7 @@ private static final long serialVersionUID = 0L;
|
||||
* description to find more about the quota configuration in the service's
|
||||
* public documentation, or find the relevant quota limit to adjust through
|
||||
* developer console.
|
||||
*
|
||||
* For example: "Service disabled" or "Daily Limit for read operations
|
||||
* exceeded".
|
||||
* </pre>
|
||||
@@ -907,12 +837,10 @@ private static final long serialVersionUID = 0L;
|
||||
*/
|
||||
public Builder setDescriptionBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
description_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -949,7 +877,18 @@ private static final long serialVersionUID = 0L;
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new Violation(input, extensionRegistry);
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -970,6 +909,7 @@ private static final long serialVersionUID = 0L;
|
||||
}
|
||||
|
||||
public static final int VIOLATIONS_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private java.util.List<com.google.rpc.QuotaFailure.Violation> violations_;
|
||||
/**
|
||||
* <pre>
|
||||
@@ -1046,7 +986,7 @@ private static final long serialVersionUID = 0L;
|
||||
for (int i = 0; i < violations_.size(); i++) {
|
||||
output.writeMessage(1, violations_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -1059,7 +999,7 @@ private static final long serialVersionUID = 0L;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, violations_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
@@ -1076,7 +1016,7 @@ private static final long serialVersionUID = 0L;
|
||||
|
||||
if (!getViolationsList()
|
||||
.equals(other.getViolationsList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1091,7 +1031,7 @@ private static final long serialVersionUID = 0L;
|
||||
hash = (37 * hash) + VIOLATIONS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getViolationsList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
@@ -1140,11 +1080,13 @@ private static final long serialVersionUID = 0L;
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static com.google.rpc.QuotaFailure parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
|
||||
public static com.google.rpc.QuotaFailure parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
@@ -1189,12 +1131,14 @@ private static final long serialVersionUID = 0L;
|
||||
/**
|
||||
* <pre>
|
||||
* Describes how a quota check failed.
|
||||
*
|
||||
* For example if a daily limit was exceeded for the calling project,
|
||||
* a service could respond with a QuotaFailure detail containing the project
|
||||
* id and the description of the quota limit that was exceeded. If the
|
||||
* calling project hasn't enabled the service in the developer console, then
|
||||
* a service could respond with the project id and set `service_disabled`
|
||||
* to true.
|
||||
*
|
||||
* Also see RetryDetail and Help types for other details about handling a
|
||||
* quota failure.
|
||||
* </pre>
|
||||
@@ -1220,29 +1164,25 @@ private static final long serialVersionUID = 0L;
|
||||
|
||||
// Construct using com.google.rpc.QuotaFailure.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
getViolationsFieldBuilder();
|
||||
}
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
if (violationsBuilder_ == null) {
|
||||
violations_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
violations_ = null;
|
||||
violationsBuilder_.clear();
|
||||
}
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1269,7 +1209,13 @@ private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
public com.google.rpc.QuotaFailure buildPartial() {
|
||||
com.google.rpc.QuotaFailure result = new com.google.rpc.QuotaFailure(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
buildPartialRepeatedFields(result);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartialRepeatedFields(com.google.rpc.QuotaFailure result) {
|
||||
if (violationsBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
violations_ = java.util.Collections.unmodifiableList(violations_);
|
||||
@@ -1279,8 +1225,10 @@ private static final long serialVersionUID = 0L;
|
||||
} else {
|
||||
result.violations_ = violationsBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.google.rpc.QuotaFailure result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -1353,7 +1301,7 @@ private static final long serialVersionUID = 0L;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -1368,17 +1316,43 @@ private static final long serialVersionUID = 0L;
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.google.rpc.QuotaFailure parsedMessage = null;
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
com.google.rpc.QuotaFailure.Violation m =
|
||||
input.readMessage(
|
||||
com.google.rpc.QuotaFailure.Violation.parser(),
|
||||
extensionRegistry);
|
||||
if (violationsBuilder_ == null) {
|
||||
ensureViolationsIsMutable();
|
||||
violations_.add(m);
|
||||
} else {
|
||||
violationsBuilder_.addMessage(m);
|
||||
}
|
||||
break;
|
||||
} // case 10
|
||||
default: {
|
||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||
done = true; // was an endgroup tag
|
||||
}
|
||||
break;
|
||||
} // default:
|
||||
} // switch (tag)
|
||||
} // while (!done)
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.google.rpc.QuotaFailure) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
onChanged();
|
||||
} // finally
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
@@ -1727,7 +1701,18 @@ private static final long serialVersionUID = 0L;
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new QuotaFailure(input, extensionRegistry);
|
||||
Builder builder = newBuilder();
|
||||
try {
|
||||
builder.mergeFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(e)
|
||||
.setUnfinishedMessage(builder.buildPartial());
|
||||
}
|
||||
return builder.buildPartial();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user