/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder() { return getAnchorPeersFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder( int index) { return getAnchorPeersFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer other) { if (other == org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } onChanged(); return this; }
public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance(); }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /**
public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance(); }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer other) { if (other == org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } onChanged(); return this; }
/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder( int index) { return getAnchorPeersFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder() { return getAnchorPeersFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /**
/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder( int index) { return getAnchorPeersFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer other) { if (other == org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } onChanged(); return this; }
/** * <code>repeated .protos.AnchorPeer anchor_peers = 1;</code> */ public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.Builder addAnchorPeersBuilder() { return getAnchorPeersFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance()); } /**
public org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Configuration.AnchorPeer.getDefaultInstance(); }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /**