/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /**
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; }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /**
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; }
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /**
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /**
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder clearPort() { port_ = 0; onChanged(); return this; } public final Builder setUnknownFields(
/** * <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 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; }
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder clearPort() { port_ = 0; onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /**
/** * <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 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; }
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder clearPort() { port_ = 0; onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The port number * </pre> * * <code>optional int32 port = 2;</code> */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /**
/** * <pre> * DNS host name of the anchor peer * </pre> * * <code>optional string host = 1;</code> */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /**