(form_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000200;
}
}
@@ -13593,7 +13323,7 @@ public Builder addAllForm(
public Builder clearForm() {
if (formBuilder_ == null) {
form_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
formBuilder_.clear();
@@ -13670,7 +13400,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_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
form_ = null;
@@ -13710,7 +13440,18 @@ public HttpReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new HttpReq(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -13838,76 +13579,6 @@ 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;
@@ -13922,7 +13593,8 @@ private FormData(
}
public static final int KEY_FIELD_NUMBER = 1;
- private volatile java.lang.Object key_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object key_ = "";
/**
*
*partName
@@ -13968,6 +13640,7 @@ 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;
@@ -14003,6 +13676,7 @@ 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;
@@ -14060,7 +13734,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));
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -14088,7 +13762,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getPathsList().size();
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -14109,7 +13783,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getValuesList())) return false;
if (!getPathsList()
.equals(other.getPathsList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -14130,7 +13804,7 @@ public int hashCode() {
hash = (37 * hash) + PATHS_FIELD_NUMBER;
hash = (53 * hash) + getPathsList().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -14251,28 +13925,23 @@ 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_ & ~0x00000001);
- paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
+ paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -14299,20 +13968,30 @@ 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);
- int from_bitField0_ = bitField0_;
- result.key_ = key_;
- if (((bitField0_ & 0x00000001) != 0)) {
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.FormData result) {
+ if (((bitField0_ & 0x00000002) != 0)) {
values_ = values_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.values_ = values_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
paths_ = paths_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.paths_ = paths_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(io.keploy.grpc.stubs.Service.FormData result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.key_ = key_;
+ }
}
@java.lang.Override
@@ -14361,12 +14040,13 @@ 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_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureValuesIsMutable();
values_.addAll(other.values_);
@@ -14376,14 +14056,14 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.FormData other) {
if (!other.paths_.isEmpty()) {
if (paths_.isEmpty()) {
paths_ = other.paths_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePathsIsMutable();
paths_.addAll(other.paths_);
}
onChanged();
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -14398,17 +14078,47 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.FormData parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.FormData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -14466,11 +14176,9 @@ 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;
}
@@ -14483,8 +14191,8 @@ public Builder setKey(
* @return This builder for chaining.
*/
public Builder clearKey() {
-
key_ = getDefaultInstance().getKey();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -14499,21 +14207,19 @@ 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_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
values_ = new com.google.protobuf.LazyStringArrayList(values_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -14556,10 +14262,8 @@ 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;
@@ -14571,10 +14275,8 @@ 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;
@@ -14598,7 +14300,7 @@ public Builder addAllValues(
*/
public Builder clearValues() {
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -14609,10 +14311,8 @@ 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();
@@ -14621,9 +14321,9 @@ public Builder addValuesBytes(
private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePathsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
paths_ = new com.google.protobuf.LazyStringArrayList(paths_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -14666,10 +14366,8 @@ 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;
@@ -14681,10 +14379,8 @@ 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;
@@ -14708,7 +14404,7 @@ public Builder addAllPaths(
*/
public Builder clearPaths() {
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -14719,10 +14415,8 @@ 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();
@@ -14761,7 +14455,18 @@ public FormData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new FormData(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -14838,58 +14543,6 @@ 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;
@@ -14904,6 +14557,7 @@ private StrArr(
}
public static final int VALUE_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList value_;
/**
* repeated string Value = 1;
@@ -14955,7 +14609,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));
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -14972,7 +14626,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getValueList().size();
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -14989,7 +14643,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getValueList()
.equals(other.getValueList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -15004,7 +14658,7 @@ public int hashCode() {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValueList().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -15121,22 +14775,18 @@ 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;
@@ -15165,14 +14815,22 @@ 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);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.StrArr result) {
if (((bitField0_ & 0x00000001) != 0)) {
value_ = value_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.value_ = value_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(io.keploy.grpc.stubs.Service.StrArr result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -15229,7 +14887,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StrArr other) {
}
onChanged();
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -15244,17 +14902,36 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.StrArr parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.StrArr) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -15306,10 +14983,8 @@ 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;
@@ -15321,10 +14996,8 @@ 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;
@@ -15359,10 +15032,8 @@ 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();
@@ -15401,7 +15072,18 @@ public StrArr parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new StrArr(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -15454,7 +15136,6 @@ boolean containsHeader(
/**
* map<string, .services.StrArr> Header = 2;
*/
-
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
@@ -15463,7 +15144,6 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
/**
* map<string, .services.StrArr> Header = 2;
*/
-
io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key);
@@ -15556,97 +15236,6 @@ 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;
@@ -15673,7 +15262,7 @@ protected com.google.protobuf.MapField internalGetMapField(
}
public static final int STATUSCODE_FIELD_NUMBER = 1;
- private long statusCode_;
+ private long statusCode_ = 0L;
/**
* int64 StatusCode = 1;
* @return The statusCode.
@@ -15695,6 +15284,7 @@ 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
@@ -15705,14 +15295,12 @@ 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) {
@@ -15731,7 +15319,6 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
-
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -15739,10 +15326,11 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -15752,7 +15340,6 @@ public 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"); }
@@ -15765,7 +15352,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODY_FIELD_NUMBER = 3;
- private volatile java.lang.Object body_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object body_ = "";
/**
* string Body = 3 [deprecated = true];
* @deprecated services.HttpResp.Body is deprecated.
@@ -15807,7 +15395,7 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODYDATA_FIELD_NUMBER = 8;
- private com.google.protobuf.ByteString bodyData_;
+ private com.google.protobuf.ByteString bodyData_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes BodyData = 8;
* @return The bodyData.
@@ -15818,7 +15406,8 @@ public com.google.protobuf.ByteString getBodyData() {
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 4;
- private volatile java.lang.Object statusMessage_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object statusMessage_ = "";
/**
* string StatusMessage = 4;
* @return The statusMessage.
@@ -15856,7 +15445,7 @@ public java.lang.String getStatusMessage() {
}
public static final int PROTOMAJOR_FIELD_NUMBER = 5;
- private long protoMajor_;
+ private long protoMajor_ = 0L;
/**
* int64 ProtoMajor = 5;
* @return The protoMajor.
@@ -15867,7 +15456,7 @@ public long getProtoMajor() {
}
public static final int PROTOMINOR_FIELD_NUMBER = 6;
- private long protoMinor_;
+ private long protoMinor_ = 0L;
/**
* int64 ProtoMinor = 6;
* @return The protoMinor.
@@ -15878,7 +15467,8 @@ public long getProtoMinor() {
}
public static final int BINARY_FIELD_NUMBER = 7;
- private volatile java.lang.Object binary_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object binary_ = "";
/**
* string Binary = 7;
* @return The binary.
@@ -15956,7 +15546,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!bodyData_.isEmpty()) {
output.writeBytes(8, bodyData_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -16000,7 +15590,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, bodyData_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -16031,7 +15621,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getProtoMinor()) return false;
if (!getBinary()
.equals(other.getBinary())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -16063,7 +15653,7 @@ public int hashCode() {
getProtoMinor());
hash = (37 * hash) + BINARY_FIELD_NUMBER;
hash = (53 * hash) + getBinary().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -16202,37 +15792,26 @@ 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;
}
@@ -16259,20 +15838,40 @@ 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);
- 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_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -16322,8 +15921,10 @@ 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) {
@@ -16331,6 +15932,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.HttpResp other) {
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
+ bitField0_ |= 0x00000010;
onChanged();
}
if (other.getProtoMajor() != 0L) {
@@ -16341,9 +15943,10 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.HttpResp other) {
}
if (!other.getBinary().isEmpty()) {
binary_ = other.binary_;
+ bitField0_ |= 0x00000080;
onChanged();
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -16358,17 +15961,74 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.HttpResp parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.HttpResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -16390,6 +16050,7 @@ public long getStatusCode() {
public Builder setStatusCode(long value) {
statusCode_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -16398,7 +16059,7 @@ public Builder setStatusCode(long value) {
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
statusCode_ = 0L;
onChanged();
return this;
@@ -16407,7 +16068,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);
@@ -16415,8 +16076,7 @@ public Builder clearStatusCode() {
return header_;
}
private com.google.protobuf.MapField
- internalGetMutableHeader() {
- onChanged();;
+ internalGetMutableHeader() {
if (header_ == null) {
header_ = com.google.protobuf.MapField.newMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -16424,16 +16084,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) {
@@ -16452,7 +16112,6 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
-
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -16460,10 +16119,11 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 2;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -16473,7 +16133,6 @@ public 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"); }
@@ -16484,8 +16143,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
return map.get(key);
}
-
public Builder clearHeader() {
+ bitField0_ = (bitField0_ & ~0x00000002);
internalGetMutableHeader().getMutableMap()
.clear();
return this;
@@ -16493,7 +16152,6 @@ public Builder clearHeader() {
/**
* map<string, .services.StrArr> Header = 2;
*/
-
public Builder removeHeader(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -16506,7 +16164,8 @@ public Builder removeHeader(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableHeader() {
+ getMutableHeader() {
+ bitField0_ |= 0x00000002;
return internalGetMutableHeader().getMutableMap();
}
/**
@@ -16516,22 +16175,20 @@ 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;
}
@@ -16582,11 +16239,9 @@ 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;
}
@@ -16597,8 +16252,8 @@ public Builder putAllHeader(
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearBody() {
-
body_ = getDefaultInstance().getBody();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -16611,12 +16266,10 @@ 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;
}
@@ -16636,11 +16289,9 @@ 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;
}
@@ -16649,7 +16300,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;
@@ -16696,11 +16347,9 @@ 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;
}
@@ -16709,8 +16358,8 @@ public Builder setStatusMessage(
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
-
statusMessage_ = getDefaultInstance().getStatusMessage();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -16721,12 +16370,10 @@ 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;
}
@@ -16748,6 +16395,7 @@ public long getProtoMajor() {
public Builder setProtoMajor(long value) {
protoMajor_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -16756,7 +16404,7 @@ public Builder setProtoMajor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMajor() {
-
+ bitField0_ = (bitField0_ & ~0x00000020);
protoMajor_ = 0L;
onChanged();
return this;
@@ -16779,6 +16427,7 @@ public long getProtoMinor() {
public Builder setProtoMinor(long value) {
protoMinor_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -16787,7 +16436,7 @@ public Builder setProtoMinor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMinor() {
-
+ bitField0_ = (bitField0_ & ~0x00000040);
protoMinor_ = 0L;
onChanged();
return this;
@@ -16834,11 +16483,9 @@ 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;
}
@@ -16847,8 +16494,8 @@ public Builder setBinary(
* @return This builder for chaining.
*/
public Builder clearBinary() {
-
binary_ = getDefaultInstance().getBinary();
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -16859,12 +16506,10 @@ 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;
}
@@ -16901,7 +16546,18 @@ public HttpResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new HttpResp(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -16978,57 +16634,6 @@ 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;
@@ -17043,7 +16648,8 @@ private endRequest(
}
public static final int STATUS_FIELD_NUMBER = 1;
- private volatile java.lang.Object status_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object status_ = "";
/**
* string status = 1;
* @return The status.
@@ -17081,7 +16687,8 @@ public java.lang.String getStatus() {
}
public static final int ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object id_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
/**
* string id = 2;
* @return The id.
@@ -17138,7 +16745,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -17153,7 +16760,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -17172,7 +16779,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getStatus())) return false;
if (!getId()
.equals(other.getId())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -17187,7 +16794,7 @@ public int hashCode() {
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -17304,26 +16911,20 @@ 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;
}
@@ -17350,12 +16951,21 @@ 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);
- result.status_ = status_;
- result.id_ = id_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -17402,13 +17012,15 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -17423,19 +17035,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.endRequest parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.endRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object status_ = "";
/**
@@ -17478,11 +17114,9 @@ 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;
}
@@ -17491,8 +17125,8 @@ public Builder setStatus(
* @return This builder for chaining.
*/
public Builder clearStatus() {
-
status_ = getDefaultInstance().getStatus();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -17503,12 +17137,10 @@ 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;
}
@@ -17554,11 +17186,9 @@ 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;
}
@@ -17567,8 +17197,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
-
id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -17579,12 +17209,10 @@ 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;
}
@@ -17621,7 +17249,18 @@ public endRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new endRequest(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -17685,51 +17324,6 @@ 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;
@@ -17744,7 +17338,8 @@ private endResponse(
}
public static final int MESSAGE_FIELD_NUMBER = 1;
- private volatile java.lang.Object message_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object message_ = "";
/**
* string message = 1;
* @return The message.
@@ -17798,7 +17393,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -17810,7 +17405,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -17827,7 +17422,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMessage()
.equals(other.getMessage())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -17840,7 +17435,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -17957,24 +17552,19 @@ 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;
}
@@ -18001,11 +17591,18 @@ 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);
- result.message_ = message_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -18052,9 +17649,10 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -18069,19 +17667,38 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.endResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.endResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object message_ = "";
/**
@@ -18124,11 +17741,9 @@ 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;
}
@@ -18137,8 +17752,8 @@ public Builder setMessage(
* @return This builder for chaining.
*/
public Builder clearMessage() {
-
message_ = getDefaultInstance().getMessage();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -18149,12 +17764,10 @@ 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;
}
@@ -18191,7 +17804,18 @@ public endResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new endResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -18307,75 +17931,6 @@ 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;
@@ -18390,7 +17945,8 @@ private startRequest(
}
public static final int TOTAL_FIELD_NUMBER = 1;
- private volatile java.lang.Object total_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object total_ = "";
/**
* string total = 1;
* @return The total.
@@ -18428,7 +17984,8 @@ public java.lang.String getTotal() {
}
public static final int APP_FIELD_NUMBER = 2;
- private volatile java.lang.Object app_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object app_ = "";
/**
* string app = 2;
* @return The app.
@@ -18466,7 +18023,8 @@ public java.lang.String getApp() {
}
public static final int TESTCASEPATH_FIELD_NUMBER = 3;
- private volatile java.lang.Object testCasePath_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object testCasePath_ = "";
/**
* string TestCasePath = 3;
* @return The testCasePath.
@@ -18504,7 +18062,8 @@ public java.lang.String getTestCasePath() {
}
public static final int MOCKPATH_FIELD_NUMBER = 4;
- private volatile java.lang.Object mockPath_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object mockPath_ = "";
/**
* string MockPath = 4;
* @return The mockPath.
@@ -18542,7 +18101,8 @@ public java.lang.String getMockPath() {
}
public static final int APPPATH_FIELD_NUMBER = 5;
- private volatile java.lang.Object appPath_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object appPath_ = "";
/**
* string AppPath = 5;
* @return The appPath.
@@ -18608,7 +18168,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appPath_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -18632,7 +18192,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appPath_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -18657,7 +18217,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getMockPath())) return false;
if (!getAppPath()
.equals(other.getAppPath())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -18678,7 +18238,7 @@ public int hashCode() {
hash = (53 * hash) + getMockPath().hashCode();
hash = (37 * hash) + APPPATH_FIELD_NUMBER;
hash = (53 * hash) + getAppPath().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -18795,32 +18355,23 @@ 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;
}
@@ -18847,15 +18398,30 @@ 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);
- result.total_ = total_;
- result.app_ = app_;
- result.testCasePath_ = testCasePath_;
- result.mockPath_ = mockPath_;
- result.appPath_ = appPath_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -18902,25 +18468,30 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -18935,19 +18506,58 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.startRequest parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.startRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object total_ = "";
/**
@@ -18990,11 +18600,9 @@ 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;
}
@@ -19003,8 +18611,8 @@ public Builder setTotal(
* @return This builder for chaining.
*/
public Builder clearTotal() {
-
total_ = getDefaultInstance().getTotal();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -19015,12 +18623,10 @@ 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;
}
@@ -19066,11 +18672,9 @@ 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;
}
@@ -19079,8 +18683,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
-
app_ = getDefaultInstance().getApp();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -19091,12 +18695,10 @@ 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;
}
@@ -19142,11 +18744,9 @@ 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;
}
@@ -19155,8 +18755,8 @@ public Builder setTestCasePath(
* @return This builder for chaining.
*/
public Builder clearTestCasePath() {
-
testCasePath_ = getDefaultInstance().getTestCasePath();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -19167,12 +18767,10 @@ 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;
}
@@ -19218,11 +18816,9 @@ 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;
}
@@ -19231,8 +18827,8 @@ public Builder setMockPath(
* @return This builder for chaining.
*/
public Builder clearMockPath() {
-
mockPath_ = getDefaultInstance().getMockPath();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -19243,12 +18839,10 @@ 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;
}
@@ -19294,11 +18888,9 @@ 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;
}
@@ -19307,8 +18899,8 @@ public Builder setAppPath(
* @return This builder for chaining.
*/
public Builder clearAppPath() {
-
appPath_ = getDefaultInstance().getAppPath();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -19319,12 +18911,10 @@ 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;
}
@@ -19361,7 +18951,18 @@ public startRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new startRequest(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -19425,51 +19026,6 @@ 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;
@@ -19484,7 +19040,8 @@ private startResponse(
}
public static final int ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object id_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
@@ -19538,7 +19095,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -19550,7 +19107,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -19567,7 +19124,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getId()
.equals(other.getId())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -19580,7 +19137,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -19697,24 +19254,19 @@ 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;
}
@@ -19741,11 +19293,18 @@ 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);
- result.id_ = id_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -19792,9 +19351,10 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -19809,19 +19369,38 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.startResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.startResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object id_ = "";
/**
@@ -19864,11 +19443,9 @@ 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;
}
@@ -19877,8 +19454,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
-
id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -19889,12 +19466,10 @@ 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;
}
@@ -19931,7 +19506,18 @@ public startResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new startResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -20008,57 +19594,6 @@ 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;
@@ -20073,7 +19608,8 @@ private getTCRequest(
}
public static final int ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object id_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
@@ -20111,7 +19647,8 @@ public java.lang.String getId() {
}
public static final int APP_FIELD_NUMBER = 2;
- private volatile java.lang.Object app_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object app_ = "";
/**
* string app = 2;
* @return The app.
@@ -20168,7 +19705,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, app_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -20183,7 +19720,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, app_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -20202,7 +19739,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getId())) return false;
if (!getApp()
.equals(other.getApp())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -20217,7 +19754,7 @@ public int hashCode() {
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + APP_FIELD_NUMBER;
hash = (53 * hash) + getApp().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -20334,26 +19871,20 @@ 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;
}
@@ -20380,12 +19911,21 @@ 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);
- result.id_ = id_;
- result.app_ = app_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -20432,13 +19972,15 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -20453,19 +19995,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.getTCRequest parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.getTCRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object id_ = "";
/**
@@ -20508,11 +20074,9 @@ 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;
}
@@ -20521,8 +20085,8 @@ public Builder setId(
* @return This builder for chaining.
*/
public Builder clearId() {
-
id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -20533,12 +20097,10 @@ 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;
}
@@ -20584,11 +20146,9 @@ 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;
}
@@ -20597,8 +20157,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
-
app_ = getDefaultInstance().getApp();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -20609,12 +20169,10 @@ 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;
}
@@ -20651,7 +20209,18 @@ public getTCRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new getTCRequest(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -20767,75 +20336,6 @@ 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;
@@ -20850,7 +20350,8 @@ private getTCSRequest(
}
public static final int APP_FIELD_NUMBER = 1;
- private volatile java.lang.Object app_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object app_ = "";
/**
* string app = 1;
* @return The app.
@@ -20888,7 +20389,8 @@ public java.lang.String getApp() {
}
public static final int OFFSET_FIELD_NUMBER = 2;
- private volatile java.lang.Object offset_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object offset_ = "";
/**
* string offset = 2;
* @return The offset.
@@ -20926,7 +20428,8 @@ public java.lang.String getOffset() {
}
public static final int LIMIT_FIELD_NUMBER = 3;
- private volatile java.lang.Object limit_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object limit_ = "";
/**
* string limit = 3;
* @return The limit.
@@ -20964,7 +20467,8 @@ public java.lang.String getLimit() {
}
public static final int TESTCASEPATH_FIELD_NUMBER = 4;
- private volatile java.lang.Object testCasePath_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object testCasePath_ = "";
/**
* string TestCasePath = 4;
* @return The testCasePath.
@@ -21002,7 +20506,8 @@ public java.lang.String getTestCasePath() {
}
public static final int MOCKPATH_FIELD_NUMBER = 5;
- private volatile java.lang.Object mockPath_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object mockPath_ = "";
/**
* string MockPath = 5;
* @return The mockPath.
@@ -21068,7 +20573,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mockPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mockPath_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -21092,7 +20597,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mockPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mockPath_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -21117,7 +20622,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getTestCasePath())) return false;
if (!getMockPath()
.equals(other.getMockPath())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -21138,7 +20643,7 @@ public int hashCode() {
hash = (53 * hash) + getTestCasePath().hashCode();
hash = (37 * hash) + MOCKPATH_FIELD_NUMBER;
hash = (53 * hash) + getMockPath().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -21255,32 +20760,23 @@ 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;
}
@@ -21307,15 +20803,30 @@ 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);
- result.app_ = app_;
- result.offset_ = offset_;
- result.limit_ = limit_;
- result.testCasePath_ = testCasePath_;
- result.mockPath_ = mockPath_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -21362,25 +20873,30 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -21395,19 +20911,58 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.getTCSRequest parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.getTCSRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object app_ = "";
/**
@@ -21450,11 +21005,9 @@ 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;
}
@@ -21463,8 +21016,8 @@ public Builder setApp(
* @return This builder for chaining.
*/
public Builder clearApp() {
-
app_ = getDefaultInstance().getApp();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -21475,12 +21028,10 @@ 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;
}
@@ -21526,11 +21077,9 @@ 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;
}
@@ -21539,8 +21088,8 @@ public Builder setOffset(
* @return This builder for chaining.
*/
public Builder clearOffset() {
-
offset_ = getDefaultInstance().getOffset();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -21551,12 +21100,10 @@ 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;
}
@@ -21602,11 +21149,9 @@ 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;
}
@@ -21615,8 +21160,8 @@ public Builder setLimit(
* @return This builder for chaining.
*/
public Builder clearLimit() {
-
limit_ = getDefaultInstance().getLimit();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -21627,12 +21172,10 @@ 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;
}
@@ -21678,11 +21221,9 @@ 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;
}
@@ -21691,8 +21232,8 @@ public Builder setTestCasePath(
* @return This builder for chaining.
*/
public Builder clearTestCasePath() {
-
testCasePath_ = getDefaultInstance().getTestCasePath();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -21703,12 +21244,10 @@ 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;
}
@@ -21754,11 +21293,9 @@ 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;
}
@@ -21767,8 +21304,8 @@ public Builder setMockPath(
* @return This builder for chaining.
*/
public Builder clearMockPath() {
-
mockPath_ = getDefaultInstance().getMockPath();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -21779,12 +21316,10 @@ 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;
}
@@ -21821,7 +21356,18 @@ public getTCSRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new getTCSRequest(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -21903,63 +21449,6 @@ 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;
@@ -21974,6 +21463,7 @@ private getTCSResponse(
}
public static final int TCS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
private java.util.List tcs_;
/**
* repeated .services.TestCase tcs = 1;
@@ -22014,7 +21504,7 @@ public io.keploy.grpc.stubs.Service.TestCaseOrBuilder getTcsOrBuilder(
}
public static final int EOF_FIELD_NUMBER = 2;
- private boolean eof_;
+ private boolean eof_ = false;
/**
* bool eof = 2;
* @return The eof.
@@ -22044,7 +21534,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (eof_ != false) {
output.writeBool(2, eof_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -22061,7 +21551,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, eof_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -22080,7 +21570,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getTcsList())) return false;
if (getEof()
!= other.getEof()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -22098,7 +21588,7 @@ public int hashCode() {
hash = (37 * hash) + EOF_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEof());
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -22215,31 +21705,26 @@ 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;
}
@@ -22266,7 +21751,13 @@ 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);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getTCSResponse result) {
if (tcsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tcs_ = java.util.Collections.unmodifiableList(tcs_);
@@ -22276,9 +21767,13 @@ public io.keploy.grpc.stubs.Service.getTCSResponse buildPartial() {
} else {
result.tcs_ = tcsBuilder_.build();
}
- result.eof_ = eof_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(io.keploy.grpc.stubs.Service.getTCSResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.eof_ = eof_;
+ }
}
@java.lang.Override
@@ -22354,7 +21849,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getTCSResponse other) {
if (other.getEof() != false) {
setEof(other.getEof());
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -22369,17 +21864,48 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.getTCSResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.getTCSResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -22641,6 +22167,7 @@ public boolean getEof() {
public Builder setEof(boolean value) {
eof_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -22649,7 +22176,7 @@ public Builder setEof(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEof() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
eof_ = false;
onChanged();
return this;
@@ -22687,7 +22214,18 @@ public getTCSResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new getTCSResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -22734,7 +22272,6 @@ boolean containsTcsId(
/**
* map<string, string> tcsId = 1;
*/
-
/* nullable */
java.lang.String getTcsIdOrDefault(
java.lang.String key,
@@ -22743,7 +22280,6 @@ java.lang.String getTcsIdOrDefault(
/**
* map<string, string> tcsId = 1;
*/
-
java.lang.String getTcsIdOrThrow(
java.lang.String key);
}
@@ -22774,59 +22310,6 @@ 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;
@@ -22864,6 +22347,7 @@ 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
@@ -22874,14 +22358,12 @@ 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) {
@@ -22900,7 +22382,6 @@ public java.util.Map getTcsId() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
-
public java.util.Map getTcsIdMap() {
return internalGetTcsId().getMap();
}
@@ -22908,10 +22389,11 @@ public java.util.Map getTcsIdMap() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
-
- public java.lang.String getTcsIdOrDefault(
+ public /* nullable */
+java.lang.String getTcsIdOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTcsId().getMap();
@@ -22921,7 +22403,6 @@ public 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"); }
@@ -22953,7 +22434,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetTcsId(),
TcsIdDefaultEntryHolder.defaultEntry,
1);
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -22972,7 +22453,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tcsId__);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -22989,7 +22470,7 @@ public boolean equals(final java.lang.Object obj) {
if (!internalGetTcsId().equals(
other.internalGetTcsId())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -23004,7 +22485,7 @@ public int hashCode() {
hash = (37 * hash) + TCSID_FIELD_NUMBER;
hash = (53 * hash) + internalGetTcsId().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -23143,22 +22624,18 @@ 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;
}
@@ -23186,13 +22663,19 @@ 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);
- int from_bitField0_ = bitField0_;
- result.tcsId_ = internalGetTcsId();
- result.tcsId_.makeImmutable();
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -23239,7 +22722,8 @@ 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());
- this.mergeUnknownFields(other.unknownFields);
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -23254,17 +22738,39 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.postTCResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.postTCResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -23272,7 +22778,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);
@@ -23280,8 +22786,7 @@ public Builder mergeFrom(
return tcsId_;
}
private com.google.protobuf.MapField
- internalGetMutableTcsId() {
- onChanged();;
+ internalGetMutableTcsId() {
if (tcsId_ == null) {
tcsId_ = com.google.protobuf.MapField.newMapField(
TcsIdDefaultEntryHolder.defaultEntry);
@@ -23289,16 +22794,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) {
@@ -23317,7 +22822,6 @@ public java.util.Map getTcsId() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
-
public java.util.Map getTcsIdMap() {
return internalGetTcsId().getMap();
}
@@ -23325,10 +22829,11 @@ public java.util.Map getTcsIdMap() {
* map<string, string> tcsId = 1;
*/
@java.lang.Override
-
- public java.lang.String getTcsIdOrDefault(
+ public /* nullable */
+java.lang.String getTcsIdOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTcsId().getMap();
@@ -23338,7 +22843,6 @@ public 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"); }
@@ -23349,8 +22853,8 @@ public java.lang.String getTcsIdOrThrow(
}
return map.get(key);
}
-
public Builder clearTcsId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableTcsId().getMutableMap()
.clear();
return this;
@@ -23358,7 +22862,6 @@ public Builder clearTcsId() {
/**
* map<string, string> tcsId = 1;
*/
-
public Builder removeTcsId(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -23371,7 +22874,8 @@ public Builder removeTcsId(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableTcsId() {
+ getMutableTcsId() {
+ bitField0_ |= 0x00000001;
return internalGetMutableTcsId().getMutableMap();
}
/**
@@ -23381,22 +22885,20 @@ 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
@@ -23432,7 +22934,18 @@ public postTCResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new postTCResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -23496,51 +23009,6 @@ 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;
@@ -23555,7 +23023,8 @@ private deNoiseResponse(
}
public static final int MESSAGE_FIELD_NUMBER = 1;
- private volatile java.lang.Object message_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object message_ = "";
/**
* string message = 1;
* @return The message.
@@ -23609,7 +23078,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -23621,7 +23090,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -23638,7 +23107,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMessage()
.equals(other.getMessage())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -23651,7 +23120,7 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -23768,24 +23237,19 @@ 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;
}
@@ -23812,11 +23276,18 @@ 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);
- result.message_ = message_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -23863,9 +23334,10 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -23880,19 +23352,38 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.deNoiseResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.deNoiseResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object message_ = "";
/**
@@ -23935,11 +23426,9 @@ 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;
}
@@ -23948,8 +23437,8 @@ public Builder setMessage(
* @return This builder for chaining.
*/
public Builder clearMessage() {
-
message_ = getDefaultInstance().getMessage();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -23960,12 +23449,10 @@ 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;
}
@@ -24002,7 +23489,18 @@ public deNoiseResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new deNoiseResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -24049,14 +23547,12 @@ 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);
}
@@ -24087,59 +23583,6 @@ 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;
@@ -24177,6 +23620,7 @@ 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
@@ -24187,14 +23631,12 @@ 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) {
@@ -24213,7 +23655,6 @@ public java.util.Map getPass() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
-
public java.util.Map getPassMap() {
return internalGetPass().getMap();
}
@@ -24221,7 +23662,6 @@ public java.util.Map getPassMap() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
-
public boolean getPassOrDefault(
java.lang.String key,
boolean defaultValue) {
@@ -24234,7 +23674,6 @@ 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"); }
@@ -24266,7 +23705,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetPass(),
PassDefaultEntryHolder.defaultEntry,
1);
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -24285,7 +23724,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, pass__);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -24302,7 +23741,7 @@ public boolean equals(final java.lang.Object obj) {
if (!internalGetPass().equals(
other.internalGetPass())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -24317,7 +23756,7 @@ public int hashCode() {
hash = (37 * hash) + PASS_FIELD_NUMBER;
hash = (53 * hash) + internalGetPass().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -24456,22 +23895,18 @@ 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;
}
@@ -24499,13 +23934,19 @@ 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);
- int from_bitField0_ = bitField0_;
- result.pass_ = internalGetPass();
- result.pass_.makeImmutable();
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -24552,7 +23993,8 @@ 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());
- this.mergeUnknownFields(other.unknownFields);
+ bitField0_ |= 0x00000001;
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -24567,17 +24009,39 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.testResponse parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.testResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -24585,7 +24049,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);
@@ -24593,8 +24057,7 @@ public Builder mergeFrom(
return pass_;
}
private com.google.protobuf.MapField
- internalGetMutablePass() {
- onChanged();;
+ internalGetMutablePass() {
if (pass_ == null) {
pass_ = com.google.protobuf.MapField.newMapField(
PassDefaultEntryHolder.defaultEntry);
@@ -24602,16 +24065,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) {
@@ -24630,7 +24093,6 @@ public java.util.Map getPass() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
-
public java.util.Map getPassMap() {
return internalGetPass().getMap();
}
@@ -24638,7 +24100,6 @@ public java.util.Map getPassMap() {
* map<string, bool> pass = 1;
*/
@java.lang.Override
-
public boolean getPassOrDefault(
java.lang.String key,
boolean defaultValue) {
@@ -24651,7 +24112,6 @@ 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"); }
@@ -24662,8 +24122,8 @@ public boolean getPassOrThrow(
}
return map.get(key);
}
-
public Builder clearPass() {
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutablePass().getMutableMap()
.clear();
return this;
@@ -24671,7 +24131,6 @@ public Builder clearPass() {
/**
* map<string, bool> pass = 1;
*/
-
public Builder removePass(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -24684,7 +24143,8 @@ public Builder removePass(
*/
@java.lang.Deprecated
public java.util.Map
- getMutablePass() {
+ getMutablePass() {
+ bitField0_ |= 0x00000001;
return internalGetMutablePass().getMutableMap();
}
/**
@@ -24697,16 +24157,17 @@ 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
@@ -24742,7 +24203,18 @@ public testResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new testResponse(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -24819,57 +24291,6 @@ 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;
@@ -24884,7 +24305,8 @@ private GrpcReq(
}
public static final int BODY_FIELD_NUMBER = 1;
- private volatile java.lang.Object body_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object body_ = "";
/**
* string Body = 1;
* @return The body.
@@ -24922,7 +24344,8 @@ public java.lang.String getBody() {
}
public static final int METHOD_FIELD_NUMBER = 2;
- private volatile java.lang.Object method_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object method_ = "";
/**
* string Method = 2;
* @return The method.
@@ -24979,7 +24402,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, method_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -24994,7 +24417,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, method_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -25013,7 +24436,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getBody())) return false;
if (!getMethod()
.equals(other.getMethod())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -25028,7 +24451,7 @@ public int hashCode() {
hash = (53 * hash) + getBody().hashCode();
hash = (37 * hash) + METHOD_FIELD_NUMBER;
hash = (53 * hash) + getMethod().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -25145,26 +24568,20 @@ 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;
}
@@ -25191,12 +24608,21 @@ 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);
- result.body_ = body_;
- result.method_ = method_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -25243,13 +24669,15 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -25264,19 +24692,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.GrpcReq parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.GrpcReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object body_ = "";
/**
@@ -25319,11 +24771,9 @@ 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;
}
@@ -25332,8 +24782,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
-
body_ = getDefaultInstance().getBody();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -25344,12 +24794,10 @@ 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;
}
@@ -25395,11 +24843,9 @@ 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;
}
@@ -25408,8 +24854,8 @@ public Builder setMethod(
* @return This builder for chaining.
*/
public Builder clearMethod() {
-
method_ = getDefaultInstance().getMethod();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -25420,12 +24866,10 @@ 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;
}
@@ -25462,7 +24906,18 @@ public GrpcReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new GrpcReq(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -25539,57 +24994,6 @@ 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;
@@ -25604,7 +25008,8 @@ private GrpcResp(
}
public static final int BODY_FIELD_NUMBER = 1;
- private volatile java.lang.Object body_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object body_ = "";
/**
* string Body = 1;
* @return The body.
@@ -25642,7 +25047,8 @@ public java.lang.String getBody() {
}
public static final int ERR_FIELD_NUMBER = 2;
- private volatile java.lang.Object err_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object err_ = "";
/**
* string Err = 2;
* @return The err.
@@ -25699,7 +25105,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(err_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, err_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -25714,7 +25120,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(err_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, err_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -25733,7 +25139,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getBody())) return false;
if (!getErr()
.equals(other.getErr())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -25748,7 +25154,7 @@ public int hashCode() {
hash = (53 * hash) + getBody().hashCode();
hash = (37 * hash) + ERR_FIELD_NUMBER;
hash = (53 * hash) + getErr().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -25865,26 +25271,20 @@ 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;
}
@@ -25911,12 +25311,21 @@ 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);
- result.body_ = body_;
- result.err_ = err_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -25963,13 +25372,15 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -25984,19 +25395,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.GrpcResp parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.GrpcResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object body_ = "";
/**
@@ -26039,11 +25474,9 @@ 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;
}
@@ -26052,8 +25485,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
-
body_ = getDefaultInstance().getBody();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -26064,12 +25497,10 @@ 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;
}
@@ -26115,11 +25546,9 @@ 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;
}
@@ -26128,8 +25557,8 @@ public Builder setErr(
* @return This builder for chaining.
*/
public Builder clearErr() {
-
err_ = getDefaultInstance().getErr();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -26140,12 +25569,10 @@ 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;
}
@@ -26182,7 +25609,18 @@ public GrpcResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new GrpcResp(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -26287,76 +25725,6 @@ 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;
@@ -26433,7 +25801,6 @@ boolean containsHeader(
/**
* map<string, .services.StrArr> Header = 5;
*/
-
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
@@ -26442,7 +25809,6 @@ io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
/**
* map<string, .services.StrArr> Header = 5;
*/
-
io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
java.lang.String key);
@@ -26488,87 +25854,6 @@ 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;
@@ -26595,7 +25880,8 @@ protected com.google.protobuf.MapField internalGetMapField(
}
public static final int METHOD_FIELD_NUMBER = 1;
- private volatile java.lang.Object method_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object method_ = "";
/**
* string Method = 1;
* @return The method.
@@ -26633,7 +25919,7 @@ public java.lang.String getMethod() {
}
public static final int PROTOMAJOR_FIELD_NUMBER = 2;
- private long protoMajor_;
+ private long protoMajor_ = 0L;
/**
* int64 ProtoMajor = 2;
* @return The protoMajor.
@@ -26644,7 +25930,7 @@ public long getProtoMajor() {
}
public static final int PROTOMINOR_FIELD_NUMBER = 3;
- private long protoMinor_;
+ private long protoMinor_ = 0L;
/**
* int64 ProtoMinor = 3;
* @return The protoMinor.
@@ -26655,7 +25941,8 @@ public long getProtoMinor() {
}
public static final int URL_FIELD_NUMBER = 4;
- private volatile java.lang.Object uRL_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object uRL_ = "";
/**
* string URL = 4;
* @return The uRL.
@@ -26704,6 +25991,7 @@ 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
@@ -26714,14 +26002,12 @@ 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) {
@@ -26740,7 +26026,6 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
-
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -26748,10 +26033,11 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -26761,7 +26047,6 @@ public 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"); }
@@ -26774,7 +26059,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
public static final int BODY_FIELD_NUMBER = 6;
- private volatile java.lang.Object body_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object body_ = "";
/**
* string Body = 6;
* @return The body.
@@ -26846,7 +26132,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, body_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -26882,7 +26168,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, body_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -26909,7 +26195,7 @@ public boolean equals(final java.lang.Object obj) {
other.internalGetHeader())) return false;
if (!getBody()
.equals(other.getBody())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -26936,7 +26222,7 @@ public int hashCode() {
}
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -27075,33 +26361,24 @@ 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;
}
@@ -27128,18 +26405,34 @@ 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);
- 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_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -27186,6 +26479,7 @@ 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) {
@@ -27196,15 +26490,18 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -27219,17 +26516,64 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.Mock.Request parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.Mock.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -27275,11 +26619,9 @@ 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;
}
@@ -27288,8 +26630,8 @@ public Builder setMethod(
* @return This builder for chaining.
*/
public Builder clearMethod() {
-
method_ = getDefaultInstance().getMethod();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -27300,12 +26642,10 @@ 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;
}
@@ -27327,6 +26667,7 @@ public long getProtoMajor() {
public Builder setProtoMajor(long value) {
protoMajor_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -27335,7 +26676,7 @@ public Builder setProtoMajor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMajor() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
protoMajor_ = 0L;
onChanged();
return this;
@@ -27358,6 +26699,7 @@ public long getProtoMinor() {
public Builder setProtoMinor(long value) {
protoMinor_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -27366,7 +26708,7 @@ public Builder setProtoMinor(long value) {
* @return This builder for chaining.
*/
public Builder clearProtoMinor() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
protoMinor_ = 0L;
onChanged();
return this;
@@ -27413,11 +26755,9 @@ 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;
}
@@ -27426,8 +26766,8 @@ public Builder setURL(
* @return This builder for chaining.
*/
public Builder clearURL() {
-
uRL_ = getDefaultInstance().getURL();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -27438,12 +26778,10 @@ 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;
}
@@ -27451,7 +26789,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);
@@ -27459,8 +26797,7 @@ public Builder setURLBytes(
return header_;
}
private com.google.protobuf.MapField
- internalGetMutableHeader() {
- onChanged();;
+ internalGetMutableHeader() {
if (header_ == null) {
header_ = com.google.protobuf.MapField.newMapField(
HeaderDefaultEntryHolder.defaultEntry);
@@ -27468,16 +26805,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) {
@@ -27496,7 +26833,6 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
-
public java.util.Map getHeaderMap() {
return internalGetHeader().getMap();
}
@@ -27504,10 +26840,11 @@ public java.util.Map getH
* map<string, .services.StrArr> Header = 5;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getHeaderOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetHeader().getMap();
@@ -27517,7 +26854,6 @@ public 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"); }
@@ -27528,8 +26864,8 @@ public io.keploy.grpc.stubs.Service.StrArr getHeaderOrThrow(
}
return map.get(key);
}
-
public Builder clearHeader() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableHeader().getMutableMap()
.clear();
return this;
@@ -27537,7 +26873,6 @@ public Builder clearHeader() {
/**
* map<string, .services.StrArr> Header = 5;
*/
-
public Builder removeHeader(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -27550,7 +26885,8 @@ public Builder removeHeader(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableHeader() {
+ getMutableHeader() {
+ bitField0_ |= 0x00000010;
return internalGetMutableHeader().getMutableMap();
}
/**
@@ -27560,22 +26896,20 @@ 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;
}
@@ -27620,11 +26954,9 @@ 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;
}
@@ -27633,8 +26965,8 @@ public Builder setBody(
* @return This builder for chaining.
*/
public Builder clearBody() {
-
body_ = getDefaultInstance().getBody();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -27645,12 +26977,10 @@ 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;
}
@@ -27687,7 +27017,18 @@ public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new Request(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -27758,56 +27099,6 @@ 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;
@@ -27822,7 +27113,8 @@ private Object(
}
public static final int TYPE_FIELD_NUMBER = 1;
- private volatile java.lang.Object type_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object type_ = "";
/**
* string Type = 1;
* @return The type.
@@ -27860,7 +27152,7 @@ public java.lang.String getType() {
}
public static final int DATA_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString data_;
+ private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes Data = 2;
* @return The data.
@@ -27890,7 +27182,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!data_.isEmpty()) {
output.writeBytes(2, data_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -27906,7 +27198,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, data_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -27925,7 +27217,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getType())) return false;
if (!getData()
.equals(other.getData())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -27940,7 +27232,7 @@ public int hashCode() {
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -28057,26 +27349,20 @@ 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;
}
@@ -28103,12 +27389,21 @@ 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);
- result.type_ = type_;
- result.data_ = data_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -28155,12 +27450,13 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -28175,19 +27471,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.Mock.Object parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.Mock.Object) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object type_ = "";
/**
@@ -28230,11 +27550,9 @@ 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;
}
@@ -28243,8 +27561,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
-
type_ = getDefaultInstance().getType();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -28255,12 +27573,10 @@ 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;
}
@@ -28280,11 +27596,9 @@ 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;
}
@@ -28293,7 +27607,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;
@@ -28331,7 +27645,18 @@ public Object parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new Object(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -28378,7 +27703,6 @@ boolean containsMetadata(
/**
* map<string, string> Metadata = 1;
*/
-
/* nullable */
java.lang.String getMetadataOrDefault(
java.lang.String key,
@@ -28387,7 +27711,6 @@ java.lang.String getMetadataOrDefault(
/**
* map<string, string> Metadata = 1;
*/
-
java.lang.String getMetadataOrThrow(
java.lang.String key);
@@ -28493,7 +27816,6 @@ boolean containsAssertions(
/**
* map<string, .services.StrArr> Assertions = 6;
*/
-
/* nullable */
io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
@@ -28502,7 +27824,6 @@ io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
/**
* map<string, .services.StrArr> Assertions = 6;
*/
-
io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
java.lang.String key);
@@ -28643,189 +27964,6 @@ 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;
@@ -28866,6 +28004,7 @@ 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
@@ -28876,14 +28015,12 @@ 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) {
@@ -28902,7 +28039,6 @@ public java.util.Map getMetadata() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
-
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
@@ -28910,10 +28046,11 @@ public java.util.Map getMetadataMap() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
-
- public java.lang.String getMetadataOrDefault(
+ public /* nullable */
+java.lang.String getMetadataOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
@@ -28923,7 +28060,6 @@ public 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"); }
@@ -28936,6 +28072,7 @@ 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;
@@ -28998,7 +28135,7 @@ public io.keploy.grpc.stubs.Service.HttpReq getReq() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.HttpReqOrBuilder getReqOrBuilder() {
- return getReq();
+ return req_ == null ? io.keploy.grpc.stubs.Service.HttpReq.getDefaultInstance() : req_;
}
public static final int RES_FIELD_NUMBER = 4;
@@ -29024,10 +28161,11 @@ public io.keploy.grpc.stubs.Service.HttpResp getRes() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.HttpRespOrBuilder getResOrBuilder() {
- return getRes();
+ return res_ == null ? io.keploy.grpc.stubs.Service.HttpResp.getDefaultInstance() : res_;
}
public static final int MOCKS_FIELD_NUMBER = 5;
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList mocks_;
/**
* repeated string Mocks = 5;
@@ -29074,6 +28212,7 @@ 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
@@ -29084,14 +28223,12 @@ 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) {
@@ -29110,7 +28247,6 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
-
public java.util.Map getAssertionsMap() {
return internalGetAssertions().getMap();
}
@@ -29118,10 +28254,11 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAssertions().getMap();
@@ -29131,7 +28268,6 @@ public 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"); }
@@ -29144,7 +28280,7 @@ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
}
public static final int CREATED_FIELD_NUMBER = 7;
- private long created_;
+ private long created_ = 0L;
/**
* int64 Created = 7;
* @return The created.
@@ -29155,7 +28291,8 @@ public long getCreated() {
}
public static final int TYPE_FIELD_NUMBER = 8;
- private volatile java.lang.Object type_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object type_ = "";
/**
*
* for sql
@@ -29227,7 +28364,7 @@ public io.keploy.grpc.stubs.Service.TableOrBuilder getTableOrBuilder() {
}
public static final int INT_FIELD_NUMBER = 10;
- private long int_;
+ private long int_ = 0L;
/**
*
* change it to rows commited
@@ -29242,6 +28379,7 @@ public long getInt() {
}
public static final int ERR_FIELD_NUMBER = 11;
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList err_;
/**
* repeated string Err = 11;
@@ -29299,7 +28437,7 @@ public io.keploy.grpc.stubs.Service.GrpcReq getGrpcRequest() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcReqOrBuilder getGrpcRequestOrBuilder() {
- return getGrpcRequest();
+ return grpcRequest_ == null ? io.keploy.grpc.stubs.Service.GrpcReq.getDefaultInstance() : grpcRequest_;
}
public static final int GRPCRESP_FIELD_NUMBER = 13;
@@ -29325,7 +28463,7 @@ public io.keploy.grpc.stubs.Service.GrpcResp getGrpcResp() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.GrpcRespOrBuilder getGrpcRespOrBuilder() {
- return getGrpcResp();
+ return grpcResp_ == null ? io.keploy.grpc.stubs.Service.GrpcResp.getDefaultInstance() : grpcResp_;
}
private byte memoizedIsInitialized = -1;
@@ -29387,7 +28525,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (grpcResp_ != null) {
output.writeMessage(13, getGrpcResp());
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -29467,7 +28605,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getGrpcResp());
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -29523,7 +28661,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getGrpcResp()
.equals(other.getGrpcResp())) return false;
}
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -29582,7 +28720,7 @@ public int hashCode() {
hash = (37 * hash) + GRPCRESP_FIELD_NUMBER;
hash = (53 * hash) + getGrpcResp().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -29737,58 +28875,56 @@ 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();
}
- if (reqBuilder_ == null) {
- req_ = null;
- } else {
- req_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ req_ = null;
+ if (reqBuilder_ != null) {
+ reqBuilder_.dispose();
reqBuilder_ = null;
}
- if (resBuilder_ == null) {
- res_ = null;
- } else {
- res_ = null;
+ res_ = null;
+ if (resBuilder_ != null) {
+ resBuilder_.dispose();
resBuilder_ = null;
}
mocks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableAssertions().clear();
created_ = 0L;
-
type_ = "";
-
- if (tableBuilder_ == null) {
- table_ = null;
- } else {
- tableBuilder_.clear();
+ table_ = null;
+ if (tableBuilder_ != null) {
+ tableBuilder_.dispose();
+ tableBuilder_ = null;
}
- bitField0_ = (bitField0_ & ~0x00000010);
int_ = 0L;
-
err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
- if (grpcRequestBuilder_ == null) {
- grpcRequest_ = null;
- } else {
- grpcRequest_ = null;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ grpcRequest_ = null;
+ if (grpcRequestBuilder_ != null) {
+ grpcRequestBuilder_.dispose();
grpcRequestBuilder_ = null;
}
- if (grpcRespBuilder_ == null) {
- grpcResp_ = null;
- } else {
- grpcResp_ = null;
+ grpcResp_ = null;
+ if (grpcRespBuilder_ != null) {
+ grpcRespBuilder_.dispose();
grpcRespBuilder_ = null;
}
return this;
@@ -29817,10 +28953,13 @@ 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);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- result.metadata_ = internalGetMetadata();
- result.metadata_.makeImmutable();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Mock.SpecSchema result) {
if (objectsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objects_ = java.util.Collections.unmodifiableList(objects_);
@@ -29830,52 +28969,65 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema buildPartial() {
} else {
result.objects_ = objectsBuilder_.build();
}
- if (reqBuilder_ == null) {
- result.req_ = req_;
- } else {
- result.req_ = reqBuilder_.build();
- }
- if (resBuilder_ == null) {
- result.res_ = res_;
- } else {
- result.res_ = resBuilder_.build();
- }
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
mocks_ = mocks_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
}
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;
- }
- result.int_ = int_;
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
err_ = err_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000400);
}
result.err_ = err_;
- if (grpcRequestBuilder_ == null) {
- result.grpcRequest_ = grpcRequest_;
- } else {
- result.grpcRequest_ = grpcRequestBuilder_.build();
+ }
+
+ 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 (grpcRespBuilder_ == null) {
- result.grpcResp_ = grpcResp_;
- } else {
- result.grpcResp_ = grpcRespBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.req_ = reqBuilder_ == null
+ ? req_
+ : reqBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.res_ = resBuilder_ == null
+ ? res_
+ : resBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.assertions_ = internalGetAssertions();
+ result.assertions_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.created_ = created_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.type_ = type_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.table_ = tableBuilder_ == null
+ ? table_
+ : tableBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.int_ = int_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.grpcRequest_ = grpcRequestBuilder_ == null
+ ? grpcRequest_
+ : grpcRequestBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.grpcResp_ = grpcRespBuilder_ == null
+ ? grpcResp_
+ : grpcRespBuilder_.build();
+ }
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -29924,6 +29076,7 @@ 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()) {
@@ -29959,7 +29112,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (!other.mocks_.isEmpty()) {
if (mocks_.isEmpty()) {
mocks_ = other.mocks_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureMocksIsMutable();
mocks_.addAll(other.mocks_);
@@ -29968,11 +29121,13 @@ 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()) {
@@ -29984,7 +29139,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (!other.err_.isEmpty()) {
if (err_.isEmpty()) {
err_ = other.err_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureErrIsMutable();
err_.addAll(other.err_);
@@ -29997,7 +29152,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Mock.SpecSchema other) {
if (other.hasGrpcResp()) {
mergeGrpcResp(other.getGrpcResp());
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -30012,17 +29167,123 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.Mock.SpecSchema parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ com.google.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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.Mock.SpecSchema) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -30030,7 +29291,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);
@@ -30038,8 +29299,7 @@ public Builder mergeFrom(
return metadata_;
}
private com.google.protobuf.MapField
- internalGetMutableMetadata() {
- onChanged();;
+ internalGetMutableMetadata() {
if (metadata_ == null) {
metadata_ = com.google.protobuf.MapField.newMapField(
MetadataDefaultEntryHolder.defaultEntry);
@@ -30047,16 +29307,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) {
@@ -30075,7 +29335,6 @@ public java.util.Map getMetadata() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
-
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
@@ -30083,10 +29342,11 @@ public java.util.Map getMetadataMap() {
* map<string, string> Metadata = 1;
*/
@java.lang.Override
-
- public java.lang.String getMetadataOrDefault(
+ public /* nullable */
+java.lang.String getMetadataOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
@@ -30096,7 +29356,6 @@ public 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"); }
@@ -30107,8 +29366,8 @@ public java.lang.String getMetadataOrThrow(
}
return map.get(key);
}
-
public Builder clearMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableMetadata().getMutableMap()
.clear();
return this;
@@ -30116,7 +29375,6 @@ public Builder clearMetadata() {
/**
* map<string, string> Metadata = 1;
*/
-
public Builder removeMetadata(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -30129,7 +29387,8 @@ public Builder removeMetadata(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableMetadata() {
+ getMutableMetadata() {
+ bitField0_ |= 0x00000001;
return internalGetMutableMetadata().getMutableMap();
}
/**
@@ -30139,22 +29398,20 @@ 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;
}
@@ -30406,7 +29663,7 @@ public io.keploy.grpc.stubs.Service.Mock.Object.Builder addObjectsBuilder(
* @return Whether the req field is set.
*/
public boolean hasReq() {
- return reqBuilder_ != null || req_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* .services.HttpReq Req = 3;
@@ -30428,11 +29685,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;
}
/**
@@ -30442,11 +29699,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;
}
/**
@@ -30454,38 +29711,38 @@ public Builder setReq(
*/
public Builder mergeReq(io.keploy.grpc.stubs.Service.HttpReq value) {
if (reqBuilder_ == null) {
- if (req_ != null) {
- req_ =
- io.keploy.grpc.stubs.Service.HttpReq.newBuilder(req_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0) &&
+ req_ != null &&
+ req_ != io.keploy.grpc.stubs.Service.HttpReq.getDefaultInstance()) {
+ getReqBuilder().mergeFrom(value);
} else {
req_ = value;
}
- onChanged();
} else {
reqBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
* .services.HttpReq Req = 3;
*/
public Builder clearReq() {
- if (reqBuilder_ == null) {
- req_ = null;
- onChanged();
- } else {
- req_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ req_ = null;
+ if (reqBuilder_ != null) {
+ reqBuilder_.dispose();
reqBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
* .services.HttpReq Req = 3;
*/
public io.keploy.grpc.stubs.Service.HttpReq.Builder getReqBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getReqFieldBuilder().getBuilder();
}
@@ -30525,7 +29782,7 @@ public io.keploy.grpc.stubs.Service.HttpReqOrBuilder getReqOrBuilder() {
* @return Whether the res field is set.
*/
public boolean hasRes() {
- return resBuilder_ != null || res_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* .services.HttpResp Res = 4;
@@ -30547,11 +29804,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;
}
/**
@@ -30561,11 +29818,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;
}
/**
@@ -30573,38 +29830,38 @@ public Builder setRes(
*/
public Builder mergeRes(io.keploy.grpc.stubs.Service.HttpResp value) {
if (resBuilder_ == null) {
- if (res_ != null) {
- res_ =
- io.keploy.grpc.stubs.Service.HttpResp.newBuilder(res_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000008) != 0) &&
+ res_ != null &&
+ res_ != io.keploy.grpc.stubs.Service.HttpResp.getDefaultInstance()) {
+ getResBuilder().mergeFrom(value);
} else {
res_ = value;
}
- onChanged();
} else {
resBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
* .services.HttpResp Res = 4;
*/
public Builder clearRes() {
- if (resBuilder_ == null) {
- res_ = null;
- onChanged();
- } else {
- res_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ res_ = null;
+ if (resBuilder_ != null) {
+ resBuilder_.dispose();
resBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
* .services.HttpResp Res = 4;
*/
public io.keploy.grpc.stubs.Service.HttpResp.Builder getResBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getResFieldBuilder().getBuilder();
}
@@ -30638,9 +29895,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_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000010) != 0)) {
mocks_ = new com.google.protobuf.LazyStringArrayList(mocks_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000010;
}
}
/**
@@ -30683,10 +29940,8 @@ 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;
@@ -30698,10 +29953,8 @@ 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;
@@ -30725,7 +29978,7 @@ public Builder addAllMocks(
*/
public Builder clearMocks() {
mocks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -30736,10 +29989,8 @@ 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();
@@ -30749,7 +30000,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);
@@ -30757,8 +30008,7 @@ public Builder addMocksBytes(
return assertions_;
}
private com.google.protobuf.MapField
- internalGetMutableAssertions() {
- onChanged();;
+ internalGetMutableAssertions() {
if (assertions_ == null) {
assertions_ = com.google.protobuf.MapField.newMapField(
AssertionsDefaultEntryHolder.defaultEntry);
@@ -30766,16 +30016,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) {
@@ -30794,7 +30044,6 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
-
public java.util.Map getAssertionsMap() {
return internalGetAssertions().getMap();
}
@@ -30802,10 +30051,11 @@ public java.util.Map getA
* map<string, .services.StrArr> Assertions = 6;
*/
@java.lang.Override
-
- public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
+ public /* nullable */
+io.keploy.grpc.stubs.Service.StrArr getAssertionsOrDefault(
java.lang.String key,
- io.keploy.grpc.stubs.Service.StrArr defaultValue) {
+ /* nullable */
+io.keploy.grpc.stubs.Service.StrArr defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAssertions().getMap();
@@ -30815,7 +30065,6 @@ public 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"); }
@@ -30826,8 +30075,8 @@ public io.keploy.grpc.stubs.Service.StrArr getAssertionsOrThrow(
}
return map.get(key);
}
-
public Builder clearAssertions() {
+ bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableAssertions().getMutableMap()
.clear();
return this;
@@ -30835,7 +30084,6 @@ public Builder clearAssertions() {
/**
* map<string, .services.StrArr> Assertions = 6;
*/
-
public Builder removeAssertions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -30848,7 +30096,8 @@ public Builder removeAssertions(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableAssertions() {
+ getMutableAssertions() {
+ bitField0_ |= 0x00000020;
return internalGetMutableAssertions().getMutableMap();
}
/**
@@ -30858,22 +30107,20 @@ 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;
}
@@ -30894,6 +30141,7 @@ public long getCreated() {
public Builder setCreated(long value) {
created_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -30902,7 +30150,7 @@ public Builder setCreated(long value) {
* @return This builder for chaining.
*/
public Builder clearCreated() {
-
+ bitField0_ = (bitField0_ & ~0x00000040);
created_ = 0L;
onChanged();
return this;
@@ -30961,11 +30209,9 @@ 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;
}
@@ -30978,8 +30224,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
-
type_ = getDefaultInstance().getType();
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -30994,12 +30240,10 @@ 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;
}
@@ -31012,7 +30256,7 @@ public Builder setTypeBytes(
* @return Whether the table field is set.
*/
public boolean hasTable() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .services.Table Table = 9;
@@ -31034,11 +30278,11 @@ public Builder setTable(io.keploy.grpc.stubs.Service.Table value) {
throw new NullPointerException();
}
table_ = value;
- onChanged();
} else {
tableBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
@@ -31048,11 +30292,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_ |= 0x00000010;
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
@@ -31060,39 +30304,38 @@ public Builder setTable(
*/
public Builder mergeTable(io.keploy.grpc.stubs.Service.Table value) {
if (tableBuilder_ == null) {
- 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();
+ if (((bitField0_ & 0x00000100) != 0) &&
+ table_ != null &&
+ table_ != io.keploy.grpc.stubs.Service.Table.getDefaultInstance()) {
+ getTableBuilder().mergeFrom(value);
} else {
table_ = value;
}
- onChanged();
} else {
tableBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
* optional .services.Table Table = 9;
*/
public Builder clearTable() {
- if (tableBuilder_ == null) {
- table_ = null;
- onChanged();
- } else {
- tableBuilder_.clear();
+ bitField0_ = (bitField0_ & ~0x00000100);
+ table_ = null;
+ if (tableBuilder_ != null) {
+ tableBuilder_.dispose();
+ tableBuilder_ = null;
}
- bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
return this;
}
/**
* optional .services.Table Table = 9;
*/
public io.keploy.grpc.stubs.Service.Table.Builder getTableBuilder() {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000100;
onChanged();
return getTableFieldBuilder().getBuilder();
}
@@ -31149,6 +30392,7 @@ public long getInt() {
public Builder setInt(long value) {
int_ = value;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -31161,7 +30405,7 @@ public Builder setInt(long value) {
* @return This builder for chaining.
*/
public Builder clearInt() {
-
+ bitField0_ = (bitField0_ & ~0x00000200);
int_ = 0L;
onChanged();
return this;
@@ -31169,9 +30413,9 @@ public Builder clearInt() {
private com.google.protobuf.LazyStringList err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureErrIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000400) != 0)) {
err_ = new com.google.protobuf.LazyStringArrayList(err_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000400;
}
}
/**
@@ -31214,10 +30458,8 @@ 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;
@@ -31229,10 +30471,8 @@ 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;
@@ -31256,7 +30496,7 @@ public Builder addAllErr(
*/
public Builder clearErr() {
err_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
@@ -31267,10 +30507,8 @@ 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();
@@ -31285,7 +30523,7 @@ public Builder addErrBytes(
* @return Whether the grpcRequest field is set.
*/
public boolean hasGrpcRequest() {
- return grpcRequestBuilder_ != null || grpcRequest_ != null;
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* .services.GrpcReq GrpcRequest = 12;
@@ -31307,11 +30545,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;
}
/**
@@ -31321,11 +30559,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;
}
/**
@@ -31333,38 +30571,38 @@ public Builder setGrpcRequest(
*/
public Builder mergeGrpcRequest(io.keploy.grpc.stubs.Service.GrpcReq value) {
if (grpcRequestBuilder_ == null) {
- if (grpcRequest_ != null) {
- grpcRequest_ =
- io.keploy.grpc.stubs.Service.GrpcReq.newBuilder(grpcRequest_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000800) != 0) &&
+ grpcRequest_ != null &&
+ grpcRequest_ != io.keploy.grpc.stubs.Service.GrpcReq.getDefaultInstance()) {
+ getGrpcRequestBuilder().mergeFrom(value);
} else {
grpcRequest_ = value;
}
- onChanged();
} else {
grpcRequestBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
* .services.GrpcReq GrpcRequest = 12;
*/
public Builder clearGrpcRequest() {
- if (grpcRequestBuilder_ == null) {
- grpcRequest_ = null;
- onChanged();
- } else {
- grpcRequest_ = null;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ grpcRequest_ = null;
+ if (grpcRequestBuilder_ != null) {
+ grpcRequestBuilder_.dispose();
grpcRequestBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
* .services.GrpcReq GrpcRequest = 12;
*/
public io.keploy.grpc.stubs.Service.GrpcReq.Builder getGrpcRequestBuilder() {
-
+ bitField0_ |= 0x00000800;
onChanged();
return getGrpcRequestFieldBuilder().getBuilder();
}
@@ -31404,7 +30642,7 @@ public io.keploy.grpc.stubs.Service.GrpcReqOrBuilder getGrpcRequestOrBuilder() {
* @return Whether the grpcResp field is set.
*/
public boolean hasGrpcResp() {
- return grpcRespBuilder_ != null || grpcResp_ != null;
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* .services.GrpcResp GrpcResp = 13;
@@ -31426,11 +30664,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;
}
/**
@@ -31440,11 +30678,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;
}
/**
@@ -31452,38 +30690,38 @@ public Builder setGrpcResp(
*/
public Builder mergeGrpcResp(io.keploy.grpc.stubs.Service.GrpcResp value) {
if (grpcRespBuilder_ == null) {
- if (grpcResp_ != null) {
- grpcResp_ =
- io.keploy.grpc.stubs.Service.GrpcResp.newBuilder(grpcResp_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00001000) != 0) &&
+ grpcResp_ != null &&
+ grpcResp_ != io.keploy.grpc.stubs.Service.GrpcResp.getDefaultInstance()) {
+ getGrpcRespBuilder().mergeFrom(value);
} else {
grpcResp_ = value;
}
- onChanged();
} else {
grpcRespBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
* .services.GrpcResp GrpcResp = 13;
*/
public Builder clearGrpcResp() {
- if (grpcRespBuilder_ == null) {
- grpcResp_ = null;
- onChanged();
- } else {
- grpcResp_ = null;
+ bitField0_ = (bitField0_ & ~0x00001000);
+ grpcResp_ = null;
+ if (grpcRespBuilder_ != null) {
+ grpcRespBuilder_.dispose();
grpcRespBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
* .services.GrpcResp GrpcResp = 13;
*/
public io.keploy.grpc.stubs.Service.GrpcResp.Builder getGrpcRespBuilder() {
-
+ bitField0_ |= 0x00001000;
onChanged();
return getGrpcRespFieldBuilder().getBuilder();
}
@@ -31547,7 +30785,18 @@ public SpecSchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new SpecSchema(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -31568,7 +30817,8 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema getDefaultInstanceForType()
}
public static final int VERSION_FIELD_NUMBER = 1;
- private volatile java.lang.Object version_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object version_ = "";
/**
* string Version = 1;
* @return The version.
@@ -31606,7 +30856,8 @@ public java.lang.String getVersion() {
}
public static final int NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object name_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
* string Name = 2;
* @return The name.
@@ -31644,7 +30895,8 @@ public java.lang.String getName() {
}
public static final int KIND_FIELD_NUMBER = 3;
- private volatile java.lang.Object kind_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object kind_ = "";
/**
* string Kind = 3;
* @return The kind.
@@ -31704,7 +30956,7 @@ public io.keploy.grpc.stubs.Service.Mock.SpecSchema getSpec() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.Mock.SpecSchemaOrBuilder getSpecOrBuilder() {
- return getSpec();
+ return spec_ == null ? io.keploy.grpc.stubs.Service.Mock.SpecSchema.getDefaultInstance() : spec_;
}
private byte memoizedIsInitialized = -1;
@@ -31733,7 +30985,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (spec_ != null) {
output.writeMessage(4, getSpec());
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -31755,7 +31007,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSpec());
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -31781,7 +31033,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getSpec()
.equals(other.getSpec())) return false;
}
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -31802,7 +31054,7 @@ public int hashCode() {
hash = (37 * hash) + SPEC_FIELD_NUMBER;
hash = (53 * hash) + getSpec().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -31919,32 +31171,24 @@ 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_ = "";
-
- if (specBuilder_ == null) {
- spec_ = null;
- } else {
- spec_ = null;
+ spec_ = null;
+ if (specBuilder_ != null) {
+ specBuilder_.dispose();
specBuilder_ = null;
}
return this;
@@ -31973,18 +31217,29 @@ 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);
- result.version_ = version_;
- result.name_ = name_;
- result.kind_ = kind_;
- if (specBuilder_ == null) {
- result.spec_ = spec_;
- } else {
- result.spec_ = specBuilder_.build();
- }
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -32031,20 +31286,23 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -32059,19 +31317,55 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.Mock parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.Mock) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object version_ = "";
/**
@@ -32114,11 +31408,9 @@ 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;
}
@@ -32127,8 +31419,8 @@ public Builder setVersion(
* @return This builder for chaining.
*/
public Builder clearVersion() {
-
version_ = getDefaultInstance().getVersion();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -32139,12 +31431,10 @@ 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;
}
@@ -32190,11 +31480,9 @@ 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;
}
@@ -32203,8 +31491,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -32215,12 +31503,10 @@ 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;
}
@@ -32266,11 +31552,9 @@ 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;
}
@@ -32279,8 +31563,8 @@ public Builder setKind(
* @return This builder for chaining.
*/
public Builder clearKind() {
-
kind_ = getDefaultInstance().getKind();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -32291,12 +31575,10 @@ 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;
}
@@ -32309,7 +31591,7 @@ public Builder setKindBytes(
* @return Whether the spec field is set.
*/
public boolean hasSpec() {
- return specBuilder_ != null || spec_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* .services.Mock.SpecSchema Spec = 4;
@@ -32331,11 +31613,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;
}
/**
@@ -32345,11 +31627,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;
}
/**
@@ -32357,38 +31639,38 @@ public Builder setSpec(
*/
public Builder mergeSpec(io.keploy.grpc.stubs.Service.Mock.SpecSchema value) {
if (specBuilder_ == null) {
- if (spec_ != null) {
- spec_ =
- io.keploy.grpc.stubs.Service.Mock.SpecSchema.newBuilder(spec_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000008) != 0) &&
+ spec_ != null &&
+ spec_ != io.keploy.grpc.stubs.Service.Mock.SpecSchema.getDefaultInstance()) {
+ getSpecBuilder().mergeFrom(value);
} else {
spec_ = value;
}
- onChanged();
} else {
specBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
* .services.Mock.SpecSchema Spec = 4;
*/
public Builder clearSpec() {
- if (specBuilder_ == null) {
- spec_ = null;
- onChanged();
- } else {
- spec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ spec_ = null;
+ if (specBuilder_ != null) {
+ specBuilder_.dispose();
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();
}
@@ -32452,7 +31734,18 @@ public Mock parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new Mock(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -32554,70 +31847,6 @@ 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;
@@ -32632,6 +31861,7 @@ private Table(
}
public static final int COLS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
private java.util.List cols_;
/**
* repeated .services.SqlCol Cols = 1;
@@ -32672,6 +31902,7 @@ 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;
@@ -32726,7 +31957,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));
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -32747,7 +31978,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getRowsList().size();
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -32766,7 +31997,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getColsList())) return false;
if (!getRowsList()
.equals(other.getRowsList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -32785,7 +32016,7 @@ public int hashCode() {
hash = (37 * hash) + ROWS_FIELD_NUMBER;
hash = (53 * hash) + getRowsList().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -32902,29 +32133,25 @@ 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;
@@ -32953,7 +32180,13 @@ 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);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.Table result) {
if (colsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
cols_ = java.util.Collections.unmodifiableList(cols_);
@@ -32968,8 +32201,10 @@ public io.keploy.grpc.stubs.Service.Table buildPartial() {
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rows_ = rows_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(io.keploy.grpc.stubs.Service.Table result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -33052,7 +32287,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.Table other) {
}
onChanged();
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -33067,17 +32302,49 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.Table parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.Table) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -33369,10 +32636,8 @@ 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;
@@ -33384,10 +32649,8 @@ 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;
@@ -33422,10 +32685,8 @@ 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();
@@ -33464,7 +32725,18 @@ public Table parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new Table(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -33557,67 +32829,6 @@ 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;
@@ -33632,7 +32843,8 @@ private SqlCol(
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
* string Name = 1;
* @return The name.
@@ -33670,7 +32882,8 @@ public java.lang.String getName() {
}
public static final int TYPE_FIELD_NUMBER = 2;
- private volatile java.lang.Object type_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object type_ = "";
/**
* string Type = 2;
* @return The type.
@@ -33708,7 +32921,7 @@ public java.lang.String getType() {
}
public static final int PRECISION_FIELD_NUMBER = 3;
- private long precision_;
+ private long precision_ = 0L;
/**
*
*optional fields
@@ -33723,7 +32936,7 @@ public long getPrecision() {
}
public static final int SCALE_FIELD_NUMBER = 4;
- private long scale_;
+ private long scale_ = 0L;
/**
* int64 Scale = 4;
* @return The scale.
@@ -33759,7 +32972,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (scale_ != 0L) {
output.writeInt64(4, scale_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -33782,7 +32995,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, scale_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -33805,7 +33018,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getPrecision()) return false;
if (getScale()
!= other.getScale()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -33826,7 +33039,7 @@ public int hashCode() {
hash = (37 * hash) + SCALE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getScale());
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -33943,30 +33156,22 @@ 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;
}
@@ -33993,14 +33198,27 @@ 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);
- result.name_ = name_;
- result.type_ = type_;
- result.precision_ = precision_;
- result.scale_ = scale_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -34047,10 +33265,12 @@ 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) {
@@ -34059,7 +33279,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.SqlCol other) {
if (other.getScale() != 0L) {
setScale(other.getScale());
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -34074,19 +33294,53 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.SqlCol parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.SqlCol) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object name_ = "";
/**
@@ -34129,11 +33383,9 @@ 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;
}
@@ -34142,8 +33394,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -34154,12 +33406,10 @@ 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;
}
@@ -34205,11 +33455,9 @@ 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;
}
@@ -34218,8 +33466,8 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
-
type_ = getDefaultInstance().getType();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -34230,12 +33478,10 @@ 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;
}
@@ -34265,6 +33511,7 @@ public long getPrecision() {
public Builder setPrecision(long value) {
precision_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -34277,7 +33524,7 @@ public Builder setPrecision(long value) {
* @return This builder for chaining.
*/
public Builder clearPrecision() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
precision_ = 0L;
onChanged();
return this;
@@ -34300,6 +33547,7 @@ public long getScale() {
public Builder setScale(long value) {
scale_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -34308,7 +33556,7 @@ public Builder setScale(long value) {
* @return This builder for chaining.
*/
public Builder clearScale() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
scale_ = 0L;
onChanged();
return this;
@@ -34346,7 +33594,18 @@ public SqlCol parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new SqlCol(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -34445,7 +33704,6 @@ boolean containsReplace(
/**
* map<string, string> Replace = 4;
*/
-
/* nullable */
java.lang.String getReplaceOrDefault(
java.lang.String key,
@@ -34454,7 +33712,6 @@ java.lang.String getReplaceOrDefault(
/**
* map<string, string> Replace = 4;
*/
-
java.lang.String getReplaceOrThrow(
java.lang.String key);
}
@@ -34487,90 +33744,6 @@ 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;
@@ -34619,11 +33792,12 @@ public io.keploy.grpc.stubs.Service.Mock getMock() {
*/
@java.lang.Override
public io.keploy.grpc.stubs.Service.MockOrBuilder getMockOrBuilder() {
- return getMock();
+ return mock_ == null ? io.keploy.grpc.stubs.Service.Mock.getDefaultInstance() : mock_;
}
public static final int PATH_FIELD_NUMBER = 2;
- private volatile java.lang.Object path_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object path_ = "";
/**
* string Path = 2;
* @return The path.
@@ -34661,6 +33835,7 @@ 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;
@@ -34707,6 +33882,7 @@ 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
@@ -34717,14 +33893,12 @@ 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) {
@@ -34743,7 +33917,6 @@ public java.util.Map getReplace() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
-
public java.util.Map getReplaceMap() {
return internalGetReplace().getMap();
}
@@ -34751,10 +33924,11 @@ public java.util.Map getReplaceMap() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
-
- public java.lang.String getReplaceOrDefault(
+ public /* nullable */
+java.lang.String getReplaceOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetReplace().getMap();
@@ -34764,7 +33938,6 @@ public 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"); }
@@ -34805,7 +33978,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
internalGetReplace(),
ReplaceDefaultEntryHolder.defaultEntry,
4);
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -34839,7 +34012,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, replace__);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -34865,7 +34038,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getRemoveList())) return false;
if (!internalGetReplace().equals(
other.internalGetReplace())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -34890,7 +34063,7 @@ public int hashCode() {
hash = (37 * hash) + REPLACE_FIELD_NUMBER;
hash = (53 * hash) + internalGetReplace().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -35029,32 +34202,26 @@ 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();
- if (mockBuilder_ == null) {
- mock_ = null;
- } else {
- mock_ = null;
+ bitField0_ = 0;
+ mock_ = null;
+ if (mockBuilder_ != null) {
+ mockBuilder_.dispose();
mockBuilder_ = null;
}
path_ = "";
-
remove_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableReplace().clear();
return this;
}
@@ -35082,22 +34249,34 @@ 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);
- int from_bitField0_ = bitField0_;
- if (mockBuilder_ == null) {
- result.mock_ = mock_;
- } else {
- result.mock_ = mockBuilder_.build();
- }
- result.path_ = path_;
- if (((bitField0_ & 0x00000001) != 0)) {
+ 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_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.remove_ = remove_;
- result.replace_ = internalGetReplace();
- result.replace_.makeImmutable();
- onBuilt();
- return result;
+ }
+
+ 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 (((from_bitField0_ & 0x00000008) != 0)) {
+ result.replace_ = internalGetReplace();
+ result.replace_.makeImmutable();
+ }
}
@java.lang.Override
@@ -35149,12 +34328,13 @@ 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_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRemoveIsMutable();
remove_.addAll(other.remove_);
@@ -35163,7 +34343,8 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.PutMockReq other) {
}
internalGetMutableReplace().mergeFrom(
other.internalGetReplace());
- this.mergeUnknownFields(other.unknownFields);
+ bitField0_ |= 0x00000008;
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -35178,17 +34359,57 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.PutMockReq parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.PutMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -35201,7 +34422,7 @@ public Builder mergeFrom(
* @return Whether the mock field is set.
*/
public boolean hasMock() {
- return mockBuilder_ != null || mock_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* .services.Mock Mock = 1;
@@ -35223,11 +34444,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;
}
/**
@@ -35237,11 +34458,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;
}
/**
@@ -35249,38 +34470,38 @@ public Builder setMock(
*/
public Builder mergeMock(io.keploy.grpc.stubs.Service.Mock value) {
if (mockBuilder_ == null) {
- if (mock_ != null) {
- mock_ =
- io.keploy.grpc.stubs.Service.Mock.newBuilder(mock_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000001) != 0) &&
+ mock_ != null &&
+ mock_ != io.keploy.grpc.stubs.Service.Mock.getDefaultInstance()) {
+ getMockBuilder().mergeFrom(value);
} else {
mock_ = value;
}
- onChanged();
} else {
mockBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
* .services.Mock Mock = 1;
*/
public Builder clearMock() {
- if (mockBuilder_ == null) {
- mock_ = null;
- onChanged();
- } else {
- mock_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ mock_ = null;
+ if (mockBuilder_ != null) {
+ mockBuilder_.dispose();
mockBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
* .services.Mock Mock = 1;
*/
public io.keploy.grpc.stubs.Service.Mock.Builder getMockBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getMockFieldBuilder().getBuilder();
}
@@ -35353,11 +34574,9 @@ 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;
}
@@ -35366,8 +34585,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
-
path_ = getDefaultInstance().getPath();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -35378,21 +34597,19 @@ 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_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
remove_ = new com.google.protobuf.LazyStringArrayList(remove_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -35435,10 +34652,8 @@ 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;
@@ -35450,10 +34665,8 @@ 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;
@@ -35477,7 +34690,7 @@ public Builder addAllRemove(
*/
public Builder clearRemove() {
remove_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -35488,10 +34701,8 @@ 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();
@@ -35501,7 +34712,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);
@@ -35509,8 +34720,7 @@ public Builder addRemoveBytes(
return replace_;
}
private com.google.protobuf.MapField
- internalGetMutableReplace() {
- onChanged();;
+ internalGetMutableReplace() {
if (replace_ == null) {
replace_ = com.google.protobuf.MapField.newMapField(
ReplaceDefaultEntryHolder.defaultEntry);
@@ -35518,16 +34728,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) {
@@ -35546,7 +34756,6 @@ public java.util.Map getReplace() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
-
public java.util.Map getReplaceMap() {
return internalGetReplace().getMap();
}
@@ -35554,10 +34763,11 @@ public java.util.Map getReplaceMap() {
* map<string, string> Replace = 4;
*/
@java.lang.Override
-
- public java.lang.String getReplaceOrDefault(
+ public /* nullable */
+java.lang.String getReplaceOrDefault(
java.lang.String key,
- java.lang.String defaultValue) {
+ /* nullable */
+java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetReplace().getMap();
@@ -35567,7 +34777,6 @@ public 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"); }
@@ -35578,8 +34787,8 @@ public java.lang.String getReplaceOrThrow(
}
return map.get(key);
}
-
public Builder clearReplace() {
+ bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableReplace().getMutableMap()
.clear();
return this;
@@ -35587,7 +34796,6 @@ public Builder clearReplace() {
/**
* map<string, string> Replace = 4;
*/
-
public Builder removeReplace(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
@@ -35600,7 +34808,8 @@ public Builder removeReplace(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableReplace() {
+ getMutableReplace() {
+ bitField0_ |= 0x00000008;
return internalGetMutableReplace().getMutableMap();
}
/**
@@ -35610,22 +34819,20 @@ 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
@@ -35661,7 +34868,18 @@ public PutMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PutMockReq(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -35718,50 +34936,6 @@ 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;
@@ -35776,7 +34950,7 @@ private PutMockResp(
}
public static final int INSERTED_FIELD_NUMBER = 1;
- private long inserted_;
+ private long inserted_ = 0L;
/**
* int64 Inserted = 1;
* @return The inserted.
@@ -35803,7 +34977,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (inserted_ != 0L) {
output.writeInt64(1, inserted_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -35816,7 +34990,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, inserted_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -35833,7 +35007,7 @@ public boolean equals(final java.lang.Object obj) {
if (getInserted()
!= other.getInserted()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -35847,7 +35021,7 @@ public int hashCode() {
hash = (37 * hash) + INSERTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInserted());
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -35964,24 +35138,19 @@ 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;
}
@@ -36008,11 +35177,18 @@ 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);
- result.inserted_ = inserted_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -36060,7 +35236,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.PutMockResp other) {
if (other.getInserted() != 0L) {
setInserted(other.getInserted());
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -36075,19 +35251,38 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.PutMockResp parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.PutMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private long inserted_ ;
/**
@@ -36106,6 +35301,7 @@ public long getInserted() {
public Builder setInserted(long value) {
inserted_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -36114,7 +35310,7 @@ public Builder setInserted(long value) {
* @return This builder for chaining.
*/
public Builder clearInserted() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
inserted_ = 0L;
onChanged();
return this;
@@ -36152,7 +35348,18 @@ public PutMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new PutMockResp(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -36229,57 +35436,6 @@ 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;
@@ -36294,7 +35450,8 @@ private GetMockReq(
}
public static final int PATH_FIELD_NUMBER = 1;
- private volatile java.lang.Object path_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object path_ = "";
/**
* string Path = 1;
* @return The path.
@@ -36332,7 +35489,8 @@ public java.lang.String getPath() {
}
public static final int NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object name_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
* string Name = 2;
* @return The name.
@@ -36389,7 +35547,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -36404,7 +35562,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -36423,7 +35581,7 @@ public boolean equals(final java.lang.Object obj) {
.equals(other.getPath())) return false;
if (!getName()
.equals(other.getName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -36438,7 +35596,7 @@ public int hashCode() {
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -36555,26 +35713,20 @@ 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;
}
@@ -36601,12 +35753,21 @@ 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);
- result.path_ = path_;
- result.name_ = name_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -36653,13 +35814,15 @@ 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.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -36674,19 +35837,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.GetMockReq parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.GetMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object path_ = "";
/**
@@ -36729,11 +35916,9 @@ 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;
}
@@ -36742,8 +35927,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
-
path_ = getDefaultInstance().getPath();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -36754,12 +35939,10 @@ 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;
}
@@ -36805,11 +35988,9 @@ 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;
}
@@ -36818,8 +35999,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -36830,12 +36011,10 @@ 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;
}
@@ -36872,7 +36051,18 @@ public GetMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new GetMockReq(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -36948,58 +36138,6 @@ 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;
@@ -37014,6 +36152,7 @@ private getMockResp(
}
public static final int MOCKS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
private java.util.List mocks_;
/**
* repeated .services.Mock Mocks = 1;
@@ -37070,7 +36209,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < mocks_.size(); i++) {
output.writeMessage(1, mocks_.get(i));
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -37083,7 +36222,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, mocks_.get(i));
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -37100,7 +36239,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMocksList()
.equals(other.getMocksList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -37115,7 +36254,7 @@ public int hashCode() {
hash = (37 * hash) + MOCKS_FIELD_NUMBER;
hash = (53 * hash) + getMocksList().hashCode();
}
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -37232,29 +36371,25 @@ 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;
}
@@ -37281,7 +36416,13 @@ 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);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) { buildPartial0(result); }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(io.keploy.grpc.stubs.Service.getMockResp result) {
if (mocksBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mocks_ = java.util.Collections.unmodifiableList(mocks_);
@@ -37291,8 +36432,10 @@ public io.keploy.grpc.stubs.Service.getMockResp buildPartial() {
} else {
result.mocks_ = mocksBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(io.keploy.grpc.stubs.Service.getMockResp result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -37365,7 +36508,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.getMockResp other) {
}
}
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -37380,17 +36523,43 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.getMockResp parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.getMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
private int bitField0_;
@@ -37667,7 +36836,18 @@ public getMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new getMockResp(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -37763,68 +36943,6 @@ 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;
@@ -37839,7 +36957,8 @@ private StartMockReq(
}
public static final int PATH_FIELD_NUMBER = 1;
- private volatile java.lang.Object path_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object path_ = "";
/**
* string Path = 1;
* @return The path.
@@ -37877,7 +36996,8 @@ public java.lang.String getPath() {
}
public static final int MODE_FIELD_NUMBER = 2;
- private volatile java.lang.Object mode_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object mode_ = "";
/**
* string Mode = 2;
* @return The mode.
@@ -37915,7 +37035,7 @@ public java.lang.String getMode() {
}
public static final int OVERWRITE_FIELD_NUMBER = 3;
- private boolean overWrite_;
+ private boolean overWrite_ = false;
/**
* bool OverWrite = 3;
* @return The overWrite.
@@ -37926,7 +37046,8 @@ public boolean getOverWrite() {
}
public static final int NAME_FIELD_NUMBER = 4;
- private volatile java.lang.Object name_;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
* string Name = 4;
* @return The name.
@@ -37989,7 +37110,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -38011,7 +37132,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -38034,7 +37155,7 @@ public boolean equals(final java.lang.Object obj) {
!= other.getOverWrite()) return false;
if (!getName()
.equals(other.getName())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -38054,7 +37175,7 @@ public int hashCode() {
getOverWrite());
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -38171,30 +37292,22 @@ 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;
}
@@ -38221,14 +37334,27 @@ 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);
- result.path_ = path_;
- result.mode_ = mode_;
- result.overWrite_ = overWrite_;
- result.name_ = name_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -38275,10 +37401,12 @@ 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) {
@@ -38286,9 +37414,10 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StartMockReq other) {
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000008;
onChanged();
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -38303,19 +37432,53 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.StartMockReq parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.StartMockReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private java.lang.Object path_ = "";
/**
@@ -38358,11 +37521,9 @@ 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;
}
@@ -38371,8 +37532,8 @@ public Builder setPath(
* @return This builder for chaining.
*/
public Builder clearPath() {
-
path_ = getDefaultInstance().getPath();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -38383,12 +37544,10 @@ 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;
}
@@ -38434,11 +37593,9 @@ 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;
}
@@ -38447,8 +37604,8 @@ public Builder setMode(
* @return This builder for chaining.
*/
public Builder clearMode() {
-
mode_ = getDefaultInstance().getMode();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -38459,12 +37616,10 @@ 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;
}
@@ -38486,6 +37641,7 @@ public boolean getOverWrite() {
public Builder setOverWrite(boolean value) {
overWrite_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -38494,7 +37650,7 @@ public Builder setOverWrite(boolean value) {
* @return This builder for chaining.
*/
public Builder clearOverWrite() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
overWrite_ = false;
onChanged();
return this;
@@ -38541,11 +37697,9 @@ 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;
}
@@ -38554,8 +37708,8 @@ public Builder setName(
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -38566,12 +37720,10 @@ 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;
}
@@ -38608,7 +37760,18 @@ public StartMockReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new StartMockReq(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
@@ -38665,50 +37828,6 @@ 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;
@@ -38723,7 +37842,7 @@ private StartMockResp(
}
public static final int EXISTS_FIELD_NUMBER = 1;
- private boolean exists_;
+ private boolean exists_ = false;
/**
* bool Exists = 1;
* @return The exists.
@@ -38750,7 +37869,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (exists_ != false) {
output.writeBool(1, exists_);
}
- unknownFields.writeTo(output);
+ getUnknownFields().writeTo(output);
}
@java.lang.Override
@@ -38763,7 +37882,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, exists_);
}
- size += unknownFields.getSerializedSize();
+ size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@@ -38780,7 +37899,7 @@ public boolean equals(final java.lang.Object obj) {
if (getExists()
!= other.getExists()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -38794,7 +37913,7 @@ public int hashCode() {
hash = (37 * hash) + EXISTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExists());
- hash = (29 * hash) + unknownFields.hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -38911,24 +38030,19 @@ 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;
}
@@ -38955,11 +38069,18 @@ 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);
- result.exists_ = exists_;
+ if (bitField0_ != 0) { buildPartial0(result); }
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();
@@ -39007,7 +38128,7 @@ public Builder mergeFrom(io.keploy.grpc.stubs.Service.StartMockResp other) {
if (other.getExists() != false) {
setExists(other.getExists());
}
- this.mergeUnknownFields(other.unknownFields);
+ this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@@ -39022,19 +38143,38 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- io.keploy.grpc.stubs.Service.StartMockResp parsedMessage = null;
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 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)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (io.keploy.grpc.stubs.Service.StartMockResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
private boolean exists_ ;
/**
@@ -39053,6 +38193,7 @@ public boolean getExists() {
public Builder setExists(boolean value) {
exists_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -39061,7 +38202,7 @@ public Builder setExists(boolean value) {
* @return This builder for chaining.
*/
public Builder clearExists() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
exists_ = false;
onChanged();
return this;
@@ -39099,7 +38240,18 @@ public StartMockResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new StartMockResp(input, extensionRegistry);
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
}
};
diff --git a/pom.xml b/pom.xml
index 08baed1f..a29f4d51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
io.keploy
java-sdk
- 1.0.0-SNAPSHOT
+ 1.3.3
pom
Keploy Java SDK
@@ -290,7 +290,9 @@
+
+
diff --git a/v2/pom.xml b/v2/pom.xml
index afcc05aa..df0339ad 100644
--- a/v2/pom.xml
+++ b/v2/pom.xml
@@ -6,7 +6,7 @@
io.keploy
java-sdk
- 1.0.0-SNAPSHOT
+ 1.3.3
v2
@@ -44,6 +44,19 @@
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.3.0
+
+
+ ${project.basedir}/src/main/java
+
+
+
+
\ No newline at end of file
diff --git a/v2/src/main/java/io.keploy.cli/KeployCLI.java b/v2/src/main/java/io.keploy.cli/KeployCLI.java
index 2cc0550f..23d41a5e 100644
--- a/v2/src/main/java/io.keploy.cli/KeployCLI.java
+++ b/v2/src/main/java/io.keploy.cli/KeployCLI.java
@@ -389,6 +389,7 @@ public static void killProcessesAndTheirChildren(int parentPID) {
if (childPID != getCurrentPid()) {
try {
new ProcessBuilder("kill", "-15", String.valueOf(childPID)).start();
+
logger.debug("Killed child process " + childPID);
} catch (Exception e) {
e.printStackTrace();
From 9902ee2774d47446709b3d5d39bf4a4b1ab9a064 Mon Sep 17 00:00:00 2001
From: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
Date: Wed, 21 Feb 2024 14:13:35 +0530
Subject: [PATCH 2/4] refactor: release changes
Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
---
agent/pom.xml | 4 +-
.../redis/jedis/JedisPoolResource_Advice.java | 60 --
api/pom.xml | 8 +-
common/pom.xml | 4 +-
core/pom.xml | 4 +-
integration/pom.xml | 56 +-
.../io/keploy/redis/jedis/KConnection.java | 550 ----------------
.../redis/jedis/RedisCustomSerializer.java | 32 -
.../io/keploy/servlet/KeployMiddleware.java | 604 +++++++-----------
keploy-sdk/pom.xml | 14 +-
models/pom.xml | 2 +-
pom.xml | 2 +-
v2/pom.xml | 10 +-
.../KeployCLI.java => io/keploy/Keploy.java} | 97 ++-
14 files changed, 393 insertions(+), 1054 deletions(-)
delete mode 100644 agent/src/main/java/io/keploy/advice/redis/jedis/JedisPoolResource_Advice.java
delete mode 100644 integration/src/main/java/io/keploy/redis/jedis/KConnection.java
delete mode 100644 integration/src/main/java/io/keploy/redis/jedis/RedisCustomSerializer.java
rename v2/src/main/java/{io.keploy.cli/KeployCLI.java => io/keploy/Keploy.java} (82%)
diff --git a/agent/pom.xml b/agent/pom.xml
index f6225ac7..3cdd5bba 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -3,7 +3,7 @@
java-sdk
io.keploy
- 1.3.3
+ 1.3.4
4.0.0
@@ -46,7 +46,7 @@
io.keploy
integration
- 1.3.3
+ 1.3.4
net.bytebuddy
diff --git a/agent/src/main/java/io/keploy/advice/redis/jedis/JedisPoolResource_Advice.java b/agent/src/main/java/io/keploy/advice/redis/jedis/JedisPoolResource_Advice.java
deleted file mode 100644
index 4f469520..00000000
--- a/agent/src/main/java/io/keploy/advice/redis/jedis/JedisPoolResource_Advice.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package io.keploy.advice.redis.jedis;
-
-import io.keploy.regression.Mode;
-import io.keploy.regression.context.Context;
-import io.keploy.regression.context.Kcontext;
-import net.bytebuddy.asm.Advice;
-import org.slf4j.LoggerFactory;
-import org.slf4j.Logger;
-import redis.clients.jedis.Jedis;
-import redis.clients.jedis.JedisPool;
-
-import java.util.Objects;
-
-import static net.bytebuddy.implementation.bytecode.assign.Assigner.Typing.DYNAMIC;
-
-/**
- * Class {@link JedisPoolResource_Advice} is used for intercepting method {@link JedisPool#getResource()} and returning
- * {@link Jedis} object when Keploy is in TEST_MODE.
- *
- * @author charankamarapu
- */
-public class JedisPoolResource_Advice {
-
- /**
- * This method gets executed before the method {@link JedisPool#getResource()}. Based on the mode of Kelpoy it skips
- * the invocation of the method {@link JedisPool#getResource()}
- *
- * @skipOn {@link Advice.OnNonDefaultValue} - this indicates that if any other value except default value of the
- * return type is returned then skip method invocation of intercepting method i.e.
- * {@link JedisPool#getResource()}
- * @return Boolean - Default value false
- */
- @Advice.OnMethodEnter(skipOn = Advice.OnNonDefaultValue.class)
- static boolean enterMethods() {
- final Logger logger = LoggerFactory.getLogger(JedisPoolResource_Advice.class);
- Kcontext kCtx = Context.getCtx();
- if (Objects.isNull(kCtx)) {
- logger.debug("Keploy context is null");
- return false;
- } else {
- return kCtx.getMode().equals(Mode.ModeType.MODE_TEST);
- }
- }
-
- /**
- * This method gets executed after intercepting method {@link JedisPool#getResource()} irrespective of invocation of
- * intercepting method. Based on the return value of the {@link JedisPoolResource_Advice#enterMethods()} it provides
- * {@link Jedis} object as return value to the intercepting method.
- *
- * @param returned - the return object for intercepting method
- * @param enter - the value returned from {@link JedisPoolResource_Advice#enterMethods()}
- */
- @Advice.OnMethodExit()
- static void enterMethods(@Advice.Return(readOnly = false, typing = DYNAMIC) Object returned,
- @Advice.Enter boolean enter ) {
- if(enter){
- returned = new Jedis();
- }
- }
-}
diff --git a/api/pom.xml b/api/pom.xml
index fbbba139..10cebe49 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -5,7 +5,7 @@
java-sdk
io.keploy
- 1.3.3
+ 1.3.4
4.0.0
@@ -18,19 +18,19 @@
io.keploy
core
- 1.3.3
+ 1.3.4
compile
io.keploy
models
- 1.3.3
+ 1.3.4
compile
io.keploy
common
- 1.3.3
+ 1.3.4
compile
diff --git a/common/pom.xml b/common/pom.xml
index 317b2ddb..066ed3f1 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -5,7 +5,7 @@
java-sdk
io.keploy
- 1.3.3
+ 1.3.4
4.0.0
@@ -18,7 +18,7 @@
io.keploy
core
- 1.3.3
+ 1.3.4
compile
diff --git a/core/pom.xml b/core/pom.xml
index f6bde065..17ee9640 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -5,7 +5,7 @@
java-sdk
io.keploy
- 1.3.3
+ 1.3.4
4.0.0
@@ -19,7 +19,7 @@
io.keploy
models
- 1.3.3
+ 1.3.4
compile
diff --git a/integration/pom.xml b/integration/pom.xml
index 4e534851..fc392362 100644
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -5,7 +5,7 @@
java-sdk
io.keploy
- 1.3.3
+ 1.3.4
4.0.0
@@ -14,25 +14,35 @@
io.keploy
core
- 1.3.3
+ 1.3.4
compile
io.keploy
api
- 1.3.3
+ 1.3.4
compile
+
+ org.jline
+ jline
+ 3.20.0
+
+
+ me.tongfei
+ progressbar
+ 0.5.5
+
io.keploy
common
- 1.3.3
+ 1.3.4
compile
io.keploy
models
- 1.3.3
+ 1.3.4
compile
@@ -60,11 +70,11 @@
2.1.214
provided
-
-
-
-
-
+
+ org.yaml
+ snakeyaml
+ 1.28
+
org.mariadb.jdbc
mariadb-java-client
@@ -80,9 +90,8 @@
com.squareup.okhttp3
okhttp
-
+
3.14.9
- provided
org.apache.httpcomponents
@@ -103,6 +112,11 @@
1.11.857
provided
+
+ org.jacoco
+ org.jacoco.core
+ 0.8.7
+
com.google.maps
google-maps-services
@@ -115,15 +129,19 @@
2.11.0
- com.google.code.gson
- gson
- 2.8.9
+ io.btrace
+ btrace-client
+ 2.2.3
+
+
+ io.btrace
+ btrace-agent
+ 2.2.3
-
- redis.clients
- jedis
- 2.9.3
+ io.btrace
+ btrace-boot
+ 2.2.3
diff --git a/integration/src/main/java/io/keploy/redis/jedis/KConnection.java b/integration/src/main/java/io/keploy/redis/jedis/KConnection.java
deleted file mode 100644
index 4aa2a15e..00000000
--- a/integration/src/main/java/io/keploy/redis/jedis/KConnection.java
+++ /dev/null
@@ -1,550 +0,0 @@
-package io.keploy.redis.jedis;
-
-import com.google.gson.Gson;
-import com.google.gson.reflect.TypeToken;
-import io.keploy.grpc.stubs.Service;
-import io.keploy.regression.KeployInstance;
-import io.keploy.regression.Mock;
-import io.keploy.regression.Mode;
-import io.keploy.regression.context.Context;
-import io.keploy.regression.context.Kcontext;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import redis.clients.jedis.Connection;
-import redis.clients.jedis.Protocol;
-import redis.clients.util.SafeEncoder;
-
-import javax.net.ssl.HostnameVerifier;
-import javax.net.ssl.SSLParameters;
-import javax.net.ssl.SSLSocketFactory;
-import java.lang.reflect.Type;
-import java.net.Socket;
-import java.util.*;
-
-/**
- * KConnection is a class which extends Connection class and wraps it. KConnection records data in record mode and sends
- * data in test mode.
- */
-public class KConnection extends Connection {
-
- static final Logger logger = LoggerFactory.getLogger(KConnection.class);
- private final Mode.ModeType keployMode = Context.getCtx().getMode().getModeFromContext();
- private Map meta = new HashMap() {
- {
- put("name", "redis");
- put("type", "NoSqlDB");
- }
- };
- private static final RedisCustomSerializer redisCustomSerializer = new RedisCustomSerializer();
- private static final Gson gson = new Gson();
- private static final String CROSS = new String(Character.toChars(0x274C));
- private static final byte[][] EMPTY_ARGS = new byte[0][];
-
- public KConnection() {
- super();
- // fill data in Mock object into meta if application is in test mode.
- if (keployMode == Mode.ModeType.MODE_TEST) {
- fillMock();
- }
- }
-
- public KConnection(String host) {
- super(host);
- // fill data in Mock object into meta if application is in test mode.
- if (keployMode == Mode.ModeType.MODE_TEST) {
- fillMock();
- }
- }
-
- public KConnection(String host, int port) {
- super(host, port);
- // fill data in Mock object into meta if application is in test mode.
- if (keployMode == Mode.ModeType.MODE_TEST) {
- fillMock();
- }
- }
-
- public KConnection(String host, int port, boolean ssl) {
- super(host, port, ssl);
- // fill data in Mock object into meta if application is in test mode.
- if (keployMode == Mode.ModeType.MODE_TEST) {
- fillMock();
- }
- }
-
- public KConnection(String host, int port, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier) {
- super(host, port, ssl, sslSocketFactory, sslParameters, hostnameVerifier);
- // fill data in Mock object into meta if application is in test mode.
- if (keployMode == Mode.ModeType.MODE_TEST) {
- fillMock();
- }
- }
-
- @Override
- public Socket getSocket() {
- return super.getSocket();
- }
-
- @Override
- public int getConnectionTimeout() {
- return super.getConnectionTimeout();
- }
-
- @Override
- public int getSoTimeout() {
- return super.getSoTimeout();
- }
-
- @Override
- public void setConnectionTimeout(int connectionTimeout) {
- super.setConnectionTimeout(connectionTimeout);
- }
-
- @Override
- public void setSoTimeout(int soTimeout) {
- super.setSoTimeout(soTimeout);
- }
-
- @Override
- public void setTimeoutInfinite() {
- super.setTimeoutInfinite();
- }
-
- @Override
- public void rollbackTimeout() {
- super.rollbackTimeout();
- }
-
- @Override
- protected Connection sendCommand(Protocol.Command cmd, String... args) {
- switch (keployMode) {
- case MODE_RECORD:
- /*
- if the request has reached this function it means that request did not send byte data instead request
- sent objects. So Redis uses its default serializer to serialize the data.
- */
- meta.put("serializer", SerializationType.REDIS_SERIALIZATION.toString());
- // capturing request data
- meta.put("command", cmd.toString());
- int argCount = 1;
- for (String arg : args) {
- meta.put("arg".concat(Integer.toString(argCount)), arg);
- argCount++;
- }
- return super.sendCommand(cmd, args);
- case MODE_TEST:
- /*
- Implementing super class logic and calling function of this class. So the flow doesn't divert
- completely to Connection class.
- */
- byte[][] bargs = new byte[args.length][];
- for (int i = 0; i < args.length; ++i) {
- bargs[i] = SafeEncoder.encode(args[i]);
- }
- return this.sendCommand(cmd, bargs);
- default:
- return super.sendCommand(cmd, args);
- }
- }
-
- @Override
- protected Connection sendCommand(Protocol.Command cmd) {
- /*
- Implementing super class logic and calling function of this class. So the flow doesn't divert
- completely to Connection class.
- */
- return this.sendCommand(cmd, EMPTY_ARGS);
- }
-
- @Override
- protected Connection sendCommand(Protocol.Command cmd, byte[]... args) {
- switch (keployMode) {
- case MODE_RECORD:
- /*
- Checking if serializer is already set if not that means request sent bytes data i.e. before reaching
- redis client serialization is done. As REDIS_CUSTOM_SERIALIZATION is the most used serializer using this
- serializer.
- */
- if (!meta.containsKey("serializer") || !Objects.equals(meta.get("serializer"), SerializationType.REDIS_SERIALIZATION.toString())) {
- meta.put("serializer", SerializationType.REDIS_CUSTOM_SERIALIZATION.toString());
- // capturing data
- meta.put("command", cmd.toString());
- int argCount = 1;
- for (byte[] arg : args) {
- Object deserializedObject = redisCustomSerializer.deserialize(arg);
- meta.put("arg".concat(Integer.toString(argCount)), gson.toJson(deserializedObject));
- argCount++;
- }
- }
- return super.sendCommand(cmd, args);
- case MODE_TEST:
- /*
- Returning this class instead of Connection
- */
- return this;
- default:
- return super.sendCommand(cmd, args);
- }
- }
-
- @Override
- public String getHost() {
- return super.getHost();
- }
-
- @Override
- public void setHost(String host) {
- super.setHost(host);
- }
-
- @Override
- public int getPort() {
- return super.getPort();
- }
-
- @Override
- public void setPort(int port) {
- super.setPort(port);
- }
-
- @Override
- public void connect() {
- switch (keployMode) {
- case MODE_TEST:
- // does nothing
- break;
- default:
- super.connect();
- }
- }
-
- @Override
- public void close() {
- this.disconnect();
- }
-
- @Override
- public void disconnect() {
- switch (keployMode) {
- case MODE_TEST:
- break;
- // does nothing
- default:
- super.disconnect();
- }
- }
-
- @Override
- public boolean isConnected() {
- return super.isConnected();
- }
-
- @Override
- public String getStatusCodeReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // capturing data
- String statusCodeReply = super.getStatusCodeReply();
- meta.put("response", statusCodeReply);
- sendToServer();
- return statusCodeReply;
- case MODE_TEST:
- // returning recorded data
- return meta.get("response");
- default:
- return super.getStatusCodeReply();
- }
- }
-
- @Override
- public String getBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // capturing data
- String bulkReply = super.getBulkReply();
- meta.put("response", bulkReply);
- sendToServer();
- return bulkReply;
- case MODE_TEST:
- // returning recorded data
- return meta.get("response");
- default:
- return super.getBulkReply();
- }
- }
-
- @Override
- public byte[] getBinaryBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- /*
- Checking if serializer is already set if not that means request sent bytes data i.e. before reaching
- redis client serialization is done. As REDIS_CUSTOM_SERIALIZATION is the most used serializer using this
- serializer.
- */
- if (Objects.equals(meta.get("serializer"), SerializationType.REDIS_SERIALIZATION.toString())) {
- return super.getBinaryBulkReply();
- } else {
- // capturing data
- byte[] binaryBulkReply = super.getBinaryBulkReply();
- Object deserializedObject = redisCustomSerializer.deserialize(binaryBulkReply);
- meta.put("response", gson.toJson(deserializedObject));
- sendToServer();
- return binaryBulkReply;
- }
- case MODE_TEST:
- // returning recorded data based on serializer
- if (!Objects.equals(meta.get("serializer"), SerializationType.REDIS_SERIALIZATION.toString())) {
- return redisCustomSerializer.serialize(gson.fromJson(meta.get("response"), Object.class));
- }
- return super.getBinaryBulkReply();
- default:
- return super.getBinaryBulkReply();
- }
- }
-
- @Override
- public Long getIntegerReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // recording data
- Long integerReply = super.getIntegerReply();
- meta.put("response", integerReply.toString());
- sendToServer();
- return integerReply;
- case MODE_TEST:
- // sending recorded data
- return Long.parseLong(meta.get("response"));
- default:
- return super.getIntegerReply();
- }
- }
-
- @Override
- public List getMultiBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // recording data
- List multiBulkReply = super.getMultiBulkReply();
- meta.put("response", multiBulkReply.toString());
- sendToServer();
- return multiBulkReply;
- case MODE_TEST:
- // sending recorded data
- return new ArrayList(Arrays.asList(meta.get("response").split(",")));
- default:
- return super.getMultiBulkReply();
- }
- }
-
- @Override
- public List getBinaryMultiBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- /*
- Checking if serializer is already set if not that means request sent bytes data i.e. before reaching
- redis client serialization is done. As REDIS_CUSTOM_SERIALIZATION is the most used serializer ,using this
- serializer.
- */
- if (Objects.equals(meta.get("serializer"), SerializationType.REDIS_SERIALIZATION.toString())) {
- return super.getBinaryMultiBulkReply();
- } else {
- // recording data
- List binaryMultiBulkReply = super.getBinaryMultiBulkReply();
- List response = new ArrayList<>();
- for (byte[] i : binaryMultiBulkReply) {
- Object deserializedObject = redisCustomSerializer.deserialize(i);
- response.add(deserializedObject);
- }
- meta.put("response", gson.toJson(response));
- sendToServer();
- return binaryMultiBulkReply;
- }
- case MODE_TEST:
- // sending recorded data
- List response = new ArrayList<>();
- Type listOfObject = new TypeToken>() {
- }.getType();
- List lObj = gson.fromJson(meta.get("response"), listOfObject);
- for (Object i : lObj) {
- response.add(redisCustomSerializer.serialize(i));
- }
- return response;
- default:
- return super.getBinaryMultiBulkReply();
- }
- }
-
- @Override
- public void resetPipelinedCount() {
- super.resetPipelinedCount();
- }
-
- @Override
- public List getRawObjectMultiBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // recording data
- List rawObjectMultiBulkReply = super.getRawObjectMultiBulkReply();
- meta.put("response", gson.toJson(rawObjectMultiBulkReply));
- sendToServer();
- return rawObjectMultiBulkReply;
- case MODE_TEST:
- // sending recorded data
- Type listOfObject = new TypeToken>() {
- }.getType();
- return gson.fromJson(meta.get("response"), listOfObject);
- default:
- return super.getRawObjectMultiBulkReply();
- }
- }
-
- @Override
- public List getObjectMultiBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // recording data
- List objectMultiBulkReply = super.getObjectMultiBulkReply();
- meta.put("response", gson.toJson(objectMultiBulkReply));
- sendToServer();
- return objectMultiBulkReply;
- case MODE_TEST:
- // sending recorded data
- Type listOfObject = new TypeToken>() {
- }.getType();
- return gson.fromJson(meta.get("response"), listOfObject);
- default:
- return super.getObjectMultiBulkReply();
- }
- }
-
- @Override
- public List getIntegerMultiBulkReply() {
- switch (keployMode) {
- case MODE_RECORD:
- // recording data
- List integerMultiBulkReply = super.getIntegerMultiBulkReply();
- meta.put("response", gson.toJson(integerMultiBulkReply));
- sendToServer();
- return integerMultiBulkReply;
- case MODE_TEST:
- // sending recorded data
- Type listOfLong = new TypeToken