static < K , V > void writeTo ( CodedOutputStream output , Metadata < K , V > metadata , K key , V value ) throws IOException { CodedConstant . writeElement ( output , metadata . keyType , KEY_FIELD_NUMBER , key ) ; CodedConstant . writeElement ( output , metadata . valueType , VALUE_FIELD_NUMBER , value ) ; }
Write to .