/** * <code>required .AddressData origin = 1;</code> */ public Builder clearOrigin() { if (originBuilder_ == null) { origin_ = akka.remote.WireFormats.AddressData.getDefaultInstance(); onChanged(); } else { originBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getProtocolBytes()); } getUnknownFields().writeTo(output); }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.spark_project.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(akka.remote.WireFormats.AddressData other) { if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this; if (other.hasSystem()) { bitField0_ |= 0x00000001; system_ = other.system_; onChanged(); } if (other.hasHostname()) { bitField0_ |= 0x00000002; hostname_ = other.hostname_; onChanged(); } if (other.hasPort()) { setPort(other.getPort()); } if (other.hasProtocol()) { bitField0_ |= 0x00000008; protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += akka.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += org.spark_project.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += org.spark_project.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public akka.remote.WireFormats.AddressData buildPartial() { akka.remote.WireFormats.AddressData result = new akka.remote.WireFormats.AddressData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.system_ = system_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.hostname_ = hostname_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.port_ = port_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.protocol_ = protocol_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(akka.remote.WireFormats.AddressData other) { if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this; if (other.hasSystem()) { bitField0_ |= 0x00000001; system_ = other.system_; onChanged(); } if (other.hasHostname()) { bitField0_ |= 0x00000002; hostname_ = other.hostname_; onChanged(); } if (other.hasPort()) { setPort(other.getPort()); } if (other.hasProtocol()) { bitField0_ |= 0x00000008; protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(akka.remote.WireFormats.AddressData other) { if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this; if (other.hasSystem()) { bitField0_ |= 0x00000001; system_ = other.system_; onChanged(); } if (other.hasHostname()) { bitField0_ |= 0x00000002; hostname_ = other.hostname_; onChanged(); } if (other.hasPort()) { setPort(other.getPort()); } if (other.hasProtocol()) { bitField0_ |= 0x00000008; protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(akka.remote.WireFormats.AddressData other) { if (other == akka.remote.WireFormats.AddressData.getDefaultInstance()) return this; if (other.hasSystem()) { bitField0_ |= 0x00000001; system_ = other.system_; onChanged(); } if (other.hasHostname()) { bitField0_ |= 0x00000002; hostname_ = other.hostname_; onChanged(); } if (other.hasPort()) { setPort(other.getPort()); } if (other.hasProtocol()) { bitField0_ |= 0x00000008; protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(1, getSystemBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(2, getHostnameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += akka.protobuf.CodedOutputStream .computeUInt32Size(3, port_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += akka.protobuf.CodedOutputStream .computeBytesSize(4, getProtocolBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }