public io.grpc.examples.CalculatorOuterClass.CalculatorResponse buildPartial() { io.grpc.examples.CalculatorOuterClass.CalculatorResponse result = new io.grpc.examples.CalculatorOuterClass.CalculatorResponse(this); result.result_ = result_; onBuilt(); return result; }
public io.grpc.examples.CalculatorOuterClass.CalculatorResponse build() { io.grpc.examples.CalculatorOuterClass.CalculatorResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(io.grpc.examples.CalculatorOuterClass.CalculatorResponse other) { if (other == io.grpc.examples.CalculatorOuterClass.CalculatorResponse.getDefaultInstance()) return this; if (other.getResult() != 0D) { setResult(other.getResult()); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.grpc.examples.CalculatorOuterClass.CalculatorResponse)) { return super.equals(obj); } io.grpc.examples.CalculatorOuterClass.CalculatorResponse other = (io.grpc.examples.CalculatorOuterClass.CalculatorResponse) obj; boolean result = true; result = result && (java.lang.Double.doubleToLongBits(getResult()) == java.lang.Double.doubleToLongBits(other.getResult())); return result; }
public io.grpc.examples.CalculatorOuterClass.CalculatorResponse getDefaultInstanceForType() { return io.grpc.examples.CalculatorOuterClass.CalculatorResponse.getDefaultInstance(); }