public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, script_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, script_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, script_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, script_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, script_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.bitcoin.protocols.payments.Protos.Output other) { if (other == org.bitcoin.protocols.payments.Protos.Output.getDefaultInstance()) return this; if (other.hasAmount()) { setAmount(other.getAmount()); } if (other.hasScript()) { setScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.bitcoin.protocols.payments.Protos.Output other) { if (other == org.bitcoin.protocols.payments.Protos.Output.getDefaultInstance()) return this; if (other.hasAmount()) { setAmount(other.getAmount()); } if (other.hasScript()) { setScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.bitcoin.protocols.payments.Protos.Output other) { if (other == org.bitcoin.protocols.payments.Protos.Output.getDefaultInstance()) return this; if (other.hasAmount()) { setAmount(other.getAmount()); } if (other.hasScript()) { setScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.bitcoin.protocols.payments.Protos.Output other) { if (other == org.bitcoin.protocols.payments.Protos.Output.getDefaultInstance()) return this; if (other.hasAmount()) { setAmount(other.getAmount()); } if (other.hasScript()) { setScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, script_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, script_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, script_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, script_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.bitcoin.protocols.payments.Protos.Output other) { if (other == org.bitcoin.protocols.payments.Protos.Output.getDefaultInstance()) return this; if (other.hasAmount()) { setAmount(other.getAmount()); } if (other.hasScript()) { setScript(other.getScript()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, amount_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, script_); } getUnknownFields().writeTo(output); }