(form_);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000004;
}
}
@@ -13323,7 +13593,7 @@ public Builder addAllForm(
public Builder clearForm() {
if (formBuilder_ == null) {
form_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
formBuilder_.clear();
@@ -13400,7 +13670,7 @@ public io.keploy.grpc.stubs.Service.FormData.Builder addFormBuilder(
formBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.keploy.grpc.stubs.Service.FormData, io.keploy.grpc.stubs.Service.FormData.Builder, io.keploy.grpc.stubs.Service.FormDataOrBuilder>(
form_,
- ((bitField0_ & 0x00000200) != 0),
+ ((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
form_ = null;
@@ -13440,18 +13710,7 @@ public HttpReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new HttpReq(input, extensionRegistry);
}
};
@@ -13579,6 +13838,76 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private FormData(
+ 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: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ key_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ values_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ values_.add(s);
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ paths_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ paths_.add(s);
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ values_ = values_.getUnmodifiableView();
+ }
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ paths_ = paths_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_FormData_descriptor;
@@ -13593,8 +13922,7 @@ protected java.lang.Object newInstance(
}
public static final int KEY_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object key_ = "";
+ private volatile java.lang.Object key_;
/**
*
*partName
@@ -13640,7 +13968,6 @@ public java.lang.String getKey() {
}
public static final int VALUES_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList values_;
/**
* repeated string Values = 2;
@@ -13676,7 +14003,6 @@ public java.lang.String getValues(int index) {
}
public static final int PATHS_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList paths_;
/**
* repeated string Paths = 3;
@@ -13734,7 +14060,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < paths_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, paths_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -13762,7 +14088,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getPathsList().size();
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -13783,7 +14109,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getValuesList())) return false;
if (!getPathsList()
.equals(other.getPathsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -13804,7 +14130,7 @@ public int hashCode() {
hash = (37 * hash) + PATHS_FIELD_NUMBER;
hash = (53 * hash) + getPathsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -13925,23 +14251,28 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.FormData.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;
key_ = "";
+
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -13968,30 +14299,20 @@ public io.keploy.grpc.stubs.Service.FormData build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.FormData buildPartial() {
io.keploy.grpc.stubs.Service.FormData result = new io.keploy.grpc.stubs.Service.FormData(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.FormData result) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ int from_bitField0_ = bitField0_;
+ result.key_ = key_;
+ if (((bitField0_ & 0x00000001) != 0)) {
values_ = values_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.values_ = values_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
paths_ = paths_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.paths_ = paths_;
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.FormData result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.key_ = key_;
- }
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -14040,13 +14361,12 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.FormData other) {
if (other == io.keploy.grpc.stubs.Service.FormData.getDefaultInstance()) return this;
if (!other.getKey().isEmpty()) {
key_ = other.key_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.values_.isEmpty()) {
if (values_.isEmpty()) {
values_ = other.values_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureValuesIsMutable();
values_.addAll(other.values_);
@@ -14056,14 +14376,14 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.FormData other) {
if (!other.paths_.isEmpty()) {
if (paths_.isEmpty()) {
paths_ = other.paths_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePathsIsMutable();
paths_.addAll(other.paths_);
}
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -14078,47 +14398,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.FormData parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- key_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureValuesIsMutable();
- values_.add(s);
- break;
- } // case 18
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- ensurePathsIsMutable();
- paths_.add(s);
- break;
- } // case 26
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.FormData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -14176,9 +14466,11 @@ public java.lang.String getKey() {
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
key_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -14191,8 +14483,8 @@ public Builder setKey(
* @return This builder for chaining.
*/
public Builder clearKey() {
+
key_ = getDefaultInstance().getKey();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -14207,19 +14499,21 @@ public Builder clearKey() {
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
key_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureValuesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
values_ = new com.google.protobuf.LazyStringArrayList(values_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -14262,8 +14556,10 @@ public java.lang.String getValues(int index) {
*/
public Builder setValues(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValuesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
values_.set(index, value);
onChanged();
return this;
@@ -14275,8 +14571,10 @@ public Builder setValues(
*/
public Builder addValues(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValuesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
values_.add(value);
onChanged();
return this;
@@ -14300,7 +14598,7 @@ public Builder addAllValues(
*/
public Builder clearValues() {
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -14311,8 +14609,10 @@ public Builder clearValues() {
*/
public Builder addValuesBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureValuesIsMutable();
values_.add(value);
onChanged();
@@ -14321,9 +14621,9 @@ public Builder addValuesBytes(
private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePathsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
paths_ = new com.google.protobuf.LazyStringArrayList(paths_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -14366,8 +14666,10 @@ public java.lang.String getPaths(int index) {
*/
public Builder setPaths(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensurePathsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePathsIsMutable();
paths_.set(index, value);
onChanged();
return this;
@@ -14379,8 +14681,10 @@ public Builder setPaths(
*/
public Builder addPaths(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensurePathsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePathsIsMutable();
paths_.add(value);
onChanged();
return this;
@@ -14404,7 +14708,7 @@ public Builder addAllPaths(
*/
public Builder clearPaths() {
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -14415,8 +14719,10 @@ public Builder clearPaths() {
*/
public Builder addPathsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensurePathsIsMutable();
paths_.add(value);
onChanged();
@@ -14455,18 +14761,7 @@ public FormData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new FormData(input, extensionRegistry);
}
};
@@ -14543,6 +14838,58 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private StrArr(
+ 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: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ value_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ value_.add(s);
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ value_ = value_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_StrArr_descriptor;
@@ -14557,7 +14904,6 @@ protected java.lang.Object newInstance(
}
public static final int VALUE_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList value_;
/**
* repeated string Value = 1;
@@ -14609,7 +14955,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < value_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -14626,7 +14972,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getValueList().size();
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -14643,7 +14989,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getValueList()
.equals(other.getValueList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -14658,7 +15004,7 @@ public int hashCode() {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValueList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -14775,18 +15121,22 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.StrArr.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;
value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
@@ -14815,22 +15165,14 @@ public io.keploy.grpc.stubs.Service.StrArr build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.StrArr buildPartial() {
io.keploy.grpc.stubs.Service.StrArr result = new io.keploy.grpc.stubs.Service.StrArr(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.StrArr result) {
+ int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
value_ = value_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.value_ = value_;
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.StrArr result) {
- int from_bitField0_ = bitField0_;
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -14887,7 +15229,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StrArr other) {
}
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -14902,36 +15244,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.StrArr parsedMessage = null;
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();
- ensureValueIsMutable();
- value_.add(s);
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.StrArr) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -14983,8 +15306,10 @@ public java.lang.String getValue(int index) {
*/
public Builder setValue(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValueIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValueIsMutable();
value_.set(index, value);
onChanged();
return this;
@@ -14996,8 +15321,10 @@ public Builder setValue(
*/
public Builder addValue(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValueIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValueIsMutable();
value_.add(value);
onChanged();
return this;
@@ -15032,8 +15359,10 @@ public Builder clearValue() {
*/
public Builder addValueBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureValueIsMutable();
value_.add(value);
onChanged();
@@ -15072,18 +15401,7 @@ public StrArr parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new StrArr(input, extensionRegistry);
}
};
@@ -15136,6 +15454,7 @@ boolean containsHeader(
/**
* map<string, .services.StrArr> Header = 2;
*/
+
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
@@ -15144,6 +15463,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
/**
* map<string, .services.StrArr> Header = 2;
*/
+
io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key);
@@ -15236,6 +15556,97 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private HttpResp(
+ 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 8: {
+
+ statusCode_ = input.readInt64();
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ header_ = com.google.protobuf.MapField.newMapField(
+ HeaderDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ header__ = input.readMessage(
+ HeaderDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ header_.getMutableMap().put(
+ header__.getKey(), header__.getValue());
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ body_ = s;
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ statusMessage_ = s;
+ break;
+ }
+ case 40: {
+
+ protoMajor_ = input.readInt64();
+ break;
+ }
+ case 48: {
+
+ protoMinor_ = input.readInt64();
+ break;
+ }
+ case 58: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ binary_ = s;
+ break;
+ }
+ case 66: {
+
+ bodyData_ = input.readBytes();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_HttpResp_descriptor;
@@ -15262,7 +15673,7 @@ protected com.google.protobuf.MapField internalGetMapField(
}
public static final int STATUSCODE_FIELD_NUMBER = 1;
- private long statusCode_ = 0L;
+ private long statusCode_;
/**
* int64 StatusCode = 1;
* @return The statusCode.
@@ -15284,7 +15695,6 @@ private static final class HeaderDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.MESSAGE,
io.keploy.grpc.stubs.Service.StrArr.getDefaultInstance());
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> header_;
private com.google.protobuf.MapField
@@ -15295,12 +15705,14 @@ private static final class HeaderDefaultEntryHolder {
}
return header_;
}
+
public int getHeaderCount() {
return internalGetHeader().getMap().size();
}
/**
* map<string, .services.StrArr> Header = 2;
*/
+
@java.lang.Override
public boolean containsHeader(
java.lang.String key) {
@@ -15319,6 +15731,7 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
+
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -15326,11 +15739,10 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -15340,6 +15752,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -15352,8 +15765,7 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODY_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object body_ = "";
+ private volatile java.lang.Object body_;
/**
* string Body = 3 [deprecated = true];
* @deprecated services.HttpResp.Body is deprecated.
@@ -15395,7 +15807,7 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODYDATA_FIELD_NUMBER = 8;
- private com.google.protobuf.ByteString bodyData_ = com.google.protobuf.ByteString.EMPTY;
+ private com.google.protobuf.ByteString bodyData_;
/**
* bytes BodyData = 8;
* @return The bodyData.
@@ -15406,8 +15818,7 @@ public com.google.protobuf.ByteString getBodyData() {
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object statusMessage_ = "";
+ private volatile java.lang.Object statusMessage_;
/**
* string StatusMessage = 4;
* @return The statusMessage.
@@ -15445,7 +15856,7 @@ public java.lang.String getStatusMessage() {
}
public static final int PROTOMAJOR_FIELD_NUMBER = 5;
- private long protoMajor_ = 0L;
+ private long protoMajor_;
/**
* int64 ProtoMajor = 5;
* @return The protoMajor.
@@ -15456,7 +15867,7 @@ public long getProtoMajor() {
}
public static final int PROTOMINOR_FIELD_NUMBER = 6;
- private long protoMinor_ = 0L;
+ private long protoMinor_;
/**
* int64 ProtoMinor = 6;
* @return The protoMinor.
@@ -15467,8 +15878,7 @@ public long getProtoMinor() {
}
public static final int BINARY_FIELD_NUMBER = 7;
- @SuppressWarnings("serial")
- private volatile java.lang.Object binary_ = "";
+ private volatile java.lang.Object binary_;
/**
* string Binary = 7;
* @return The binary.
@@ -15546,7 +15956,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!bodyData_.isEmpty()) {
output.writeBytes(8, bodyData_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -15590,7 +16000,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, bodyData_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -15621,7 +16031,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getProtoMinor()) return false;
if (!getBinary()
.equals(other.getBinary())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -15653,7 +16063,7 @@ public int hashCode() {
getProtoMinor());
hash = (37 * hash) + BINARY_FIELD_NUMBER;
hash = (53 * hash) + getBinary().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -15792,26 +16202,37 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
// Construct using io.keploy.grpc.stubs.Service.HttpResp.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;
statusCode_ = 0L;
+
internalGetMutableHeader().clear();
body_ = "";
+
bodyData_ = com.google.protobuf.ByteString.EMPTY;
+
statusMessage_ = "";
+
protoMajor_ = 0L;
+
protoMinor_ = 0L;
+
binary_ = "";
+
return this;
}
@@ -15838,40 +16259,20 @@ public io.keploy.grpc.stubs.Service.HttpResp build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.HttpResp buildPartial() {
io.keploy.grpc.stubs.Service.HttpResp result = new io.keploy.grpc.stubs.Service.HttpResp(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ int from_bitField0_ = bitField0_;
+ result.statusCode_ = statusCode_;
+ result.header_ = internalGetHeader();
+ result.header_.makeImmutable();
+ result.body_ = body_;
+ result.bodyData_ = bodyData_;
+ result.statusMessage_ = statusMessage_;
+ result.protoMajor_ = protoMajor_;
+ result.protoMinor_ = protoMinor_;
+ result.binary_ = binary_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.HttpResp result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.statusCode_ = statusCode_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.header_ = internalGetHeader();
- result.header_.makeImmutable();
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.body_ = body_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.bodyData_ = bodyData_;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.statusMessage_ = statusMessage_;
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.protoMajor_ = protoMajor_;
- }
- if (((from_bitField0_ & 0x00000040) != 0)) {
- result.protoMinor_ = protoMinor_;
- }
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.binary_ = binary_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -15921,10 +16322,8 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.HttpResp other) {
}
internalGetMutableHeader().mergeFrom(
other.internalGetHeader());
- bitField0_ |= 0x00000002;
if (!other.getBody().isEmpty()) {
body_ = other.body_;
- bitField0_ |= 0x00000004;
onChanged();
}
if (other.getBodyData() != com.google.protobuf.ByteString.EMPTY) {
@@ -15932,7 +16331,6 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.HttpResp other) {
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
- bitField0_ |= 0x00000010;
onChanged();
}
if (other.getProtoMajor() != 0L) {
@@ -15943,10 +16341,9 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.HttpResp other) {
}
if (!other.getBinary().isEmpty()) {
binary_ = other.binary_;
- bitField0_ |= 0x00000080;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -15961,74 +16358,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.HttpResp parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- statusCode_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 18: {
- com.google.protobuf.MapEntry
- header__ = input.readMessage(
- HeaderDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableHeader().getMutableMap().put(
- header__.getKey(), header__.getValue());
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- body_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- statusMessage_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
- break;
- } // case 34
- case 40: {
- protoMajor_ = input.readInt64();
- bitField0_ |= 0x00000020;
- break;
- } // case 40
- case 48: {
- protoMinor_ = input.readInt64();
- bitField0_ |= 0x00000040;
- break;
- } // case 48
- case 58: {
- binary_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
- break;
- } // case 58
- case 66: {
- bodyData_ = input.readBytes();
- bitField0_ |= 0x00000008;
- break;
- } // case 66
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.HttpResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -16050,7 +16390,6 @@ public long getStatusCode() {
public Builder setStatusCode(long value) {
statusCode_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -16059,7 +16398,7 @@ public Builder setStatusCode(long value) {
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
- bitField0_ = (bitField0_ & ~0x00000001);
+
statusCode_ = 0L;
onChanged();
return this;
@@ -16068,7 +16407,7 @@ public Builder clearStatusCode() {
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> header_;
private com.google.protobuf.MapField
- internalGetHeader() {
+ internalGetHeader() {
if (header_ == null) {
return com.google.protobuf.MapField.emptyMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -16076,7 +16415,8 @@ public Builder clearStatusCode() {
return header_;
}
private com.google.protobuf.MapField
- internalGetMutableHeader() {
+ internalGetMutableHeader() {
+ onChanged();;
if (header_ == null) {
header_ = com.google.protobuf.MapField.newMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -16084,16 +16424,16 @@ public Builder clearStatusCode() {
if (!header_.isMutable()) {
header_ = header_.copy();
}
- bitField0_ |= 0x00000002;
- onChanged();
return header_;
}
+
public int getHeaderCount() {
return internalGetHeader().getMap().size();
}
/**
* map<string, .services.StrArr> Header = 2;
*/
+
@java.lang.Override
public boolean containsHeader(
java.lang.String key) {
@@ -16112,6 +16452,7 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
+
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -16119,11 +16460,10 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -16133,6 +16473,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -16143,8 +16484,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
return map.get(key);
}
+
public Builder clearHeader() {
- bitField0_ = (bitField0_ & ~0x00000002);
internalGetMutableHeader().getMutableMap()
.clear();
return this;
@@ -16152,6 +16493,7 @@ public Builder clearHeader() {
/**
* map<string, .services.StrArr> Header = 2;
*/
+
public Builder removeHeader(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -16164,8 +16506,7 @@ public Builder removeHeader(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableHeader() {
- bitField0_ |= 0x00000002;
+ getMutableHeader() {
return internalGetMutableHeader().getMutableMap();
}
/**
@@ -16175,20 +16516,22 @@ public Builder putHeader(
java.lang.String key,
io.keploy.grpc.stubs.Service.StrArr value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableHeader().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000002;
return this;
}
/**
* map<string, .services.StrArr> Header = 2;
*/
+
public Builder putAllHeader(
java.util.Map values) {
internalGetMutableHeader().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000002;
return this;
}
@@ -16239,9 +16582,11 @@ public Builder putAllHeader(
*/
@java.lang.Deprecated public Builder setBody(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
body_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -16252,8 +16597,8 @@ public Builder putAllHeader(
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearBody() {
+
body_ = getDefaultInstance().getBody();
- bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -16266,10 +16611,12 @@ public Builder putAllHeader(
*/
@java.lang.Deprecated public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
body_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -16289,9 +16636,11 @@ public com.google.protobuf.ByteString getBodyData() {
* @return This builder for chaining.
*/
public Builder setBodyData(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
bodyData_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -16300,7 +16649,7 @@ public Builder setBodyData(com.google.protobuf.ByteString value) {
* @return This builder for chaining.
*/
public Builder clearBodyData() {
- bitField0_ = (bitField0_ & ~0x00000008);
+
bodyData_ = getDefaultInstance().getBodyData();
onChanged();
return this;
@@ -16347,9 +16696,11 @@ public java.lang.String getStatusMessage() {
*/
public Builder setStatusMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
statusMessage_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -16358,8 +16709,8 @@ public Builder setStatusMessage(
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
+
statusMessage_ = getDefaultInstance().getStatusMessage();
- bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -16370,10 +16721,12 @@ public Builder clearStatusMessage() {
*/
public Builder setStatusMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
statusMessage_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -16395,7 +16748,6 @@ public long getProtoMajor() {
public Builder setProtoMajor(long value) {
protoMajor_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -16404,7 +16756,7 @@ public Builder setProtoMajor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMajor() {
- bitField0_ = (bitField0_ & ~0x00000020);
+
protoMajor_ = 0L;
onChanged();
return this;
@@ -16427,7 +16779,6 @@ public long getProtoMinor() {
public Builder setProtoMinor(long value) {
protoMinor_ = value;
- bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -16436,7 +16787,7 @@ public Builder setProtoMinor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMinor() {
- bitField0_ = (bitField0_ & ~0x00000040);
+
protoMinor_ = 0L;
onChanged();
return this;
@@ -16483,9 +16834,11 @@ public java.lang.String getBinary() {
*/
public Builder setBinary(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
binary_ = value;
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -16494,8 +16847,8 @@ public Builder setBinary(
* @return This builder for chaining.
*/
public Builder clearBinary() {
+
binary_ = getDefaultInstance().getBinary();
- bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -16506,10 +16859,12 @@ public Builder clearBinary() {
*/
public Builder setBinaryBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
binary_ = value;
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -16546,18 +16901,7 @@ public HttpResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new HttpResp(input, extensionRegistry);
}
};
@@ -16634,6 +16978,57 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private endRequest(
+ 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();
+
+ status_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ id_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_endRequest_descriptor;
@@ -16648,8 +17043,7 @@ protected java.lang.Object newInstance(
}
public static final int STATUS_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object status_ = "";
+ private volatile java.lang.Object status_;
/**
* string status = 1;
* @return The status.
@@ -16687,8 +17081,7 @@ public java.lang.String getStatus() {
}
public static final int ID_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object id_ = "";
+ private volatile java.lang.Object id_;
/**
* string id = 2;
* @return The id.
@@ -16745,7 +17138,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -16760,7 +17153,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -16779,7 +17172,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getStatus())) return false;
if (!getId()
.equals(other.getId())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -16794,7 +17187,7 @@ public int hashCode() {
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -16911,20 +17304,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.endRequest.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;
status_ = "";
+
id_ = "";
+
return this;
}
@@ -16951,21 +17350,12 @@ public io.keploy.grpc.stubs.Service.endRequest build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.endRequest buildPartial() {
io.keploy.grpc.stubs.Service.endRequest result = new io.keploy.grpc.stubs.Service.endRequest(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.status_ = status_;
+ result.id_ = id_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.endRequest result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.status_ = status_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.id_ = id_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -17012,15 +17402,13 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.endRequest other) {
if (other == io.keploy.grpc.stubs.Service.endRequest.getDefaultInstance()) return this;
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
- bitField0_ |= 0x00000002;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -17035,43 +17423,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.endRequest parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- status_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- id_ = 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)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.endRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object status_ = "";
/**
@@ -17114,9 +17478,11 @@ public java.lang.String getStatus() {
*/
public Builder setStatus(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
status_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17125,8 +17491,8 @@ public Builder setStatus(
* @return This builder for chaining.
*/
public Builder clearStatus() {
+
status_ = getDefaultInstance().getStatus();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -17137,10 +17503,12 @@ public Builder clearStatus() {
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
status_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17186,9 +17554,11 @@ public java.lang.String getId() {
*/
public Builder setId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
id_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -17197,8 +17567,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
+
id_ = getDefaultInstance().getId();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -17209,10 +17579,12 @@ public Builder clearId() {
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
id_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -17249,18 +17621,7 @@ public endRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new endRequest(input, extensionRegistry);
}
};
@@ -17324,6 +17685,51 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private endResponse(
+ 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();
+
+ message_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_endResponse_descriptor;
@@ -17338,8 +17744,7 @@ protected java.lang.Object newInstance(
}
public static final int MESSAGE_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object message_ = "";
+ private volatile java.lang.Object message_;
/**
* string message = 1;
* @return The message.
@@ -17393,7 +17798,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -17405,7 +17810,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -17422,7 +17827,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMessage()
.equals(other.getMessage())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -17435,7 +17840,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -17552,19 +17957,24 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.endResponse.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;
message_ = "";
+
return this;
}
@@ -17591,18 +18001,11 @@ public io.keploy.grpc.stubs.Service.endResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.endResponse buildPartial() {
io.keploy.grpc.stubs.Service.endResponse result = new io.keploy.grpc.stubs.Service.endResponse(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.message_ = message_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.endResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.message_ = message_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -17649,10 +18052,9 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.endResponse other) {
if (other == io.keploy.grpc.stubs.Service.endResponse.getDefaultInstance()) return this;
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
- bitField0_ |= 0x00000001;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -17667,38 +18069,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.endResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- message_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.endResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object message_ = "";
/**
@@ -17741,9 +18124,11 @@ public java.lang.String getMessage() {
*/
public Builder setMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
message_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17752,8 +18137,8 @@ public Builder setMessage(
* @return This builder for chaining.
*/
public Builder clearMessage() {
+
message_ = getDefaultInstance().getMessage();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -17764,10 +18149,12 @@ public Builder clearMessage() {
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
message_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17804,18 +18191,7 @@ public endResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new endResponse(input, extensionRegistry);
}
};
@@ -17931,6 +18307,75 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private startRequest(
+ 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();
+
+ total_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ app_ = s;
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ testCasePath_ = s;
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ mockPath_ = s;
+ break;
+ }
+ case 42: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ appPath_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_startRequest_descriptor;
@@ -17945,8 +18390,7 @@ protected java.lang.Object newInstance(
}
public static final int TOTAL_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object total_ = "";
+ private volatile java.lang.Object total_;
/**
* string total = 1;
* @return The total.
@@ -17984,8 +18428,7 @@ public java.lang.String getTotal() {
}
public static final int APP_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object app_ = "";
+ private volatile java.lang.Object app_;
/**
* string app = 2;
* @return The app.
@@ -18023,8 +18466,7 @@ public java.lang.String getApp() {
}
public static final int TESTCASEPATH_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object testCasePath_ = "";
+ private volatile java.lang.Object testCasePath_;
/**
* string TestCasePath = 3;
* @return The testCasePath.
@@ -18062,8 +18504,7 @@ public java.lang.String getTestCasePath() {
}
public static final int MOCKPATH_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object mockPath_ = "";
+ private volatile java.lang.Object mockPath_;
/**
* string MockPath = 4;
* @return The mockPath.
@@ -18101,8 +18542,7 @@ public java.lang.String getMockPath() {
}
public static final int APPPATH_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object appPath_ = "";
+ private volatile java.lang.Object appPath_;
/**
* string AppPath = 5;
* @return The appPath.
@@ -18168,7 +18608,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appPath_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -18192,7 +18632,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appPath_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -18217,7 +18657,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getMockPath())) return false;
if (!getAppPath()
.equals(other.getAppPath())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -18238,7 +18678,7 @@ public int hashCode() {
hash = (53 * hash) + getMockPath().hashCode();
hash = (37 * hash) + APPPATH_FIELD_NUMBER;
hash = (53 * hash) + getAppPath().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -18355,23 +18795,32 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.startRequest.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;
total_ = "";
+
app_ = "";
+
testCasePath_ = "";
+
mockPath_ = "";
+
appPath_ = "";
+
return this;
}
@@ -18398,30 +18847,15 @@ public io.keploy.grpc.stubs.Service.startRequest build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.startRequest buildPartial() {
io.keploy.grpc.stubs.Service.startRequest result = new io.keploy.grpc.stubs.Service.startRequest(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.total_ = total_;
+ result.app_ = app_;
+ result.testCasePath_ = testCasePath_;
+ result.mockPath_ = mockPath_;
+ result.appPath_ = appPath_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.startRequest result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.total_ = total_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.app_ = app_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.testCasePath_ = testCasePath_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.mockPath_ = mockPath_;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.appPath_ = appPath_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -18468,30 +18902,25 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.startRequest other) {
if (other == io.keploy.grpc.stubs.Service.startRequest.getDefaultInstance()) return this;
if (!other.getTotal().isEmpty()) {
total_ = other.total_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getApp().isEmpty()) {
app_ = other.app_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getTestCasePath().isEmpty()) {
testCasePath_ = other.testCasePath_;
- bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getMockPath().isEmpty()) {
mockPath_ = other.mockPath_;
- bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getAppPath().isEmpty()) {
appPath_ = other.appPath_;
- bitField0_ |= 0x00000010;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -18506,58 +18935,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.startRequest parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- total_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- app_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- testCasePath_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- mockPath_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- appPath_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
- break;
- } // case 42
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.startRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object total_ = "";
/**
@@ -18600,9 +18990,11 @@ public java.lang.String getTotal() {
*/
public Builder setTotal(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
total_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -18611,8 +19003,8 @@ public Builder setTotal(
* @return This builder for chaining.
*/
public Builder clearTotal() {
+
total_ = getDefaultInstance().getTotal();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -18623,10 +19015,12 @@ public Builder clearTotal() {
*/
public Builder setTotalBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
total_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -18672,9 +19066,11 @@ public java.lang.String getApp() {
*/
public Builder setApp(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
app_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -18683,8 +19079,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
+
app_ = getDefaultInstance().getApp();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -18695,10 +19091,12 @@ public Builder clearApp() {
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
app_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -18744,9 +19142,11 @@ public java.lang.String getTestCasePath() {
*/
public Builder setTestCasePath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
testCasePath_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -18755,8 +19155,8 @@ public Builder setTestCasePath(
* @return This builder for chaining.
*/
public Builder clearTestCasePath() {
+
testCasePath_ = getDefaultInstance().getTestCasePath();
- bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -18767,10 +19167,12 @@ public Builder clearTestCasePath() {
*/
public Builder setTestCasePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
testCasePath_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -18816,9 +19218,11 @@ public java.lang.String getMockPath() {
*/
public Builder setMockPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
mockPath_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -18827,8 +19231,8 @@ public Builder setMockPath(
* @return This builder for chaining.
*/
public Builder clearMockPath() {
+
mockPath_ = getDefaultInstance().getMockPath();
- bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -18839,10 +19243,12 @@ public Builder clearMockPath() {
*/
public Builder setMockPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
mockPath_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -18888,9 +19294,11 @@ public java.lang.String getAppPath() {
*/
public Builder setAppPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
appPath_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -18899,8 +19307,8 @@ public Builder setAppPath(
* @return This builder for chaining.
*/
public Builder clearAppPath() {
+
appPath_ = getDefaultInstance().getAppPath();
- bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -18911,10 +19319,12 @@ public Builder clearAppPath() {
*/
public Builder setAppPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
appPath_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -18951,18 +19361,7 @@ public startRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new startRequest(input, extensionRegistry);
}
};
@@ -19026,6 +19425,51 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private startResponse(
+ 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();
+
+ id_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_startResponse_descriptor;
@@ -19040,8 +19484,7 @@ protected java.lang.Object newInstance(
}
public static final int ID_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object id_ = "";
+ private volatile java.lang.Object id_;
/**
* string id = 1;
* @return The id.
@@ -19095,7 +19538,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -19107,7 +19550,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -19124,7 +19567,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getId()
.equals(other.getId())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -19137,7 +19580,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -19254,19 +19697,24 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.startResponse.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;
id_ = "";
+
return this;
}
@@ -19293,18 +19741,11 @@ public io.keploy.grpc.stubs.Service.startResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.startResponse buildPartial() {
io.keploy.grpc.stubs.Service.startResponse result = new io.keploy.grpc.stubs.Service.startResponse(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.id_ = id_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.startResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.id_ = id_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -19351,10 +19792,9 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.startResponse other) {
if (other == io.keploy.grpc.stubs.Service.startResponse.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
- bitField0_ |= 0x00000001;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -19369,38 +19809,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.startResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- id_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.startResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object id_ = "";
/**
@@ -19443,9 +19864,11 @@ public java.lang.String getId() {
*/
public Builder setId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
id_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -19454,8 +19877,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
+
id_ = getDefaultInstance().getId();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -19466,10 +19889,12 @@ public Builder clearId() {
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
id_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -19506,18 +19931,7 @@ public startResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new startResponse(input, extensionRegistry);
}
};
@@ -19594,6 +20008,57 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private getTCRequest(
+ 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();
+
+ id_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ app_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_getTCRequest_descriptor;
@@ -19608,8 +20073,7 @@ protected java.lang.Object newInstance(
}
public static final int ID_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object id_ = "";
+ private volatile java.lang.Object id_;
/**
* string id = 1;
* @return The id.
@@ -19647,8 +20111,7 @@ public java.lang.String getId() {
}
public static final int APP_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object app_ = "";
+ private volatile java.lang.Object app_;
/**
* string app = 2;
* @return The app.
@@ -19705,7 +20168,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, app_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -19720,7 +20183,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, app_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -19739,7 +20202,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getId())) return false;
if (!getApp()
.equals(other.getApp())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -19754,7 +20217,7 @@ public int hashCode() {
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + APP_FIELD_NUMBER;
hash = (53 * hash) + getApp().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -19871,20 +20334,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.getTCRequest.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;
id_ = "";
+
app_ = "";
+
return this;
}
@@ -19911,21 +20380,12 @@ public io.keploy.grpc.stubs.Service.getTCRequest build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.getTCRequest buildPartial() {
io.keploy.grpc.stubs.Service.getTCRequest result = new io.keploy.grpc.stubs.Service.getTCRequest(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.id_ = id_;
+ result.app_ = app_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.getTCRequest result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.id_ = id_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.app_ = app_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -19972,15 +20432,13 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getTCRequest other) {
if (other == io.keploy.grpc.stubs.Service.getTCRequest.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getApp().isEmpty()) {
app_ = other.app_;
- bitField0_ |= 0x00000002;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -19995,43 +20453,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.getTCRequest parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- id_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- app_ = 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)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.getTCRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object id_ = "";
/**
@@ -20074,9 +20508,11 @@ public java.lang.String getId() {
*/
public Builder setId(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
id_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -20085,8 +20521,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
+
id_ = getDefaultInstance().getId();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -20097,10 +20533,12 @@ public Builder clearId() {
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
id_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -20146,9 +20584,11 @@ public java.lang.String getApp() {
*/
public Builder setApp(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
app_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -20157,8 +20597,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
+
app_ = getDefaultInstance().getApp();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -20169,10 +20609,12 @@ public Builder clearApp() {
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
app_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -20209,18 +20651,7 @@ public getTCRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new getTCRequest(input, extensionRegistry);
}
};
@@ -20336,6 +20767,75 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private getTCSRequest(
+ 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();
+
+ app_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ offset_ = s;
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ limit_ = s;
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ testCasePath_ = s;
+ break;
+ }
+ case 42: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ mockPath_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_getTCSRequest_descriptor;
@@ -20350,8 +20850,7 @@ protected java.lang.Object newInstance(
}
public static final int APP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object app_ = "";
+ private volatile java.lang.Object app_;
/**
* string app = 1;
* @return The app.
@@ -20389,8 +20888,7 @@ public java.lang.String getApp() {
}
public static final int OFFSET_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object offset_ = "";
+ private volatile java.lang.Object offset_;
/**
* string offset = 2;
* @return The offset.
@@ -20428,8 +20926,7 @@ public java.lang.String getOffset() {
}
public static final int LIMIT_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object limit_ = "";
+ private volatile java.lang.Object limit_;
/**
* string limit = 3;
* @return The limit.
@@ -20467,8 +20964,7 @@ public java.lang.String getLimit() {
}
public static final int TESTCASEPATH_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object testCasePath_ = "";
+ private volatile java.lang.Object testCasePath_;
/**
* string TestCasePath = 4;
* @return The testCasePath.
@@ -20506,8 +21002,7 @@ public java.lang.String getTestCasePath() {
}
public static final int MOCKPATH_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object mockPath_ = "";
+ private volatile java.lang.Object mockPath_;
/**
* string MockPath = 5;
* @return The mockPath.
@@ -20573,7 +21068,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mockPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mockPath_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -20597,7 +21092,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mockPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mockPath_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -20622,7 +21117,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getTestCasePath())) return false;
if (!getMockPath()
.equals(other.getMockPath())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -20643,7 +21138,7 @@ public int hashCode() {
hash = (53 * hash) + getTestCasePath().hashCode();
hash = (37 * hash) + MOCKPATH_FIELD_NUMBER;
hash = (53 * hash) + getMockPath().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -20760,23 +21255,32 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.getTCSRequest.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;
app_ = "";
+
offset_ = "";
+
limit_ = "";
+
testCasePath_ = "";
+
mockPath_ = "";
+
return this;
}
@@ -20803,30 +21307,15 @@ public io.keploy.grpc.stubs.Service.getTCSRequest build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.getTCSRequest buildPartial() {
io.keploy.grpc.stubs.Service.getTCSRequest result = new io.keploy.grpc.stubs.Service.getTCSRequest(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.app_ = app_;
+ result.offset_ = offset_;
+ result.limit_ = limit_;
+ result.testCasePath_ = testCasePath_;
+ result.mockPath_ = mockPath_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.getTCSRequest result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.app_ = app_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.offset_ = offset_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.limit_ = limit_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.testCasePath_ = testCasePath_;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.mockPath_ = mockPath_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -20873,30 +21362,25 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getTCSRequest other) {
if (other == io.keploy.grpc.stubs.Service.getTCSRequest.getDefaultInstance()) return this;
if (!other.getApp().isEmpty()) {
app_ = other.app_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getOffset().isEmpty()) {
offset_ = other.offset_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getLimit().isEmpty()) {
limit_ = other.limit_;
- bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getTestCasePath().isEmpty()) {
testCasePath_ = other.testCasePath_;
- bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getMockPath().isEmpty()) {
mockPath_ = other.mockPath_;
- bitField0_ |= 0x00000010;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -20911,58 +21395,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.getTCSRequest parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- app_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- offset_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- limit_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- testCasePath_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- mockPath_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
- break;
- } // case 42
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.getTCSRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object app_ = "";
/**
@@ -21005,9 +21450,11 @@ public java.lang.String getApp() {
*/
public Builder setApp(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
app_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -21016,8 +21463,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
+
app_ = getDefaultInstance().getApp();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -21028,10 +21475,12 @@ public Builder clearApp() {
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
app_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -21077,9 +21526,11 @@ public java.lang.String getOffset() {
*/
public Builder setOffset(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
offset_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -21088,8 +21539,8 @@ public Builder setOffset(
* @return This builder for chaining.
*/
public Builder clearOffset() {
+
offset_ = getDefaultInstance().getOffset();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -21100,10 +21551,12 @@ public Builder clearOffset() {
*/
public Builder setOffsetBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
offset_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -21149,9 +21602,11 @@ public java.lang.String getLimit() {
*/
public Builder setLimit(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
limit_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -21160,8 +21615,8 @@ public Builder setLimit(
* @return This builder for chaining.
*/
public Builder clearLimit() {
+
limit_ = getDefaultInstance().getLimit();
- bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -21172,10 +21627,12 @@ public Builder clearLimit() {
*/
public Builder setLimitBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
limit_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -21221,9 +21678,11 @@ public java.lang.String getTestCasePath() {
*/
public Builder setTestCasePath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
testCasePath_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -21232,8 +21691,8 @@ public Builder setTestCasePath(
* @return This builder for chaining.
*/
public Builder clearTestCasePath() {
+
testCasePath_ = getDefaultInstance().getTestCasePath();
- bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -21244,10 +21703,12 @@ public Builder clearTestCasePath() {
*/
public Builder setTestCasePathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
testCasePath_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -21293,9 +21754,11 @@ public java.lang.String getMockPath() {
*/
public Builder setMockPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
mockPath_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -21304,8 +21767,8 @@ public Builder setMockPath(
* @return This builder for chaining.
*/
public Builder clearMockPath() {
+
mockPath_ = getDefaultInstance().getMockPath();
- bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -21316,10 +21779,12 @@ public Builder clearMockPath() {
*/
public Builder setMockPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
mockPath_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -21356,18 +21821,7 @@ public getTCSRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new getTCSRequest(input, extensionRegistry);
}
};
@@ -21449,6 +21903,63 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private getTCSResponse(
+ 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)) {
+ tcs_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ tcs_.add(
+ input.readMessage(io.keploy.grpc.stubs.Service.TestCase.parser(), extensionRegistry));
+ break;
+ }
+ case 16: {
+
+ eof_ = input.readBool();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ tcs_ = java.util.Collections.unmodifiableList(tcs_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_getTCSResponse_descriptor;
@@ -21463,7 +21974,6 @@ protected java.lang.Object newInstance(
}
public static final int TCS_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
private java.util.List tcs_;
/**
* repeated .services.TestCase tcs = 1;
@@ -21504,7 +22014,7 @@ public io.keploy.grpc.stubs.Service.TestCaseOrBuilder getTcsOrBuilder(
}
public static final int EOF_FIELD_NUMBER = 2;
- private boolean eof_ = false;
+ private boolean eof_;
/**
* bool eof = 2;
* @return The eof.
@@ -21534,7 +22044,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (eof_ != false) {
output.writeBool(2, eof_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -21551,7 +22061,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, eof_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -21570,7 +22080,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getTcsList())) return false;
if (getEof()
!= other.getEof()) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -21588,7 +22098,7 @@ public int hashCode() {
hash = (37 * hash) + EOF_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEof());
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -21705,26 +22215,31 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.getTCSResponse.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getTcsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
if (tcsBuilder_ == null) {
tcs_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
- tcs_ = null;
tcsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
eof_ = false;
+
return this;
}
@@ -21751,13 +22266,7 @@ public io.keploy.grpc.stubs.Service.getTCSResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.getTCSResponse buildPartial() {
io.keploy.grpc.stubs.Service.getTCSResponse result = new io.keploy.grpc.stubs.Service.getTCSResponse(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getTCSResponse result) {
+ int from_bitField0_ = bitField0_;
if (tcsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tcs_ = java.util.Collections.unmodifiableList(tcs_);
@@ -21767,13 +22276,9 @@ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getTCSRespo
} else {
result.tcs_ = tcsBuilder_.build();
}
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.getTCSResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.eof_ = eof_;
- }
+ result.eof_ = eof_;
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -21849,7 +22354,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getTCSResponse other) {
if (other.getEof() != false) {
setEof(other.getEof());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -21864,48 +22369,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.getTCSResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- io.keploy.grpc.stubs.Service.TestCase m =
- input.readMessage(
- io.keploy.grpc.stubs.Service.TestCase.parser(),
- extensionRegistry);
- if (tcsBuilder_ == null) {
- ensureTcsIsMutable();
- tcs_.add(m);
- } else {
- tcsBuilder_.addMessage(m);
- }
- break;
- } // case 10
- case 16: {
- eof_ = input.readBool();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.getTCSResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -22167,7 +22641,6 @@ public boolean getEof() {
public Builder setEof(boolean value) {
eof_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -22176,7 +22649,7 @@ public Builder setEof(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEof() {
- bitField0_ = (bitField0_ & ~0x00000002);
+
eof_ = false;
onChanged();
return this;
@@ -22214,18 +22687,7 @@ public getTCSResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new getTCSResponse(input, extensionRegistry);
}
};
@@ -22272,6 +22734,7 @@ boolean containsTcsId(
/**
* map<string, string> tcsId = 1;
*/
+
/* nullable */
java.lang.String getTcsIdOrDefault(
java.lang.String key,
@@ -22280,6 +22743,7 @@ java.lang.String getTcsIdOrDefault(
/**
* map<string, string> tcsId = 1;
*/
+
java.lang.String getTcsIdOrThrow(
java.lang.String key);
}
@@ -22310,6 +22774,59 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private postTCResponse(
+ 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)) {
+ tcsId_ = com.google.protobuf.MapField.newMapField(
+ TcsIdDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ tcsId__ = input.readMessage(
+ TcsIdDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ tcsId_.getMutableMap().put(
+ tcsId__.getKey(), tcsId__.getValue());
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_postTCResponse_descriptor;
@@ -22347,7 +22864,6 @@ private static final class TcsIdDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> tcsId_;
private com.google.protobuf.MapField
@@ -22358,12 +22874,14 @@ private static final class TcsIdDefaultEntryHolder {
}
return tcsId_;
}
+
public int getTcsIdCount() {
return internalGetTcsId().getMap().size();
}
/**
* map<string, string> tcsId = 1;
*/
+
@java.lang.Override
public boolean containsTcsId(
java.lang.String key) {
@@ -22382,6 +22900,7 @@ public java.util.Map getTcsId() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
+
public java.util.Map getTcsIdMap() {
return internalGetTcsId().getMap();
}
@@ -22389,11 +22908,10 @@ public java.util.Map getTcsIdMap() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getTcsIdOrDefault(
+
+ public java.lang.String getTcsIdOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTcsId().getMap();
@@ -22403,6 +22921,7 @@ java.lang.String getTcsIdOrDefault(
* map<string, string> tcsId = 1;
*/
@java.lang.Override
+
public java.lang.String getTcsIdOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -22434,7 +22953,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetTcsId(),
TcsIdDefaultEntryHolder.defaultEntry,
1);
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -22453,7 +22972,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tcsId__);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -22470,7 +22989,7 @@ public boolean equals(final java.lang.Object obj) {
if (!internalGetTcsId().equals(
other.internalGetTcsId())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -22485,7 +23004,7 @@ public int hashCode() {
hash = (37 * hash) + TCSID_FIELD_NUMBER;
hash = (53 * hash) + internalGetTcsId().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -22624,18 +23143,22 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
// Construct using io.keploy.grpc.stubs.Service.postTCResponse.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;
internalGetMutableTcsId().clear();
return this;
}
@@ -22663,19 +23186,13 @@ public io.keploy.grpc.stubs.Service.postTCResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.postTCResponse buildPartial() {
io.keploy.grpc.stubs.Service.postTCResponse result = new io.keploy.grpc.stubs.Service.postTCResponse(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ int from_bitField0_ = bitField0_;
+ result.tcsId_ = internalGetTcsId();
+ result.tcsId_.makeImmutable();
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.postTCResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.tcsId_ = internalGetTcsId();
- result.tcsId_.makeImmutable();
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -22722,8 +23239,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.postTCResponse other) {
if (other == io.keploy.grpc.stubs.Service.postTCResponse.getDefaultInstance()) return this;
internalGetMutableTcsId().mergeFrom(
other.internalGetTcsId());
- bitField0_ |= 0x00000001;
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -22738,39 +23254,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.postTCResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- com.google.protobuf.MapEntry
- tcsId__ = input.readMessage(
- TcsIdDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableTcsId().getMutableMap().put(
- tcsId__.getKey(), tcsId__.getValue());
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.postTCResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -22778,7 +23272,7 @@ public Builder mergeFrom(
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> tcsId_;
private com.google.protobuf.MapField
- internalGetTcsId() {
+ internalGetTcsId() {
if (tcsId_ == null) {
return com.google.protobuf.MapField.emptyMapField(
TcsIdDefaultEntryHolder.defaultEntry);
@@ -22786,7 +23280,8 @@ public Builder mergeFrom(
return tcsId_;
}
private com.google.protobuf.MapField
- internalGetMutableTcsId() {
+ internalGetMutableTcsId() {
+ onChanged();;
if (tcsId_ == null) {
tcsId_ = com.google.protobuf.MapField.newMapField(
TcsIdDefaultEntryHolder.defaultEntry);
@@ -22794,16 +23289,16 @@ public Builder mergeFrom(
if (!tcsId_.isMutable()) {
tcsId_ = tcsId_.copy();
}
- bitField0_ |= 0x00000001;
- onChanged();
return tcsId_;
}
+
public int getTcsIdCount() {
return internalGetTcsId().getMap().size();
}
/**
* map<string, string> tcsId = 1;
*/
+
@java.lang.Override
public boolean containsTcsId(
java.lang.String key) {
@@ -22822,6 +23317,7 @@ public java.util.Map getTcsId() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
+
public java.util.Map getTcsIdMap() {
return internalGetTcsId().getMap();
}
@@ -22829,11 +23325,10 @@ public java.util.Map getTcsIdMap() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getTcsIdOrDefault(
+
+ public java.lang.String getTcsIdOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTcsId().getMap();
@@ -22843,6 +23338,7 @@ java.lang.String getTcsIdOrDefault(
* map<string, string> tcsId = 1;
*/
@java.lang.Override
+
public java.lang.String getTcsIdOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -22853,8 +23349,8 @@ public java.lang.String getTcsIdOrThrow(
}
return map.get(key);
}
+
public Builder clearTcsId() {
- bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableTcsId().getMutableMap()
.clear();
return this;
@@ -22862,6 +23358,7 @@ public Builder clearTcsId() {
/**
* map<string, string> tcsId = 1;
*/
+
public Builder removeTcsId(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -22874,8 +23371,7 @@ public Builder removeTcsId(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableTcsId() {
- bitField0_ |= 0x00000001;
+ getMutableTcsId() {
return internalGetMutableTcsId().getMutableMap();
}
/**
@@ -22885,20 +23381,22 @@ public Builder putTcsId(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableTcsId().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, string> tcsId = 1;
*/
+
public Builder putAllTcsId(
java.util.Map values) {
internalGetMutableTcsId().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000001;
return this;
}
@java.lang.Override
@@ -22934,18 +23432,7 @@ public postTCResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new postTCResponse(input, extensionRegistry);
}
};
@@ -23009,6 +23496,51 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private deNoiseResponse(
+ 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();
+
+ message_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_deNoiseResponse_descriptor;
@@ -23023,8 +23555,7 @@ protected java.lang.Object newInstance(
}
public static final int MESSAGE_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object message_ = "";
+ private volatile java.lang.Object message_;
/**
* string message = 1;
* @return The message.
@@ -23078,7 +23609,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -23090,7 +23621,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -23107,7 +23638,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMessage()
.equals(other.getMessage())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -23120,7 +23651,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -23237,19 +23768,24 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.deNoiseResponse.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;
message_ = "";
+
return this;
}
@@ -23276,18 +23812,11 @@ public io.keploy.grpc.stubs.Service.deNoiseResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.deNoiseResponse buildPartial() {
io.keploy.grpc.stubs.Service.deNoiseResponse result = new io.keploy.grpc.stubs.Service.deNoiseResponse(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.message_ = message_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.deNoiseResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.message_ = message_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -23334,10 +23863,9 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.deNoiseResponse other) {
if (other == io.keploy.grpc.stubs.Service.deNoiseResponse.getDefaultInstance()) return this;
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
- bitField0_ |= 0x00000001;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -23352,38 +23880,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.deNoiseResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- message_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.deNoiseResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object message_ = "";
/**
@@ -23426,9 +23935,11 @@ public java.lang.String getMessage() {
*/
public Builder setMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
message_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -23437,8 +23948,8 @@ public Builder setMessage(
* @return This builder for chaining.
*/
public Builder clearMessage() {
+
message_ = getDefaultInstance().getMessage();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -23449,10 +23960,12 @@ public Builder clearMessage() {
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
message_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -23489,18 +24002,7 @@ public deNoiseResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new deNoiseResponse(input, extensionRegistry);
}
};
@@ -23547,12 +24049,14 @@ boolean containsPass(
/**
* map<string, bool> pass = 1;
*/
+
boolean getPassOrDefault(
java.lang.String key,
boolean defaultValue);
/**
* map<string, bool> pass = 1;
*/
+
boolean getPassOrThrow(
java.lang.String key);
}
@@ -23583,6 +24087,59 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private testResponse(
+ 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)) {
+ pass_ = com.google.protobuf.MapField.newMapField(
+ PassDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ pass__ = input.readMessage(
+ PassDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ pass_.getMutableMap().put(
+ pass__.getKey(), pass__.getValue());
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_testResponse_descriptor;
@@ -23620,7 +24177,6 @@ private static final class PassDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.BOOL,
false);
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.Boolean> pass_;
private com.google.protobuf.MapField
@@ -23631,12 +24187,14 @@ private static final class PassDefaultEntryHolder {
}
return pass_;
}
+
public int getPassCount() {
return internalGetPass().getMap().size();
}
/**
* map<string, bool> pass = 1;
*/
+
@java.lang.Override
public boolean containsPass(
java.lang.String key) {
@@ -23655,6 +24213,7 @@ public java.util.Map getPass() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public java.util.Map getPassMap() {
return internalGetPass().getMap();
}
@@ -23662,6 +24221,7 @@ public java.util.Map getPassMap() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public boolean getPassOrDefault(
java.lang.String key,
boolean defaultValue) {
@@ -23674,6 +24234,7 @@ public boolean getPassOrDefault(
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public boolean getPassOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -23705,7 +24266,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetPass(),
PassDefaultEntryHolder.defaultEntry,
1);
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -23724,7 +24285,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, pass__);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -23741,7 +24302,7 @@ public boolean equals(final java.lang.Object obj) {
if (!internalGetPass().equals(
other.internalGetPass())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -23756,7 +24317,7 @@ public int hashCode() {
hash = (37 * hash) + PASS_FIELD_NUMBER;
hash = (53 * hash) + internalGetPass().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -23895,18 +24456,22 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
// Construct using io.keploy.grpc.stubs.Service.testResponse.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;
internalGetMutablePass().clear();
return this;
}
@@ -23934,19 +24499,13 @@ public io.keploy.grpc.stubs.Service.testResponse build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.testResponse buildPartial() {
io.keploy.grpc.stubs.Service.testResponse result = new io.keploy.grpc.stubs.Service.testResponse(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ int from_bitField0_ = bitField0_;
+ result.pass_ = internalGetPass();
+ result.pass_.makeImmutable();
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.testResponse result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.pass_ = internalGetPass();
- result.pass_.makeImmutable();
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -23993,8 +24552,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.testResponse other) {
if (other == io.keploy.grpc.stubs.Service.testResponse.getDefaultInstance()) return this;
internalGetMutablePass().mergeFrom(
other.internalGetPass());
- bitField0_ |= 0x00000001;
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -24009,39 +24567,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.testResponse parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- com.google.protobuf.MapEntry
- pass__ = input.readMessage(
- PassDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutablePass().getMutableMap().put(
- pass__.getKey(), pass__.getValue());
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.testResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -24049,7 +24585,7 @@ public Builder mergeFrom(
private com.google.protobuf.MapField<
java.lang.String, java.lang.Boolean> pass_;
private com.google.protobuf.MapField
- internalGetPass() {
+ internalGetPass() {
if (pass_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PassDefaultEntryHolder.defaultEntry);
@@ -24057,7 +24593,8 @@ public Builder mergeFrom(
return pass_;
}
private com.google.protobuf.MapField
- internalGetMutablePass() {
+ internalGetMutablePass() {
+ onChanged();;
if (pass_ == null) {
pass_ = com.google.protobuf.MapField.newMapField(
PassDefaultEntryHolder.defaultEntry);
@@ -24065,16 +24602,16 @@ public Builder mergeFrom(
if (!pass_.isMutable()) {
pass_ = pass_.copy();
}
- bitField0_ |= 0x00000001;
- onChanged();
return pass_;
}
+
public int getPassCount() {
return internalGetPass().getMap().size();
}
/**
* map<string, bool> pass = 1;
*/
+
@java.lang.Override
public boolean containsPass(
java.lang.String key) {
@@ -24093,6 +24630,7 @@ public java.util.Map getPass() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public java.util.Map getPassMap() {
return internalGetPass().getMap();
}
@@ -24100,6 +24638,7 @@ public java.util.Map getPassMap() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public boolean getPassOrDefault(
java.lang.String key,
boolean defaultValue) {
@@ -24112,6 +24651,7 @@ public boolean getPassOrDefault(
* map<string, bool> pass = 1;
*/
@java.lang.Override
+
public boolean getPassOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -24122,8 +24662,8 @@ public boolean getPassOrThrow(
}
return map.get(key);
}
+
public Builder clearPass() {
- bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutablePass().getMutableMap()
.clear();
return this;
@@ -24131,6 +24671,7 @@ public Builder clearPass() {
/**
* map<string, bool> pass = 1;
*/
+
public Builder removePass(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -24143,8 +24684,7 @@ public Builder removePass(
*/
@java.lang.Deprecated
public java.util.Map
- getMutablePass() {
- bitField0_ |= 0x00000001;
+ getMutablePass() {
return internalGetMutablePass().getMutableMap();
}
/**
@@ -24157,17 +24697,16 @@ public Builder putPass(
internalGetMutablePass().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, bool> pass = 1;
*/
+
public Builder putAllPass(
java.util.Map values) {
internalGetMutablePass().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000001;
return this;
}
@java.lang.Override
@@ -24203,18 +24742,7 @@ public testResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new testResponse(input, extensionRegistry);
}
};
@@ -24291,6 +24819,57 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private GrpcReq(
+ 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();
+
+ body_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ method_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_GrpcReq_descriptor;
@@ -24305,8 +24884,7 @@ protected java.lang.Object newInstance(
}
public static final int BODY_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object body_ = "";
+ private volatile java.lang.Object body_;
/**
* string Body = 1;
* @return The body.
@@ -24344,8 +24922,7 @@ public java.lang.String getBody() {
}
public static final int METHOD_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object method_ = "";
+ private volatile java.lang.Object method_;
/**
* string Method = 2;
* @return The method.
@@ -24402,7 +24979,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, method_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -24417,7 +24994,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, method_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -24436,7 +25013,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getBody())) return false;
if (!getMethod()
.equals(other.getMethod())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -24451,7 +25028,7 @@ public int hashCode() {
hash = (53 * hash) + getBody().hashCode();
hash = (37 * hash) + METHOD_FIELD_NUMBER;
hash = (53 * hash) + getMethod().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -24568,20 +25145,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.GrpcReq.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;
body_ = "";
+
method_ = "";
+
return this;
}
@@ -24608,21 +25191,12 @@ public io.keploy.grpc.stubs.Service.GrpcReq build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcReq buildPartial() {
io.keploy.grpc.stubs.Service.GrpcReq result = new io.keploy.grpc.stubs.Service.GrpcReq(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.body_ = body_;
+ result.method_ = method_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.GrpcReq result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.body_ = body_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.method_ = method_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -24669,15 +25243,13 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.GrpcReq other) {
if (other == io.keploy.grpc.stubs.Service.GrpcReq.getDefaultInstance()) return this;
if (!other.getBody().isEmpty()) {
body_ = other.body_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMethod().isEmpty()) {
method_ = other.method_;
- bitField0_ |= 0x00000002;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -24692,43 +25264,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.GrpcReq parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- body_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- method_ = 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)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.GrpcReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object body_ = "";
/**
@@ -24771,9 +25319,11 @@ public java.lang.String getBody() {
*/
public Builder setBody(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
body_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -24782,8 +25332,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
+
body_ = getDefaultInstance().getBody();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -24794,10 +25344,12 @@ public Builder clearBody() {
*/
public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
body_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -24843,9 +25395,11 @@ public java.lang.String getMethod() {
*/
public Builder setMethod(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
method_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -24854,8 +25408,8 @@ public Builder setMethod(
* @return This builder for chaining.
*/
public Builder clearMethod() {
+
method_ = getDefaultInstance().getMethod();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -24866,10 +25420,12 @@ public Builder clearMethod() {
*/
public Builder setMethodBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
method_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -24906,18 +25462,7 @@ public GrpcReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new GrpcReq(input, extensionRegistry);
}
};
@@ -24994,6 +25539,57 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private GrpcResp(
+ 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();
+
+ body_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ err_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_GrpcResp_descriptor;
@@ -25008,8 +25604,7 @@ protected java.lang.Object newInstance(
}
public static final int BODY_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object body_ = "";
+ private volatile java.lang.Object body_;
/**
* string Body = 1;
* @return The body.
@@ -25047,8 +25642,7 @@ public java.lang.String getBody() {
}
public static final int ERR_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object err_ = "";
+ private volatile java.lang.Object err_;
/**
* string Err = 2;
* @return The err.
@@ -25105,7 +25699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(err_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, err_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -25120,7 +25714,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(err_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, err_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -25139,7 +25733,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getBody())) return false;
if (!getErr()
.equals(other.getErr())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -25154,7 +25748,7 @@ public int hashCode() {
hash = (53 * hash) + getBody().hashCode();
hash = (37 * hash) + ERR_FIELD_NUMBER;
hash = (53 * hash) + getErr().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -25271,20 +25865,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.GrpcResp.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;
body_ = "";
+
err_ = "";
+
return this;
}
@@ -25311,21 +25911,12 @@ public io.keploy.grpc.stubs.Service.GrpcResp build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcResp buildPartial() {
io.keploy.grpc.stubs.Service.GrpcResp result = new io.keploy.grpc.stubs.Service.GrpcResp(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.body_ = body_;
+ result.err_ = err_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.GrpcResp result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.body_ = body_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.err_ = err_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -25372,15 +25963,13 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.GrpcResp other) {
if (other == io.keploy.grpc.stubs.Service.GrpcResp.getDefaultInstance()) return this;
if (!other.getBody().isEmpty()) {
body_ = other.body_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getErr().isEmpty()) {
err_ = other.err_;
- bitField0_ |= 0x00000002;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -25395,43 +25984,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.GrpcResp parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- body_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- err_ = 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)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.GrpcResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object body_ = "";
/**
@@ -25474,9 +26039,11 @@ public java.lang.String getBody() {
*/
public Builder setBody(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
body_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -25485,8 +26052,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
+
body_ = getDefaultInstance().getBody();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -25497,10 +26064,12 @@ public Builder clearBody() {
*/
public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
body_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -25546,9 +26115,11 @@ public java.lang.String getErr() {
*/
public Builder setErr(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
err_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -25557,8 +26128,8 @@ public Builder setErr(
* @return This builder for chaining.
*/
public Builder clearErr() {
+
err_ = getDefaultInstance().getErr();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -25569,10 +26140,12 @@ public Builder clearErr() {
*/
public Builder setErrBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
err_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -25609,18 +26182,7 @@ public GrpcResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new GrpcResp(input, extensionRegistry);
}
};
@@ -25725,6 +26287,76 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private Mock(
+ 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();
+
+ version_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ kind_ = s;
+ break;
+ }
+ case 34: {
+ io.keploy.grpc.stubs.Service.Mock.SpecSchema.Builder subBuilder = null;
+ if (spec_ != null) {
+ subBuilder = spec_.toBuilder();
+ }
+ spec_ = input.readMessage(io.keploy.grpc.stubs.Service.Mock.SpecSchema.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(spec_);
+ spec_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_Mock_descriptor;
@@ -25801,6 +26433,7 @@ boolean containsHeader(
/**
* map<string, .services.StrArr> Header = 5;
*/
+
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
@@ -25809,6 +26442,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
/**
* map<string, .services.StrArr> Header = 5;
*/
+
io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key);
@@ -25854,6 +26488,87 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private Request(
+ 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: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ method_ = s;
+ break;
+ }
+ case 16: {
+
+ protoMajor_ = input.readInt64();
+ break;
+ }
+ case 24: {
+
+ protoMinor_ = input.readInt64();
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ uRL_ = s;
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ header_ = com.google.protobuf.MapField.newMapField(
+ HeaderDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ header__ = input.readMessage(
+ HeaderDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ header_.getMutableMap().put(
+ header__.getKey(), header__.getValue());
+ break;
+ }
+ case 50: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ body_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_Mock_Request_descriptor;
@@ -25880,8 +26595,7 @@ protected com.google.protobuf.MapField internalGetMapField(
}
public static final int METHOD_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object method_ = "";
+ private volatile java.lang.Object method_;
/**
* string Method = 1;
* @return The method.
@@ -25919,7 +26633,7 @@ public java.lang.String getMethod() {
}
public static final int PROTOMAJOR_FIELD_NUMBER = 2;
- private long protoMajor_ = 0L;
+ private long protoMajor_;
/**
* int64 ProtoMajor = 2;
* @return The protoMajor.
@@ -25930,7 +26644,7 @@ public long getProtoMajor() {
}
public static final int PROTOMINOR_FIELD_NUMBER = 3;
- private long protoMinor_ = 0L;
+ private long protoMinor_;
/**
* int64 ProtoMinor = 3;
* @return The protoMinor.
@@ -25941,8 +26655,7 @@ public long getProtoMinor() {
}
public static final int URL_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object uRL_ = "";
+ private volatile java.lang.Object uRL_;
/**
* string URL = 4;
* @return The uRL.
@@ -25991,7 +26704,6 @@ private static final class HeaderDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.MESSAGE,
io.keploy.grpc.stubs.Service.StrArr.getDefaultInstance());
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> header_;
private com.google.protobuf.MapField
@@ -26002,12 +26714,14 @@ private static final class HeaderDefaultEntryHolder {
}
return header_;
}
+
public int getHeaderCount() {
return internalGetHeader().getMap().size();
}
/**
* map<string, .services.StrArr> Header = 5;
*/
+
@java.lang.Override
public boolean containsHeader(
java.lang.String key) {
@@ -26026,6 +26740,7 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
+
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -26033,11 +26748,10 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -26047,6 +26761,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -26059,8 +26774,7 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODY_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object body_ = "";
+ private volatile java.lang.Object body_;
/**
* string Body = 6;
* @return The body.
@@ -26132,7 +26846,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, body_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -26168,7 +26882,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, body_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -26195,7 +26909,7 @@ public boolean equals(final java.lang.Object obj) {
other.internalGetHeader())) return false;
if (!getBody()
.equals(other.getBody())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -26222,7 +26936,7 @@ public int hashCode() {
}
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -26361,24 +27075,33 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
// Construct using io.keploy.grpc.stubs.Service.Mock.Request.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;
method_ = "";
+
protoMajor_ = 0L;
+
protoMinor_ = 0L;
+
uRL_ = "";
+
internalGetMutableHeader().clear();
body_ = "";
+
return this;
}
@@ -26405,34 +27128,18 @@ public io.keploy.grpc.stubs.Service.Mock.Request build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock.Request buildPartial() {
io.keploy.grpc.stubs.Service.Mock.Request result = new io.keploy.grpc.stubs.Service.Mock.Request(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ int from_bitField0_ = bitField0_;
+ result.method_ = method_;
+ result.protoMajor_ = protoMajor_;
+ result.protoMinor_ = protoMinor_;
+ result.uRL_ = uRL_;
+ result.header_ = internalGetHeader();
+ result.header_.makeImmutable();
+ result.body_ = body_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.Mock.Request result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.method_ = method_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.protoMajor_ = protoMajor_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.protoMinor_ = protoMinor_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.uRL_ = uRL_;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.header_ = internalGetHeader();
- result.header_.makeImmutable();
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.body_ = body_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -26479,7 +27186,6 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.Request other) {
if (other == io.keploy.grpc.stubs.Service.Mock.Request.getDefaultInstance()) return this;
if (!other.getMethod().isEmpty()) {
method_ = other.method_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (other.getProtoMajor() != 0L) {
@@ -26490,18 +27196,15 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.Request other) {
}
if (!other.getURL().isEmpty()) {
uRL_ = other.uRL_;
- bitField0_ |= 0x00000008;
onChanged();
}
internalGetMutableHeader().mergeFrom(
other.internalGetHeader());
- bitField0_ |= 0x00000010;
if (!other.getBody().isEmpty()) {
body_ = other.body_;
- bitField0_ |= 0x00000020;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -26516,64 +27219,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.Mock.Request parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- method_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 16: {
- protoMajor_ = input.readInt64();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- case 24: {
- protoMinor_ = input.readInt64();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- case 34: {
- uRL_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- com.google.protobuf.MapEntry
- header__ = input.readMessage(
- HeaderDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableHeader().getMutableMap().put(
- header__.getKey(), header__.getValue());
- bitField0_ |= 0x00000010;
- break;
- } // case 42
- case 50: {
- body_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000020;
- break;
- } // case 50
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.Mock.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -26619,9 +27275,11 @@ public java.lang.String getMethod() {
*/
public Builder setMethod(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
method_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -26630,8 +27288,8 @@ public Builder setMethod(
* @return This builder for chaining.
*/
public Builder clearMethod() {
+
method_ = getDefaultInstance().getMethod();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -26642,10 +27300,12 @@ public Builder clearMethod() {
*/
public Builder setMethodBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
method_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -26667,7 +27327,6 @@ public long getProtoMajor() {
public Builder setProtoMajor(long value) {
protoMajor_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -26676,7 +27335,7 @@ public Builder setProtoMajor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMajor() {
- bitField0_ = (bitField0_ & ~0x00000002);
+
protoMajor_ = 0L;
onChanged();
return this;
@@ -26699,7 +27358,6 @@ public long getProtoMinor() {
public Builder setProtoMinor(long value) {
protoMinor_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -26708,7 +27366,7 @@ public Builder setProtoMinor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMinor() {
- bitField0_ = (bitField0_ & ~0x00000004);
+
protoMinor_ = 0L;
onChanged();
return this;
@@ -26755,9 +27413,11 @@ public java.lang.String getURL() {
*/
public Builder setURL(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
uRL_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -26766,8 +27426,8 @@ public Builder setURL(
* @return This builder for chaining.
*/
public Builder clearURL() {
+
uRL_ = getDefaultInstance().getURL();
- bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -26778,10 +27438,12 @@ public Builder clearURL() {
*/
public Builder setURLBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
uRL_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -26789,7 +27451,7 @@ public Builder setURLBytes(
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> header_;
private com.google.protobuf.MapField
- internalGetHeader() {
+ internalGetHeader() {
if (header_ == null) {
return com.google.protobuf.MapField.emptyMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -26797,7 +27459,8 @@ public Builder setURLBytes(
return header_;
}
private com.google.protobuf.MapField
- internalGetMutableHeader() {
+ internalGetMutableHeader() {
+ onChanged();;
if (header_ == null) {
header_ = com.google.protobuf.MapField.newMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -26805,16 +27468,16 @@ public Builder setURLBytes(
if (!header_.isMutable()) {
header_ = header_.copy();
}
- bitField0_ |= 0x00000010;
- onChanged();
return header_;
}
+
public int getHeaderCount() {
return internalGetHeader().getMap().size();
}
/**
* map<string, .services.StrArr> Header = 5;
*/
+
@java.lang.Override
public boolean containsHeader(
java.lang.String key) {
@@ -26833,6 +27496,7 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
+
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -26840,11 +27504,10 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -26854,6 +27517,7 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -26864,8 +27528,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
return map.get(key);
}
+
public Builder clearHeader() {
- bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableHeader().getMutableMap()
.clear();
return this;
@@ -26873,6 +27537,7 @@ public Builder clearHeader() {
/**
* map<string, .services.StrArr> Header = 5;
*/
+
public Builder removeHeader(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -26885,8 +27550,7 @@ public Builder removeHeader(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableHeader() {
- bitField0_ |= 0x00000010;
+ getMutableHeader() {
return internalGetMutableHeader().getMutableMap();
}
/**
@@ -26896,20 +27560,22 @@ public Builder putHeader(
java.lang.String key,
io.keploy.grpc.stubs.Service.StrArr value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableHeader().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000010;
return this;
}
/**
* map<string, .services.StrArr> Header = 5;
*/
+
public Builder putAllHeader(
java.util.Map values) {
internalGetMutableHeader().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000010;
return this;
}
@@ -26954,9 +27620,11 @@ public java.lang.String getBody() {
*/
public Builder setBody(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
body_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -26965,8 +27633,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
+
body_ = getDefaultInstance().getBody();
- bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -26977,10 +27645,12 @@ public Builder clearBody() {
*/
public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
body_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -27017,18 +27687,7 @@ public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new Request(input, extensionRegistry);
}
};
@@ -27099,6 +27758,56 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private Object(
+ 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();
+
+ type_ = s;
+ break;
+ }
+ case 18: {
+
+ data_ = input.readBytes();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_Mock_Object_descriptor;
@@ -27113,8 +27822,7 @@ protected java.lang.Object newInstance(
}
public static final int TYPE_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object type_ = "";
+ private volatile java.lang.Object type_;
/**
* string Type = 1;
* @return The type.
@@ -27152,7 +27860,7 @@ public java.lang.String getType() {
}
public static final int DATA_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
+ private com.google.protobuf.ByteString data_;
/**
* bytes Data = 2;
* @return The data.
@@ -27182,7 +27890,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!data_.isEmpty()) {
output.writeBytes(2, data_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -27198,7 +27906,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, data_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -27217,7 +27925,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getType())) return false;
if (!getData()
.equals(other.getData())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -27232,7 +27940,7 @@ public int hashCode() {
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -27349,20 +28057,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.Mock.Object.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;
type_ = "";
+
data_ = com.google.protobuf.ByteString.EMPTY;
+
return this;
}
@@ -27389,21 +28103,12 @@ public io.keploy.grpc.stubs.Service.Mock.Object build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock.Object buildPartial() {
io.keploy.grpc.stubs.Service.Mock.Object result = new io.keploy.grpc.stubs.Service.Mock.Object(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.type_ = type_;
+ result.data_ = data_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.Mock.Object result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.type_ = type_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.data_ = data_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -27450,13 +28155,12 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.Object other) {
if (other == io.keploy.grpc.stubs.Service.Mock.Object.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
setData(other.getData());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -27471,43 +28175,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.Mock.Object parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- type_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- data_ = input.readBytes();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.Mock.Object) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object type_ = "";
/**
@@ -27550,9 +28230,11 @@ public java.lang.String getType() {
*/
public Builder setType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
type_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -27561,8 +28243,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
+
type_ = getDefaultInstance().getType();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -27573,10 +28255,12 @@ public Builder clearType() {
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
type_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -27596,9 +28280,11 @@ public com.google.protobuf.ByteString getData() {
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
data_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -27607,7 +28293,7 @@ public Builder setData(com.google.protobuf.ByteString value) {
* @return This builder for chaining.
*/
public Builder clearData() {
- bitField0_ = (bitField0_ & ~0x00000002);
+
data_ = getDefaultInstance().getData();
onChanged();
return this;
@@ -27645,18 +28331,7 @@ public Object parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new Object(input, extensionRegistry);
}
};
@@ -27703,6 +28378,7 @@ boolean containsMetadata(
/**
* map<string, string> Metadata = 1;
*/
+
/* nullable */
java.lang.String getMetadataOrDefault(
java.lang.String key,
@@ -27711,6 +28387,7 @@ java.lang.String getMetadataOrDefault(
/**
* map<string, string> Metadata = 1;
*/
+
java.lang.String getMetadataOrThrow(
java.lang.String key);
@@ -27816,6 +28493,7 @@ boolean containsAssertions(
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
@@ -27824,6 +28502,7 @@ io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
java.lang.String key);
@@ -27964,6 +28643,189 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private SpecSchema(
+ 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)) {
+ metadata_ = com.google.protobuf.MapField.newMapField(
+ MetadataDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ metadata__ = input.readMessage(
+ MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ metadata_.getMutableMap().put(
+ metadata__.getKey(), metadata__.getValue());
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ objects_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ objects_.add(
+ input.readMessage(io.keploy.grpc.stubs.Service.Mock.Object.parser(), extensionRegistry));
+ break;
+ }
+ case 26: {
+ io.keploy.grpc.stubs.Service.HttpReq.Builder subBuilder = null;
+ if (req_ != null) {
+ subBuilder = req_.toBuilder();
+ }
+ req_ = input.readMessage(io.keploy.grpc.stubs.Service.HttpReq.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(req_);
+ req_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 34: {
+ io.keploy.grpc.stubs.Service.HttpResp.Builder subBuilder = null;
+ if (res_ != null) {
+ subBuilder = res_.toBuilder();
+ }
+ res_ = input.readMessage(io.keploy.grpc.stubs.Service.HttpResp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(res_);
+ res_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 42: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ mocks_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ mocks_.add(s);
+ break;
+ }
+ case 50: {
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ assertions_ = com.google.protobuf.MapField.newMapField(
+ AssertionsDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000008;
+ }
+ com.google.protobuf.MapEntry
+ assertions__ = input.readMessage(
+ AssertionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ assertions_.getMutableMap().put(
+ assertions__.getKey(), assertions__.getValue());
+ break;
+ }
+ case 56: {
+
+ created_ = input.readInt64();
+ break;
+ }
+ case 66: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ type_ = s;
+ break;
+ }
+ case 74: {
+ io.keploy.grpc.stubs.Service.Table.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ subBuilder = table_.toBuilder();
+ }
+ table_ = input.readMessage(io.keploy.grpc.stubs.Service.Table.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(table_);
+ table_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 80: {
+
+ int_ = input.readInt64();
+ break;
+ }
+ case 90: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ err_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000020;
+ }
+ err_.add(s);
+ break;
+ }
+ case 98: {
+ io.keploy.grpc.stubs.Service.GrpcReq.Builder subBuilder = null;
+ if (grpcRequest_ != null) {
+ subBuilder = grpcRequest_.toBuilder();
+ }
+ grpcRequest_ = input.readMessage(io.keploy.grpc.stubs.Service.GrpcReq.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(grpcRequest_);
+ grpcRequest_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 106: {
+ io.keploy.grpc.stubs.Service.GrpcResp.Builder subBuilder = null;
+ if (grpcResp_ != null) {
+ subBuilder = grpcResp_.toBuilder();
+ }
+ grpcResp_ = input.readMessage(io.keploy.grpc.stubs.Service.GrpcResp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(grpcResp_);
+ grpcResp_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ objects_ = java.util.Collections.unmodifiableList(objects_);
+ }
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ mocks_ = mocks_.getUnmodifiableView();
+ }
+ if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ err_ = err_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_Mock_SpecSchema_descriptor;
@@ -28004,7 +28866,6 @@ private static final class MetadataDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> metadata_;
private com.google.protobuf.MapField
@@ -28015,12 +28876,14 @@ private static final class MetadataDefaultEntryHolder {
}
return metadata_;
}
+
public int getMetadataCount() {
return internalGetMetadata().getMap().size();
}
/**
* map<string, string> Metadata = 1;
*/
+
@java.lang.Override
public boolean containsMetadata(
java.lang.String key) {
@@ -28039,6 +28902,7 @@ public java.util.Map getMetadata() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
+
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
@@ -28046,11 +28910,10 @@ public java.util.Map getMetadataMap() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getMetadataOrDefault(
+
+ public java.lang.String getMetadataOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
@@ -28060,6 +28923,7 @@ java.lang.String getMetadataOrDefault(
* map<string, string> Metadata = 1;
*/
@java.lang.Override
+
public java.lang.String getMetadataOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -28072,7 +28936,6 @@ public java.lang.String getMetadataOrThrow(
}
public static final int OBJECTS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private java.util.List objects_;
/**
* repeated .services.Mock.Object Objects = 2;
@@ -28135,7 +28998,7 @@ public io.keploy.grpc.stubs.Service.HttpReq getReq() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.HttpReqOrBuilder getReqOrBuilder() {
- return req_ == null ? io.keploy.grpc.stubs.Service.HttpReq.getDefaultInstance() : req_;
+ return getReq();
}
public static final int RES_FIELD_NUMBER = 4;
@@ -28161,11 +29024,10 @@ public io.keploy.grpc.stubs.Service.HttpResp getRes() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.HttpRespOrBuilder getResOrBuilder() {
- return res_ == null ? io.keploy.grpc.stubs.Service.HttpResp.getDefaultInstance() : res_;
+ return getRes();
}
public static final int MOCKS_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList mocks_;
/**
* repeated string Mocks = 5;
@@ -28212,7 +29074,6 @@ private static final class AssertionsDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.MESSAGE,
io.keploy.grpc.stubs.Service.StrArr.getDefaultInstance());
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> assertions_;
private com.google.protobuf.MapField
@@ -28223,12 +29084,14 @@ private static final class AssertionsDefaultEntryHolder {
}
return assertions_;
}
+
public int getAssertionsCount() {
return internalGetAssertions().getMap().size();
}
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
@java.lang.Override
public boolean containsAssertions(
java.lang.String key) {
@@ -28247,6 +29110,7 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
+
public java.util.Map getAssertionsMap() {
return internalGetAssertions().getMap();
}
@@ -28254,11 +29118,10 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAssertions().getMap();
@@ -28268,6 +29131,7 @@ io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -28280,7 +29144,7 @@ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
}
public static final int CREATED_FIELD_NUMBER = 7;
- private long created_ = 0L;
+ private long created_;
/**
* int64 Created = 7;
* @return The created.
@@ -28291,8 +29155,7 @@ public long getCreated() {
}
public static final int TYPE_FIELD_NUMBER = 8;
- @SuppressWarnings("serial")
- private volatile java.lang.Object type_ = "";
+ private volatile java.lang.Object type_;
/**
*
* for sql
@@ -28364,7 +29227,7 @@ public io.keploy.grpc.stubs.Service.TableOrBuilder getTableOrBuilder() {
}
public static final int INT_FIELD_NUMBER = 10;
- private long int_ = 0L;
+ private long int_;
/**
*
* change it to rows commited
@@ -28379,7 +29242,6 @@ public long getInt() {
}
public static final int ERR_FIELD_NUMBER = 11;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList err_;
/**
* repeated string Err = 11;
@@ -28437,7 +29299,7 @@ public io.keploy.grpc.stubs.Service.GrpcReq getGrpcRequest() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcReqOrBuilder getGrpcRequestOrBuilder() {
- return grpcRequest_ == null ? io.keploy.grpc.stubs.Service.GrpcReq.getDefaultInstance() : grpcRequest_;
+ return getGrpcRequest();
}
public static final int GRPCRESP_FIELD_NUMBER = 13;
@@ -28463,7 +29325,7 @@ public io.keploy.grpc.stubs.Service.GrpcResp getGrpcResp() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcRespOrBuilder getGrpcRespOrBuilder() {
- return grpcResp_ == null ? io.keploy.grpc.stubs.Service.GrpcResp.getDefaultInstance() : grpcResp_;
+ return getGrpcResp();
}
private byte memoizedIsInitialized = -1;
@@ -28525,7 +29387,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (grpcResp_ != null) {
output.writeMessage(13, getGrpcResp());
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -28605,7 +29467,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getGrpcResp());
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -28661,7 +29523,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getGrpcResp()
.equals(other.getGrpcResp())) return false;
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -28720,7 +29582,7 @@ public int hashCode() {
hash = (37 * hash) + GRPCRESP_FIELD_NUMBER;
hash = (53 * hash) + getGrpcResp().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -28875,56 +29737,58 @@ private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getObjectsFieldBuilder();
- getReqFieldBuilder();
- getResFieldBuilder();
getTableFieldBuilder();
- getGrpcRequestFieldBuilder();
- getGrpcRespFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
internalGetMutableMetadata().clear();
if (objectsBuilder_ == null) {
objects_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- objects_ = null;
objectsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
- req_ = null;
- if (reqBuilder_ != null) {
- reqBuilder_.dispose();
+ if (reqBuilder_ == null) {
+ req_ = null;
+ } else {
+ req_ = null;
reqBuilder_ = null;
}
- res_ = null;
- if (resBuilder_ != null) {
- resBuilder_.dispose();
+ if (resBuilder_ == null) {
+ res_ = null;
+ } else {
+ res_ = null;
resBuilder_ = null;
}
mocks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableAssertions().clear();
created_ = 0L;
+
type_ = "";
- table_ = null;
- if (tableBuilder_ != null) {
- tableBuilder_.dispose();
- tableBuilder_ = null;
+
+ if (tableBuilder_ == null) {
+ table_ = null;
+ } else {
+ tableBuilder_.clear();
}
+ bitField0_ = (bitField0_ & ~0x00000010);
int_ = 0L;
+
err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000400);
- grpcRequest_ = null;
- if (grpcRequestBuilder_ != null) {
- grpcRequestBuilder_.dispose();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ if (grpcRequestBuilder_ == null) {
+ grpcRequest_ = null;
+ } else {
+ grpcRequest_ = null;
grpcRequestBuilder_ = null;
}
- grpcResp_ = null;
- if (grpcRespBuilder_ != null) {
- grpcRespBuilder_.dispose();
+ if (grpcRespBuilder_ == null) {
+ grpcResp_ = null;
+ } else {
+ grpcResp_ = null;
grpcRespBuilder_ = null;
}
return this;
@@ -28953,13 +29817,10 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock.SpecSchema buildPartial() {
io.keploy.grpc.stubs.Service.Mock.SpecSchema result = new io.keploy.grpc.stubs.Service.Mock.SpecSchema(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Mock.SpecSchema result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ result.metadata_ = internalGetMetadata();
+ result.metadata_.makeImmutable();
if (objectsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objects_ = java.util.Collections.unmodifiableList(objects_);
@@ -28969,65 +29830,52 @@ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Mock.SpecSc
} else {
result.objects_ = objectsBuilder_.build();
}
- if (((bitField0_ & 0x00000010) != 0)) {
- mocks_ = mocks_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000010);
- }
- result.mocks_ = mocks_;
- if (((bitField0_ & 0x00000400) != 0)) {
- err_ = err_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000400);
- }
- result.err_ = err_;
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.Mock.SpecSchema result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.metadata_ = internalGetMetadata();
- result.metadata_.makeImmutable();
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.req_ = reqBuilder_ == null
- ? req_
- : reqBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.res_ = resBuilder_ == null
- ? res_
- : resBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.assertions_ = internalGetAssertions();
- result.assertions_.makeImmutable();
+ if (reqBuilder_ == null) {
+ result.req_ = req_;
+ } else {
+ result.req_ = reqBuilder_.build();
}
- if (((from_bitField0_ & 0x00000040) != 0)) {
- result.created_ = created_;
+ if (resBuilder_ == null) {
+ result.res_ = res_;
+ } else {
+ result.res_ = resBuilder_.build();
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.type_ = type_;
+ if (((bitField0_ & 0x00000004) != 0)) {
+ mocks_ = mocks_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000004);
}
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000100) != 0)) {
- result.table_ = tableBuilder_ == null
- ? table_
- : tableBuilder_.build();
+ result.mocks_ = mocks_;
+ result.assertions_ = internalGetAssertions();
+ result.assertions_.makeImmutable();
+ result.created_ = created_;
+ result.type_ = type_;
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (tableBuilder_ == null) {
+ result.table_ = table_;
+ } else {
+ result.table_ = tableBuilder_.build();
+ }
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000200) != 0)) {
- result.int_ = int_;
+ result.int_ = int_;
+ if (((bitField0_ & 0x00000020) != 0)) {
+ err_ = err_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000020);
}
- if (((from_bitField0_ & 0x00000800) != 0)) {
- result.grpcRequest_ = grpcRequestBuilder_ == null
- ? grpcRequest_
- : grpcRequestBuilder_.build();
+ result.err_ = err_;
+ if (grpcRequestBuilder_ == null) {
+ result.grpcRequest_ = grpcRequest_;
+ } else {
+ result.grpcRequest_ = grpcRequestBuilder_.build();
}
- if (((from_bitField0_ & 0x00001000) != 0)) {
- result.grpcResp_ = grpcRespBuilder_ == null
- ? grpcResp_
- : grpcRespBuilder_.build();
+ if (grpcRespBuilder_ == null) {
+ result.grpcResp_ = grpcResp_;
+ } else {
+ result.grpcResp_ = grpcRespBuilder_.build();
}
- result.bitField0_ |= to_bitField0_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -29076,7 +29924,6 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (other == io.keploy.grpc.stubs.Service.Mock.SpecSchema.getDefaultInstance()) return this;
internalGetMutableMetadata().mergeFrom(
other.internalGetMetadata());
- bitField0_ |= 0x00000001;
if (objectsBuilder_ == null) {
if (!other.objects_.isEmpty()) {
if (objects_.isEmpty()) {
@@ -29112,7 +29959,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (!other.mocks_.isEmpty()) {
if (mocks_.isEmpty()) {
mocks_ = other.mocks_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureMocksIsMutable();
mocks_.addAll(other.mocks_);
@@ -29121,13 +29968,11 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
}
internalGetMutableAssertions().mergeFrom(
other.internalGetAssertions());
- bitField0_ |= 0x00000020;
if (other.getCreated() != 0L) {
setCreated(other.getCreated());
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
- bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasTable()) {
@@ -29139,7 +29984,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (!other.err_.isEmpty()) {
if (err_.isEmpty()) {
err_ = other.err_;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureErrIsMutable();
err_.addAll(other.err_);
@@ -29152,7 +29997,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (other.hasGrpcResp()) {
mergeGrpcResp(other.getGrpcResp());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -29167,123 +30012,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.Mock.SpecSchema parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- com.google.protobuf.MapEntry
- metadata__ = input.readMessage(
- MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableMetadata().getMutableMap().put(
- metadata__.getKey(), metadata__.getValue());
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.keploy.grpc.stubs.Service.Mock.Object m =
- input.readMessage(
- io.keploy.grpc.stubs.Service.Mock.Object.parser(),
- extensionRegistry);
- if (objectsBuilder_ == null) {
- ensureObjectsIsMutable();
- objects_.add(m);
- } else {
- objectsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- case 26: {
- input.readMessage(
- getReqFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- input.readMessage(
- getResFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureMocksIsMutable();
- mocks_.add(s);
- break;
- } // case 42
- case 50: {
- com.google.protobuf.MapEntry
- assertions__ = input.readMessage(
- AssertionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableAssertions().getMutableMap().put(
- assertions__.getKey(), assertions__.getValue());
- bitField0_ |= 0x00000020;
- break;
- } // case 50
- case 56: {
- created_ = input.readInt64();
- bitField0_ |= 0x00000040;
- break;
- } // case 56
- case 66: {
- type_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
- break;
- } // case 66
- case 74: {
- input.readMessage(
- getTableFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000100;
- break;
- } // case 74
- case 80: {
- int_ = input.readInt64();
- bitField0_ |= 0x00000200;
- break;
- } // case 80
- case 90: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureErrIsMutable();
- err_.add(s);
- break;
- } // case 90
- case 98: {
- input.readMessage(
- getGrpcRequestFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000800;
- break;
- } // case 98
- case 106: {
- input.readMessage(
- getGrpcRespFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00001000;
- break;
- } // case 106
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.Mock.SpecSchema) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -29291,7 +30030,7 @@ public Builder mergeFrom(
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> metadata_;
private com.google.protobuf.MapField
- internalGetMetadata() {
+ internalGetMetadata() {
if (metadata_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MetadataDefaultEntryHolder.defaultEntry);
@@ -29299,7 +30038,8 @@ public Builder mergeFrom(
return metadata_;
}
private com.google.protobuf.MapField
- internalGetMutableMetadata() {
+ internalGetMutableMetadata() {
+ onChanged();;
if (metadata_ == null) {
metadata_ = com.google.protobuf.MapField.newMapField(
MetadataDefaultEntryHolder.defaultEntry);
@@ -29307,16 +30047,16 @@ public Builder mergeFrom(
if (!metadata_.isMutable()) {
metadata_ = metadata_.copy();
}
- bitField0_ |= 0x00000001;
- onChanged();
return metadata_;
}
+
public int getMetadataCount() {
return internalGetMetadata().getMap().size();
}
/**
* map<string, string> Metadata = 1;
*/
+
@java.lang.Override
public boolean containsMetadata(
java.lang.String key) {
@@ -29335,6 +30075,7 @@ public java.util.Map getMetadata() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
+
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
@@ -29342,11 +30083,10 @@ public java.util.Map getMetadataMap() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getMetadataOrDefault(
+
+ public java.lang.String getMetadataOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
@@ -29356,6 +30096,7 @@ java.lang.String getMetadataOrDefault(
* map<string, string> Metadata = 1;
*/
@java.lang.Override
+
public java.lang.String getMetadataOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -29366,8 +30107,8 @@ public java.lang.String getMetadataOrThrow(
}
return map.get(key);
}
+
public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableMetadata().getMutableMap()
.clear();
return this;
@@ -29375,6 +30116,7 @@ public Builder clearMetadata() {
/**
* map<string, string> Metadata = 1;
*/
+
public Builder removeMetadata(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -29387,8 +30129,7 @@ public Builder removeMetadata(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableMetadata() {
- bitField0_ |= 0x00000001;
+ getMutableMetadata() {
return internalGetMutableMetadata().getMutableMap();
}
/**
@@ -29398,20 +30139,22 @@ public Builder putMetadata(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableMetadata().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000001;
return this;
}
/**
* map<string, string> Metadata = 1;
*/
+
public Builder putAllMetadata(
java.util.Map values) {
internalGetMutableMetadata().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000001;
return this;
}
@@ -29663,7 +30406,7 @@ public io.keploy.grpc.stubs.Service.Mock.Object.Builder addObjectsBuilder(
* @return Whether the req field is set.
*/
public boolean hasReq() {
- return ((bitField0_ & 0x00000004) != 0);
+ return reqBuilder_ != null || req_ != null;
}
/**
* .services.HttpReq Req = 3;
@@ -29685,11 +30428,11 @@ public Builder setReq(io.keploy.grpc.stubs.Service.HttpReq value) {
throw new NullPointerException();
}
req_ = value;
+ onChanged();
} else {
reqBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000004;
- onChanged();
+
return this;
}
/**
@@ -29699,11 +30442,11 @@ public Builder setReq(
io.keploy.grpc.stubs.Service.HttpReq.Builder builderForValue) {
if (reqBuilder_ == null) {
req_ = builderForValue.build();
+ onChanged();
} else {
reqBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000004;
- onChanged();
+
return this;
}
/**
@@ -29711,38 +30454,38 @@ public Builder setReq(
*/
public Builder mergeReq(io.keploy.grpc.stubs.Service.HttpReq value) {
if (reqBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- req_ != null &&
- req_ != io.keploy.grpc.stubs.Service.HttpReq.getDefaultInstance()) {
- getReqBuilder().mergeFrom(value);
+ if (req_ != null) {
+ req_ =
+ io.keploy.grpc.stubs.Service.HttpReq.newBuilder(req_).mergeFrom(value).buildPartial();
} else {
req_ = value;
}
+ onChanged();
} else {
reqBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000004;
- onChanged();
+
return this;
}
/**
* .services.HttpReq Req = 3;
*/
public Builder clearReq() {
- bitField0_ = (bitField0_ & ~0x00000004);
- req_ = null;
- if (reqBuilder_ != null) {
- reqBuilder_.dispose();
+ if (reqBuilder_ == null) {
+ req_ = null;
+ onChanged();
+ } else {
+ req_ = null;
reqBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.HttpReq Req = 3;
*/
public io.keploy.grpc.stubs.Service.HttpReq.Builder getReqBuilder() {
- bitField0_ |= 0x00000004;
+
onChanged();
return getReqFieldBuilder().getBuilder();
}
@@ -29782,7 +30525,7 @@ public io.keploy.grpc.stubs.Service.HttpReqOrBuilder getReqOrBuilder() {
* @return Whether the res field is set.
*/
public boolean hasRes() {
- return ((bitField0_ & 0x00000008) != 0);
+ return resBuilder_ != null || res_ != null;
}
/**
* .services.HttpResp Res = 4;
@@ -29804,11 +30547,11 @@ public Builder setRes(io.keploy.grpc.stubs.Service.HttpResp value) {
throw new NullPointerException();
}
res_ = value;
+ onChanged();
} else {
resBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
@@ -29818,11 +30561,11 @@ public Builder setRes(
io.keploy.grpc.stubs.Service.HttpResp.Builder builderForValue) {
if (resBuilder_ == null) {
res_ = builderForValue.build();
+ onChanged();
} else {
resBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
@@ -29830,38 +30573,38 @@ public Builder setRes(
*/
public Builder mergeRes(io.keploy.grpc.stubs.Service.HttpResp value) {
if (resBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0) &&
- res_ != null &&
- res_ != io.keploy.grpc.stubs.Service.HttpResp.getDefaultInstance()) {
- getResBuilder().mergeFrom(value);
+ if (res_ != null) {
+ res_ =
+ io.keploy.grpc.stubs.Service.HttpResp.newBuilder(res_).mergeFrom(value).buildPartial();
} else {
res_ = value;
}
+ onChanged();
} else {
resBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
* .services.HttpResp Res = 4;
*/
public Builder clearRes() {
- bitField0_ = (bitField0_ & ~0x00000008);
- res_ = null;
- if (resBuilder_ != null) {
- resBuilder_.dispose();
+ if (resBuilder_ == null) {
+ res_ = null;
+ onChanged();
+ } else {
+ res_ = null;
resBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.HttpResp Res = 4;
*/
public io.keploy.grpc.stubs.Service.HttpResp.Builder getResBuilder() {
- bitField0_ |= 0x00000008;
+
onChanged();
return getResFieldBuilder().getBuilder();
}
@@ -29895,9 +30638,9 @@ public io.keploy.grpc.stubs.Service.HttpRespOrBuilder getResOrBuilder() {
private com.google.protobuf.LazyStringList mocks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMocksIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
mocks_ = new com.google.protobuf.LazyStringArrayList(mocks_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -29940,8 +30683,10 @@ public java.lang.String getMocks(int index) {
*/
public Builder setMocks(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureMocksIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMocksIsMutable();
mocks_.set(index, value);
onChanged();
return this;
@@ -29953,8 +30698,10 @@ public Builder setMocks(
*/
public Builder addMocks(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureMocksIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMocksIsMutable();
mocks_.add(value);
onChanged();
return this;
@@ -29978,7 +30725,7 @@ public Builder addAllMocks(
*/
public Builder clearMocks() {
mocks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -29989,8 +30736,10 @@ public Builder clearMocks() {
*/
public Builder addMocksBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureMocksIsMutable();
mocks_.add(value);
onChanged();
@@ -30000,7 +30749,7 @@ public Builder addMocksBytes(
private com.google.protobuf.MapField<
java.lang.String, io.keploy.grpc.stubs.Service.StrArr> assertions_;
private com.google.protobuf.MapField
- internalGetAssertions() {
+ internalGetAssertions() {
if (assertions_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AssertionsDefaultEntryHolder.defaultEntry);
@@ -30008,7 +30757,8 @@ public Builder addMocksBytes(
return assertions_;
}
private com.google.protobuf.MapField
- internalGetMutableAssertions() {
+ internalGetMutableAssertions() {
+ onChanged();;
if (assertions_ == null) {
assertions_ = com.google.protobuf.MapField.newMapField(
AssertionsDefaultEntryHolder.defaultEntry);
@@ -30016,16 +30766,16 @@ public Builder addMocksBytes(
if (!assertions_.isMutable()) {
assertions_ = assertions_.copy();
}
- bitField0_ |= 0x00000020;
- onChanged();
return assertions_;
}
+
public int getAssertionsCount() {
return internalGetAssertions().getMap().size();
}
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
@java.lang.Override
public boolean containsAssertions(
java.lang.String key) {
@@ -30044,6 +30794,7 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
+
public java.util.Map getAssertionsMap() {
return internalGetAssertions().getMap();
}
@@ -30051,11 +30802,10 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
- public /* nullable */
-io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
+
+ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
- /* nullable */
-io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAssertions().getMap();
@@ -30065,6 +30815,7 @@ io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
+
public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -30075,8 +30826,8 @@ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
}
return map.get(key);
}
+
public Builder clearAssertions() {
- bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableAssertions().getMutableMap()
.clear();
return this;
@@ -30084,6 +30835,7 @@ public Builder clearAssertions() {
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
public Builder removeAssertions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -30096,8 +30848,7 @@ public Builder removeAssertions(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableAssertions() {
- bitField0_ |= 0x00000020;
+ getMutableAssertions() {
return internalGetMutableAssertions().getMutableMap();
}
/**
@@ -30107,20 +30858,22 @@ public Builder putAssertions(
java.lang.String key,
io.keploy.grpc.stubs.Service.StrArr value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableAssertions().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000020;
return this;
}
/**
* map<string, .services.StrArr> Assertions = 6;
*/
+
public Builder putAllAssertions(
java.util.Map values) {
internalGetMutableAssertions().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000020;
return this;
}
@@ -30141,7 +30894,6 @@ public long getCreated() {
public Builder setCreated(long value) {
created_ = value;
- bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -30150,7 +30902,7 @@ public Builder setCreated(long value) {
* @return This builder for chaining.
*/
public Builder clearCreated() {
- bitField0_ = (bitField0_ & ~0x00000040);
+
created_ = 0L;
onChanged();
return this;
@@ -30209,9 +30961,11 @@ public java.lang.String getType() {
*/
public Builder setType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
type_ = value;
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -30224,8 +30978,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
+
type_ = getDefaultInstance().getType();
- bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -30240,10 +30994,12 @@ public Builder clearType() {
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
type_ = value;
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -30256,7 +31012,7 @@ public Builder setTypeBytes(
* @return Whether the table field is set.
*/
public boolean hasTable() {
- return ((bitField0_ & 0x00000100) != 0);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .services.Table Table = 9;
@@ -30278,11 +31034,11 @@ public Builder setTable(io.keploy.grpc.stubs.Service.Table value) {
throw new NullPointerException();
}
table_ = value;
+ onChanged();
} else {
tableBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000100;
- onChanged();
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -30292,11 +31048,11 @@ public Builder setTable(
io.keploy.grpc.stubs.Service.Table.Builder builderForValue) {
if (tableBuilder_ == null) {
table_ = builderForValue.build();
+ onChanged();
} else {
tableBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000100;
- onChanged();
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -30304,38 +31060,39 @@ public Builder setTable(
*/
public Builder mergeTable(io.keploy.grpc.stubs.Service.Table value) {
if (tableBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0) &&
- table_ != null &&
- table_ != io.keploy.grpc.stubs.Service.Table.getDefaultInstance()) {
- getTableBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000010) != 0) &&
+ table_ != null &&
+ table_ != io.keploy.grpc.stubs.Service.Table.getDefaultInstance()) {
+ table_ =
+ io.keploy.grpc.stubs.Service.Table.newBuilder(table_).mergeFrom(value).buildPartial();
} else {
table_ = value;
}
+ onChanged();
} else {
tableBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000100;
- onChanged();
+ bitField0_ |= 0x00000010;
return this;
}
/**
* optional .services.Table Table = 9;
*/
public Builder clearTable() {
- bitField0_ = (bitField0_ & ~0x00000100);
- table_ = null;
- if (tableBuilder_ != null) {
- tableBuilder_.dispose();
- tableBuilder_ = null;
+ if (tableBuilder_ == null) {
+ table_ = null;
+ onChanged();
+ } else {
+ tableBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .services.Table Table = 9;
*/
public io.keploy.grpc.stubs.Service.Table.Builder getTableBuilder() {
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000010;
onChanged();
return getTableFieldBuilder().getBuilder();
}
@@ -30392,7 +31149,6 @@ public long getInt() {
public Builder setInt(long value) {
int_ = value;
- bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -30405,7 +31161,7 @@ public Builder setInt(long value) {
* @return This builder for chaining.
*/
public Builder clearInt() {
- bitField0_ = (bitField0_ & ~0x00000200);
+
int_ = 0L;
onChanged();
return this;
@@ -30413,9 +31169,9 @@ public Builder clearInt() {
private com.google.protobuf.LazyStringList err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureErrIsMutable() {
- if (!((bitField0_ & 0x00000400) != 0)) {
+ if (!((bitField0_ & 0x00000020) != 0)) {
err_ = new com.google.protobuf.LazyStringArrayList(err_);
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000020;
}
}
/**
@@ -30458,8 +31214,10 @@ public java.lang.String getErr(int index) {
*/
public Builder setErr(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureErrIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureErrIsMutable();
err_.set(index, value);
onChanged();
return this;
@@ -30471,8 +31229,10 @@ public Builder setErr(
*/
public Builder addErr(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureErrIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureErrIsMutable();
err_.add(value);
onChanged();
return this;
@@ -30496,7 +31256,7 @@ public Builder addAllErr(
*/
public Builder clearErr() {
err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -30507,8 +31267,10 @@ public Builder clearErr() {
*/
public Builder addErrBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureErrIsMutable();
err_.add(value);
onChanged();
@@ -30523,7 +31285,7 @@ public Builder addErrBytes(
* @return Whether the grpcRequest field is set.
*/
public boolean hasGrpcRequest() {
- return ((bitField0_ & 0x00000800) != 0);
+ return grpcRequestBuilder_ != null || grpcRequest_ != null;
}
/**
* .services.GrpcReq GrpcRequest = 12;
@@ -30545,11 +31307,11 @@ public Builder setGrpcRequest(io.keploy.grpc.stubs.Service.GrpcReq value) {
throw new NullPointerException();
}
grpcRequest_ = value;
+ onChanged();
} else {
grpcRequestBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000800;
- onChanged();
+
return this;
}
/**
@@ -30559,11 +31321,11 @@ public Builder setGrpcRequest(
io.keploy.grpc.stubs.Service.GrpcReq.Builder builderForValue) {
if (grpcRequestBuilder_ == null) {
grpcRequest_ = builderForValue.build();
+ onChanged();
} else {
grpcRequestBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000800;
- onChanged();
+
return this;
}
/**
@@ -30571,38 +31333,38 @@ public Builder setGrpcRequest(
*/
public Builder mergeGrpcRequest(io.keploy.grpc.stubs.Service.GrpcReq value) {
if (grpcRequestBuilder_ == null) {
- if (((bitField0_ & 0x00000800) != 0) &&
- grpcRequest_ != null &&
- grpcRequest_ != io.keploy.grpc.stubs.Service.GrpcReq.getDefaultInstance()) {
- getGrpcRequestBuilder().mergeFrom(value);
+ if (grpcRequest_ != null) {
+ grpcRequest_ =
+ io.keploy.grpc.stubs.Service.GrpcReq.newBuilder(grpcRequest_).mergeFrom(value).buildPartial();
} else {
grpcRequest_ = value;
}
+ onChanged();
} else {
grpcRequestBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000800;
- onChanged();
+
return this;
}
/**
* .services.GrpcReq GrpcRequest = 12;
*/
public Builder clearGrpcRequest() {
- bitField0_ = (bitField0_ & ~0x00000800);
- grpcRequest_ = null;
- if (grpcRequestBuilder_ != null) {
- grpcRequestBuilder_.dispose();
+ if (grpcRequestBuilder_ == null) {
+ grpcRequest_ = null;
+ onChanged();
+ } else {
+ grpcRequest_ = null;
grpcRequestBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.GrpcReq GrpcRequest = 12;
*/
public io.keploy.grpc.stubs.Service.GrpcReq.Builder getGrpcRequestBuilder() {
- bitField0_ |= 0x00000800;
+
onChanged();
return getGrpcRequestFieldBuilder().getBuilder();
}
@@ -30642,7 +31404,7 @@ public io.keploy.grpc.stubs.Service.GrpcReqOrBuilder getGrpcRequestOrBuilder() {
* @return Whether the grpcResp field is set.
*/
public boolean hasGrpcResp() {
- return ((bitField0_ & 0x00001000) != 0);
+ return grpcRespBuilder_ != null || grpcResp_ != null;
}
/**
* .services.GrpcResp GrpcResp = 13;
@@ -30664,11 +31426,11 @@ public Builder setGrpcResp(io.keploy.grpc.stubs.Service.GrpcResp value) {
throw new NullPointerException();
}
grpcResp_ = value;
+ onChanged();
} else {
grpcRespBuilder_.setMessage(value);
}
- bitField0_ |= 0x00001000;
- onChanged();
+
return this;
}
/**
@@ -30678,11 +31440,11 @@ public Builder setGrpcResp(
io.keploy.grpc.stubs.Service.GrpcResp.Builder builderForValue) {
if (grpcRespBuilder_ == null) {
grpcResp_ = builderForValue.build();
+ onChanged();
} else {
grpcRespBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00001000;
- onChanged();
+
return this;
}
/**
@@ -30690,38 +31452,38 @@ public Builder setGrpcResp(
*/
public Builder mergeGrpcResp(io.keploy.grpc.stubs.Service.GrpcResp value) {
if (grpcRespBuilder_ == null) {
- if (((bitField0_ & 0x00001000) != 0) &&
- grpcResp_ != null &&
- grpcResp_ != io.keploy.grpc.stubs.Service.GrpcResp.getDefaultInstance()) {
- getGrpcRespBuilder().mergeFrom(value);
+ if (grpcResp_ != null) {
+ grpcResp_ =
+ io.keploy.grpc.stubs.Service.GrpcResp.newBuilder(grpcResp_).mergeFrom(value).buildPartial();
} else {
grpcResp_ = value;
}
+ onChanged();
} else {
grpcRespBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00001000;
- onChanged();
+
return this;
}
/**
* .services.GrpcResp GrpcResp = 13;
*/
public Builder clearGrpcResp() {
- bitField0_ = (bitField0_ & ~0x00001000);
- grpcResp_ = null;
- if (grpcRespBuilder_ != null) {
- grpcRespBuilder_.dispose();
+ if (grpcRespBuilder_ == null) {
+ grpcResp_ = null;
+ onChanged();
+ } else {
+ grpcResp_ = null;
grpcRespBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.GrpcResp GrpcResp = 13;
*/
public io.keploy.grpc.stubs.Service.GrpcResp.Builder getGrpcRespBuilder() {
- bitField0_ |= 0x00001000;
+
onChanged();
return getGrpcRespFieldBuilder().getBuilder();
}
@@ -30785,18 +31547,7 @@ public SpecSchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new SpecSchema(input, extensionRegistry);
}
};
@@ -30817,8 +31568,7 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema getDefaultInstanceForType()
}
public static final int VERSION_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
* string Version = 1;
* @return The version.
@@ -30856,8 +31606,7 @@ public java.lang.String getVersion() {
}
public static final int NAME_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
* string Name = 2;
* @return The name.
@@ -30895,8 +31644,7 @@ public java.lang.String getName() {
}
public static final int KIND_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
* string Kind = 3;
* @return The kind.
@@ -30956,7 +31704,7 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema getSpec() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock.SpecSchemaOrBuilder getSpecOrBuilder() {
- return spec_ == null ? io.keploy.grpc.stubs.Service.Mock.SpecSchema.getDefaultInstance() : spec_;
+ return getSpec();
}
private byte memoizedIsInitialized = -1;
@@ -30985,7 +31733,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (spec_ != null) {
output.writeMessage(4, getSpec());
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -31007,7 +31755,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSpec());
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -31033,7 +31781,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getSpec()
.equals(other.getSpec())) return false;
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -31054,7 +31802,7 @@ public int hashCode() {
hash = (37 * hash) + SPEC_FIELD_NUMBER;
hash = (53 * hash) + getSpec().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -31171,24 +31919,32 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.Mock.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;
version_ = "";
+
name_ = "";
+
kind_ = "";
- spec_ = null;
- if (specBuilder_ != null) {
- specBuilder_.dispose();
+
+ if (specBuilder_ == null) {
+ spec_ = null;
+ } else {
+ spec_ = null;
specBuilder_ = null;
}
return this;
@@ -31217,29 +31973,18 @@ public io.keploy.grpc.stubs.Service.Mock build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock buildPartial() {
io.keploy.grpc.stubs.Service.Mock result = new io.keploy.grpc.stubs.Service.Mock(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.version_ = version_;
+ result.name_ = name_;
+ result.kind_ = kind_;
+ if (specBuilder_ == null) {
+ result.spec_ = spec_;
+ } else {
+ result.spec_ = specBuilder_.build();
+ }
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.Mock result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.version_ = version_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.name_ = name_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.kind_ = kind_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.spec_ = specBuilder_ == null
- ? spec_
- : specBuilder_.build();
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -31286,23 +32031,20 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock other) {
if (other == io.keploy.grpc.stubs.Service.Mock.getDefaultInstance()) return this;
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getKind().isEmpty()) {
kind_ = other.kind_;
- bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasSpec()) {
mergeSpec(other.getSpec());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -31317,55 +32059,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.Mock parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- version_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- name_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- kind_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- input.readMessage(
- getSpecFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.Mock) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object version_ = "";
/**
@@ -31408,9 +32114,11 @@ public java.lang.String getVersion() {
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
version_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -31419,8 +32127,8 @@ public Builder setVersion(
* @return This builder for chaining.
*/
public Builder clearVersion() {
+
version_ = getDefaultInstance().getVersion();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -31431,10 +32139,12 @@ public Builder clearVersion() {
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
version_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -31480,9 +32190,11 @@ public java.lang.String getName() {
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
name_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -31491,8 +32203,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
+
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -31503,10 +32215,12 @@ public Builder clearName() {
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
name_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -31552,9 +32266,11 @@ public java.lang.String getKind() {
*/
public Builder setKind(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
kind_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -31563,8 +32279,8 @@ public Builder setKind(
* @return This builder for chaining.
*/
public Builder clearKind() {
+
kind_ = getDefaultInstance().getKind();
- bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -31575,10 +32291,12 @@ public Builder clearKind() {
*/
public Builder setKindBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
kind_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -31591,7 +32309,7 @@ public Builder setKindBytes(
* @return Whether the spec field is set.
*/
public boolean hasSpec() {
- return ((bitField0_ & 0x00000008) != 0);
+ return specBuilder_ != null || spec_ != null;
}
/**
* .services.Mock.SpecSchema Spec = 4;
@@ -31613,11 +32331,11 @@ public Builder setSpec(io.keploy.grpc.stubs.Service.Mock.SpecSchema value) {
throw new NullPointerException();
}
spec_ = value;
+ onChanged();
} else {
specBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
@@ -31627,11 +32345,11 @@ public Builder setSpec(
io.keploy.grpc.stubs.Service.Mock.SpecSchema.Builder builderForValue) {
if (specBuilder_ == null) {
spec_ = builderForValue.build();
+ onChanged();
} else {
specBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
@@ -31639,38 +32357,38 @@ public Builder setSpec(
*/
public Builder mergeSpec(io.keploy.grpc.stubs.Service.Mock.SpecSchema value) {
if (specBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0) &&
- spec_ != null &&
- spec_ != io.keploy.grpc.stubs.Service.Mock.SpecSchema.getDefaultInstance()) {
- getSpecBuilder().mergeFrom(value);
+ if (spec_ != null) {
+ spec_ =
+ io.keploy.grpc.stubs.Service.Mock.SpecSchema.newBuilder(spec_).mergeFrom(value).buildPartial();
} else {
spec_ = value;
}
+ onChanged();
} else {
specBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000008;
- onChanged();
+
return this;
}
/**
* .services.Mock.SpecSchema Spec = 4;
*/
public Builder clearSpec() {
- bitField0_ = (bitField0_ & ~0x00000008);
- spec_ = null;
- if (specBuilder_ != null) {
- specBuilder_.dispose();
+ if (specBuilder_ == null) {
+ spec_ = null;
+ onChanged();
+ } else {
+ spec_ = null;
specBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.Mock.SpecSchema Spec = 4;
*/
public io.keploy.grpc.stubs.Service.Mock.SpecSchema.Builder getSpecBuilder() {
- bitField0_ |= 0x00000008;
+
onChanged();
return getSpecFieldBuilder().getBuilder();
}
@@ -31734,18 +32452,7 @@ public Mock parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new Mock(input, extensionRegistry);
}
};
@@ -31847,6 +32554,70 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private Table(
+ 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)) {
+ cols_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ cols_.add(
+ input.readMessage(io.keploy.grpc.stubs.Service.SqlCol.parser(), extensionRegistry));
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ rows_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ rows_.add(s);
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ cols_ = java.util.Collections.unmodifiableList(cols_);
+ }
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ rows_ = rows_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_Table_descriptor;
@@ -31861,7 +32632,6 @@ protected java.lang.Object newInstance(
}
public static final int COLS_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
private java.util.List cols_;
/**
* repeated .services.SqlCol Cols = 1;
@@ -31902,7 +32672,6 @@ public io.keploy.grpc.stubs.Service.SqlColOrBuilder getColsOrBuilder(
}
public static final int ROWS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList rows_;
/**
* repeated string Rows = 2;
@@ -31957,7 +32726,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < rows_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rows_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -31978,7 +32747,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getRowsList().size();
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -31997,7 +32766,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getColsList())) return false;
if (!getRowsList()
.equals(other.getRowsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -32016,7 +32785,7 @@ public int hashCode() {
hash = (37 * hash) + ROWS_FIELD_NUMBER;
hash = (53 * hash) + getRowsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -32133,25 +32902,29 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.Table.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getColsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
if (colsBuilder_ == null) {
cols_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
- cols_ = null;
colsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
rows_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
@@ -32180,13 +32953,7 @@ public io.keploy.grpc.stubs.Service.Table build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.Table buildPartial() {
io.keploy.grpc.stubs.Service.Table result = new io.keploy.grpc.stubs.Service.Table(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Table result) {
+ int from_bitField0_ = bitField0_;
if (colsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
cols_ = java.util.Collections.unmodifiableList(cols_);
@@ -32201,10 +32968,8 @@ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Table resul
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rows_ = rows_;
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.Table result) {
- int from_bitField0_ = bitField0_;
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -32287,7 +33052,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Table other) {
}
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -32302,49 +33067,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.Table parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- io.keploy.grpc.stubs.Service.SqlCol m =
- input.readMessage(
- io.keploy.grpc.stubs.Service.SqlCol.parser(),
- extensionRegistry);
- if (colsBuilder_ == null) {
- ensureColsIsMutable();
- cols_.add(m);
- } else {
- colsBuilder_.addMessage(m);
- }
- break;
- } // case 10
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureRowsIsMutable();
- rows_.add(s);
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.Table) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -32636,8 +33369,10 @@ public java.lang.String getRows(int index) {
*/
public Builder setRows(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureRowsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRowsIsMutable();
rows_.set(index, value);
onChanged();
return this;
@@ -32649,8 +33384,10 @@ public Builder setRows(
*/
public Builder addRows(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureRowsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRowsIsMutable();
rows_.add(value);
onChanged();
return this;
@@ -32685,8 +33422,10 @@ public Builder clearRows() {
*/
public Builder addRowsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureRowsIsMutable();
rows_.add(value);
onChanged();
@@ -32725,18 +33464,7 @@ public Table parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new Table(input, extensionRegistry);
}
};
@@ -32829,6 +33557,67 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private SqlCol(
+ 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();
+
+ name_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ type_ = s;
+ break;
+ }
+ case 24: {
+
+ precision_ = input.readInt64();
+ break;
+ }
+ case 32: {
+
+ scale_ = input.readInt64();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_SqlCol_descriptor;
@@ -32843,8 +33632,7 @@ protected java.lang.Object newInstance(
}
public static final int NAME_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
* string Name = 1;
* @return The name.
@@ -32882,8 +33670,7 @@ public java.lang.String getName() {
}
public static final int TYPE_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object type_ = "";
+ private volatile java.lang.Object type_;
/**
* string Type = 2;
* @return The type.
@@ -32921,7 +33708,7 @@ public java.lang.String getType() {
}
public static final int PRECISION_FIELD_NUMBER = 3;
- private long precision_ = 0L;
+ private long precision_;
/**
*
*optional fields
@@ -32936,7 +33723,7 @@ public long getPrecision() {
}
public static final int SCALE_FIELD_NUMBER = 4;
- private long scale_ = 0L;
+ private long scale_;
/**
* int64 Scale = 4;
* @return The scale.
@@ -32972,7 +33759,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (scale_ != 0L) {
output.writeInt64(4, scale_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -32995,7 +33782,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, scale_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -33018,7 +33805,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getPrecision()) return false;
if (getScale()
!= other.getScale()) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -33039,7 +33826,7 @@ public int hashCode() {
hash = (37 * hash) + SCALE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getScale());
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -33156,22 +33943,30 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.SqlCol.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;
name_ = "";
+
type_ = "";
+
precision_ = 0L;
+
scale_ = 0L;
+
return this;
}
@@ -33198,27 +33993,14 @@ public io.keploy.grpc.stubs.Service.SqlCol build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.SqlCol buildPartial() {
io.keploy.grpc.stubs.Service.SqlCol result = new io.keploy.grpc.stubs.Service.SqlCol(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.name_ = name_;
+ result.type_ = type_;
+ result.precision_ = precision_;
+ result.scale_ = scale_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.SqlCol result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.name_ = name_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.type_ = type_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.precision_ = precision_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.scale_ = scale_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -33265,12 +34047,10 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.SqlCol other) {
if (other == io.keploy.grpc.stubs.Service.SqlCol.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (other.getPrecision() != 0L) {
@@ -33279,7 +34059,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.SqlCol other) {
if (other.getScale() != 0L) {
setScale(other.getScale());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -33294,53 +34074,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.SqlCol parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- name_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- type_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 24: {
- precision_ = input.readInt64();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- case 32: {
- scale_ = input.readInt64();
- bitField0_ |= 0x00000008;
- break;
- } // case 32
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.SqlCol) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object name_ = "";
/**
@@ -33383,9 +34129,11 @@ public java.lang.String getName() {
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -33394,8 +34142,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
+
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -33406,10 +34154,12 @@ public Builder clearName() {
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -33455,9 +34205,11 @@ public java.lang.String getType() {
*/
public Builder setType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
type_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -33466,8 +34218,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
+
type_ = getDefaultInstance().getType();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -33478,10 +34230,12 @@ public Builder clearType() {
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
type_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -33511,7 +34265,6 @@ public long getPrecision() {
public Builder setPrecision(long value) {
precision_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -33524,7 +34277,7 @@ public Builder setPrecision(long value) {
* @return This builder for chaining.
*/
public Builder clearPrecision() {
- bitField0_ = (bitField0_ & ~0x00000004);
+
precision_ = 0L;
onChanged();
return this;
@@ -33547,7 +34300,6 @@ public long getScale() {
public Builder setScale(long value) {
scale_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -33556,7 +34308,7 @@ public Builder setScale(long value) {
* @return This builder for chaining.
*/
public Builder clearScale() {
- bitField0_ = (bitField0_ & ~0x00000008);
+
scale_ = 0L;
onChanged();
return this;
@@ -33594,18 +34346,7 @@ public SqlCol parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new SqlCol(input, extensionRegistry);
}
};
@@ -33704,6 +34445,7 @@ boolean containsReplace(
/**
* map<string, string> Replace = 4;
*/
+
/* nullable */
java.lang.String getReplaceOrDefault(
java.lang.String key,
@@ -33712,6 +34454,7 @@ java.lang.String getReplaceOrDefault(
/**
* map<string, string> Replace = 4;
*/
+
java.lang.String getReplaceOrThrow(
java.lang.String key);
}
@@ -33744,6 +34487,90 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private PutMockReq(
+ 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: {
+ io.keploy.grpc.stubs.Service.Mock.Builder subBuilder = null;
+ if (mock_ != null) {
+ subBuilder = mock_.toBuilder();
+ }
+ mock_ = input.readMessage(io.keploy.grpc.stubs.Service.Mock.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(mock_);
+ mock_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ path_ = s;
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ remove_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ remove_.add(s);
+ break;
+ }
+ case 34: {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ replace_ = com.google.protobuf.MapField.newMapField(
+ ReplaceDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000002;
+ }
+ com.google.protobuf.MapEntry
+ replace__ = input.readMessage(
+ ReplaceDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+ replace_.getMutableMap().put(
+ replace__.getKey(), replace__.getValue());
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ remove_ = remove_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_PutMockReq_descriptor;
@@ -33792,12 +34619,11 @@ public io.keploy.grpc.stubs.Service.Mock getMock() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.MockOrBuilder getMockOrBuilder() {
- return mock_ == null ? io.keploy.grpc.stubs.Service.Mock.getDefaultInstance() : mock_;
+ return getMock();
}
public static final int PATH_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object path_ = "";
+ private volatile java.lang.Object path_;
/**
* string Path = 2;
* @return The path.
@@ -33835,7 +34661,6 @@ public java.lang.String getPath() {
}
public static final int REMOVE_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList remove_;
/**
* repeated string Remove = 3;
@@ -33882,7 +34707,6 @@ private static final class ReplaceDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> replace_;
private com.google.protobuf.MapField
@@ -33893,12 +34717,14 @@ private static final class ReplaceDefaultEntryHolder {
}
return replace_;
}
+
public int getReplaceCount() {
return internalGetReplace().getMap().size();
}
/**
* map<string, string> Replace = 4;
*/
+
@java.lang.Override
public boolean containsReplace(
java.lang.String key) {
@@ -33917,6 +34743,7 @@ public java.util.Map getReplace() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
+
public java.util.Map getReplaceMap() {
return internalGetReplace().getMap();
}
@@ -33924,11 +34751,10 @@ public java.util.Map getReplaceMap() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getReplaceOrDefault(
+
+ public java.lang.String getReplaceOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetReplace().getMap();
@@ -33938,6 +34764,7 @@ java.lang.String getReplaceOrDefault(
* map<string, string> Replace = 4;
*/
@java.lang.Override
+
public java.lang.String getReplaceOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -33978,7 +34805,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetReplace(),
ReplaceDefaultEntryHolder.defaultEntry,
4);
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -34012,7 +34839,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, replace__);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -34038,7 +34865,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getRemoveList())) return false;
if (!internalGetReplace().equals(
other.internalGetReplace())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -34063,7 +34890,7 @@ public int hashCode() {
hash = (37 * hash) + REPLACE_FIELD_NUMBER;
hash = (53 * hash) + internalGetReplace().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -34202,26 +35029,32 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
// Construct using io.keploy.grpc.stubs.Service.PutMockReq.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;
- mock_ = null;
- if (mockBuilder_ != null) {
- mockBuilder_.dispose();
+ if (mockBuilder_ == null) {
+ mock_ = null;
+ } else {
+ mock_ = null;
mockBuilder_ = null;
}
path_ = "";
+
remove_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableReplace().clear();
return this;
}
@@ -34249,34 +35082,22 @@ public io.keploy.grpc.stubs.Service.PutMockReq build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.PutMockReq buildPartial() {
io.keploy.grpc.stubs.Service.PutMockReq result = new io.keploy.grpc.stubs.Service.PutMockReq(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.PutMockReq result) {
- if (((bitField0_ & 0x00000004) != 0)) {
- remove_ = remove_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.remove_ = remove_;
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.PutMockReq result) {
int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.mock_ = mockBuilder_ == null
- ? mock_
- : mockBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.path_ = path_;
+ if (mockBuilder_ == null) {
+ result.mock_ = mock_;
+ } else {
+ result.mock_ = mockBuilder_.build();
}
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.replace_ = internalGetReplace();
- result.replace_.makeImmutable();
+ result.path_ = path_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ remove_ = remove_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000001);
}
+ result.remove_ = remove_;
+ result.replace_ = internalGetReplace();
+ result.replace_.makeImmutable();
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -34328,13 +35149,12 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.PutMockReq other) {
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (!other.remove_.isEmpty()) {
if (remove_.isEmpty()) {
remove_ = other.remove_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRemoveIsMutable();
remove_.addAll(other.remove_);
@@ -34343,8 +35163,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.PutMockReq other) {
}
internalGetMutableReplace().mergeFrom(
other.internalGetReplace());
- bitField0_ |= 0x00000008;
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -34359,57 +35178,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.PutMockReq parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- input.readMessage(
- getMockFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- path_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureRemoveIsMutable();
- remove_.add(s);
- break;
- } // case 26
- case 34: {
- com.google.protobuf.MapEntry
- replace__ = input.readMessage(
- ReplaceDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableReplace().getMutableMap().put(
- replace__.getKey(), replace__.getValue());
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.PutMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -34422,7 +35201,7 @@ public Builder mergeFrom(
* @return Whether the mock field is set.
*/
public boolean hasMock() {
- return ((bitField0_ & 0x00000001) != 0);
+ return mockBuilder_ != null || mock_ != null;
}
/**
* .services.Mock Mock = 1;
@@ -34444,11 +35223,11 @@ public Builder setMock(io.keploy.grpc.stubs.Service.Mock value) {
throw new NullPointerException();
}
mock_ = value;
+ onChanged();
} else {
mockBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000001;
- onChanged();
+
return this;
}
/**
@@ -34458,11 +35237,11 @@ public Builder setMock(
io.keploy.grpc.stubs.Service.Mock.Builder builderForValue) {
if (mockBuilder_ == null) {
mock_ = builderForValue.build();
+ onChanged();
} else {
mockBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000001;
- onChanged();
+
return this;
}
/**
@@ -34470,38 +35249,38 @@ public Builder setMock(
*/
public Builder mergeMock(io.keploy.grpc.stubs.Service.Mock value) {
if (mockBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- mock_ != null &&
- mock_ != io.keploy.grpc.stubs.Service.Mock.getDefaultInstance()) {
- getMockBuilder().mergeFrom(value);
+ if (mock_ != null) {
+ mock_ =
+ io.keploy.grpc.stubs.Service.Mock.newBuilder(mock_).mergeFrom(value).buildPartial();
} else {
mock_ = value;
}
+ onChanged();
} else {
mockBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000001;
- onChanged();
+
return this;
}
/**
* .services.Mock Mock = 1;
*/
public Builder clearMock() {
- bitField0_ = (bitField0_ & ~0x00000001);
- mock_ = null;
- if (mockBuilder_ != null) {
- mockBuilder_.dispose();
+ if (mockBuilder_ == null) {
+ mock_ = null;
+ onChanged();
+ } else {
+ mock_ = null;
mockBuilder_ = null;
}
- onChanged();
+
return this;
}
/**
* .services.Mock Mock = 1;
*/
public io.keploy.grpc.stubs.Service.Mock.Builder getMockBuilder() {
- bitField0_ |= 0x00000001;
+
onChanged();
return getMockFieldBuilder().getBuilder();
}
@@ -34574,9 +35353,11 @@ public java.lang.String getPath() {
*/
public Builder setPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
path_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -34585,8 +35366,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
+
path_ = getDefaultInstance().getPath();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -34597,19 +35378,21 @@ public Builder clearPath() {
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
path_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList remove_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureRemoveIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
remove_ = new com.google.protobuf.LazyStringArrayList(remove_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -34652,8 +35435,10 @@ public java.lang.String getRemove(int index) {
*/
public Builder setRemove(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureRemoveIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRemoveIsMutable();
remove_.set(index, value);
onChanged();
return this;
@@ -34665,8 +35450,10 @@ public Builder setRemove(
*/
public Builder addRemove(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureRemoveIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRemoveIsMutable();
remove_.add(value);
onChanged();
return this;
@@ -34690,7 +35477,7 @@ public Builder addAllRemove(
*/
public Builder clearRemove() {
remove_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -34701,8 +35488,10 @@ public Builder clearRemove() {
*/
public Builder addRemoveBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
ensureRemoveIsMutable();
remove_.add(value);
onChanged();
@@ -34712,7 +35501,7 @@ public Builder addRemoveBytes(
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> replace_;
private com.google.protobuf.MapField
- internalGetReplace() {
+ internalGetReplace() {
if (replace_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ReplaceDefaultEntryHolder.defaultEntry);
@@ -34720,7 +35509,8 @@ public Builder addRemoveBytes(
return replace_;
}
private com.google.protobuf.MapField
- internalGetMutableReplace() {
+ internalGetMutableReplace() {
+ onChanged();;
if (replace_ == null) {
replace_ = com.google.protobuf.MapField.newMapField(
ReplaceDefaultEntryHolder.defaultEntry);
@@ -34728,16 +35518,16 @@ public Builder addRemoveBytes(
if (!replace_.isMutable()) {
replace_ = replace_.copy();
}
- bitField0_ |= 0x00000008;
- onChanged();
return replace_;
}
+
public int getReplaceCount() {
return internalGetReplace().getMap().size();
}
/**
* map<string, string> Replace = 4;
*/
+
@java.lang.Override
public boolean containsReplace(
java.lang.String key) {
@@ -34756,6 +35546,7 @@ public java.util.Map getReplace() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
+
public java.util.Map getReplaceMap() {
return internalGetReplace().getMap();
}
@@ -34763,11 +35554,10 @@ public java.util.Map getReplaceMap() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
- public /* nullable */
-java.lang.String getReplaceOrDefault(
+
+ public java.lang.String getReplaceOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
+ java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetReplace().getMap();
@@ -34777,6 +35567,7 @@ java.lang.String getReplaceOrDefault(
* map<string, string> Replace = 4;
*/
@java.lang.Override
+
public java.lang.String getReplaceOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -34787,8 +35578,8 @@ public java.lang.String getReplaceOrThrow(
}
return map.get(key);
}
+
public Builder clearReplace() {
- bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableReplace().getMutableMap()
.clear();
return this;
@@ -34796,6 +35587,7 @@ public Builder clearReplace() {
/**
* map<string, string> Replace = 4;
*/
+
public Builder removeReplace(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -34808,8 +35600,7 @@ public Builder removeReplace(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableReplace() {
- bitField0_ |= 0x00000008;
+ getMutableReplace() {
return internalGetMutableReplace().getMutableMap();
}
/**
@@ -34819,20 +35610,22 @@ public Builder putReplace(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (value == null) {
+ throw new NullPointerException("map value");
+}
+
internalGetMutableReplace().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000008;
return this;
}
/**
* map<string, string> Replace = 4;
*/
+
public Builder putAllReplace(
java.util.Map values) {
internalGetMutableReplace().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000008;
return this;
}
@java.lang.Override
@@ -34868,18 +35661,7 @@ public PutMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new PutMockReq(input, extensionRegistry);
}
};
@@ -34936,6 +35718,50 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private PutMockResp(
+ 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 8: {
+
+ inserted_ = input.readInt64();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_PutMockResp_descriptor;
@@ -34950,7 +35776,7 @@ protected java.lang.Object newInstance(
}
public static final int INSERTED_FIELD_NUMBER = 1;
- private long inserted_ = 0L;
+ private long inserted_;
/**
* int64 Inserted = 1;
* @return The inserted.
@@ -34977,7 +35803,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (inserted_ != 0L) {
output.writeInt64(1, inserted_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -34990,7 +35816,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, inserted_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -35007,7 +35833,7 @@ public boolean equals(final java.lang.Object obj) {
if (getInserted()
!= other.getInserted()) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -35021,7 +35847,7 @@ public int hashCode() {
hash = (37 * hash) + INSERTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInserted());
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -35138,19 +35964,24 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.PutMockResp.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;
inserted_ = 0L;
+
return this;
}
@@ -35177,18 +36008,11 @@ public io.keploy.grpc.stubs.Service.PutMockResp build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.PutMockResp buildPartial() {
io.keploy.grpc.stubs.Service.PutMockResp result = new io.keploy.grpc.stubs.Service.PutMockResp(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.inserted_ = inserted_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.PutMockResp result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.inserted_ = inserted_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -35236,7 +36060,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.PutMockResp other) {
if (other.getInserted() != 0L) {
setInserted(other.getInserted());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -35251,38 +36075,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.PutMockResp parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- inserted_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.PutMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private long inserted_ ;
/**
@@ -35301,7 +36106,6 @@ public long getInserted() {
public Builder setInserted(long value) {
inserted_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -35310,7 +36114,7 @@ public Builder setInserted(long value) {
* @return This builder for chaining.
*/
public Builder clearInserted() {
- bitField0_ = (bitField0_ & ~0x00000001);
+
inserted_ = 0L;
onChanged();
return this;
@@ -35348,18 +36152,7 @@ public PutMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new PutMockResp(input, extensionRegistry);
}
};
@@ -35436,6 +36229,57 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private GetMockReq(
+ 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();
+
+ path_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_GetMockReq_descriptor;
@@ -35450,8 +36294,7 @@ protected java.lang.Object newInstance(
}
public static final int PATH_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object path_ = "";
+ private volatile java.lang.Object path_;
/**
* string Path = 1;
* @return The path.
@@ -35489,8 +36332,7 @@ public java.lang.String getPath() {
}
public static final int NAME_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
* string Name = 2;
* @return The name.
@@ -35547,7 +36389,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -35562,7 +36404,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -35581,7 +36423,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getPath())) return false;
if (!getName()
.equals(other.getName())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -35596,7 +36438,7 @@ public int hashCode() {
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -35713,20 +36555,26 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.GetMockReq.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;
path_ = "";
+
name_ = "";
+
return this;
}
@@ -35753,21 +36601,12 @@ public io.keploy.grpc.stubs.Service.GetMockReq build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.GetMockReq buildPartial() {
io.keploy.grpc.stubs.Service.GetMockReq result = new io.keploy.grpc.stubs.Service.GetMockReq(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.path_ = path_;
+ result.name_ = name_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.GetMockReq result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.path_ = path_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.name_ = name_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -35814,15 +36653,13 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.GetMockReq other) {
if (other == io.keploy.grpc.stubs.Service.GetMockReq.getDefaultInstance()) return this;
if (!other.getPath().isEmpty()) {
path_ = other.path_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000002;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -35837,43 +36674,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.GetMockReq parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- path_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- name_ = 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)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.GetMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object path_ = "";
/**
@@ -35916,9 +36729,11 @@ public java.lang.String getPath() {
*/
public Builder setPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
path_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -35927,8 +36742,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
+
path_ = getDefaultInstance().getPath();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -35939,10 +36754,12 @@ public Builder clearPath() {
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
path_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -35988,9 +36805,11 @@ public java.lang.String getName() {
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
name_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -35999,8 +36818,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
+
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -36011,10 +36830,12 @@ public Builder clearName() {
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
name_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -36051,18 +36872,7 @@ public GetMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new GetMockReq(input, extensionRegistry);
}
};
@@ -36138,6 +36948,58 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private getMockResp(
+ 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)) {
+ mocks_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ mocks_.add(
+ input.readMessage(io.keploy.grpc.stubs.Service.Mock.parser(), extensionRegistry));
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ mocks_ = java.util.Collections.unmodifiableList(mocks_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.keploy.grpc.stubs.Service.internal_static_services_getMockResp_descriptor;
@@ -36152,7 +37014,6 @@ protected java.lang.Object newInstance(
}
public static final int MOCKS_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
private java.util.List mocks_;
/**
* repeated .services.Mock Mocks = 1;
@@ -36209,7 +37070,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < mocks_.size(); i++) {
output.writeMessage(1, mocks_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -36222,7 +37083,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, mocks_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -36239,7 +37100,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMocksList()
.equals(other.getMocksList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -36254,7 +37115,7 @@ public int hashCode() {
hash = (37 * hash) + MOCKS_FIELD_NUMBER;
hash = (53 * hash) + getMocksList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -36371,25 +37232,29 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.getMockResp.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getMocksFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
if (mocksBuilder_ == null) {
mocks_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
- mocks_ = null;
mocksBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -36416,13 +37281,7 @@ public io.keploy.grpc.stubs.Service.getMockResp build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.getMockResp buildPartial() {
io.keploy.grpc.stubs.Service.getMockResp result = new io.keploy.grpc.stubs.Service.getMockResp(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getMockResp result) {
+ int from_bitField0_ = bitField0_;
if (mocksBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mocks_ = java.util.Collections.unmodifiableList(mocks_);
@@ -36432,10 +37291,8 @@ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getMockResp
} else {
result.mocks_ = mocksBuilder_.build();
}
- }
-
- private void buildPartial0(io.keploy.grpc.stubs.Service.getMockResp result) {
- int from_bitField0_ = bitField0_;
+ onBuilt();
+ return result;
}
@java.lang.Override
@@ -36508,7 +37365,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getMockResp other) {
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -36523,43 +37380,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.getMockResp parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- io.keploy.grpc.stubs.Service.Mock m =
- input.readMessage(
- io.keploy.grpc.stubs.Service.Mock.parser(),
- extensionRegistry);
- if (mocksBuilder_ == null) {
- ensureMocksIsMutable();
- mocks_.add(m);
- } else {
- mocksBuilder_.addMessage(m);
- }
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.getMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -36836,18 +37667,7 @@ public getMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new getMockResp(input, extensionRegistry);
}
};
@@ -36943,6 +37763,68 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private StartMockReq(
+ 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();
+
+ path_ = s;
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ mode_ = s;
+ break;
+ }
+ case 24: {
+
+ overWrite_ = input.readBool();
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_StartMockReq_descriptor;
@@ -36957,8 +37839,7 @@ protected java.lang.Object newInstance(
}
public static final int PATH_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object path_ = "";
+ private volatile java.lang.Object path_;
/**
* string Path = 1;
* @return The path.
@@ -36996,8 +37877,7 @@ public java.lang.String getPath() {
}
public static final int MODE_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object mode_ = "";
+ private volatile java.lang.Object mode_;
/**
* string Mode = 2;
* @return The mode.
@@ -37035,7 +37915,7 @@ public java.lang.String getMode() {
}
public static final int OVERWRITE_FIELD_NUMBER = 3;
- private boolean overWrite_ = false;
+ private boolean overWrite_;
/**
* bool OverWrite = 3;
* @return The overWrite.
@@ -37046,8 +37926,7 @@ public boolean getOverWrite() {
}
public static final int NAME_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
* string Name = 4;
* @return The name.
@@ -37110,7 +37989,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -37132,7 +38011,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -37155,7 +38034,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getOverWrite()) return false;
if (!getName()
.equals(other.getName())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -37175,7 +38054,7 @@ public int hashCode() {
getOverWrite());
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -37292,22 +38171,30 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.StartMockReq.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;
path_ = "";
+
mode_ = "";
+
overWrite_ = false;
+
name_ = "";
+
return this;
}
@@ -37334,27 +38221,14 @@ public io.keploy.grpc.stubs.Service.StartMockReq build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.StartMockReq buildPartial() {
io.keploy.grpc.stubs.Service.StartMockReq result = new io.keploy.grpc.stubs.Service.StartMockReq(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.path_ = path_;
+ result.mode_ = mode_;
+ result.overWrite_ = overWrite_;
+ result.name_ = name_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.StartMockReq result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.path_ = path_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.mode_ = mode_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.overWrite_ = overWrite_;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.name_ = name_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -37401,12 +38275,10 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StartMockReq other) {
if (other == io.keploy.grpc.stubs.Service.StartMockReq.getDefaultInstance()) return this;
if (!other.getPath().isEmpty()) {
path_ = other.path_;
- bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMode().isEmpty()) {
mode_ = other.mode_;
- bitField0_ |= 0x00000002;
onChanged();
}
if (other.getOverWrite() != false) {
@@ -37414,10 +38286,9 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StartMockReq other) {
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
- bitField0_ |= 0x00000008;
onChanged();
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -37432,53 +38303,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.StartMockReq parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- path_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- mode_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 24: {
- overWrite_ = input.readBool();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- case 34: {
- name_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.StartMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private java.lang.Object path_ = "";
/**
@@ -37521,9 +38358,11 @@ public java.lang.String getPath() {
*/
public Builder setPath(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
path_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -37532,8 +38371,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
+
path_ = getDefaultInstance().getPath();
- bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -37544,10 +38383,12 @@ public Builder clearPath() {
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
path_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -37593,9 +38434,11 @@ public java.lang.String getMode() {
*/
public Builder setMode(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
mode_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -37604,8 +38447,8 @@ public Builder setMode(
* @return This builder for chaining.
*/
public Builder clearMode() {
+
mode_ = getDefaultInstance().getMode();
- bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -37616,10 +38459,12 @@ public Builder clearMode() {
*/
public Builder setModeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
mode_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -37641,7 +38486,6 @@ public boolean getOverWrite() {
public Builder setOverWrite(boolean value) {
overWrite_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -37650,7 +38494,7 @@ public Builder setOverWrite(boolean value) {
* @return This builder for chaining.
*/
public Builder clearOverWrite() {
- bitField0_ = (bitField0_ & ~0x00000004);
+
overWrite_ = false;
onChanged();
return this;
@@ -37697,9 +38541,11 @@ public java.lang.String getName() {
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
name_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -37708,8 +38554,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
+
name_ = getDefaultInstance().getName();
- bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -37720,10 +38566,12 @@ public Builder clearName() {
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- checkByteStringIsUtf8(value);
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
name_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -37760,18 +38608,7 @@ public StartMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new StartMockReq(input, extensionRegistry);
}
};
@@ -37828,6 +38665,50 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
+ private StartMockResp(
+ 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 8: {
+
+ exists_ = input.readBool();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().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 io.keploy.grpc.stubs.Service.internal_static_services_StartMockResp_descriptor;
@@ -37842,7 +38723,7 @@ protected java.lang.Object newInstance(
}
public static final int EXISTS_FIELD_NUMBER = 1;
- private boolean exists_ = false;
+ private boolean exists_;
/**
* bool Exists = 1;
* @return The exists.
@@ -37869,7 +38750,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (exists_ != false) {
output.writeBool(1, exists_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -37882,7 +38763,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, exists_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -37899,7 +38780,7 @@ public boolean equals(final java.lang.Object obj) {
if (getExists()
!= other.getExists()) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -37913,7 +38794,7 @@ public int hashCode() {
hash = (37 * hash) + EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExists());
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -38030,19 +38911,24 @@ public static final class Builder extends
// Construct using io.keploy.grpc.stubs.Service.StartMockResp.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;
exists_ = false;
+
return this;
}
@@ -38069,18 +38955,11 @@ public io.keploy.grpc.stubs.Service.StartMockResp build() {
@java.lang.Override
public io.keploy.grpc.stubs.Service.StartMockResp buildPartial() {
io.keploy.grpc.stubs.Service.StartMockResp result = new io.keploy.grpc.stubs.Service.StartMockResp(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ result.exists_ = exists_;
onBuilt();
return result;
}
- private void buildPartial0(io.keploy.grpc.stubs.Service.StartMockResp result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.exists_ = exists_;
- }
- }
-
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -38128,7 +39007,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StartMockResp other) {
if (other.getExists() != false) {
setExists(other.getExists());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -38143,38 +39022,19 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.keploy.grpc.stubs.Service.StartMockResp parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- exists_ = input.readBool();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.keploy.grpc.stubs.Service.StartMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
- private int bitField0_;
private boolean exists_ ;
/**
@@ -38193,7 +39053,6 @@ public boolean getExists() {
public Builder setExists(boolean value) {
exists_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -38202,7 +39061,7 @@ public Builder setExists(boolean value) {
* @return This builder for chaining.
*/
public Builder clearExists() {
- bitField0_ = (bitField0_ & ~0x00000001);
+
exists_ = false;
onChanged();
return this;
@@ -38240,18 +39099,7 @@ public StartMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- 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();
+ return new StartMockResp(input, extensionRegistry);
}
};
diff --git a/pom.xml b/pom.xml
index cecaca28..888cd69b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,20 +94,7 @@