public Builder setResult( int index, com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult.Builder builderForValue) { result.result_.set(index, builderForValue.build()); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(this.getUnknownFields()); while (true) { int tag = input.readTag(); switch (tag) { case 0: this.setUnknownFields(unknownFields.build()); return this; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { this.setUnknownFields(unknownFields.build()); return this; } break; } case 8: { setCallbackId(input.readSInt32()); break; } case 16: { setOpCode(input.readInt32()); break; } case 26: { com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult.Builder subBuilder = com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult.newBuilder(); input.readMessage(subBuilder, extensionRegistry); addResult(subBuilder.buildPartial()); break; } } } }
public Builder addResult( com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult.Builder builderForValue) { if (result.result_.isEmpty()) { result.result_ = new java.util.ArrayList< com.alachisoft.tayzgrid.common.protobuf.DSUpdatedCallbackResultProtocol .DSUpdatedCallbackResult>(); } result.result_.add(builderForValue.build()); return this; }