/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder clearActions() { if (actionsBuilder_ == null) { actions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { actionsBuilder_.clear(); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions(org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(value); onChanged(); } else { actionsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(index, value); onChanged(); } else { actionsBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder clearActions() { if (actionsBuilder_ == null) { actions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { actionsBuilder_.clear(); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions(org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(value); onChanged(); } else { actionsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions( org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addAllActions( java.lang.Iterable<? extends org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction> values) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actions_); onChanged(); } else { actionsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder removeActions(int index) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.remove(index); onChanged(); } else { actionsBuilder_.remove(index); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder clearActions() { if (actionsBuilder_ == null) { actions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { actionsBuilder_.clear(); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder removeActions(int index) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.remove(index); onChanged(); } else { actionsBuilder_.remove(index); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.set(index, value); onChanged(); } else { actionsBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addActions( org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder addAllActions( java.lang.Iterable<? extends org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionAction> values) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actions_); onChanged(); } else { actionsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * The payload is an array of TransactionAction. An array is necessary to * accommodate multiple actions per transaction * </pre> * * <code>repeated .protos.TransactionAction actions = 1;</code> */ public Builder removeActions(int index) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.remove(index); onChanged(); } else { actionsBuilder_.remove(index); } return this; } /**