@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != 0) { output.writeUInt32(1, value_); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, master_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, rpcVersion_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, infoPort_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, user_); } for (int i = 0; i < auth_.size(); i++) { output.writeUInt32(2, auth_.get(i)); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, label_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, ordinal_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, callId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, traceInfo_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getMethodNameBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, requestParam_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, cellBlockMeta_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, priority_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(7, timeout_); } getUnknownFields().writeTo(output); }
/** * Write a MessageSet extension field to the stream. For historical reasons, * the wire format differs from normal fields. */ public void writeMessageSetExtension(final int fieldNumber, final MessageLite value) throws IOException { writeTag(WireFormat.MESSAGE_SET_ITEM, WireFormat.WIRETYPE_START_GROUP); writeUInt32(WireFormat.MESSAGE_SET_TYPE_ID, fieldNumber); writeMessage(WireFormat.MESSAGE_SET_MESSAGE, value); writeTag(WireFormat.MESSAGE_SET_ITEM, WireFormat.WIRETYPE_END_GROUP); }
/** * Write an unparsed MessageSet extension field to the stream. For * historical reasons, the wire format differs from normal fields. */ public void writeRawMessageSetExtension(final int fieldNumber, final ByteString value) throws IOException { writeTag(WireFormat.MESSAGE_SET_ITEM, WireFormat.WIRETYPE_START_GROUP); writeUInt32(WireFormat.MESSAGE_SET_TYPE_ID, fieldNumber); writeBytes(WireFormat.MESSAGE_SET_MESSAGE, value); writeTag(WireFormat.MESSAGE_SET_ITEM, WireFormat.WIRETYPE_END_GROUP); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, region_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, versionOfOfflineNode_); } for (int i = 0; i < favoredNodes_.size(); i++) { output.writeMessage(3, favoredNodes_.get(i)); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, key_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getSenderBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, senderDevice_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeFixed64(3, expires_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, identityKey_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, signer_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (hash_ != 0) { output.writeUInt32(2, hash_); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, ms_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (hasVersion()) { output.writeUInt32(1, getVersion()); } for (net.osmand.binary.OsmandIndex.FileIndex element : getFileIndexList()) { output.writeMessage(7, element); } if (hasDateCreated()) { output.writeInt64(18, getDateCreated()); } }
@Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, sliceDim_); } for (int i = 0; i < slicePoint_.size(); i++) { output.writeUInt32(2, slicePoint_.get(i)); } getUnknownFields().writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, address_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, port_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getResolvedBytes()); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessage .ExtendableMessage<com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, stopSequence_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(2, arrival_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(3, departure_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(4, getStopIdBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, scheduleRelationship_.getNumber()); } extensionWriter.writeUntil(2000, output); getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, serverName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, webuiPort_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, response_); } getUnknownFields().writeTo(output); }
@Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < dataFiller_.size(); i++) { output.writeMessage(1, dataFiller_.get(i)); } for (int i = 0; i < num_.size(); i++) { output.writeUInt32(2, num_.get(i)); } for (int i = 0; i < channels_.size(); i++) { output.writeUInt32(3, channels_.get(i)); } for (int i = 0; i < height_.size(); i++) { output.writeUInt32(4, height_.get(i)); } for (int i = 0; i < width_.size(); i++) { output.writeUInt32(5, width_.get(i)); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getAlgorithmBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, length_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, data_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, iv_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, hash_); } getUnknownFields().writeTo(output); }