Skip to content

Commit

Permalink
deps: bump conformance-tests to 6f88335938cd1d90372a447e01d7d71014e37…
Browse files Browse the repository at this point in the history
…ceb (#451)

deps: bump conformance-tests to 6f88335938cd1d90372a447e01d7d71014e37ceb

googleapis/conformance-tests@6f88335 chore(all): update all ([#57](googleapis/conformance-tests#57))

Full diff: googleapis/conformance-tests@ca227f0...6f88335

chore: generate all classes with protobuf-java v3.19.3
  • Loading branch information
BenWhitehead authored Mar 1, 2022
1 parent d41c48d commit b59bd3f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 39 deletions.
2 changes: 1 addition & 1 deletion conformance-tests
Submodule conformance-tests updated 1 files
+2 −2 go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15566,14 +15566,14 @@ private Clause(
}
case 32:
{
clauseCase_ = 4;
clause_ = input.readInt32();
clauseCase_ = 4;
break;
}
case 40:
{
clauseCase_ = 5;
clause_ = input.readInt32();
clauseCase_ = 5;
break;
}
case 50:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public int getFieldsCount() {
@java.lang.Override
public boolean containsFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetFields().getMap().containsKey(key);
}
Expand Down Expand Up @@ -509,7 +509,7 @@ public java.util.Map<java.lang.String, java.lang.String> getFieldsMap() {
@java.lang.Override
public java.lang.String getFieldsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -532,7 +532,7 @@ public java.lang.String getFieldsOrDefault(java.lang.String key, java.lang.Strin
@java.lang.Override
public java.lang.String getFieldsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -1643,7 +1643,7 @@ public int getFieldsCount() {
@java.lang.Override
public boolean containsFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetFields().getMap().containsKey(key);
}
Expand Down Expand Up @@ -1691,7 +1691,7 @@ public java.util.Map<java.lang.String, java.lang.String> getFieldsMap() {
public java.lang.String getFieldsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -1714,7 +1714,7 @@ public java.lang.String getFieldsOrDefault(
@java.lang.Override
public java.lang.String getFieldsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -1744,7 +1744,7 @@ public Builder clearFields() {
*/
public Builder removeFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
internalGetMutableFields().getMutableMap().remove(key);
return this;
Expand All @@ -1771,11 +1771,12 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableFields() {
*/
public Builder putFields(java.lang.String key, java.lang.String value) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
if (value == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map value");
}

internalGetMutableFields().getMutableMap().put(key, value);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public int getFieldsCount() {
@java.lang.Override
public boolean containsFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetFields().getMap().containsKey(key);
}
Expand Down Expand Up @@ -377,7 +377,7 @@ public java.util.Map<java.lang.String, java.lang.String> getFieldsMap() {
@java.lang.Override
public java.lang.String getFieldsOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand Down Expand Up @@ -438,7 +438,7 @@ public java.lang.String getFieldsOrDefault(java.lang.String key, java.lang.Strin
@java.lang.Override
public java.lang.String getFieldsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -1011,7 +1011,7 @@ public int getFieldsCount() {
@java.lang.Override
public boolean containsFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetFields().getMap().containsKey(key);
}
Expand Down Expand Up @@ -1135,7 +1135,7 @@ public java.util.Map<java.lang.String, java.lang.String> getFieldsMap() {
public java.lang.String getFieldsOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand Down Expand Up @@ -1196,7 +1196,7 @@ public java.lang.String getFieldsOrDefault(
@java.lang.Override
public java.lang.String getFieldsOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetFields().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -1264,7 +1264,7 @@ public Builder clearFields() {
*/
public Builder removeFields(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
internalGetMutableFields().getMutableMap().remove(key);
return this;
Expand Down Expand Up @@ -1329,11 +1329,12 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableFields() {
*/
public Builder putFields(java.lang.String key, java.lang.String value) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
if (value == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map value");
}

internalGetMutableFields().getMutableMap().put(key, value);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ public int getHeadersCount() {
@java.lang.Override
public boolean containsHeaders(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetHeaders().getMap().containsKey(key);
}
Expand All @@ -556,7 +556,7 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
@java.lang.Override
public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetHeaders().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -565,7 +565,7 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
@java.lang.Override
public java.lang.String getHeadersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetHeaders().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -605,7 +605,7 @@ public int getQueryParametersCount() {
@java.lang.Override
public boolean containsQueryParameters(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetQueryParameters().getMap().containsKey(key);
}
Expand All @@ -625,7 +625,7 @@ public java.util.Map<java.lang.String, java.lang.String> getQueryParametersMap()
public java.lang.String getQueryParametersOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetQueryParameters().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -634,7 +634,7 @@ public java.lang.String getQueryParametersOrDefault(
@java.lang.Override
public java.lang.String getQueryParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetQueryParameters().getMap();
if (!map.containsKey(key)) {
Expand Down Expand Up @@ -2028,7 +2028,7 @@ public int getHeadersCount() {
@java.lang.Override
public boolean containsHeaders(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetHeaders().getMap().containsKey(key);
}
Expand All @@ -2048,7 +2048,7 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
public java.lang.String getHeadersOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetHeaders().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -2057,7 +2057,7 @@ public java.lang.String getHeadersOrDefault(
@java.lang.Override
public java.lang.String getHeadersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetHeaders().getMap();
if (!map.containsKey(key)) {
Expand All @@ -2073,7 +2073,7 @@ public Builder clearHeaders() {
/** <code>map&lt;string, string&gt; headers = 9;</code> */
public Builder removeHeaders(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
internalGetMutableHeaders().getMutableMap().remove(key);
return this;
Expand All @@ -2086,11 +2086,12 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableHeaders() {
/** <code>map&lt;string, string&gt; headers = 9;</code> */
public Builder putHeaders(java.lang.String key, java.lang.String value) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
if (value == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map value");
}

internalGetMutableHeaders().getMutableMap().put(key, value);
return this;
}
Expand Down Expand Up @@ -2133,7 +2134,7 @@ public int getQueryParametersCount() {
@java.lang.Override
public boolean containsQueryParameters(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
return internalGetQueryParameters().getMap().containsKey(key);
}
Expand All @@ -2153,7 +2154,7 @@ public java.util.Map<java.lang.String, java.lang.String> getQueryParametersMap()
public java.lang.String getQueryParametersOrDefault(
java.lang.String key, java.lang.String defaultValue) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetQueryParameters().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
Expand All @@ -2162,7 +2163,7 @@ public java.lang.String getQueryParametersOrDefault(
@java.lang.Override
public java.lang.String getQueryParametersOrThrow(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
java.util.Map<java.lang.String, java.lang.String> map = internalGetQueryParameters().getMap();
if (!map.containsKey(key)) {
Expand All @@ -2178,7 +2179,7 @@ public Builder clearQueryParameters() {
/** <code>map&lt;string, string&gt; query_parameters = 10;</code> */
public Builder removeQueryParameters(java.lang.String key) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
internalGetMutableQueryParameters().getMutableMap().remove(key);
return this;
Expand All @@ -2191,11 +2192,12 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableQueryParamete
/** <code>map&lt;string, string&gt; query_parameters = 10;</code> */
public Builder putQueryParameters(java.lang.String key, java.lang.String value) {
if (key == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map key");
}
if (value == null) {
throw new java.lang.NullPointerException();
throw new NullPointerException("map value");
}

internalGetMutableQueryParameters().getMutableMap().put(key, value);
return this;
}
Expand Down

0 comments on commit b59bd3f

Please sign in to comment.