For IntelliJ IDEA,
Android Studio or Eclipse



private void myMethod () {Protos$TransactionOutput$Builder p =
new Builder()
GeneratedMessage.BuilderParent generatedMessageBuilderParent;new Builder(generatedMessageBuilderParent)
Protos.Transaction$Builder protosTransaction$Builder;protosTransaction$Builder.getTransactionOutputFieldBuilder().getBuilder(index)
- Smart code suggestions by Codota
}
/** * <code>required int64 value = 1;</code> */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /**
/** * <code>required int64 value = 1;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /**
/** * <code>required bytes script_bytes = 2;</code> * * <pre> * script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000002); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; }
/** * <code>optional int32 spent_by_transaction_index = 4;</code> * * <pre> * If spent, the index of the transaction input of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionIndex() { bitField0_ = (bitField0_ & ~0x00000008); spentByTransactionIndex_ = 0; onChanged(); return this; }
/** * <code>optional bytes spent_by_transaction_hash = 3;</code> * * <pre> * If spent, the hash of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionHash() { bitField0_ = (bitField0_ & ~0x00000004); spentByTransactionHash_ = getDefaultInstance().getSpentByTransactionHash(); onChanged(); return this; }
/** * <code>optional int32 spent_by_transaction_index = 4;</code> * * <pre> * If spent, the index of the transaction input of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionIndex() { bitField0_ = (bitField0_ & ~0x00000008); spentByTransactionIndex_ = 0; onChanged(); return this; }
/** * <code>required bytes script_bytes = 2;</code> * * <pre> * script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000002); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }
/** * <code>optional int32 spent_by_transaction_index = 4;</code> * * <pre> * If spent, the index of the transaction input of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionIndex() { bitField0_ = (bitField0_ & ~0x00000008); spentByTransactionIndex_ = 0; onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /**
/** * <code>optional bytes spent_by_transaction_hash = 3;</code> * * <pre> * If spent, the hash of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionHash() { bitField0_ = (bitField0_ & ~0x00000004); spentByTransactionHash_ = getDefaultInstance().getSpentByTransactionHash(); onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; }
/** * <code>required bytes script_bytes = 2;</code> * * <pre> * script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000002); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; }
/** * <code>required bytes script_bytes = 2;</code> * * <pre> * script of transaction output * </pre> */ public Builder clearScriptBytes() { bitField0_ = (bitField0_ & ~0x00000002); scriptBytes_ = getDefaultInstance().getScriptBytes(); onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /**
/** * <code>optional bytes spent_by_transaction_hash = 3;</code> * * <pre> * If spent, the hash of the transaction doing the spend. * </pre> */ public Builder clearSpentByTransactionHash() { bitField0_ = (bitField0_ & ~0x00000004); spentByTransactionHash_ = getDefaultInstance().getSpentByTransactionHash(); onChanged(); return this; }
/** * <code>required int64 value = 1;</code> */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /**