/** * <code>repeated string useRoles = 5;</code> */ public java.lang.String getUseRoles(int index) { return useRoles_.get(index); } /**
/** * <code>repeated string roles = 2;</code> */ public akka.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); }
/** * <code>repeated string roles = 2;</code> */ public int getRolesCount() { return roles_.size(); } /**
/** * <code>repeated string roles = 2;</code> */ public Builder addRolesBytes( akka.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; }
public Builder mergeFrom(akka.cluster.client.protobuf.msg.ClusterClientMessages.Contacts other) { if (other == akka.cluster.client.protobuf.msg.ClusterClientMessages.Contacts.getDefaultInstance()) return this; if (!other.contactPoints_.isEmpty()) { if (contactPoints_.isEmpty()) { contactPoints_ = other.contactPoints_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureContactPointsIsMutable(); contactPoints_.addAll(other.contactPoints_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated string allRoles = 2;</code> */ public Builder setAllRoles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllRolesIsMutable(); allRoles_.set(index, value); onChanged(); return this; } /**
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < elements_.size(); i++) { output.writeBytes(1, elements_.getByteString(i)); } getUnknownFields().writeTo(output); }
/** * <code>repeated string allRoles = 2;</code> */ public Builder addAllRolesBytes( akka.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureAllRolesIsMutable(); allRoles_.add(value); onChanged(); return this; }
public Builder mergeFrom(akka.cluster.client.protobuf.msg.ClusterClientMessages.Contacts other) { if (other == akka.cluster.client.protobuf.msg.ClusterClientMessages.Contacts.getDefaultInstance()) return this; if (!other.contactPoints_.isEmpty()) { if (contactPoints_.isEmpty()) { contactPoints_ = other.contactPoints_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureContactPointsIsMutable(); contactPoints_.addAll(other.contactPoints_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated string allHashes = 2;</code> */ public Builder setAllHashes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAllHashesIsMutable(); allHashes_.set(index, value); onChanged(); return this; } /**
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, node_); } for (int i = 0; i < roles_.size(); i++) { output.writeBytes(2, roles_.getByteString(i)); } getUnknownFields().writeTo(output); }
/** * <code>repeated string roles = 2;</code> */ public java.lang.String getRoles(int index) { return roles_.get(index); } /**
/** * <code>repeated string roles = 2;</code> */ public Builder addRolesBytes( akka.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; }
public Builder mergeFrom(akka.cluster.ddata.protobuf.msg.ReplicatorMessages.StringGSet other) { if (other == akka.cluster.ddata.protobuf.msg.ReplicatorMessages.StringGSet.getDefaultInstance()) return this; if (!other.elements_.isEmpty()) { if (elements_.isEmpty()) { elements_ = other.elements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureElementsIsMutable(); elements_.addAll(other.elements_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated string contactPoints = 1;</code> */ public Builder setContactPoints( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureContactPointsIsMutable(); contactPoints_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated string roles = 2;</code> */ public akka.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } /**
/** * <code>repeated string allHashes = 3;</code> */ public int getAllHashesCount() { return allHashes_.size(); } /**
/** * <code>repeated string allHashes = 3;</code> */ public java.lang.String getAllHashes(int index) { return allHashes_.get(index); } /**
/** * <code>repeated string allRoles = 2;</code> */ public Builder addAllRolesBytes( akka.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureAllRolesIsMutable(); allRoles_.add(value); onChanged(); return this; }
public Builder mergeFrom(akka.cluster.protobuf.msg.ClusterMessages.Join other) { if (other == akka.cluster.protobuf.msg.ClusterMessages.Join.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } if (!other.roles_.isEmpty()) { if (roles_.isEmpty()) { roles_ = other.roles_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRolesIsMutable(); roles_.addAll(other.roles_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }